/* CORTENIUM 0.88.8 — quote document in white print, controls in dark app theme */
.q88PhotoPanel,.q88Profile{background:#142529;color:#e5f0ec;border:1px solid #375457;border-radius:14px;padding:20px;max-width:1120px}
.q88SectionHead{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;flex-wrap:wrap;margin-bottom:14px}
.q88SectionHead h2,.q88SectionHead h3{margin:0 0 5px}.q88SectionHead p{margin:0;color:#b4c9c5;font-size:13px}
.q88Dropzone{padding:23px;text-align:center;border:2px dashed #4d7172;border-radius:12px;background:#193137;cursor:pointer;display:grid;gap:6px;margin-bottom:12px;color:#eaf5ee}
.q88Dropzone span{color:#aac6c2;font-size:12px}.q88Dropzone.over,.q88Dropzone:hover{border-color:#cb8b62;background:#284147}
.q88Photos{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.q88Photo{display:flex;gap:12px;background:#20353b;border:1px solid #47615f;padding:10px;border-radius:9px}
.q88Photo img{width:118px;height:95px;object-fit:cover;border-radius:7px;background:#fff}.q88PhotoInfo{display:grid;gap:7px;flex:1;min-width:0}.q88PhotoInfo input{width:100%;box-sizing:border-box}.q88PhotoActions{display:flex;flex-wrap:wrap;gap:7px}
.q88PhotoActions button{font-size:11px;padding:7px 9px}.q88Profile{margin:12px auto}.q88Form{display:grid;gap:15px}.q88Form label{display:grid;gap:6px;color:#dfebe9}.q88SignUpload{display:grid;gap:10px;padding:15px;border:1px solid #466062;border-radius:9px}
.q88SignUpload small{display:block;color:#b8cfcd;margin-top:4px}.q88SignUpload img{max-width:240px;max-height:95px;object-fit:contain;background:#fff;padding:5px}.q88Profile hr{height:1px;background:#446264;border:0;margin:22px 0}
.q88Profile input[readonly],.q88Profile textarea[readonly]{opacity:.7}.q88SignUpload input[type=checkbox]{width:auto;display:inline-block}
.commercialPaper.q88Paper{font-family:Arial,sans-serif;color:#222;background:#fff;max-width:900px;box-sizing:border-box;margin:20px auto;padding:38px 42px;border-radius:0;line-height:1.48;box-shadow:0 10px 30px #0003}
.q88Paper *{box-sizing:border-box}.q88DocHeader{display:flex;justify-content:space-between;align-items:start;gap:20px;padding-bottom:17px;border-bottom:2px solid #c47b52}
.q88Logo{width:235px;max-width:100%;height:auto;display:block}.q88LogoFallback{font-size:30px;letter-spacing:4px;color:#222}.q88DocTagline{font-size:9px;letter-spacing:1px;color:#6a7172;margin-top:7px}
.q88HeaderRight{text-align:right;color:#ad6948;font-size:12px;font-weight:bold;letter-spacing:1.1px}.q88HeaderRight small{display:block;letter-spacing:.2px;color:#8e9a98;margin-top:4px;font-size:10px}
.q88TitleBlock{padding:19px 0 22px}.q88TitleBlock .q88Overline{font-size:10px;letter-spacing:2px;color:#b26d49;font-weight:bold;margin:0 0 9px}.q88TitleBlock h1{font-size:26px;line-height:1.2;color:#1c2626;margin:0 0 14px}
.q88Meta{display:flex;gap:13px;flex-wrap:wrap;color:#5a6967;font-size:12px}.q88Meta span{border-right:1px solid #c8d0cc;padding-right:13px}.q88Meta span:last-child{border:0}
.q88Customer{display:grid;grid-template-columns:1.3fr 1fr;gap:12px;background:#eff3f1;padding:17px;margin-bottom:16px;border-radius:7px}.q88Customer small{font-size:9px;letter-spacing:1.4px;font-weight:bold;color:#a16c51}
.q88Customer h2{font-size:18px;margin:6px 0 0;color:#1c2727}.q88Customer strong{display:block;margin:6px 0;font-size:14px}.q88Customer p{font-size:12px;margin:0;color:#506261}
.q88Gallery{margin:7px 0 17px;break-inside:avoid}.q88Gallery figure{margin:0}.q88HeroPhoto img{width:100%;height:220px;object-fit:contain;background:#f2f2f0;border:1px solid #e7ece9;border-radius:5px}
.q88Gallery figcaption{color:#697576;font-size:10px;padding:4px 0}.q88PhotoThumbs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:8px}.q88PhotoThumbs img{width:100%;height:88px;object-fit:contain;background:#f2f2f0}
.q88Paper section h2,.q88Footer h2{margin:0 0 9px;font-size:16px;color:#253331}.q88About{margin:15px 0 22px;border-left:4px solid #c98051;padding:1px 0 1px 15px}.q88About p{margin:6px 0;font-size:12px;line-height:1.65}
.q88SectionCaption{display:flex;justify-content:space-between;align-items:baseline;gap:14px;flex-wrap:wrap;border-bottom:1px solid #e4e7e4;padding-bottom:7px;margin-bottom:9px}.q88SectionCaption h2{margin:0}.q88SectionCaption span{font-size:10px;color:#697875}
.q88Spec table{width:100%;border-collapse:collapse;font-size:11px;table-layout:auto}.q88Spec table td,.q88Spec table th{border:0;border-bottom:1px solid #e3e7e5;padding:9px 6px;vertical-align:top;text-align:left}.q88Spec thead th{background:#eff3f1;color:#3f5451;white-space:nowrap;font-weight:bold}
.q88Spec td:first-child{color:#7d8987}.q88Spec td:last-child,.q88Spec th:last-child{text-align:right;white-space:nowrap}.q88Spec td:nth-last-child(2),.q88Spec th:nth-last-child(2){white-space:nowrap;text-align:right}
.q88Total{display:flex;justify-content:space-between;gap:10px;align-items:center;padding:14px 16px;background:#223334;color:#fff;margin-top:12px;border-radius:5px}.q88Total span{font-size:12px}.q88Total strong{font-size:20px;white-space:nowrap;color:#fff}.q88Vat{font-size:11px;color:#657773;margin:7px 0 0}
.q88Conditions{margin:22px 0}.q88ConditionGrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.q88ConditionGrid>div{border:1px solid #dce6e2;border-radius:6px;padding:12px;break-inside:avoid}.q88ConditionGrid h3,.q88Notes h3{margin:0 0 6px;font-size:12px;color:#b16a49}.q88ConditionGrid p,.q88Notes p{margin:0;font-size:12px;color:#2f3e3c;white-space:normal}
.q88Notes{border-left:3px solid #dadfdd;padding-left:12px;margin:14px 0}
.q88Footer{display:flex;justify-content:space-between;gap:20px;padding-top:18px;margin-top:22px;border-top:2px solid #c98051;break-inside:avoid}.q88Contact{font-size:12px;line-height:1.65}.q88Contact h2{font-size:16px}.q88Prepared{display:grid;gap:0;margin-top:13px}.q88Prepared span{color:#64736f}.q88Prepared b{font-size:12px}.q88Prepared small{color:#7d8b88}.q88Signature{width:180px;max-height:70px;object-fit:contain;object-position:left center}
.q88QRCode{width:110px;flex:none;text-align:center;font-size:10px;font-weight:bold;color:#a86248}.q88QRCode img{width:108px;height:108px;object-fit:contain;display:block}
.q88LegalNote{color:#8b9894;margin-top:24px;padding-top:8px;border-top:1px solid #e4e4df;font-size:9px;line-height:1.4}
@media(max-width:720px){.q88Photos{grid-template-columns:1fr}.q88Paper{padding:20px!important}.q88Logo{width:170px}.q88TitleBlock h1{font-size:22px}.q88Customer{grid-template-columns:1fr}.q88ConditionGrid{grid-template-columns:1fr}}
@media print{html,body{padding:0!important;margin:0!important;background:#fff!important;-webkit-print-color-adjust:exact;print-color-adjust:exact}.commercialPaper.q88Paper{box-shadow:none!important;margin:0 auto!important;max-width:100%!important;border:0!important;padding:0!important}.q88Paper section,.q88Paper .q88Footer,.q88Customer,.q88Total,.q88TitleBlock{break-inside:avoid}.q88Spec thead{display:table-header-group}.q88Spec tr{break-inside:avoid}a{color:inherit!important}}

/* v0.88.9: clear controls for commercial specification terms. */
.c89DeliveryBox{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px;padding:14px;border:1px solid #44666a;border-radius:12px;background:#17292c;margin:12px 0}
.c89DeliveryBox .c85Text{grid-column:1/-1;margin:0;color:#c4d9d9}
.c89PaymentPreview{background:#173c3a;border:1px solid #367b72;color:#e8faf8;padding:12px 14px;border-radius:10px;line-height:1.85;margin:12px 0}
#c89DeleteDocument{border-color:#916753;color:#eac0b1}
.c85Actions [data-delete-spec],#c89DeleteContract{border-color:#916753;color:#eac0b1}

/* CORTENIUM 0.88.10 contacts */
.q810ContactGrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:12px 0}
.q810ContactGrid fieldset{border:1px solid #466367;border-radius:9px;padding:12px;min-width:0}
.q810ContactGrid legend{font-weight:700;padding:0 5px}
.q810ContactGrid input[type=tel]{width:100%;box-sizing:border-box}
.q810Apps{display:flex;flex-wrap:wrap;gap:10px;margin-top:10px}
.q810AppChoice{display:inline-flex;align-items:center;gap:5px;font-size:13px}
.q810ContactLine{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin-top:5px}
.q810Messenger{display:inline-flex;width:16px;height:16px;border-radius:50%;align-items:center;justify-content:center;color:white;font-size:10px;line-height:1;font-weight:700}
.q810Messenger-telegram{background:#269bd2}.q810Messenger-whatsapp{background:#159c56}.q810Messenger-max{background:#5b4acb}
@media(max-width:620px){.q810ContactGrid{grid-template-columns:1fr}}
@media print{.q810Messenger{-webkit-print-color-adjust:exact;print-color-adjust:exact}}
