@page {
  size: A4;
  margin: 0;
}

/* —— Design system: print-first, no motion —— */
#resume-print-root,
#resume-print-root * {
  transition: none !important;
  animation: none !important;
}

.resume-preview-article,
.cv-document {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 10.5pt;
  line-height: 1.45;
  color: #18181b;
}

.cv-section-h2,
.cv-section-h2 + .cv-section-ruled,
h3 {
  page-break-after: avoid;
  break-after: avoid-page;
}

.cv-date-col {
  width: 7rem;
  max-width: 7rem;
  flex-shrink: 0;
}

.cv-name-emphasis {
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

/* —— 20 unique font personalities —— */
.cv-font-geneva { font-family: "Segoe UI", system-ui, sans-serif; }
.cv-font-estelle { font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; letter-spacing: 0.02em; }
.cv-font-gallego { font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; letter-spacing: 0.01em; }
.cv-font-mitchell { font-family: "Segoe UI", system-ui, sans-serif; letter-spacing: 0.015em; }
.cv-font-cascade { font-family: "Trebuchet MS", "Segoe UI", sans-serif; letter-spacing: 0.01em; }
.cv-font-zurich { font-family: "Helvetica Neue", Arial, sans-serif; letter-spacing: 0.02em; }
.cv-font-oxford { font-family: Georgia, "Times New Roman", Times, serif; }
.cv-font-kyoto { font-family: "Hiragino Sans", "Segoe UI", sans-serif; letter-spacing: 0.015em; }
.cv-font-singapore { font-family: "Gill Sans", "Segoe UI", sans-serif; }
.cv-font-oslo { font-family: "Segoe UI", system-ui, sans-serif; letter-spacing: 0.025em; font-weight: 450; }
.cv-font-berlin { font-family: "Arial Narrow", "Helvetica Neue", Arial, sans-serif; letter-spacing: 0.03em; text-transform: none; }
.cv-font-manhattan { font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; letter-spacing: -0.01em; }
.cv-font-sydney { font-family: "Segoe UI", system-ui, sans-serif; }
.cv-font-montreal { font-family: "Palatino Linotype", Palatino, Georgia, serif; }
.cv-font-cambridge { font-family: "Times New Roman", Times, Georgia, serif; }
.cv-font-milan { font-family: "Helvetica Neue", Arial, sans-serif; letter-spacing: 0.04em; }
.cv-font-stockholm { font-family: "Segoe UI", system-ui, sans-serif; font-weight: 400; }
.cv-font-toronto { font-family: "Segoe UI", "Helvetica Neue", sans-serif; }
.cv-font-barcelona { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; letter-spacing: -0.02em; }
.cv-font-melbourne { font-family: "Book Antiqua", Palatino, Georgia, serif; }
.cv-font-paris { font-family: Georgia, "Times New Roman", serif; font-style: normal; }
.cv-font-vienna { font-family: "Times New Roman", Times, serif; }
.cv-font-lisbon { font-family: "Segoe UI", system-ui, sans-serif; }

.cv-serif-body h1,
.cv-serif-body h2,
.cv-serif-body h3 { font-family: inherit; }

.cv-page {
  box-sizing: border-box;
  width: 210mm;
  min-height: 297mm;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1rem;
  padding: 14mm 16mm 16mm;
  background: #fff;
  box-shadow: 0 1px 3px rgb(0 0 0 / 0.08);
}

.cv-page-padding-formal {
  padding: 15mm 17mm 16mm;
}

.cv-page-body { flex: 1; }
.cv-avoid-break { break-inside: avoid; page-break-inside: avoid; }
.cv-page-footer { display: none !important; }
.cv-no-photo .cv-photo-slot { display: none !important; }
.cv-has-photo .cv-photo-slot { display: block; }
.cv-photo-slot img { max-width: 100%; height: 100%; }
.cv-photo-editor { max-width: 210mm; margin-left: auto; margin-right: auto; }
.cv-links-display { pointer-events: none; }
@media screen { .cv-links-display { opacity: 0.85; } }
.cv-link-row .cv-link-icon { margin-top: 0.15rem; }

@media print {
  textarea[data-f="skills"] { display: none !important; }
  .cv-skills-preview { display: block !important; }
}
.cv-skills-preview { margin-top: 0.25rem; }
.cv-skill-chip { break-inside: avoid; }

/* Builder shell — preview only, no chrome */
.resume-builder-root {
  min-width: 0;
}
.rf-preview-shell {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding: 0;
  background: #f4f4f5;
}
#rf-preview {
  width: max-content;
  min-width: 210mm;
  margin: 0 auto;
  padding: 1rem 0;
}

