@font-face{font-family:Peyda;src:url('fonts/Peyda-Regular.ttf') format('truetype');font-weight:400;font-display:swap}@font-face{font-family:Peyda;src:url('fonts/Peyda-Bold.ttf') format('truetype');font-weight:700;font-display:swap}
:root{color-scheme:light;--paper:#f4f2ed;--ink:#252623;--line:#dcded7;--orange:#b64c29;--muted:#62675f}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font:16px/1.8 Peyda,Tahoma,sans-serif}button,input,select,textarea{font:inherit}button,select{cursor:pointer}button{min-height:44px;border:1px solid var(--line);background:white;color:var(--ink);padding:8px 14px;border-radius:6px}button:hover{border-color:var(--orange)}button:focus-visible,select:focus-visible{outline:3px solid #c97753;outline-offset:3px}button:disabled{opacity:.6;cursor:wait}#azq-app{max-width:1260px;margin:auto;padding:0 36px}header{display:flex;justify-content:space-between;align-items:center;min-height:94px;border-bottom:1px solid var(--line);flex-direction:row-reverse}.wordmark{font-weight:700;letter-spacing:3px;font-size:23px}.wordmark small{font-size:9px;display:block;letter-spacing:2px;color:var(--muted)}.badge{font-size:12px;padding:3px 10px;background:#e6e8e0;color:#4c5948;white-space:nowrap;border-radius:4px}.hero{padding:46px 0 26px;max-width:800px}.eyebrow{font-size:13px;color:var(--orange)}h1{font-size:38px;line-height:1.5;margin:10px 0}h2{font-size:21px;margin:8px 0 16px}h3{font-size:17px;line-height:1.7;margin:0}.hero p{color:var(--muted);font-size:17px;white-space:pre-line;margin:8px 0}.parties{display:grid;grid-template-columns:1fr 1fr;border:1px solid var(--line);margin-bottom:32px;background:#eceee7}.parties section{padding:18px 24px}.parties section+section{border-right:1px solid var(--line)}.parties label{display:block;font-size:12px;color:var(--muted);margin-bottom:5px}.parties strong{white-space:pre-line;overflow-wrap:anywhere}.layout{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:32px;align-items:start}.section-heading{display:flex;align-items:center;justify-content:space-between;margin:20px 0 12px}.section-heading:first-child{margin-top:0}.section-heading h2{margin:0}.section-heading>span{font-size:12px;color:var(--muted)}.item{border:1px solid var(--line);background:#fffefa;padding:20px 22px;margin-bottom:12px;border-radius:8px}.item-top{display:flex;gap:12px;align-items:center}.item-top h3{flex:1}.index{font-size:12px;color:#858b80;direction:ltr}.toggle{font-size:12px;padding:4px 10px;background:transparent}.item p{font-size:14px;color:var(--muted);margin:9px 0 18px;white-space:pre-line}.item-bottom{display:flex;align-items:center;justify-content:space-between;gap:15px}.item-bottom b{font-size:16px;white-space:nowrap}.option{font-size:12px;color:var(--muted);flex:1;max-width:330px}.option select{display:block;width:100%;min-height:46px;margin-top:5px;border:1px solid var(--line);border-radius:5px;background:var(--paper);color:var(--ink);padding:6px 8px;font-size:14px}.muted{font-size:12px;color:var(--muted)}.removed{background:transparent;border-style:dashed}.removed h3,.removed p{color:#81867e}.removed .item-bottom{color:#777}.summary{position:sticky;top:24px;background:#252925;color:#faf9f5;border-radius:9px;padding:26px 24px}.layout aside{align-self:stretch}.summary .eyebrow{color:#eda17b}.summary h2{font-size:25px;margin-bottom:24px}.sumrow{display:flex;justify-content:space-between;gap:12px;font-size:13px;margin:14px 0}.sumrow b{white-space:nowrap}.discount{color:#a7c6ad}.grand{border-top:1px solid #53584e;margin-top:23px;padding-top:20px}.grand>span{font-size:13px;display:block}.grand strong{font-size:28px;display:block;margin:5px 0}.grand small{font-size:13px;font-weight:400}.gift{font-size:12px;color:#c1cbb9;margin:18px 0}.primary{background:var(--orange);color:white;border:0;font-weight:700}.summary .primary{width:100%;margin-top:10px}.reset{border:0;background:none;color:#c4cbbf;width:100%;font-size:12px;margin-top:6px}.fine{font-size:12px;color:var(--muted)}.summary .fine{color:#bac1b5;line-height:1.9}.text-block{padding:22px 0;border-top:1px solid var(--line);margin-top:26px}.text-block h2{font-size:17px;margin:0 0 8px}.text-block p,.pre{white-space:pre-line;font-size:14px;margin:0;overflow-wrap:anywhere}footer{display:flex;justify-content:space-between;border-top:1px solid var(--line);padding:23px 0;margin-top:40px;font-size:11px;color:var(--muted)}.mobile-total{display:none}dialog{width:min(950px,96vw);max-height:94vh;border:0;border-radius:10px;padding:26px;background:#fffefa;color:var(--ink)}dialog::backdrop{background:#171d18ad}.dialog-actions{display:flex;gap:8px;position:sticky;top:-26px;padding:14px 0;background:#fffefa;border-bottom:1px solid var(--line);z-index:1;flex-wrap:wrap}.dialog-actions button{font-size:13px}#invoice{padding:20px 10px}.invoice-head{border-bottom:2px solid var(--ink);margin-bottom:20px}.invoice-head>span{float:left;letter-spacing:3px;font-weight:700}.invoice-head h1{font-size:30px}.invoice-head p{font-size:14px}table{width:100%;border-collapse:collapse;font-size:14px;margin:18px 0 25px;text-align:right}td,th{padding:12px 10px;border-bottom:1px solid var(--line);vertical-align:top}th{background:#eceee7}td:last-child{white-space:nowrap}td small{display:block;max-width:580px;font-size:12px;color:var(--muted)}.invoice-summary{margin:25px 0 0 auto;max-width:430px;padding:18px 24px;background:#eceee7}.invoice-summary .discount{color:#327a47}.invoice-summary .grand{border-color:var(--line)}.invoice-summary p{font-size:12px}#download-status{font-size:13px}.pre{margin-bottom:24px}
@media(max-width:950px){.layout{grid-template-columns:minmax(0,1fr) 300px;gap:20px}#azq-app{padding:0 20px}.item-bottom{flex-wrap:wrap}.option{max-width:none;min-width:100%}.summary{padding:22px 18px}}
@media(max-width:720px){#azq-app{padding:0 16px 105px}header{min-height:78px}.hero{padding-top:28px}h1{font-size:28px}.hero p{font-size:15px}.layout{display:block}.parties{margin-bottom:24px}.parties section{padding:13px}.parties strong{font-size:14px}.item{padding:16px}.item-top{gap:8px}.item-top h3{font-size:15px}.index{display:none}.toggle{font-size:11px;padding:4px 8px}.item-bottom{gap:10px}.item-bottom b{font-size:15px}.section-heading h2{font-size:20px}.summary{margin-top:30px}.mobile-total{display:flex;position:fixed;bottom:0;left:0;right:0;background:#fffefa;border-top:1px solid var(--line);padding:10px 16px calc(10px + env(safe-area-inset-bottom));justify-content:space-between;align-items:center;gap:12px;z-index:2;box-shadow:0 -4px 20px #00000008}.mobile-total span{font-size:11px}.mobile-total b{display:block;font-size:17px}.mobile-total button{font-size:13px}footer{gap:12px;flex-wrap:wrap}.dialog-actions{top:-14px}dialog{padding:14px}#invoice{padding:16px 0}td,th{padding:8px 5px;font-size:12px}.invoice-head h1{font-size:25px}.invoice-head>span{font-size:12px}.invoice-summary{max-width:none}}
@page{size:A4;margin:14mm}@media print{body{background:white;font-size:12px}body>*:not(#azq-app){display:none!important}#azq-app{padding:0;max-width:none}#azq-app>*:not(dialog){display:none!important}dialog[open]{display:block!important;position:static;max-height:none;width:100%;max-width:none;border:0;padding:0;overflow:visible;background:white}dialog::backdrop{display:none}.dialog-actions,#download-status{display:none!important}#invoice{padding:0}h2,h3{break-after:avoid}tr,.parties,.invoice-summary,.text-block{break-inside:avoid}.invoice-head{break-inside:avoid}.invoice-summary .grand strong{font-size:24px}*{print-color-adjust:exact;-webkit-print-color-adjust:exact}}

.service-discount{background:#e3ecdf;border:1px solid #c8d5c1;border-radius:6px;padding:18px;margin:18px 0;color:#355637}.service-discount b{float:left}.service-discount p{font-size:13px;margin:4px 0 0}

@font-face{font-family:Kahroba;src:url('fonts/Kahroba-Regular.woff2') format('woff2');font-weight:400;font-display:swap}@font-face{font-family:Kahroba;src:url('fonts/Kahroba-Bold.woff2') format('woff2');font-weight:700;font-display:swap}body[data-font=kahroba]{font-family:Kahroba,Tahoma,sans-serif}
