:root{color-scheme:light;--bg:#f4f6ed;--ink:#172e25;--muted:#4b6158;--line:#c8d4c9;--panel:#fff;--green:#184636;--light:#e9ff99;--paper:#151515}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--ink);font:16px/1.5 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}button,input,textarea{font:inherit;color:inherit}button{cursor:pointer}a{color:inherit;text-underline-offset:.2em}:focus-visible{outline:2px solid #236f55;outline-offset:3px}[hidden]{display:none!important}.skip{position:absolute;left:8px;top:-100px;background:#fff;padding:10px;z-index:3}.skip:focus{top:8px}
.shell{width:min(1190px,100% - 48px);margin:auto}.bar{height:75px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;gap:12px}.brand{display:flex;align-items:center;gap:9px;font-weight:840;letter-spacing:.1em;font-size:.84rem;text-decoration:none}.brand small{display:block;color:var(--muted);font-size:.69rem;line-height:1}.mark{display:flex}.bar nav{display:flex;gap:18px;font-size:.875rem;font-weight:700}.bar nav a{min-height:44px;display:flex;align-items:center;text-decoration:none}.bar nav a:hover{text-decoration:underline}
.hero{padding:53px 0 34px;display:grid;grid-template-columns:1.55fr .65fr;gap:24px;align-items:end}.eyebrow{font-size:.85rem;font-weight:820;letter-spacing:.11em;margin:0 0 8px}.eyebrow span{display:inline-block;width:8px;height:8px;border-radius:50%;background:#28674e;margin-right:5px}.hero h1{font-size:clamp(3.2rem,8vw,7.2rem);line-height:.89;letter-spacing:-.088em;margin:0;font-weight:820}.hero h1 em{font-style:normal;color:#28674e}.hero p:not(.eyebrow){color:var(--muted);max-width:49ch;margin:17px 0 0}.hero aside{background:#e5ebe0;border:1px solid var(--line);border-radius:18px;padding:17px 20px}.hero aside span{font-size:.77rem;letter-spacing:.11em;font-weight:800}.hero aside strong{display:block;font-size:clamp(1.35rem,3vw,2rem);letter-spacing:-.03em;line-height:1.02;margin-top:8px}.hero aside p{font-size:.9rem}
.workspace{display:grid;grid-template-columns:minmax(0,1.9fr) minmax(0,1fr);gap:15px;align-items:start;scroll-margin-top:12px}.editor,.summary{padding:clamp(15px,3vw,26px);border-radius:20px;min-width:0}.editor{background:#fff;border:1px solid var(--line)}.summary{background:var(--green);color:white;position:sticky;top:10px}.section-top{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;margin-bottom:16px}.section-top h2,.summary h2{margin:0;font-size:clamp(1.25rem,3vw,1.62rem);letter-spacing:-.04em;line-height:1}.tools,.transfer{display:flex;gap:8px;flex-wrap:wrap}.quiet:hover{background:#dce9df}.quiet{border:1px solid var(--line);background:#f0f3ee;border-radius:9px;min-height:42px;padding:6px 11px;font-size:.875rem;font-weight:740}.fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:18px}.editor label{display:grid;gap:4px;font-size:.875rem;font-weight:720;min-width:0}.editor input:not([type=checkbox]),.editor textarea{background:#f6f8f4;border:1px solid var(--line);border-radius:9px;padding:8px 10px;width:100%;min-width:0;min-height:44px;font-size:1.0625rem;font-weight:520}.editor textarea{resize:vertical}.editor input::placeholder,.editor textarea::placeholder{color:var(--muted)}.editor fieldset{margin:0;padding:0;border:0;min-width:0}.editor legend{font-weight:770;padding:0;font-size:1.07rem}.hint{margin:4px 0 8px;color:var(--muted);font-size:.86rem}.row{display:grid;grid-template-columns:minmax(130px,1fr) minmax(250px,1.05fr);gap:9px;padding:7px 0}.row-values{display:grid;grid-template-columns:minmax(45px,.62fr) minmax(48px,.64fr) minmax(82px,1.15fr) 40px;gap:6px;align-items:end}.row-values input:not([type=checkbox]){padding-inline:7px}.remove{font-size:1.45rem;font-weight:600;min-height:44px;padding:0}.add{margin:8px 0 11px}.vat{display:flex;justify-content:space-between;align-items:end;gap:9px;padding:10px 0 13px;border-top:1px solid var(--line)}.editor .toggle{display:flex;align-items:center;gap:6px;min-height:44px}.toggle input{height:19px;width:19px;accent-color:var(--green);flex:none}.vat-rate{max-width:110px}.summary .eyebrow,.summary .hint{color:#d1e8df}.grand{font-size:clamp(1.95rem,4.2vw,3.8rem);letter-spacing:-.07em;line-height:1;margin:17px 0;color:var(--light);font-weight:850;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.summary dl{margin:0 0 16px}.summary dl div{display:flex;justify-content:space-between;gap:9px;padding:9px 0;border-top:1px solid #ffffff42;flex-wrap:wrap}.summary dd{margin:0;font-weight:760}.primary{background:var(--light);color:#182d1d;border:0;border-radius:9px;min-height:47px;font-weight:850;width:100%;padding:8px}.primary:hover{background:#f4ffc3}.summary :focus-visible{outline-color:#fff}.summary .quiet{background:#ffffff19;color:#fff;border-color:#ffffff46}.summary .quiet:hover{background:#ffffff32}.status:empty{display:none}.status{margin:12px 0 0;font-size:.875rem;color:#eff8cd}.sale{margin-top:24px;padding:27px 0;border-top:1px solid var(--line);display:grid;grid-template-columns:minmax(0,.82fr) minmax(0,1.4fr);gap:22px;scroll-margin-top:12px}.sale h2{font-size:clamp(2rem,5vw,4.7rem);line-height:.94;letter-spacing:-.07em;margin:0}.sale h3{margin:0;line-height:1.15}.sale p:not(.eyebrow,.price){color:var(--muted);font-size:.94rem}.sale-options{display:grid;grid-template-columns:1fr 1fr;gap:10px}.sale article{border:1px solid var(--line);background:#fff;border-radius:13px;padding:16px}.sale article a{font-weight:760;display:inline-flex;align-items:center;min-height:44px}.price{font-size:1.65rem;letter-spacing:-.035em;font-weight:840;margin:10px 0 0}.price small{font-size:.74rem;letter-spacing:normal;color:var(--muted);font-weight:650}footer{display:flex;justify-content:space-between;gap:8px;margin-bottom:23px;border-top:1px solid var(--line);padding-top:13px;font-size:.86rem;color:var(--muted)}.paper{display:none}
@media(max-width:870px){.hero,.workspace,.sale{grid-template-columns:1fr}.summary{position:static}.hero aside{display:none}.hero{padding-top:31px}}
@media(max-width:565px){.shell{width:calc(100% - 24px)}.bar{height:61px}.bar nav{font-size:.8rem;gap:10px}.bar nav a:first-child{display:none}.hero{padding:28px 0 20px}.hero h1{font-size:clamp(2.85rem,12.5vw,5.25rem)}.hero p:not(.eyebrow){margin-top:10px}.row{grid-template-columns:1fr;border-top:1px solid var(--line);padding:9px 0}.fields{gap:7px}.sale-options{grid-template-columns:1fr}.section-top{margin-bottom:11px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
@page{size:A4;margin:16mm}
@media print{body{background:#fff;color:#111;font-family:Arial,sans-serif;font-size:10pt}.shell,.skip{display:none!important}.paper{display:block;color:#111}.paper h1{font-size:25pt;line-height:1.05;margin:0 0 8pt}.paper h2{font-size:13pt;margin:16pt 0 4pt}.paper p{margin:2pt 0}.paper h1,.paper div,.paper td,.paper p{overflow-wrap:anywhere}.paper .meta{display:flex;gap:14pt;flex-wrap:wrap;margin:8pt 0 13pt}.paper .parties{display:grid;grid-template-columns:1fr 1fr;gap:9pt;margin-bottom:15pt}.paper .parties div{border-top:1px solid #6c6c6c;padding-top:5pt}.paper table{border-collapse:collapse;width:100%;font-size:9.5pt;table-layout:fixed}.paper thead{display:table-header-group}.paper tr{break-inside:avoid}.paper th,.paper td{text-align:left;padding:6pt 4pt;border-bottom:1px solid #999;vertical-align:top}.paper th:first-child{width:37%}.paper .num{text-align:right}.paper .totals{margin:13pt 0 0 auto;max-width:240pt;break-inside:avoid}.paper .totals p{display:flex;justify-content:space-between;gap:8pt;padding:2pt 0}.paper .totals p:last-child{border-top:1.5px solid #111;padding-top:4pt;font-size:12pt}.paper .notes{white-space:pre-wrap}}