/* Keep A4 desktop layout on small screens (scroll horizontally, no reflow) */
@media screen {
  .cv-desktop-layout,
  .cv-desktop-layout .cv-page {
    width: 210mm !important;
    min-width: 210mm !important;
    max-width: 210mm !important;
  }

  .cv-desktop-layout .cv-spread {
    flex-direction: row !important;
  }

  .cv-desktop-layout .cv-split-grid {
    display: grid !important;
    grid-template-columns: 1fr 11.5rem !important;
  }

  .cv-desktop-layout .cv-sidebar {
    width: 30% !important;
    min-width: 11rem !important;
    max-width: 32% !important;
  }

  .cv-desktop-layout .cv-rail.cv-rail-split {
    width: 11.5rem !important;
    max-width: 11.5rem !important;
  }

  .cv-desktop-layout .cv-header-compact {
    flex-direction: row !important;
    align-items: flex-end !important;
  }

  .cv-desktop-layout .cv-meta-row {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }
}

@media print {
  @page {
    size: A4;
    margin: 0;
  }

  body {
    background: #fff !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  #app {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }

  .resume-preview-article,
  .cv-document {
    max-width: none !important;
    box-shadow: none !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .cv-page {
    width: auto;
    min-height: auto;
    margin: 0;
    padding: 14mm 16mm 16mm;
    box-shadow: none !important;
    outline: none !important;
    break-after: page;
    page-break-after: always;
  }

  .cv-tpl-2 .cv-page,
  .cv-tpl-7 .cv-page,
  .cv-tpl-8 .cv-page,
  .cv-tpl-20 .cv-page {
    box-shadow: none !important;
    outline: none !important;
  }

  .cv-page-padding-formal {
    padding: 15mm 17mm 16mm !important;
  }

  .cv-page:last-child {
    break-after: auto;
    page-break-after: auto;
  }

  .cv-exp-row,
  .cv-exp-table-row,
  .cv-edu-row,
  .cv-proj-row,
  .cv-avoid-break {
    break-inside: avoid;
    page-break-inside: avoid;
  }

  .cv-sidebar {
    min-width: 11rem;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  .cv-tpl-2 .cv-sidebar { background: #0a0a0a !important; }
  .cv-tpl-7 .cv-sidebar { background: #042f2e !important; }
  .cv-tpl-10 .cv-sidebar { background: #0f172a !important; }
  .cv-tpl-14 .cv-sidebar { background: #020617 !important; }
  .cv-tpl-20 .cv-sidebar { background: #4c0519 !important; }

  .no-print,
  .builder-ui,
  .photo-edit-bar,
  .cv-photo-editor,
  .print\:hidden {
    display: none !important;
  }

  #resume-print-root input,
  #resume-print-root textarea {
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
    outline: none !important;
  }

  #resume-print-root input::placeholder,
  #resume-print-root textarea::placeholder {
    color: transparent !important;
  }
}

/* —— Template 1–20: color, page frame, sidebar —— */
.cv-tpl-1 .cv-page { border-top: none; box-shadow: 0 1px 3px rgb(0 0 0 / 0.06); }
.cv-tpl-1 .cv-page h2 { color: #18181b; }
.cv-layout-estelle .cv-estelle-header input[data-f="fullName"] {
  font-size: 1.65rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.cv-layout-estelle .cv-estelle-section + .cv-estelle-section {
  margin-top: 0.25rem;
}
.cv-layout-estelle .cv-skills-bullet-cols {
  list-style-position: inside;
  padding-left: 0.25rem;
}
.cv-layout-gallego .cv-gallego-pill {
  display: block;
  width: 100%;
  background: #e8e8e8 !important;
  border-radius: 9999px;
  padding: 0.5rem 1.25rem;
  -webkit-print-color-adjust: exact;
  print-color-adjust: exact;
}
.cv-layout-gallego .cv-gallego-pill .cv-section-h2 {
  font-size: 13px !important;
  font-weight: 700;
  font-style: italic;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #18181b;
}
@media screen {
  .cv-layout-gallego .cv-gallego-header input[data-f="fullName"] {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 0.04em;
  }
  .cv-layout-gallego .cv-skills-plain-cols {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
  .cv-layout-gallego .cv-gallego-entry > .flex.justify-between {
    flex-direction: row !important;
    flex-wrap: nowrap !important;
  }
}

.cv-tpl-2 .cv-page { border-top: none; box-shadow: 0 1px 3px rgb(0 0 0 / 0.06); }
.cv-tpl-2 .cv-sidebar { background: transparent !important; }

@media print {
  .cv-layout-estelle .cv-skills-preview textarea,
  .cv-layout-estelle textarea.print\\:hidden {
    display: none !important;
  }
}

.cv-tpl-3 .cv-page { border-top: none; box-shadow: 0 1px 3px rgb(0 0 0 / 0.06); }

.cv-layout-mitchell .cv-mitchell-split {
  grid-template-columns: 1fr 1fr;
}
.cv-layout-mitchell .cv-mitchell-entry > .flex.justify-between {
  flex-direction: row !important;
  flex-wrap: nowrap !important;
}
.cv-layout-mitchell .cv-skills-plain-cols {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

@media screen {
  .cv-layout-mitchell .cv-mitchell-split {
    grid-template-columns: 1fr 1fr !important;
  }
}

.cv-font-sanchez { font-family: "Segoe UI", system-ui, sans-serif; }
.cv-font-schumacher { font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; letter-spacing: 0.02em; }

.cv-page-sanchez.cv-page {
  border: 1px solid #d4d4d8;
  box-shadow: none;
}
.cv-layout-sanchez .cv-sanchez-name {
  color: #d4c4a8 !important;
}
.cv-layout-sanchez .cv-sanchez-header {
  -webkit-print-color-adjust: exact;
  print-color-adjust: exact;
}
.cv-tpl-4 .cv-sanchez-header {
  background: #1a2744 !important;
}
.cv-tpl-5 .cv-sanchez-header {
  background: #000 !important;
}
.cv-layout-sanchez .cv-sanchez-split,
.cv-layout-sanchez .cv-sanchez-refs {
  grid-template-columns: 1fr 1fr;
}
.cv-layout-sanchez .cv-sanchez-entry > .flex.justify-between {
  flex-direction: row !important;
  flex-wrap: nowrap !important;
}

@media screen {
  .cv-layout-sanchez .cv-sanchez-split,
  .cv-layout-sanchez .cv-sanchez-refs {
    grid-template-columns: 1fr 1fr !important;
  }
}

.cv-tpl-5 .cv-timeline-accent,
.cv-tpl-5 .cv-page-body .cv-timeline-accent { border-left-width: 4px; border-left-color: #8b5cf6; padding-left: 1rem; }

.cv-tpl-6 .cv-page {
  border: 1px solid #c4c4c4;
  border-radius: 24px;
  background: #fff !important;
  box-shadow: none;
  padding: 0;
  overflow: visible;
}
.cv-layout-alvarado .cv-alvarado-frame {
  display: flex;
  flex-direction: column;
  min-height: calc(297mm - 2mm);
}
.cv-layout-alvarado .cv-alvarado-header {
  border-bottom: 1px solid #c4c4c4;
  margin-bottom: 0;
  padding: 10mm 11mm 1.1rem;
}
.cv-layout-alvarado .cv-alvarado-body {
  display: grid;
  grid-template-columns: 33% 1fr;
  flex: 1;
  align-items: stretch;
  min-height: 0;
}
.cv-layout-alvarado .cv-alvarado-sidebar {
  -webkit-print-color-adjust: exact;
  print-color-adjust: exact;
  background: #e8e8e8 !important;
  border-right: 1px solid #c4c4c4;
  min-height: 100%;
  padding: 1.15rem 1.35rem 1.35rem 11mm;
  box-sizing: border-box;
}
.cv-layout-alvarado .cv-alvarado-main {
  background: #fff;
  min-width: 0;
  padding: 1.15rem 11mm 1.35rem 1.5rem;
  box-sizing: border-box;
  overflow: visible;
}
.cv-layout-alvarado .cv-alvarado-section {
  margin-bottom: 0.15rem;
}
.cv-layout-alvarado .cv-alvarado-sec-title {
  margin-top: 1.15rem;
}
.cv-layout-alvarado .cv-alvarado-sec-title.first\:mt-0,
.cv-layout-alvarado .cv-alvarado-section:first-child .cv-alvarado-sec-title {
  margin-top: 0;
}
.cv-layout-alvarado .cv-alvarado-edu,
.cv-layout-alvarado .cv-alvarado-entry {
  position: relative;
}
.cv-layout-alvarado .cv-alvarado-remove {
  display: block;
  margin: 0 0 0.35rem;
  padding: 0;
  text-align: left;
  font-size: 11px;
  line-height: 1.2;
}
.cv-layout-alvarado .cv-alvarado-exp-head {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: baseline;
}
.cv-layout-alvarado input.cv-alvarado-role {
  width: 100%;
  min-width: 0;
}
.cv-layout-alvarado .cv-alvarado-exp-dates {
  display: flex;
  align-items: baseline;
  gap: 0.2rem;
  white-space: nowrap;
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 700;
  padding-right: 0.15rem;
}
.cv-layout-alvarado .cv-alvarado-exp-dates input {
  width: 3.1rem;
  text-align: right;
}
.cv-layout-alvarado .cv-alvarado-exp-dates input[data-exp-f="end"] {
  width: 4.5rem;
  text-transform: uppercase;
}
.cv-layout-alvarado .cv-alvarado-refs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 1.75rem;
}
.cv-layout-alvarado .cv-alvarado-skills-preview,
.cv-layout-alvarado .cv-alvarado-lang-preview {
  display: block;
}
.cv-layout-alvarado .cv-alvarado-skills-input,
.cv-layout-alvarado .cv-alvarado-lang-input {
  display: none;
}
.cv-layout-alvarado .cv-alvarado-edit-skills:focus-within .cv-alvarado-skills-input,
.cv-layout-alvarado .cv-alvarado-edit-lang:focus-within .cv-alvarado-lang-input {
  display: block;
  max-height: 5.5rem;
  margin-bottom: 0.5rem;
  font-size: 11px;
}
.cv-layout-alvarado input,
.cv-layout-alvarado textarea {
  max-width: 100%;
  box-sizing: border-box;
}
@media screen {
  .cv-desktop-layout.cv-layout-alvarado .cv-alvarado-body {
    grid-template-columns: 33% 1fr !important;
  }
}
@media print {
  .cv-layout-alvarado .cv-alvarado-body {
    grid-template-columns: 33% 1fr !important;
  }
  .cv-layout-alvarado .cv-alvarado-refs {
    grid-template-columns: 1fr 1fr !important;
  }
  .cv-layout-alvarado .cv-alvarado-skills-input,
  .cv-layout-alvarado .cv-alvarado-lang-input,
  .cv-layout-alvarado .cv-alvarado-remove {
    display: none !important;
  }
}

.cv-tpl-7 .cv-page {
  border: 1px solid #c4c4c4;
  border-radius: 24px;
  background: #fff !important;
  box-shadow: none;
  padding: 11mm 13mm 12mm;
  overflow: visible;
}
.cv-layout-schumacher .cv-schumacher-frame {
  max-width: 100%;
}
.cv-layout-schumacher .cv-schumacher-header {
  padding-bottom: 0.25rem;
}
.cv-layout-schumacher .cv-schumacher-contact-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0;
  row-gap: 0.15rem;
  text-align: center;
}
.cv-layout-schumacher .cv-schumacher-contact-field {
  width: auto !important;
  min-width: 3rem;
  max-width: 14rem;
  flex: 0 1 auto;
  display: inline-block;
  text-align: center;
  font-size: 11px;
}
.cv-layout-schumacher .cv-schumacher-contact-row .mx-2 {
  flex-shrink: 0;
}
.cv-layout-schumacher .cv-schumacher-rule {
  border: 0;
  border-top: 1px solid #c4c4c4;
  margin: 1.25rem 0;
}
.cv-layout-schumacher .cv-schumacher-section {
  margin-bottom: 0;
}
.cv-layout-schumacher .cv-schumacher-exp-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: baseline;
}
.cv-layout-schumacher input.cv-schumacher-role {
  width: 100%;
  min-width: 0;
  font-weight: 700;
}
.cv-layout-schumacher .cv-schumacher-exp-dates {
  display: flex;
  align-items: baseline;
  justify-content: flex-end;
  white-space: nowrap;
  flex-shrink: 0;
}
.cv-layout-schumacher .cv-schumacher-bullets li {
  break-inside: avoid;
}
.cv-layout-schumacher .cv-schumacher-bullets li::marker {
  color: #52525b;
}
.cv-layout-schumacher .cv-schumacher-remove {
  display: block;
  margin: 0 0 0.35rem;
  padding: 0;
  text-align: left;
  font-size: 11px;
}
@media print {
  .cv-layout-schumacher .cv-schumacher-remove {
    display: none !important;
  }
}

.cv-tpl-8 .cv-page { outline: 2px solid #6ee7b7; outline-offset: -3px; }
.cv-tpl-8 .cv-layout-bands .cv-band-berlin h2,
.cv-tpl-8 [class*="bg-emerald-700"] h2 { letter-spacing: 0.18em; }
.cv-tpl-8 .cv-name-emphasis { letter-spacing: -0.02em; }

.cv-tpl-9 .cv-page:first-child { padding-top: 10mm; }
.cv-tpl-9 .cv-banner-strip { letter-spacing: 0.02em; }
.cv-tpl-9 .cv-header-banner .cv-name-emphasis { font-size: 1.75rem; font-weight: 800; letter-spacing: -0.025em; }
.cv-tpl-9 .cv-layout-banner .cv-exp-row { border-color: rgb(228 228 231 / 0.9); }

.cv-tpl-10 .cv-sidebar { background: linear-gradient(180deg, #0f172a 0%, #0c4a6e 100%) !important; }
.cv-tpl-10 .cv-page { border-right: 3px solid #0ea5e9; }

.cv-tpl-11.cv-font-montreal .cv-page { border: 1px solid #ddd6fe; background: #faf5ff; }
.cv-tpl-11 .cv-rail-montreal { background: #f5f3ff !important; }

.cv-tpl-12.cv-font-cambridge .cv-page { border: 2px double #a1a1aa; }
.cv-tpl-12 .cv-double-cambridge h2 { font-variant: small-caps; }

.cv-tpl-13 .cv-page { border-left: 6px solid #f43f5e; background: linear-gradient(90deg, #fff1f2 0%, #fff 12%); }

.cv-tpl-14 .cv-sidebar { background: linear-gradient(180deg, #020617 0%, #0c4a6e 80%) !important; }

.cv-tpl-15 .cv-page { border-left: 5px solid #06b6d4; }
.cv-tpl-15 .cv-rail-toronto { background: #ecfeff !important; }

.cv-tpl-16.cv-font-barcelona .cv-page h2 { letter-spacing: 0.14em; font-weight: 700; text-transform: uppercase; font-size: 10px; }
.cv-tpl-16 .cv-swiss-barcelona h1 { font-weight: 800; letter-spacing: -0.03em; }

.cv-tpl-17.cv-font-melbourne .cv-page { background: #f0fdfa; }
.cv-tpl-17 .cv-academic-melbourne h2 { color: #115e59; }

.cv-tpl-18.cv-font-paris .cv-page { background: #fdf4ff; }
.cv-tpl-18 .cv-page:nth-child(2) { background: #faf5ff; }
.cv-tpl-18 .cv-magazine-paris { column-gap: 2rem; }

.cv-tpl-19.cv-font-vienna .cv-page { border-top: 2px solid #a1a1aa; border-bottom: 2px solid #a1a1aa; }
.cv-tpl-19 .cv-vienna-center header { text-align: center; }

.cv-tpl-20 .cv-sidebar { background: linear-gradient(180deg, #4c0519 0%, #9f1239 100%) !important; }
.cv-tpl-20 .cv-page { box-shadow: 0 0 0 1px rgb(190 18 60 / 0.25); }

/* Embed modes */
html[data-embed-pdf] body,
html[data-embed-thumb] body {
  background: #fff !important;
  margin: 0;
  padding: 0;
}
html[data-embed-pdf] #app,
html[data-embed-thumb] #app {
  padding: 0 !important;
  max-width: none;
}
html[data-embed-pdf] .cv-photo-editor,
html[data-embed-thumb] .cv-photo-editor {
  display: none !important;
}
html[data-embed-thumb] #resume-print-root .cv-page:nth-child(n + 2) {
  display: none !important;
}
html[data-embed-thumb],
html[data-embed-thumb] body {
  height: 100% !important;
  min-height: 100% !important;
}
html[data-embed-thumb] #app,
html[data-embed-thumb] .cv-pdf-embed {
  overflow: hidden !important;
  padding: 0 !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 100% !important;
  display: flex !important;
  align-items: flex-start !important;
  justify-content: center !important;
  box-sizing: border-box !important;
}
html[data-embed-thumb] #resume-print-root {
  width: 210mm;
  max-width: 210mm;
  margin: 0;
}
html[data-embed-thumb] #resume-print-root .cv-page {
  width: 210mm;
  max-width: 210mm;
  min-height: auto !important;
  height: auto !important;
  box-sizing: border-box;
}
html[data-embed-thumb] .cv-embed-fit-stage {
  flex-shrink: 0;
  margin: auto;
}
html[data-embed-app] #app {
  padding: 0 !important;
  max-width: none;
  width: 100% !important;
  height: 100% !important;
  min-height: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
}
html[data-embed-app] #rf-preview-shell {
  overflow: hidden !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 100% !important;
  max-width: none !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box !important;
}
html[data-embed-app] #rf-preview {
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;
  padding: 0 !important;
  margin: 0 !important;
}
html[data-embed-app] .cv-embed-fit-stage {
  flex-shrink: 0;
  margin: auto;
}
html[data-embed-app] body {
  background: #f4f4f5;
  height: 100% !important;
  min-height: 100% !important;
  margin: 0 !important;
  overflow: hidden !important;
}
html[data-embed-app] {
  height: 100% !important;
}
html[data-embed-app] .print\:hidden {
  display: none !important;
}

/* Invoice-style page shell (matches invoice-web-server template URLs) */
.rf-invoice-page {
  background: transparent;
}
.rf-invoice-shell .cv-document {
  margin-left: auto;
  margin-right: auto;
}
.cv-layout-invoice .cv-meta-row input {
  font-size: 12px;
}
.cv-layout-invoice .cv-exp-table th,
.cv-layout-invoice .cv-exp-table td {
  vertical-align: top;
}
.cv-layout-invoice .cv-exp-table thead th {
  background: rgb(248 250 252);
}
.cv-tpl-10.cv-layout-invoice .cv-bill-to {
  border-left: 1px solid rgb(255 255 255 / 0.12);
}
@media print {
  .rf-invoice-page { padding: 0 !important; }
  .rf-invoice-shell { border: none !important; box-shadow: none !important; }
}
