:root {
  color-scheme: light;
  --ink: #192b2c;
  --muted: #7b8887;
  --line: #e8edeb;
  --canvas: #f6f8f7;
  --green: #13836c;
  --green-dark: #0b6c59;
  --green-pale: #eaf5f0;
  --navy: #102b30;
  --white: #fff;
  font-family: "Segoe UI", Arial, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; min-height: 100vh; background: var(--canvas); color: var(--ink); }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
.app-shell { min-height: 100vh; }
.sidebar { position: fixed; inset: 0 auto 0 0; z-index: 5; display: flex; width: 246px; flex-direction: column; padding: 27px 18px 15px; background: var(--navy); color: #e8f0ed; }
.brand { display: flex; width: 100%; flex-direction: column; align-items: flex-start; gap: 10px; padding: 2px 7px 20px; color: inherit; text-decoration: none; }
.brand-logo { display: flex; width: 176px; height: 59px; align-items: center; justify-content: center; padding: 11px; border-radius: 10px; background: #fff; }
.brand-logo img { display: block; width: 100%; height: auto; }
.brand-caption, .sidebar-label { font-size: 9px; font-weight: 700; letter-spacing: 1.8px; }
.brand-caption { padding-left: 2px; color: #a7bdb6; }
.sidebar-divider { height: 1px; margin: 1px 2px 24px; background: rgb(255 255 255 / 10%); }
.sidebar-label { padding: 0 10px 11px; color: #7e9990; letter-spacing: 1.25px; }
.side-nav { display: grid; gap: 5px; }
.nav-item { display: flex; min-height: 43px; align-items: center; gap: 11px; padding: 0 11px; border: 0; border-radius: 7px; background: transparent; color: #bdd0ca; cursor: pointer; text-align: left; transition: background .16s, color .16s; }
.nav-item:hover { background: rgb(255 255 255 / 7%); color: #fff; }
.nav-item.is-active { background: #1d4745; color: #fff; }
.nav-icon { width: 19px; color: #72c3a6; font-size: 20px; line-height: 1; text-align: center; }
.nav-icon-history { font-size: 21px; }
.nav-count { display: grid; min-width: 21px; height: 21px; place-items: center; margin-left: auto; border-radius: 6px; background: rgb(255 255 255 / 9%); color: #c1d2cc; font-size: 11px; }
.sidebar-bottom { display: grid; gap: 10px; margin-top: auto; }
.storage-note { display: flex; align-items: center; gap: 8px; padding: 10px 7px 14px; color: #96aaa3; font-size: 10px; }
.storage-dot { width: 7px; height: 7px; border-radius: 50%; background: #50c18f; box-shadow: 0 0 0 3px rgb(80 193 143 / 14%); }
.profile-button { display: flex; align-items: center; gap: 10px; padding: 12px 9px; border: 1px solid rgb(255 255 255 / 11%); border-radius: 9px; background: rgb(255 255 255 / 4%); color: #e7efec; cursor: pointer; text-align: left; }
.profile-button:hover { background: rgb(255 255 255 / 8%); }
.avatar { display: grid; width: 31px; height: 31px; flex: 0 0 31px; place-items: center; border-radius: 9px; background: #d9eee4; color: #165d4c; font-family: "Segoe UI", sans-serif; font-size: 13px; font-weight: 800; }
.profile-copy { display: grid; gap: 2px; overflow: hidden; }
.profile-copy strong { overflow: hidden; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.profile-copy span { color: #91a9a0; font-size: 10px; }
.profile-arrow { margin-left: auto; color: #91a9a0; font-size: 21px; }
.main-area { min-height: 100vh; margin-left: 246px; }
.topbar { position: sticky; top: 0; z-index: 4; display: flex; height: 58px; align-items: center; justify-content: space-between; padding: 0 39px; border-bottom: 1px solid #edf0ee; background: rgb(255 255 255 / 92%); backdrop-filter: blur(12px); }
.breadcrumb, .topbar-right { display: flex; align-items: center; }
.breadcrumb { gap: 11px; color: #8a9694; font-size: 11px; }
.breadcrumb > span:nth-child(2) { color: #c5cfcb; }
.breadcrumb strong { color: #536361; font-weight: 600; }
.topbar-right { gap: 17px; }
.local-badge { display: inline-flex; align-items: center; gap: 6px; color: #76837e; font-size: 10px; }
.local-badge span { color: #49a77c; font-size: 8px; }
.topbar-button { display: grid; width: 30px; height: 30px; place-items: center; border: 1px solid var(--line); border-radius: 8px; background: white; color: #60716e; cursor: pointer; }
.topbar-button:hover { background: var(--canvas); }
.view-root { width: min(100%, 1530px); margin: 0 auto; padding: 31px 39px 48px; }
.page-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; margin-bottom: 23px; }
.heading-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 8px; }
.eyebrow { display: block; margin-bottom: 7px; color: var(--green); font-size: 10px; font-weight: 700; letter-spacing: 1.15px; text-transform: uppercase; }
.page-title { margin: 0; font-family: "Segoe UI", sans-serif; font-size: 25px; font-weight: 700; letter-spacing: -.8px; line-height: 1.25; }
.page-description { margin: 6px 0 0; color: var(--muted); font-size: 12px; line-height: 1.55; }
.button { display: inline-flex; min-height: 37px; align-items: center; justify-content: center; gap: 7px; padding: 0 14px; border: 1px solid transparent; border-radius: 7px; cursor: pointer; font-size: 11px; font-weight: 600; text-decoration: none; transition: background .16s, box-shadow .16s; white-space: nowrap; }
.button:disabled { cursor: wait; opacity: .65; }
.button-primary { background: var(--green); color: #fff; box-shadow: 0 2px 4px rgb(19 131 108 / 13%); }
.button-primary:hover { background: var(--green-dark); }
.button-secondary { border-color: #dfe7e3; background: #fff; color: #51625e; }
.button-secondary:hover { background: #f5f8f6; }
.button-quiet { min-height: 31px; padding: 0 9px; border-color: transparent; background: transparent; color: #70807b; font-size: 10px; }
.button-quiet:hover { background: #f3f6f4; }
.button:focus-visible, .nav-item:focus-visible, .profile-button:focus-visible, .topbar-button:focus-visible { outline: 3px solid rgb(19 131 108 / 25%); outline-offset: 2px; }
.stats-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; margin-bottom: 17px; }
.stat-card { position: relative; min-height: 79px; overflow: hidden; padding: 14px 16px; border: 1px solid #e9eeeb; border-radius: 9px; background: #fff; }
.stat-card::after { position: absolute; top: -21px; right: -11px; width: 69px; height: 69px; border: 1px solid #edf4ef; border-radius: 50%; content: ""; }
.stat-label { display: block; margin-bottom: 7px; color: #87928f; font-size: 10px; }
.stat-value { display: block; overflow: hidden; font-family: "Segoe UI", sans-serif; font-size: 18px; font-weight: 700; letter-spacing: -.4px; text-overflow: ellipsis; white-space: nowrap; }
.stat-value.stat-amount { color: #286b56; font-size: 15px; }
.content-grid { display: grid; grid-template-columns: minmax(300px, .89fr) minmax(390px, 1.11fr); align-items: start; gap: 17px; }
.panel, .preview-panel { min-width: 0; border: 1px solid #e9eeeb; border-radius: 9px; background: #fff; }
.panel-heading { display: flex; align-items: center; justify-content: space-between; min-height: 53px; padding: 0 15px; border-bottom: 1px solid #edf0ee; }
.panel-title { margin: 0; font-family: "Segoe UI", sans-serif; font-size: 12px; font-weight: 700; }
.panel-subtitle { color: #929d99; font-size: 10px; }
.section-block { padding: 15px; border-bottom: 1px solid #edf0ee; }
.section-block:last-child { border-bottom: 0; }
.section-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; color: #788581; font-size: 9px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; }
.form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
.form-field { display: grid; min-width: 0; gap: 5px; }
.form-field.full { grid-column: 1 / -1; }
.form-label { color: #76827f; font-size: 10px; font-weight: 500; }
.form-control { width: 100%; min-height: 34px; padding: 7px 9px; border: 1px solid #e3e9e6; border-radius: 6px; outline: none; background: #fff; color: #263b38; font-size: 11px; transition: border-color .16s, box-shadow .16s; }
.form-control::placeholder { color: #afb9b4; }
.form-control:focus { border-color: #7ab8a2; box-shadow: 0 0 0 3px rgb(24 132 104 / 9%); }
textarea.form-control { min-height: 59px; resize: vertical; line-height: 1.5; }
.item-list { display: grid; gap: 8px; }
.item-row { position: relative; display: grid; grid-template-columns: minmax(0,1fr) 61px 104px 24px; align-items: end; gap: 7px; }
.item-row .form-field { min-width: 0; }
.item-row .form-label { overflow: hidden; white-space: nowrap; }
.item-row .form-control { padding-right: 6px; padding-left: 7px; font-size: 10px; }
.icon-button { display: grid; width: 25px; height: 33px; place-items: center; border: 0; border-radius: 5px; background: transparent; color: #b2bcb8; cursor: pointer; font-size: 17px; }
.icon-button:hover { background: #fff0ee; color: #c65b53; }
.add-item { display: inline-flex; align-items: center; gap: 5px; margin-top: 10px; padding: 5px 0; border: 0; background: transparent; color: var(--green); cursor: pointer; font-size: 10px; font-weight: 600; }
.add-item:hover { color: var(--green-dark); }
.editor-actions { display: flex; align-items: center; justify-content: space-between; gap: 9px; padding: 13px 15px; }
.editor-actions .button { min-height: 35px; font-size: 10px; }
.editor-actions-right { display: flex; gap: 6px; }
.status-select { min-height: 31px; padding: 0 7px; border: 1px solid #e3e9e6; border-radius: 6px; background: white; color: #52645f; font-size: 10px; }
.preview-panel { overflow: hidden; background: #f0f3f1; }
.preview-toolbar { display: flex; min-height: 46px; align-items: center; justify-content: space-between; padding: 0 14px; border-bottom: 1px solid #e5eae7; background: #fff; }
.preview-label { display: flex; align-items: center; gap: 7px; color: #576660; font-size: 10px; font-weight: 600; }
.preview-live { display: inline-flex; align-items: center; gap: 5px; color: #7b8983; font-size: 9px; font-weight: 400; }
.preview-live::before { width: 6px; height: 6px; border-radius: 50%; background: #4aaf83; content: ""; }
.preview-print-button { min-height: 29px; padding: 0 9px; font-size: 9px; }
.quote-document { width: min(100% - 28px, 612px); min-height: 690px; margin: 14px auto 19px; padding: 34px 35px 25px; background: #fff; box-shadow: 0 3px 18px rgb(30 49 42 / 8%); color: #263536; font-family: "Segoe UI", Arial, sans-serif; }
.quote-doc-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding-bottom: 14px; border-bottom: 2px solid #1c8b70; }
.quote-doc-logo { display: block; width: 42%; max-width: 190px; max-height: 62px; margin-top: 9px; object-fit: contain; object-position: left center; }
.quote-doc-company { display: grid; width: 55%; gap: 3px; padding: 10px 12px; border: 1px solid #d9e8df; border-radius: 5px; background: #f8fbf9; color: #53655d; font-size: 8px; line-height: 1.45; text-align: right; overflow-wrap: anywhere; }
.quote-doc-company strong { color: #30423f; font-size: 9px; }
.quote-doc-meta { display: flex; justify-content: space-between; gap: 8px; margin-top: 4px; padding-top: 5px; border-top: 1px solid #e5eee8; color: #27866b; font-size: 7px; font-weight: 700; letter-spacing: .45px; text-align: left; }
.quote-doc-meta strong { color: #27866b; font-size: 7px; }
.quote-doc-parties { display: grid; grid-template-columns: 1.5fr 1fr; gap: 14px; margin: 19px 0 14px; }
.quote-doc-label { margin-bottom: 5px; color: #71807b; font-size: 7px; font-weight: 700; letter-spacing: .8px; text-transform: uppercase; }
.quote-doc-customer { color: #384a46; font-size: 9px; line-height: 1.55; }
.quote-doc-customer strong { display: block; margin-bottom: 2px; color: #1f3530; font-size: 10px; }
.quote-doc-dates { display: grid; gap: 5px; align-content: start; }
.quote-doc-date-row { display: flex; justify-content: space-between; gap: 8px; color: #7d8984; font-size: 8px; }
.quote-doc-date-row strong { color: #3b4c47; font-weight: 600; text-align: right; }
.quote-doc-project { margin: 11px 0 13px; padding: 8px 10px; border-left: 2px solid #71af91; background: #f2f7f4; }
.quote-doc-project .quote-doc-label { margin-bottom: 3px; }
.quote-doc-project-value { color: #3f514a; font-size: 9px; font-weight: 600; }
.quote-doc-introduction { margin: 15px 0 9px; color: #43534d; font-size: 9px; line-height: 1.55; }
.quote-doc-table { width: 100%; border-collapse: collapse; }
.quote-doc-table th { padding: 7px 6px; background: #f2f5f3; color: #63726c; font-size: 7px; font-weight: 700; text-align: left; }
.quote-doc-table th:last-child, .quote-doc-table td:last-child { text-align: right; }
.quote-doc-table th:nth-child(2), .quote-doc-table th:nth-child(3), .quote-doc-table td:nth-child(2), .quote-doc-table td:nth-child(3) { text-align: right; white-space: nowrap; }
.quote-doc-table td { padding: 8px 6px; border-bottom: 1px solid #edf0ee; color: #455550; font-size: 8px; vertical-align: top; }
.quote-doc-description { display: block; color: #374843; font-weight: 600; }
.quote-doc-totals { display: grid; width: min(205px, 62%); gap: 6px; margin: 12px 0 0 auto; }
.quote-doc-total-row { display: flex; justify-content: space-between; gap: 9px; color: #697772; font-size: 8px; }
.quote-doc-total-row strong { color: #344741; font-weight: 600; white-space: nowrap; }
.quote-doc-total-final { margin-top: 2px; padding: 8px 9px; border-radius: 3px; background: #edf5ef; color: #1c654d; font-size: 9px; font-weight: 700; }
.quote-doc-total-final strong { color: #145d46; font-size: 10px; }
.quote-doc-note { margin-top: 18px; padding-top: 10px; border-top: 1px solid #eef1ef; }
.quote-doc-note p { margin: 4px 0 0; color: #566761; font-size: 8px; line-height: 1.55; white-space: pre-wrap; }
.quote-doc-footer { display: grid; justify-items: end; gap: 8px; margin-top: 23px; padding-top: 11px; border-top: 1px solid #eef1ef; }
.quote-doc-closing { width: 100%; margin: 0 0 3px; color: #62706a; font-size: 8px; line-height: 1.55; }
.quote-doc-signature { display: grid; width: 155px; justify-items: center; color: #50615b; font-size: 7px; line-height: 1.4; text-align: center; }
.quote-doc-signature img { display: block; width: 95px; height: 41px; margin-bottom: 1px; object-fit: contain; }
.quote-doc-signature strong { color: #344640; font-size: 8px; }
.empty-state { display: grid; min-height: 185px; align-content: center; justify-items: center; padding: 22px; text-align: center; }
.empty-state-icon { display: grid; width: 42px; height: 42px; place-items: center; margin-bottom: 10px; border-radius: 12px; background: var(--green-pale); color: var(--green); font-size: 19px; }
.empty-state strong { font-family: "Segoe UI", sans-serif; font-size: 12px; }
.empty-state p { max-width: 275px; margin: 5px 0 14px; color: var(--muted); font-size: 10px; line-height: 1.6; }
.history-tools { display: flex; align-items: center; gap: 9px; }
.search-input { width: 220px; min-height: 35px; padding-left: 31px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23909c96' stroke-width='2'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m16 16 4 4'/%3E%3C/svg%3E") no-repeat 10px center / 14px; }
.history-list { display: grid; gap: 9px; }
.quote-card { display: grid; grid-template-columns: minmax(0,1fr) auto auto; align-items: center; gap: 18px; padding: 13px 15px; border: 1px solid #e9eeeb; border-radius: 8px; background: #fff; }
.quote-card-main { min-width: 0; }
.quote-card-number { display: block; margin-bottom: 3px; color: #318267; font-size: 9px; font-weight: 700; }
.quote-card-customer { overflow: hidden; color: #263a34; font-size: 11px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.quote-card-date { display: block; margin-top: 3px; color: #89948f; font-size: 9px; }
.quote-card-amount { color: #263c34; font-size: 11px; font-weight: 700; white-space: nowrap; }
.quote-card-actions { display: flex; align-items: center; gap: 5px; }
.quote-card-status { display: inline-flex; align-items: center; padding: 4px 7px; border-radius: 12px; background: #f0f3f1; color: #68746f; font-size: 8px; white-space: nowrap; }
.quote-card-status[data-status="Enviada"] { background: #edf3fc; color: #5777a1; }
.quote-card-status[data-status="Aceptada"] { background: #eaf5ee; color: #42805b; }
.quote-card-status[data-status="Rechazada"] { background: #fbefee; color: #a8645a; }
.settings-grid { display: grid; grid-template-columns: minmax(0,1.25fr) minmax(245px,.75fr); align-items: start; gap: 16px; }
.settings-form .section-block { padding: 16px 18px; }
.settings-form .form-grid { gap: 12px; }
.settings-form .form-control { min-height: 37px; }
.settings-footer { display: flex; justify-content: flex-end; padding: 12px 18px; }
.brand-preview-card { padding: 19px; }
.brand-preview-card h2 { margin: 0 0 14px; font-family: "Segoe UI", sans-serif; font-size: 12px; }
.asset-preview { display: flex; min-height: 76px; align-items: center; justify-content: center; margin: 0 0 10px; padding: 13px; border: 1px solid #eef1ef; border-radius: 7px; background: #fafbfa; }
.asset-preview img.logo-preview { display: block; width: min(100%,218px); height: auto; }
.asset-preview img.signature-preview { display: block; width: 150px; height: 61px; object-fit: contain; }
.info-box { padding: 11px 12px; border: 1px solid #e3eee8; border-radius: 7px; background: #f2f7f3; color: #66766e; font-size: 10px; line-height: 1.6; }
.info-box strong { color: #41634e; }
.backup-actions { display: grid; gap: 8px; margin-top: 11px; }
.toast { position: fixed; right: 23px; bottom: 20px; z-index: 10; max-width: min(360px,calc(100vw - 32px)); padding: 11px 15px; transform: translateY(12px); border: 1px solid #deebe3; border-radius: 8px; background: #fff; box-shadow: 0 5px 22px rgb(25 48 38 / 12%); color: #304d3e; font-size: 11px; opacity: 0; pointer-events: none; transition: opacity .16s, transform .16s; }
.toast.is-visible { transform: translateY(0); opacity: 1; }
.toast.is-error { border-color: #f1d7d2; color: #a34039; }
.mobile-brand { display: none; }

@media (max-width: 1120px) {
  .sidebar { width: 218px; }
  .main-area { margin-left: 218px; }
  .topbar { padding-right: 26px; padding-left: 26px; }
  .view-root { padding-right: 24px; padding-left: 24px; }
  .content-grid { grid-template-columns: minmax(280px,.9fr) minmax(345px,1.1fr); gap: 12px; }
  .quote-document { width: calc(100% - 20px); padding: 28px 23px 22px; }
}
@media (max-width: 860px) {
  .sidebar { width: 69px; align-items: center; padding-right: 9px; padding-left: 9px; }
  .brand { align-items: center; padding-right: 0; padding-left: 0; }
  .brand-logo { width: 49px; height: 44px; padding: 10px 5px; }
  .brand-caption, .sidebar-label, .nav-item > span:not(.nav-icon), .sidebar-bottom .storage-note, .profile-copy, .profile-arrow { display: none; }
  .sidebar-divider { width: 100%; margin: 0 0 15px; }
  .side-nav { width: 100%; }
  .nav-item { position: relative; justify-content: center; padding: 0; }
  .nav-item .nav-icon { font-size: 21px; }
  .nav-count { position: absolute; top: -4px; right: -4px; display: grid !important; min-width: 17px; height: 17px; border: 2px solid var(--navy); background: #27866b; color: white; font-size: 8px; }
  .profile-button { justify-content: center; padding: 8px 3px; }
  .main-area { margin-left: 69px; }
  .content-grid { grid-template-columns: minmax(270px,.95fr) minmax(320px,1.05fr); }
  .item-row { grid-template-columns: minmax(0,1fr) 48px 83px 21px; gap: 4px; }
  .quote-document { padding-right: 16px; padding-left: 16px; }
}
@media (max-width: 700px) {
  .topbar { height: 52px; padding-right: 16px; padding-left: 16px; }
  .local-badge { font-size: 9px; }
  .view-root { padding: 24px 15px 35px; }
  .page-heading { align-items: flex-start; margin-bottom: 17px; }
  .page-title { font-size: 22px; }
  .page-description { max-width: 375px; font-size: 11px; }
  .heading-action { align-self: center; }
  .heading-action .button { padding: 0 10px; font-size: 10px; }
  .heading-actions { gap: 6px; }
  .stats-grid { gap: 7px; margin-bottom: 12px; }
  .stat-card { min-height: 68px; padding: 11px 10px; }
  .stat-label { font-size: 8px; }
  .stat-value { font-size: 16px; }
  .stat-value.stat-amount { font-size: 12px; }
  .content-grid { grid-template-columns: 1fr; gap: 12px; }
  .quote-document { width: min(calc(100% - 20px),612px); min-height: 0; padding: 30px 28px 24px; }
  .settings-grid { grid-template-columns: 1fr; }
}
@media (max-width: 440px) {
  .page-heading { flex-direction: column; }
  .heading-actions { align-self: flex-start; justify-content: flex-start; }
  .stats-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .stat-card:last-child { display: none; }
  .form-grid { gap: 8px; }
  .item-row { grid-template-columns: minmax(0,1fr) 45px 77px 20px; gap: 4px; }
  .section-block { padding: 13px 11px; }
  .quote-document { padding: 22px 14px 20px; }
  .quote-doc-header { gap: 8px; }
  .quote-doc-logo { width: 38%; }
  .quote-doc-company { width: 60%; padding: 7px; font-size: 7px; }
  .quote-doc-parties { grid-template-columns: 1.2fr 1fr; gap: 9px; }
  .quote-doc-table th, .quote-doc-table td { padding-right: 3px; padding-left: 3px; font-size: 7px; }
  .history-tools { width: 100%; }
  .history-tools .search-input { width: 100%; }
  .quote-card { grid-template-columns: minmax(0,1fr) auto; gap: 8px; }
  .quote-card-actions { grid-column: 1 / -1; justify-content: space-between; }
}

@page { size: A4; margin: 12mm; }
@media print {
  html, body { width: auto; min-width: 0; min-height: 0; margin: 0; background: #fff; }
  body { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .sidebar, .topbar, .page-heading, .stats-grid, .editor-pane, .preview-toolbar, .toast { display: none !important; }
  .app-shell, .main-area, .view-root, .content-grid, .preview-pane { display: block !important; width: auto !important; min-height: 0 !important; margin: 0 !important; padding: 0 !important; border: 0 !important; background: #fff !important; }
  .preview-panel { overflow: visible; border: 0 !important; border-radius: 0 !important; background: #fff !important; }
  .quote-document { width: auto !important; min-height: 0 !important; margin: 0 !important; padding: 0 !important; box-shadow: none !important; }
  .quote-doc-header, .quote-doc-project, .quote-doc-table th, .quote-doc-total-final { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .quote-doc-table tr, .quote-doc-total-row, .quote-doc-footer { break-inside: avoid; }
}
