/* Receipt controls inherit the site's colours; paper is scoped to the receipt. */
.receipt-builder{border-top:1px solid var(--line);margin-top:24px;padding-top:12px}.receipt-builder>label[for=estimate-discount]{display:block;font-size:19px;margin:14px 0 8px}.receipt-builder #estimate-discount{display:block;width:min(100%,300px);min-height:52px;border:1px solid var(--accent);border-radius:7px;padding:10px 14px;background:#fffdf8;color:var(--ink);font:inherit;font-size:21px}.receipt-hint,.receipt-status{font:16px/1.5 Arial,Helvetica,sans-serif;color:#616864;margin:10px 0}.receipt-completed-control{display:flex;align-items:flex-start;gap:12px;margin:18px 0;font:18px/1.45 Arial,Helvetica,sans-serif}.receipt-completed-control input{flex:0 0 24px;width:24px;height:24px;margin-top:2px;accent-color:#41664d}.receipt-completed-control small{display:block;font-size:15px;color:#616864;margin-top:5px}.receipt-discount-summary{font-size:18px;line-height:1.5}.receipt-paper{box-sizing:border-box;position:relative;width:min(100%,560px);margin:24px auto 12px;padding:32px 26px 28px;border:1px solid #d8d7ce;box-shadow:0 8px 24px #27343b12;background:#fffcf4;color:#27343b;font:17px/1.55 Arial,Helvetica,sans-serif;overflow-wrap:anywhere}.receipt-brand{text-align:center;font-size:25px;font-weight:700;line-height:1.2;letter-spacing:.04em}.receipt-paper .receipt-subtitle,.receipt-paper .receipt-stage,.receipt-paper .receipt-date{text-align:center;font-size:15px;line-height:1.5;margin:10px 0}.receipt-paper .receipt-caption{text-align:center;font:700 20px/1.4 monospace;letter-spacing:.06em;margin:22px 0 6px}.receipt-lines{list-style:none;counter-reset:receipt-row;padding:18px 0 6px;margin:20px 0;border-top:1px dashed #92978d;border-bottom:1px dashed #92978d}.receipt-lines li{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:start;margin:0 0 17px;font-size:17px}.receipt-lines strong{font:700 17px/1.55 monospace;white-space:nowrap}.receipt-totals{margin:20px 0}.receipt-totals>div{display:flex;align-items:baseline;justify-content:space-between;gap:16px;margin:10px 0;font:18px/1.5 monospace}.receipt-totals dd{margin:0;text-align:right;white-space:nowrap}.receipt-totals .receipt-grand{font-weight:700;font-size:25px;border-top:1px dashed #92978d;padding-top:14px;margin-top:18px}.receipt-paper .receipt-note{text-align:center;font-size:13px;line-height:1.55;margin:14px 0;color:#616864}.receipt-stamp{box-sizing:border-box;width:max-content;max-width:100%;margin:32px auto;padding:10px 16px;transform:rotate(-9deg);border:3px double #41664d;border-radius:5px;color:#41664d;text-align:center;font:700 24px/1.2 monospace;letter-spacing:.08em;opacity:.84;user-select:text}.receipt-return,.receipt-phone{display:block;text-align:center;min-height:40px;text-decoration:underline;text-underline-offset:4px;color:#246d6b!important;font-size:18px;font-weight:700;line-height:1.5;margin-top:12px}.receipt-phone{font-size:16px;font-weight:400;margin-top:0}.receipt-actions{display:flex;flex-wrap:wrap;gap:10px;justify-content:center;margin:18px 0}.receipt-actions button{cursor:pointer;font:17px/1.35 Arial,Helvetica,sans-serif;min-height:48px;padding:10px 14px;border:1px solid #41664d;border-radius:7px;color:#27343b;background:#e5efe5}.receipt-builder [hidden],.receipt-public [hidden]{display:none!important}.receipt-builder :is(button,input):focus-visible,.receipt-actions button:focus-visible{outline:3px solid #af742f;outline-offset:3px}.receipt-actions button:disabled{opacity:.5}.receipt-sheet{background:#f6f3ec;background-image:none}.receipt-sheet .seller-sheet-toolbar{background:#e5efe5;border-color:#b3c4b5}.receipt-sheet .seller-sheet-body{max-width:760px}.receipt-sheet .receipt-paper p{font-size:15px;line-height:1.5;margin:10px 0}.receipt-sheet .receipt-paper .receipt-caption{font-size:20px}.receipt-sheet .receipt-paper .receipt-note{font-size:13px}.receipt-sheet .receipt-paper a{color:#246d6b}.receipt-sheet .receipt-actions button{border-color:#41664d;background:#e5efe5}.receipt-public{max-width:760px;margin:0 auto;padding:24px 18px 50px}.receipt-public h1{font-size:25px;line-height:1.3}.receipt-public>p{font-size:17px;line-height:1.55}.receipt-public a:not(.receipt-return):not(.receipt-phone){text-decoration:underline}.receipt-public input[data-receipt-link],.receipt-builder input[data-receipt-link],.receipt-sheet input[data-receipt-link]{width:100%;min-height:48px;padding:10px;font:16px Arial;border:1px solid #41664d;background:white;border-radius:6px;box-sizing:border-box}.receipt-public-top{display:flex;justify-content:space-between;flex-wrap:wrap;gap:12px;margin:10px 0}.receipt-public [data-receipt-fallback] label{display:block;font-size:17px}.receipt-public [data-receipt-fallback] input{display:block;margin:8px 0}
@media(max-width:420px){.receipt-paper{padding:26px 17px}.receipt-lines li{grid-template-columns:1fr;gap:3px}.receipt-lines strong{text-align:right}.receipt-totals .receipt-grand{font-size:23px}.receipt-brand{font-size:23px}.receipt-actions button{flex:1 1 145px}.receipt-stamp{font-size:22px;letter-spacing:.04em}}
@media print{body:not(.seller-sheet-open):has(#estimate-receipt-panel) header,body:not(.seller-sheet-open):has(#estimate-receipt-panel) main>*,body:not(.seller-sheet-open):has(#estimate-receipt-panel) .prices-page>*{display:none!important}body:not(.seller-sheet-open):has(#estimate-receipt-panel) main,body:not(.seller-sheet-open):has(#estimate-receipt-panel) .prices-page,body:not(.seller-sheet-open):has(#estimate-receipt-panel) #calculator,body:not(.seller-sheet-open):has(#estimate-receipt-panel) .receipt-builder,body:not(.seller-sheet-open):has(#estimate-receipt-panel) #estimate-receipt-panel{display:block!important}#calculator>*:not(.receipt-builder),.receipt-builder>*:not(#estimate-receipt-panel),.receipt-actions,.receipt-share-hint,[data-receipt-status],[data-receipt-fallback],.receipt-public-top,.receipt-public>h1,.receipt-public>p,.receipt-sheet .seller-sheet-toolbar,.receipt-sheet .seller-sheet-back{display:none!important}.receipt-paper{width:100%;max-width:600px;margin:0 auto;padding:15px;border:0;box-shadow:none;break-inside:auto}.receipt-stamp{break-inside:avoid}.receipt-lines li,.receipt-grand{break-inside:avoid}main,.receipt-public,#calculator{padding:0!important;margin:0!important}.receipt-return::after{content:' — https://vasilico.ru/';font-size:12px}.receipt-paper a{color:#000!important}}
