:root {
  --ink: #17273e;
  --sub: #51637a;
  --blue: #204fbf;
  --line: #d7dfe9;
  --fog: #f5f7fa;
  color: var(--ink);
  background: var(--fog);
  font: 16px/1.48 -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-synthesis: none;
  color-scheme: light;
}
* { box-sizing: border-box }
body, h1, h2, h3, p, dl, dd { margin: 0 }
[hidden], #paper { display: none !important }
h1, h2, h3 { line-height: 1.18; letter-spacing: -.025em; text-wrap: balance }
h1 { font-size: 2rem }
h2 { font-size: 1.18rem }
a { color: var(--blue); text-underline-offset: .17em }
button, .button, input { font: inherit; font-size: .9375rem; color: inherit }
button, .button, .switcher {
  display: inline-flex; align-items: center; justify-content: center; gap: .45rem;
  min-height: 42px; padding: 8px 14px; background: white; border: 1px solid #becbdb;
  border-radius: 7px; color: var(--ink); font-weight: 600; line-height: 1.32;
  cursor: pointer; text-decoration: none; text-align: center;
}
button:hover, .button:hover { background: #edf2f8; border-color: #899db5 }
button:disabled { opacity: .48; cursor: default }
.primary { color: white; background: var(--blue); border-color: var(--blue) }
.primary:hover { color: white; background: #153d9a; border-color: #153d9a }
.square { min-width: 40px; padding: 8px }
.plain, .link { background: transparent; border-color: transparent; box-shadow: none }
.link { padding: 5px 0; min-height: 36px; color: var(--blue) }
.link:hover { text-decoration: underline; background: transparent; border-color: transparent }
input { display: block; min-width: 0; width: 100%; padding: 9px 10px; background: white; border: 1px solid #8191a4; border-radius: 6px }
input { caret-color: var(--blue) }
input[readonly] { background: var(--fog) }
::placeholder { color: #607087; opacity: 1 }
::selection { color: var(--ink); background: #cddeff }
:focus-visible { outline: 3px solid #3971d8; outline-offset: 3px }
.visually-hidden, #note:empty { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap }
.icon { width: 19px; height: 19px; flex: none; vertical-align: middle }
.wrap { width: min(calc(100% - 48px), 1200px); margin-inline: auto }

.site-header { border-bottom: 1px solid var(--line); background: white }
.top, .brand, .tools, .scenario-actions, .asidehead, .prod, .title, .meta, .dates,
.sheethead, .bottom, .actions, .dh, .edfoot { display: flex; align-items: center }
.top { min-height: 66px; justify-content: space-between; gap: 12px }
.brand { gap: 10px; color: var(--ink); font-size: 1.22rem; font-weight: 750; letter-spacing: -.035em; text-decoration: none }
.product-mark { flex: none }
.by { font-size: .94rem; font-weight: 500; letter-spacing: normal; white-space: nowrap }
.by img { width: auto; height: 1.1em; vertical-align: -.23em }
.tools { gap: 8px; flex-wrap: wrap }
.top .tools { gap: 12px; flex-wrap: nowrap }
.top .plain, .switcher { font-size: .88rem; color: var(--sub) }
.switcher { border: 0; background: none; padding-inline: 5px }
.switcher:hover { color: var(--blue); text-decoration: underline }
.scenario-head { padding: 34px 24px; background: #e9f0fb; border-bottom: 1px solid #d5e0ef }
.scenario-inner { width: min(100%, 1200px); display: flex; align-items: center; justify-content: space-between; gap: 24px }
.sector-title { display: flex; align-items: center; gap: 13px; font-size: 2.15rem }
.sector-title .icon { width: 35px; height: 35px; color: var(--blue) }
.scenario-prompt { margin-top: 10px; font-size: 1.05rem }
.scenario-actions { gap: .55rem; flex-wrap: wrap; justify-content: flex-end }
.scenario-actions .primary { min-height: 46px; padding-inline: 17px }
.layout { display: grid; grid-template-columns: minmax(205px, 250px) minmax(0, 1fr); grid-template-areas: "list quote"; gap: 4%; padding-block: 32px 40px; align-items: start }
#main { grid-area: quote; min-width: 0; scroll-margin-top: 12px }
.saved-jump { display: none }
aside { grid-area: list; min-width: 0 }
.asidehead, .title, .sheethead, .bottom, .edfoot, .dh { justify-content: space-between }
.asidehead { gap: 6px; margin-bottom: 12px }
.asidehead .square { min-width: 44px; min-height: 44px; color: var(--blue) }
.search { position: relative; display: flex; align-items: center }
.search svg { position: absolute; left: 10px; color: var(--sub); width: 16px }
.search input { padding-left: 32px; font-size: .875rem }
#list { display: grid; gap: 2px; margin-top: 12px }
.entry { display: grid; gap: 3px; justify-content: stretch; text-align: left; min-width: 0; padding: 10px 12px; border: 1px solid transparent; background: transparent; overflow-wrap: anywhere }
.entry:hover { background: #e9eef5; border-color: transparent }
.entry[aria-current] { color: #173f95; background: #e5edfc; border-color: #b7ccef }
.client { font-weight: 650 }
.tiny, small { color: var(--sub); font-size: .8rem; font-weight: 400 }
.tiny { display: flex; flex-wrap: wrap; gap: 5px }
.entry strong { font-size: .87rem }
.entry-total { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px }
.entry-date { white-space: nowrap }
small { display: block; margin-top: 3px }
.sidefoot { margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--line); display: grid; justify-items: start }
.sidefoot button { font-size: .85rem; font-weight: 500 }
.sidefoot button:last-child { color: var(--sub) }

.meta, .dates { color: var(--sub); font-size: .875rem; gap: 8px; flex-wrap: wrap }
.meta > span { display: inline-flex; align-items: center; gap: 6px }
.meta .icon, .dates .icon { width: 16px }
.version-static::before { content: '·' }
.version-picker { position: relative; max-width: 100% }
.choice-trigger { display: inline-flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; padding: 8px 14px; text-align: left }
.choice-trigger > .icon:last-child { width: 16px; height: 16px; color: var(--sub) }
.choice-trigger[aria-expanded="true"] { border-color: var(--blue); color: var(--blue) }
.choice-trigger[aria-expanded="true"] > .icon:last-child { transform: rotate(180deg); color: inherit }
.version-picker .choice-trigger { font-size: .875rem }
.choice-list { overflow-y: auto; scrollbar-width: thin; scrollbar-color: #b6c4d6 white; border: 1px solid #becbdb; border-radius: 8px; background: white }
.version-picker .choice-list { position: absolute; inset: calc(100% + 4px) auto auto 0; z-index: 2; min-width: 100%; width: max-content; max-width: min(100vw - 32px, 26rem); max-height: min(32vh, 18rem); padding: 4px; overscroll-behavior: contain }
.version-picker .opens-above { inset-block: auto calc(100% + 4px) }
.version-choice, .product-choice { display: grid; width: 100%; min-height: 44px; border: 0; background: white; text-align: left; font-weight: 500; color: var(--ink) }
.version-choice { grid-template-columns: minmax(0, 1fr) max-content 16px; gap: 12px; padding: 8px; border-radius: 5px }
.version-choice .icon { width: 16px; height: 16px }
.choice-name { min-width: 0; overflow-wrap: anywhere }
.choice-price { font-variant-numeric: tabular-nums; white-space: nowrap }
.choice-list button:is(:hover, :focus-visible) { color: var(--ink); background: var(--fog) }
.choice-list button:focus-visible { outline-offset: -3px }
.choice-list button[aria-current="true"] { background: #e5edfc; color: #173f95 }
.title { gap: 12px; flex-wrap: wrap; margin-block: 8px }
.title h2, .title h1 { font-size: 1.75rem; overflow-wrap: anywhere }
.title button { min-height: 36px; font-size: .875rem }
.dates { margin-bottom: 18px }
.sheet { background: white; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; font-variant-numeric: tabular-nums }
.sheethead { gap: 12px; padding: 16px 21px }
.sheethead span, .labels { font-size: .82rem; color: var(--sub) }
.row { display: grid; grid-template-columns: minmax(0, 1fr) 12% 19% 22%; align-items: center; gap: 5px; padding: 12px 21px; text-align: right; border-top: 1px solid #e1e6ed }
.row > :first-child { text-align: left }
.labels { padding-block: 8px; background: #f7f9fb }
.prod { min-width: 0; gap: 10px }
.prod > div { min-width: 0; overflow-wrap: anywhere }
.item { font-size: .94rem }
.thumb { display: inline-grid; place-items: center; width: 39px; height: 39px; flex: none; border-radius: 7px; background: #edf2f8; color: #465e79 }
.thumb .icon { width: 25px; height: 25px }
.fresh { color: #834811 }
.bottom { align-items: flex-start; margin: 0; padding: 18px 21px; gap: 16px; border-top: 1px solid var(--line) }
.kept { display: flex; align-items: flex-start; gap: 7px; font-size: .85rem; color: var(--sub) }
.kept p { font-size: .8rem; margin-top: 4px }
.sums { width: min(100%, 315px); margin-left: auto; font-size: .9rem; font-variant-numeric: tabular-nums }
.sums > div, .comparison-totals > p { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 6px }
.sums b { font-weight: 550 }
.sums .grand { border-top: 1px solid var(--line); padding-top: 11px; margin: 11px 0 0; font-size: 1rem; font-weight: 600 }
.grand strong { font-size: 1.26rem }
.grand strong, .sums b { white-space: nowrap }
.empty, .fine { font-size: .88rem; color: var(--sub) }
.site-footer { border-top: 1px solid var(--line); background: white }
.contact { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 27px }
.contact h2 { margin-bottom: .45rem }
.contact p { color: var(--sub); font-size: .94rem; margin-top: 3px }
.contact-actions { display: grid; gap: 8px; justify-items: start; flex-shrink: 0 }
.address { display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; color: var(--sub) }
.address span { user-select: all }
.copy { padding: 0; min-height: 44px; min-width: 44px; color: var(--sub) }
.copy:hover { background: #edf2f8; border-color: transparent; color: var(--blue) }
.copy svg { width: 17px; height: 17px }
.independence { border-top: 1px solid var(--line); padding-block: 17px; color: var(--sub); font-size: .84rem }

.selector { width: min(91%, 700px); margin: 9vh auto 50px }
.selector h1 { font-size: 2.55rem }
.selector > p { margin-top: .65rem; color: var(--sub) }
.sector-list { margin: 28px 0 24px; border-block: 1px solid var(--line) }
.sector-link { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 19px; padding: 21px 8px; text-decoration: none; color: var(--ink) }
.sector-link + .sector-link { border-top: 1px solid var(--line) }
.sector-link:hover { background: #eaf0f9; color: var(--blue) }
.sector-link > .icon { color: var(--blue) }
.sector-symbol { display: grid; place-items: center; width: 45px; height: 45px; background: #e1eafb; color: var(--blue); border-radius: 8px }
.sector-symbol .icon { width: 28px; height: 28px }
.sector-link strong { font-size: 1.15rem }
.sector-purpose { display: block; color: var(--sub); font-size: .9rem; margin-top: 3px }
.selector .independence { padding-block: 0; border: 0; max-width: 62ch }
.selector > .button { margin-top: 20px }

dialog { border: none; border-radius: 12px; width: min(94vw, 485px); max-height: 92dvh; padding: 22px 24px; color: var(--ink); background: white; box-shadow: 0 12px 54px rgb(0 0 0 / 22%) }
dialog::backdrop { background: #16284079 }
dialog.wide { width: min(94vw, 650px) }
.dh { gap: 12px; margin-bottom: 16px }
.dh h2 { font-size: 1.32rem }
.dh .square { flex: none }
dialog p, dialog li { margin-block: 8px; color: var(--sub) }
dialog ol { padding-left: 24px }
.actions { justify-content: flex-end; gap: 8px; margin-top: 20px; flex-wrap: wrap }
.draft-actions { position: sticky; bottom: 0; z-index: 1; background: white; border-top: 1px solid var(--line); padding-block: 10px }
.field-error { color: #962e21 }
input[aria-invalid="true"] { border-color: #a4382b }
form label { display: block; font-size: .9rem; font-weight: 600 }
form label input { margin-top: 3px; font-weight: 400 }
#modal[data-view="edit"][open] { display: flex; flex-direction: column; padding: 0; overflow: hidden }
#modal[data-view="edit"] .dh { flex: none; margin: 0; padding: 14px 22px; border-bottom: 1px solid var(--line) }
#modal[data-view="edit"] .dh h2 { font-size: 1.37rem }
#modal[data-view="edit"] #editor { display: flex; flex-direction: column; min-height: 0 }
.draft-body { overflow-y: auto; overscroll-behavior: contain; scroll-padding-block: 8px; padding: 18px 22px }
#discard-prompt { padding: 18px 22px; overflow-y: auto }
.draft-body > .draft-customer { margin: 0 0 14px; color: var(--ink); font-weight: 600 }
.draft-body > label { margin-bottom: 16px }
.parts-head, .part { display: grid; grid-template-columns: minmax(0, 1fr) 112px 40px; align-items: center; column-gap: 10px }
.parts-head { padding-block: 6px; border-bottom: 1px solid var(--line); color: var(--sub); font-size: .8rem }
.parts-head > :nth-child(2) { text-align: center }
.part { min-height: 58px; padding-block: 8px; border-bottom: 1px solid var(--line); font-size: .92rem }
.part .prod { gap: 10px }
.part .prod small { margin-top: 2px }
.quantity-stepper { display: grid; grid-template-columns: 32px 1fr 32px; align-items: stretch; background: white; border: 1px solid #aebed0; border-radius: 7px }
.quantity-stepper button { padding: 0; min-height: 38px; border: 0; border-radius: 6px; color: var(--blue) }
.quantity-stepper button .icon { width: 15px; height: 15px }
.quantity-stepper :disabled { opacity: 1; background: white; color: #78889a }
.quantity-stepper input { padding: 4px 0; text-align: center; font-variant-numeric: tabular-nums; border: 0; border-radius: 0 }
.quantity-stepper :focus-visible { position: relative; z-index: 1; outline-offset: -2px }
#editor input[type="number"] { appearance: textfield }
#editor input[type="number"]::-webkit-inner-spin-button { appearance: none }
.quantity-stepper:has(input[aria-invalid="true"]) { border-color: #a4382b }
.part [data-act="remove"] { width: 40px; min-height: 40px; color: var(--sub) }
.part [data-act="remove"]:hover { color: #962e21 }
.part [data-act="remove"] .icon { width: 17px; height: 17px }
.product-picker { margin-top: 12px }
.product-picker .choice-trigger { width: 100%; color: var(--blue) }
.product-picker .choice-list { margin-top: 5px; max-height: min(35dvh, 17rem) }
.choice-head, .product-choice { display: grid; grid-template-columns: minmax(0, 1fr) max-content; align-items: center; gap: 12px; padding-inline: 13px }
.choice-head { padding-block: 6px; color: var(--sub); background: var(--fog); font-size: .8rem }
.product-choice { min-height: 48px; padding-block: 8px; border-radius: 0; border-top: 1px solid var(--line) }
.product-choice strong { font-weight: 600 }
.product-choice small { margin-top: 2px }
.product-choice .choice-price { font-size: .875rem }
.edfoot { align-items: flex-end; margin-top: 18px; padding: 13px 15px; background: var(--fog); border-radius: 8px; gap: 10px }
.edfoot input { width: 70px }
.edfoot > div { text-align: right; color: var(--sub); font-size: .88rem }
.edfoot strong { display: block; font-size: 1.27rem; font-variant-numeric: tabular-nums; color: var(--ink) }
#modal[data-view="edit"] .draft-actions { position: static; flex: none; margin: 0; padding: 12px 22px }
#modal[data-view="edit"] #save-error { margin: 0; padding: 8px 22px; color: #962e21 }
.change-list { padding: 0; margin: 13px 0 }
.change-item { padding-block: 9px; border-bottom: 1px solid var(--line); overflow-wrap: anywhere }
.change-item small { font-size: .84rem }
.comparison-totals { margin: 12px 0; font-variant-numeric: tabular-nums }
.comparison-totals strong { color: var(--ink); text-align: right }
#note { position: fixed; bottom: 14px; left: 50%; transform: translateX(-50%); width: max-content; max-width: 94%; padding: 10px 16px; border-radius: 7px; background: var(--ink); color: white; font-size: .9rem; z-index: 3 }

dialog.preview-dialog { width: min(96vw, 790px); background: #eef1f5 }
.offer-paper { width: 100%; background: white; color: #172a42; font-size: 1rem; text-align: left; font-variant-numeric: tabular-nums }
.paper-preview { margin-top: 14px; container-type: inline-size }
.paper-preview .offer-paper { width: min(100%, 700px); min-height: 0; aspect-ratio: 210/297; margin-inline: auto; padding: 6.5% 6%; box-shadow: 0 3px 14px rgb(0 0 0 / 9%) }
.offer-paper p { color: #43556c; margin: 0 }
.paper-head { display: grid; grid-template-columns: 1fr auto; align-items: end; padding-bottom: 18px; border-bottom: 2px solid #244e99 }
.printbrand { grid-column: 1/-1; margin: 0 0 6px; color: #244e99; font-size: .95em; font-weight: 650 }
.paper-head h2 { font-size: 1.72em; letter-spacing: -.025em; line-height: 1.1 }
.paper-head p { font-size: .92em }
.paper-parties { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-block: 26px 14px }
.paper-parties dt { font-size: .82em; color: #506078 }
.paper-parties dd { font-weight: 650; overflow-wrap: anywhere }
.paper-dates { display: flex; flex-wrap: wrap; gap: .25em 1.6em; font-size: .85em }
.offer-paper table { width: 100%; margin-block: 22px; border-collapse: collapse; font-size: .9em }
.offer-paper th, .offer-paper td { text-align: right; padding: 9px 5px; vertical-align: top; border-bottom: 1px solid #d4dce6 }
.offer-paper td { white-space: nowrap }
.offer-paper th { font-size: .88em; color: #384b63; background: #eef2f6 }
.offer-paper th:first-child, .offer-paper td:first-child { width: 40%; text-align: left; white-space: normal; overflow-wrap: anywhere }
.offer-paper small { font-size: .82em }
.paper-unit-detail { display: none }
.offer-paper .sums { width: 60%; font-size: .92em }
.offer-paper .sums .grand { font-size: 1.04em }
.offer-paper .sums .grand strong { font-size: 1.2em }
.offer-paper .paper-foot { margin-top: 32px; padding-top: 12px; border-top: 1px solid var(--line); font-size: .79em }

@media (max-width: 1030px) {
  .layout { grid-template-columns: minmax(185px, 22%) minmax(0, 1fr); gap: 20px }
  .scenario-inner { align-items: flex-start }
  .scenario-actions { max-width: 235px }
  .sector-title { font-size: 1.9rem }
  .bottom { flex-direction: column; align-items: flex-end }
  .kept { width: min(100%, 315px) }
  .kept p { margin-top: 0 }
}
@media (max-width: 760px) {
  .wrap { width: min(calc(100% - 32px), 670px) }
  .top { min-height: 56px }
  .top .tools { gap: 3px }
  .top .plain { padding: 8px; min-width: 38px }
  .top .plain span { display: none }
  .scenario-head { padding: 22px 16px }
  .scenario-inner { width: min(100%, 670px); display: grid; gap: 17px }
  .scenario-actions { justify-content: flex-start; max-width: none }
  .scenario-prompt { font-size: 1rem; margin-top: 7px }
  .sector-title { font-size: 1.7rem; gap: 9px }
  .sector-title .icon { width: 27px; height: 27px }
  .layout { grid-template-columns: minmax(0, 1fr); grid-template-areas: "jump" "quote" "list"; gap: 0; padding-block: 17px 27px }
  .saved-jump { display: inline-flex; align-items: center; justify-self: start; grid-area: jump; min-height: 44px; font-size: .875rem; margin-bottom: 4px }
  .title h1, .title h2 { font-size: 1.5rem }
  aside { margin-top: 30px; padding-top: 18px; border-top: 1px solid var(--line) }
  #list { grid-template-columns: repeat(auto-fit, minmax(min(158px,100%), 1fr)); gap: 4px }
  .entry { align-content: start; padding: 9px; background: white; border: 1px solid var(--line) }
  .sidefoot { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 10px; padding-top: 4px }
  .contact { align-items: flex-start; flex-direction: column; gap: 15px; padding-block: 23px }
  .contact-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 20px }
}
@media (max-width: 540px) {
  .brand { gap: 5px; font-size: 1.06rem }
  .product-mark { width: 25px; height: 28px }
  .by { font-size: .82rem }
  .switcher { font-size: .81rem; gap: 5px; padding-inline: 3px }
  .switcher .icon { width: 15px }
  .scenario-actions button { padding: 8px 11px; font-size: .88rem }
  .scenario-actions .primary { min-height: 42px }
  .title { align-items: start; gap: 8px }
  .dates { margin-bottom: 13px; font-size: .82rem }
  .sheethead { padding: 14px }
  .sheethead h2, .sheethead h3 { font-size: 1.04rem }
  .row.item { grid-template-columns: auto minmax(0,1fr) auto; gap: 3px 8px; padding: 10px 13px; font-size: .88rem }
  .row.labels { display: none }
  .prod { grid-column: 1/-1; gap: 9px }
  .thumb { width: 32px; height: 32px }
  .thumb .icon { width: 22px; height: 22px }
  .qty { padding-left: 41px }
  .qty, .unit { font-size: .8rem; color: var(--sub); text-align: left }
  .qty::after { content: " ×" }
  .total { align-self: start }
  .bottom { padding: 14px }
  .kept { width: 100% }
  .sums { width: 100% }
  dialog { padding: 17px }
  .actions { margin-top: 15px }
  .actions button { padding-inline: 10px }
  #modal[data-view="edit"] .dh { padding: 10px 15px }
  .draft-body, #discard-prompt { padding-inline: 15px }
  #modal[data-view="edit"] .draft-actions { padding-inline: 15px }
  .parts-head { grid-template-columns: 1fr }
  .parts-head > :nth-child(2) { position: absolute; clip-path: inset(50%) }
  .part { grid-template-columns: 1fr 44px; gap: 5px 8px; padding-block: 10px }
  .part .prod { grid-column: 1/-1; gap: 8px }
  .part .quantity-stepper { grid-column: 1; grid-row: 2; width: 126px; grid-template-columns: 40px 1fr 40px; margin-left: 40px }
  .quantity-stepper button { min-height: 42px }
  .part [data-act="remove"] { grid-column: 2; grid-row: 2; width: 44px; min-height: 44px }
  .product-choice, .choice-head { padding-inline: 10px; gap: 8px }
  .selector { margin-top: 35px }
  .selector h1 { font-size: 2rem }
  .sector-link { padding: 17px 0; gap: 11px }
}

@container (max-width: 580px) {
  .paper-preview .offer-paper { padding: 18px 14px; aspect-ratio: auto; font-size: 1rem }
  .paper-head { padding-bottom: 12px }
  .paper-head h2 { font-size: 1.35rem }
  .paper-parties { gap: 12px; margin-block: 18px 10px }
  .offer-paper table { margin-block: 16px; font-size: .9rem }
  .offer-paper th, .offer-paper td { padding: 9px 3px }
  .offer-paper th:first-child, .offer-paper td:first-child { width: auto; padding-left: 0 }
  .offer-paper th:last-child, .offer-paper td:last-child { padding-right: 0; width: 1%; white-space: nowrap }
  .offer-paper td:last-child { font-weight: 600 }
  .offer-paper :is(th,td):nth-child(2), .offer-paper :is(th,td):nth-child(3) { display: none }
  .offer-paper small, .paper-unit-detail { font-size: .8125rem }
  .paper-unit-detail { display: block; margin-top: 3px; color: var(--sub) }
  .paper-unit-detail span { white-space: nowrap }
  .offer-paper .sums { width: 100% }
  .offer-paper .paper-foot { margin-top: 20px }
}

@media print {
  @page { size: A4; margin: 0 }
  :root, body { background: white; color: #172a42; font-size: 11pt }
  body > * { display: none !important }
  body > #paper { display: block !important; padding: 18mm 17mm; -webkit-box-decoration-break: clone; box-decoration-break: clone }
  dialog::backdrop { display: none !important }
  .offer-paper { font-size: 11pt }
  .paper-head { padding-bottom: 6mm }
  .paper-parties { margin-block: 9mm 5mm }
  .offer-paper table { margin-block: 7mm }
  .offer-paper th, .offer-paper td { padding: 3.5mm 1.5mm }
  .offer-paper tr, .offer-paper .sums, .paper-head, .paper-parties { break-inside: avoid }
  .offer-paper .sums { width: 60% }
  .offer-paper .paper-foot { margin-top: 12mm }
}
