@font-face { font-family: Instrument; src: url('./fonts/instrument.woff2') format('woff2'); font-display: swap; }
@font-face { font-family: Manrope; src: url('./fonts/manrope.woff2') format('woff2'); font-weight: 400 800; font-display: swap; }

:root {
  color-scheme: light;
  --ink: #213830;
  --muted: #52665a;
  --green: #2e5144;
  --line: #d7e1d8;
  --stone: #f5f6f1;
  --sidebar: #e8eee8;
  --soft: #dcebdd;
  --white: #fdfefa;
  --sans: Manrope, 'Segoe UI', sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--stone); color: var(--ink); font: 16px/1.6 var(--sans); }
button, input, select, textarea { font: inherit; }
button, summary { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .56; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .21em; }
:is(a, button, summary, input, textarea, select):focus-visible { outline: 3px solid #408564; outline-offset: 3px; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }
h1 { font-size: clamp(1.7rem, 3.2vw, 3.05rem); line-height: 1.07; letter-spacing: -.062em; font-weight: 800; }
h2 { font-size: clamp(1.22rem, 2vw, 1.56rem); line-height: 1.2; letter-spacing: -.04em; font-weight: 800; }
.wrap { width: min(1190px, calc(100% - 64px)); margin-inline: auto; }
.skip { position: fixed; top: 10px; left: 10px; z-index: 5; transform: translateY(-160%); padding: 10px 16px; background: white; }
.skip:focus { transform: translateY(0); }

.topbar { min-height: 68px; display: flex; align-items: center; gap: 27px; padding: 0 clamp(16px, 2.45vw, 39px); background: var(--white); border-bottom: 1px solid var(--line); }
.brand { text-decoration: none; display: inline-flex; gap: 10px; align-items: center; font-size: 1.25rem; font-weight: 500; letter-spacing: -.07em; white-space: nowrap; }
.brand strong { font-weight: 800; }
.brandmark { width: 34px; aspect-ratio: 1; display: grid; place-items: center; background: var(--green); color: #e1f1de; border-radius: 12px; }
.brandmark i { width: 15px; height: 13px; position: relative; border: 1px solid; border-top: 0; margin-top: 5px; }
.brandmark i::before { content: ''; position: absolute; width: 11px; height: 11px; transform: rotate(45deg); border: 1px solid; border-right: 0; border-bottom: 0; left: 1px; top: -5px; }
.brandmark i::after { content: ''; width: 5px; height: 8px; border: 1px solid; border-bottom: 0; position: absolute; bottom: 0; left: 4px; }
.breadcrumb { color: var(--muted); font-size: .88rem; font-weight: 650; }
.breadcrumb span { margin-inline: 5px; color: #749081; }
.header-links { display: flex; align-items: center; gap: 14px; margin-left: auto; }
.header-links > a { white-space: nowrap; }
.header-links > a:not(.top-cta) { color: var(--green); font-size: .875rem; font-weight: 750; }
.top-cta { margin-left: auto; color: var(--green); text-decoration: none; font-size: .87rem; font-weight: 800; border: 1px solid var(--line); border-radius: 100px; padding: 8px 14px; }
.top-cta:hover { background: var(--soft); }

.app-shell { display: grid; grid-template-columns: minmax(210px, 249px) minmax(0, 1fr); align-items: start; }
.app-main { min-width: 0; }
.sidebar { border-right: 1px solid var(--line); background: var(--sidebar); min-height: calc(100dvh - 68px); position: sticky; top: 0; padding: 27px 14px; display: flex; flex-direction: column; }
.property-card { display: flex; align-items: center; gap: 10px; padding: 11px 9px; }
.property-icon { display: grid; place-items: center; flex: none; width: 38px; aspect-ratio: 1; border-radius: 14px; border: 1px solid #aebfb2; color: var(--green); font-size: 1.48rem; line-height: 1; font-weight: 800; }
.property-card strong, .property-card small { display: block; }
.property-card strong { font-size: .91rem; line-height: 1.22; }
.property-card small { font-size: .77rem; color: var(--muted); margin-top: 3px; }
.sidebar-label { font-size: .78rem; font-weight: 800; margin: 29px 11px 8px; color: var(--muted); }
.tabs { display: grid; gap: 5px; }
.tabs button { text-align: left; min-width: 0; min-height: 57px; display: flex; align-items: center; gap: 9px; padding: 8px 9px; border: 1px solid transparent; border-radius: 16px; background: transparent; color: var(--ink); transition: background .2s, border-color .2s; }
.tabs button:hover, .tabs button[aria-pressed=true] { background: #f7faf6; border-color: #b7c9b9; }
.tab-icon { width: 32px; aspect-ratio: 1; display: grid; place-items: center; flex: none; background: #d9e7da; border-radius: 11px; position: relative; }
[aria-pressed=true] .tab-icon { background: #385e4f; color: white; }
.receipt-icon::before, .inventory-icon::before { content: ''; display: block; width: 12px; height: 15px; border: 1px solid; border-radius: 2px; }
.receipt-icon::after { content: ''; width: 6px; height: 5px; border-block: 1px solid; position: absolute; }
.inventory-icon::before { width: 14px; height: 14px; }
.inventory-icon::after { content: ''; width: 6px; height: 7px; border-bottom: 1px solid; border-left: 1px solid; position: absolute; top: 8px; right: 9px; }
.tabs strong, .tabs small { display: block; }
.tabs strong { font-size: .88rem; line-height: 1.24; }
.tabs small { font-size: .74rem; margin-top: 3px; color: var(--muted); }
.sidebar-links { display: grid; gap: 6px; padding: 17px 11px 0; margin-top: auto; border-top: 1px solid #cbd9ce; }
.sidebar-links a { text-decoration: none; color: var(--green); font-size: .85rem; font-weight: 750; padding: 4px 0; }
.sidebar-links a:hover { text-decoration: underline; }

.workspace { padding-block: 33px 31px; scroll-margin-top: 16px; }
.section-intro { display: flex; align-items: flex-end; justify-content: space-between; gap: 19px; margin-bottom: 22px; animation: enter .45s ease both; }
.section-intro p { margin-top: 9px; font-size: .93rem; color: var(--muted); max-width: 58ch; }
.workspace-actions { display: flex; flex: none; flex-wrap: wrap; align-items: center; gap: 5px; }
.small-button, .bare-button { border-radius: 100px; border: 1px solid var(--line); background: var(--white); color: var(--ink); font-size: .86rem; font-weight: 800; min-height: 40px; padding: 7px 12px; transition: background .2s, transform .2s; }
.small-button:hover, .bare-button:hover { background: var(--soft); transform: translateY(-1px); }
.bare-button { border-color: transparent; background: transparent; color: var(--muted); }
.tool-grid { display: grid; align-items: start; gap: 19px; grid-template-columns: minmax(0, 1fr) minmax(0, .87fr); }
.editor, .preview-pane { background: var(--white); border: 1px solid var(--line); border-radius: 27px; min-width: 0; }
.editor { padding: clamp(16px, 2.3vw, 30px); }
.editor-heading { margin-bottom: 21px; padding-bottom: 15px; border-bottom: 1px solid var(--line); }
.editor-heading p { margin-top: 4px; font-size: .86rem; color: var(--muted); }
.step { padding: 0; margin: 0 0 25px; min-width: 0; border: 0; }
.step legend { padding: 0; margin-bottom: 10px; font-size: 1rem; font-weight: 800; }
.step-number { width: 25px; aspect-ratio: 1; display: inline-grid; place-items: center; border-radius: 50%; margin-right: 5px; background: var(--soft); color: var(--green); font-size: .81rem; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 11px 13px; }
.field { display: block; min-width: 0; font-size: .875rem; font-weight: 800; }
.span-all { grid-column: 1 / -1; }
.field input:not([type=file]), .field select, .field textarea { display: block; width: 100%; min-width: 0; margin-top: 4px; border: 1px solid #cad7cc; border-radius: 13px; min-height: 43px; padding: 8px 10px; color: var(--ink); background: #fbfcf8; font-size: 1rem; font-weight: 500; }
.field :is(input, textarea)::placeholder { color: #5e7065; opacity: 1; }
.field textarea { resize: vertical; }
.optional { margin-left: 3px; font-weight: 500; color: var(--muted); font-size: .78rem; }
.check { display: flex; align-items: flex-start; gap: 8px; padding: 11px; background: #e8f1e7; border-radius: 14px; margin-top: 14px; font-size: .87rem; font-weight: 750; }
.check input { accent-color: var(--green); width: 17px; height: 17px; margin: 2px 0 0; flex: none; }
.field-hint { font-size: .875rem; color: var(--muted); margin-bottom: 11px; }
.room-editor { margin: 0 0 12px; padding: 13px; background: #f4f7f1; border: 1px solid var(--line); border-radius: 16px; }
.room-head, .preview-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.room-head { margin-bottom: 8px; }
.room-head h4 { margin: 0; font-size: .95rem; }
.room-remove { min-height: 35px; padding-inline: 8px; background: transparent; border: 0; text-decoration: underline; color: #76472c; border-radius: 100px; font-size: .84rem; }
.room-editor .field + .field { margin-top: 8px; }
.file { position: relative; width: fit-content; padding: 7px 10px; min-height: 39px; display: inline-flex; align-items: center; cursor: pointer; background: var(--white); border: 1px solid var(--line); border-radius: 100px; }
.file:focus-within { outline: 3px solid #408564; outline-offset: 2px; }
.file input { position: absolute; inset: 0; opacity: 0; width: 100%; cursor: pointer; }
.photo-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; margin-top: 10px; }
.photo-thumb { margin: 0; position: relative; min-width: 0; }
.photo-thumb img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 8px; }
.photo-thumb button { background: var(--green); color: white; border: 1px solid white; border-radius: 100px; min-width: 29px; min-height: 29px; position: absolute; top: 3px; right: 3px; }
.editor-footer { border-top: 1px solid var(--line); padding-top: 16px; }
.button { display: inline-flex; align-items: center; justify-content: center; padding: 11px 20px; min-height: 46px; border: 1px solid #244237; border-radius: 100px; font-size: .94rem; font-weight: 800; text-decoration: none; transition: background .2s, transform .2s; }
.button.primary { background: var(--green); color: white; }
.button.primary:hover { background: #234437; transform: translateY(-1px); }
.status { margin-top: 8px; color: var(--muted); font-size: .81rem; line-height: 1.45; }

.preview-pane { padding: clamp(12px, 1.8vw, 23px); background: #e6eee4; position: sticky; top: 17px; }
.preview-head { margin-bottom: 12px; }
.preview-head h3 { font-size: .98rem; letter-spacing: -.02em; }
.live { display: flex; align-items: center; gap: 6px; border-radius: 100px; border: 1px solid #b9cdba; padding: 3px 8px; font-size: .76rem; font-weight: 800; color: var(--green); }
.live i { width: 7px; height: 7px; border-radius: 50%; background: #477859; }
.preview-help { color: var(--muted); margin-top: 12px; font-size: .83rem; }
.print-paper { background: white; color: var(--ink); border: 1px solid #d5dfd3; box-shadow: 0 9px 26px #31433215; min-height: 309px; padding: clamp(15px, 2.3vw, 32px); font-size: .85rem; overflow-wrap: anywhere; }
.doc-ident { margin: 0 0 6px; color: #416653; letter-spacing: .075em; font-size: .73rem; font-weight: 800; text-transform: uppercase; }
.doc-title { font: 400 clamp(1.88rem, 3.2vw, 2.88rem)/1.01 Instrument, Georgia, serif; margin: 0 0 7px; letter-spacing: -.025em; }
.doc-subtitle { font-weight: 750; padding-bottom: 10px; border-bottom: 1px solid var(--line); margin-bottom: 11px; }
.doc-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 12px; margin: 0 0 10px; }
.doc-meta dt, .doc-money dt { font-weight: 800; }
.doc-meta dd, .doc-money dd { margin: 0; }
.doc-money { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; margin: 11px 0; }
.doc-money dd { text-align: right; font-variant-numeric: tabular-nums; }
.doc-money .total { padding-top: 7px; border-top: 1px solid #c6d8cb; font-weight: 800; }
.doc-payment { background: #edf4eb; margin: 9px 0; padding: 7px 8px; font-size: .8rem; }
.doc-room { border-top: 1px solid var(--line); margin-top: 10px; padding-top: 8px; }
.doc-room h4 { margin: 0 0 4px; font-size: .99rem; }
.doc-details { white-space: pre-line; }
.doc-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; margin-block: 8px; }
.doc-photos img { aspect-ratio: 4 / 3; width: 100%; object-fit: contain; background: #f3f5f1; }
.doc-signatures { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 16px; }
.doc-signatures div { min-height: 44px; border-top: 1px solid #c6d8cb; padding-top: 5px; }
.pulse-document { animation: enter .3s ease both; }
@keyframes enter { from { opacity: .72; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }

.guide, .faq, .guide :is(h2,h3)[id] { scroll-margin-top: 20px; }
.guide { display: grid; gap: clamp(14px, 2.3vw, 25px); }
.guide-cover { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1fr); align-items: stretch; background: #29483d; color: #f5faf1; border-radius: 26px; overflow: hidden; }
.guide-cover-copy { align-self: center; padding: clamp(21px, 3.2vw, 45px); }
.guide-cover h2 { font-size: clamp(1.65rem, 3.7vw, 3.15rem); line-height: 1.04; letter-spacing: -.06em; }
.guide-cover-copy p { margin: 12px 0 18px; color: #e2eee2; }
.guide-cover-link { display: inline-flex; min-height: 42px; align-items: center; border: 1px solid #a9cab1; color: #fff; padding: 7px 14px; border-radius: 100px; font-size: .88rem; font-weight: 800; text-decoration: none; transition: background .2s, color .2s; }
.guide-cover-link:hover { background: #e2eee2; color: #29483d; }
.guide-cover-image { display: grid; position: relative; min-width: 0; min-height: 240px; margin: 0; }
.guide-cover-image img { width: 100%; height: 100%; object-fit: cover; object-position: 47% 54%; }
.guide-cover-image figcaption { position: absolute; bottom: 11px; left: 12px; max-width: calc(100% - 24px); border-radius: 100px; padding: 5px 9px; font-size: .75rem; font-weight: 800; background: #f9fbf4; color: var(--green); }
.guide-directory { display: grid; gap: 7px; border-radius: 20px; padding: 14px 18px; border: 1px solid #cfddcf; background: #ebf1e8; }
.guide-directory > strong { color: var(--green); font-size: .83rem; }
.guide-directory ul { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; }
.guide-directory a { display: inline-flex; min-height: 34px; align-items: center; padding: 5px 11px; border: 1px solid #cbd9ce; border-radius: 100px; background: var(--white); font-size: .79rem; font-weight: 800; text-decoration: none; }
.guide-directory a:hover { background: var(--soft); border-color: #9db9a5; }
.guide-section { min-width: 0; padding: clamp(17px, 3vw, 32px); background: var(--white); border: 1px solid var(--line); border-radius: 24px; }
.guide-heading { display: flex; align-items: center; gap: 12px; margin-bottom: 19px; }
.guide-heading h2 { font-size: clamp(1.34rem, 2.45vw, 2rem); }
.guide-heading p { margin-top: 3px; }
.guide-icon { flex: 0 0 41px; height: 41px; display: grid; place-items: center; position: relative; border-radius: 14px; color: var(--green); background: var(--soft); }
.guide-icon.inventory-icon::after { top: 13px; right: 14px; }
.dossier-icon::before { content: ''; width: 17px; height: 12px; border: 1.5px solid currentColor; border-radius: 2px; position: absolute; top: 15px; }
.dossier-icon::after { content: ''; width: 7px; height: 4px; border: 1.5px solid currentColor; border-radius: 2px 2px 0 0; border-bottom: 0; position: absolute; top: 12px; left: 12px; }
.compare-icon::before, .compare-icon::after { content: ''; width: 7px; height: 13px; border: 1.5px solid currentColor; border-radius: 2px; position: absolute; top: 14px; }
.compare-icon::before { left: 11px; }
.compare-icon::after { right: 11px; }
.guide-section h3 { font-size: 1.07rem; margin-bottom: 6px; }
.guide-section > h3:not(:first-of-type) { margin-top: 19px; }
.guide-section p, .questions p { color: var(--muted); }
.guide-inner { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-block: 13px; }
.guide-copy { border-radius: 19px; border: 1px solid var(--line); padding: 17px; background: #f7f9f3; }
.guide-copy p + p { margin-top: 8px; }
.guide-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); list-style: none; padding: 0; gap: 12px; margin: 16px 0; }
.guide-steps > li { position: relative; border: 1px solid #ceded1; border-radius: 17px; padding: 15px; background: #eef4ed; }
.guide-steps > li:nth-child(2) { background: #e8f0e5; }
.guide-steps > li:nth-child(3) { background: #dfece1; }
.path-step { display: grid; place-items: center; width: 28px; height: 28px; margin-bottom: 10px; border-radius: 50%; color: #f8fcf8; background: var(--green); font-size: .85rem; font-weight: 800; }
.guide-steps h3 { line-height: 1.3; }
.guide-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.guide-secondary { color: var(--green); border-color: #b6cbbb; }
.guide-secondary:hover { background: #eaf3ea; }
.guide-scenarios > article { border-top: 3px solid #7ba58a; }
.scenario-label { color: var(--green); font-size: .78rem; font-weight: 800; margin-bottom: 5px; display: block; }
.chapter-note { padding: 13px 15px; border-left: 3px solid #709a7f; border-radius: 0 10px 10px 0; background: #edf4ed; }
.chapter-note p { margin-top: 3px; }
.guide-list { margin: 8px 0 10px; padding-left: 1.3rem; }
.guide-list > li + li { margin-top: 6px; }
.guide-list li::marker { color: #3e6d54; font-weight: 800; }
.table-scroll { overflow-x: auto; margin-block: 12px 9px; border: 1px solid var(--line); border-radius: 16px; }
.table-scroll:focus-visible { outline: 3px solid #408564; outline-offset: 3px; }
.table-scroll table { width: 100%; min-width: 425px; border-collapse: collapse; text-align: left; font-size: .88rem; }
.table-scroll caption { padding: 9px 13px; text-align: left; font-size: .82rem; font-weight: 800; color: var(--muted); }
.table-scroll :is(th, td) { padding: 9px 13px; vertical-align: top; border-top: 1px solid var(--line); }
.table-scroll thead { color: var(--green); background: #e8f0e5; }
.table-scroll tbody tr:nth-child(even) { background: #f6f9f4; }
.guide-source { margin-block: 8px 14px; font-size: .85rem; }
.guide-source a { font-weight: 750; }
.inspection-example { display: grid; grid-template-columns: 1.12fr .88fr; margin: 15px 0 20px; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: var(--sidebar); }
.inspection-photo { min-width: 0; }
.inspection-photo img { width: 100%; height: 100%; min-height: 195px; object-fit: cover; object-position: center; }
.inspection-example figcaption { align-self: center; padding: clamp(15px, 3vw, 30px); }
.inspection-example figcaption > span { display: block; font-size: .75rem; font-weight: 800; color: var(--green); margin-bottom: 4px; }
.inspection-example strong { display: block; line-height: 1.3; margin-bottom: 7px; }
.archive-stack { display: grid; gap: 7px; margin-top: 15px; }
.archive-stack > div { display: flex; align-items: center; gap: 9px; border: 1px solid var(--line); border-radius: 13px; background: #f5f8f2; padding: 7px 10px; }
.archive-stack strong { display: block; font-size: .91rem; }
.archive-stack p { font-size: .8rem; overflow-wrap: anywhere; }
.faq { padding-block: clamp(23px, 4vw, 39px) 22px; }
.faq-intro { margin-bottom: 13px; }
.faq-intro h2 { font-size: clamp(1.41rem, 2.6vw, 2.05rem); }
.faq-intro p { margin-top: 5px; color: var(--muted); }
.questions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.questions article { border: 1px solid var(--line); background: var(--white); border-radius: 15px; padding: 13px 15px; }
.questions h3 { font-size: 1.02rem; line-height: 1.35; }
.questions p { margin-top: 6px; font-size: .92rem; }
.guide-closing { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: clamp(18px, 3vw, 31px); margin-bottom: 22px; border-radius: 22px; background: #29483d; color: #f8fcf8; }
.guide-closing h2 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); }
.guide-closing p { margin-top: 5px; color: #dcebe1; }
.guide-closing .button { flex: none; background: #f8fcf8; color: var(--green); }
.guide-closing .button:hover { background: #e1eee2; }
.footer { display: flex; align-items: center; flex-wrap: wrap; justify-content: space-between; gap: 13px 20px; padding-block: 17px 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: .88rem; }
.footer nav { display: flex; flex-wrap: wrap; gap: 9px 15px; }
.footer .brand { color: var(--ink); }

.legal-main { max-width: 780px; padding-block: 35px 48px; }
.legal-main .lead { color: var(--muted); margin: 10px 0 19px; }
.legal-main section { border: 1px solid var(--line); background: var(--white); border-radius: 24px; padding: clamp(16px, 3vw, 30px); margin-block: 14px; scroll-margin-top: 14px; }
.legal-main section p { color: var(--muted); margin-top: 9px; }
.legal-main section h3 { margin-top: 15px; font-size: 1.08rem; }

@media (max-width: 1170px) {
  .section-intro { align-items: flex-start; flex-direction: column; gap: 10px; }
}
@media (max-width: 950px) {
  .app-shell { grid-template-columns: 195px minmax(0, 1fr); }
  .wrap { width: calc(100% - 36px); }
  .sidebar { padding-inline: 9px; }
  .tool-grid { gap: 12px; }
  .field-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .app-shell { display: block; }
  .topbar { min-height: 59px; gap: 12px; }
  .breadcrumb, .property-card, .sidebar-label, .sidebar-links { display: none; }
  .sidebar { position: static; min-height: 0; padding: 9px 15px; border-right: 0; border-bottom: 1px solid var(--line); }
  .tabs { grid-template-columns: 1fr 1fr; gap: 5px; }
  .workspace { padding-block: 20px 21px; }
  .tool-grid, .guide-inner, .inspection-example, .guide-cover, .guide-steps, .questions { grid-template-columns: 1fr; }
  .preview-pane { position: static; }
  .print-paper { min-height: 0; }
  .inspection-photo img { height: auto; min-height: 0; }
  .guide-cover-image { min-height: 0; }
  .guide-cover-image img { height: auto; }
  .guide-closing { align-items: flex-start; flex-direction: column; }
}
@media (min-width: 480px) and (max-width: 760px) {
  .field-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 360px) {
  .tabs button { padding: 7px 5px; gap: 5px; }
  .tab-icon { width: 25px; }
  .top-cta { font-size: .75rem; padding-inline: 7px; }
}
@media (max-width: 430px) {
  .header-links > a:not(.top-cta) { display: none; }
  .guide-heading { align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}
@page { size: A4; margin: 17mm; }
@media print {
  body { background: white; color: black; }
  .topbar, .skip, .sidebar, .section-intro, .editor, .preview-head, .preview-help, .guide, .faq, .guide-closing, .footer { display: none !important; }
  .app-shell, .app-main, .workspace, .tool-grid, .preview-pane, .print-paper { background: white; display: block; padding: 0; margin: 0; width: auto; height: auto; min-height: 0; border: 0; border-radius: 0; box-shadow: none; position: static; transform: none; animation: none; color: black; }
  .print-paper { font-size: 10pt; }
  .doc-title { font-size: 30pt; }
  .doc-room { break-inside: auto; }
  .doc-room h4 { break-after: avoid; }
  .doc-photos { display: block; }
  .doc-photos img { display: inline-block; width: 46%; max-height: 65mm; margin: 2mm 1%; break-inside: avoid; vertical-align: middle; }
  .doc-meta, .doc-money, .doc-signatures { break-inside: avoid; }
  .doc-signatures div { min-height: 24mm; }
}
