.related-documents{background:#f8fafc;border:1px solid #e2e8f0;border-radius:14px;grid-column:1/-1;min-width:0;margin:12px 0;padding:16px;font-size:13px}.related-documents h3{margin:0 0 12px;font-size:14px}.related-documents a{color:#1769d2;overflow-wrap:anywhere}.related-invoice+.related-invoice{border-top:1px solid #e2e8f0;margin-top:16px;padding-top:12px}.related-amounts{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:12px 0;display:grid}.related-amounts span{color:#64748b}.related-amounts b{color:#17253a;overflow-wrap:anywhere;margin-top:4px;display:block}.related-documents summary{cursor:pointer}.related-documents button{min-height:32px;padding:6px 12px}@media (max-width:520px){.related-amounts{grid-template-columns:1fr}.related-documents{padding:12px}}html body .pagination.premium-pagination{color:#7a8aa0;background:#fff;border-top:1px solid #e8eef5;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;padding:16px 20px;font-size:13px;display:flex}html body .premium-pagination .pp-summary{flex:120px;min-width:0}html body .premium-pagination .pp-controls{flex-wrap:wrap;align-items:center;gap:20px;min-width:0;display:flex}html body .premium-pagination .pp-size{white-space:nowrap;align-items:center;gap:10px;margin:0;font-size:12px;display:flex}html body .premium-pagination .pp-select{flex:none;display:block;position:relative}html body .premium-pagination .pp-select select{-webkit-appearance:none;appearance:none;color:#304662;cursor:pointer;background:#f8fafd;border:1px solid #dce5ef;border-radius:11px;width:82px;min-width:82px;max-width:82px;height:40px;min-height:40px;padding:8px 30px 8px 12px;font-size:13px;font-weight:500;display:block}html body .premium-pagination .pp-select>svg{pointer-events:none;color:#8494a9;position:absolute;top:50%;right:10px;transform:translateY(-50%)}html body .premium-pagination .pp-navigation{align-items:center;gap:8px;display:flex}html body .premium-pagination .pp-navigation>button{color:#385575;white-space:nowrap;word-break:normal;overflow-wrap:normal;background:#fff;border:1px solid #dce5ef;border-radius:11px;justify-content:center;align-items:center;gap:6px;width:auto;min-width:92px;max-width:none;height:auto;min-height:40px;padding:9px 12px;font-size:13px;line-height:1.4;transition:none;display:inline-flex;box-shadow:0 1px 2px #1c365407}html body .premium-pagination .pp-navigation>button>span{white-space:nowrap;overflow-wrap:normal;overflow:visible}html body .premium-pagination .pp-navigation>button>svg{flex:none}html body .premium-pagination .pp-navigation>button:disabled{color:#a7b2c1;opacity:1;cursor:not-allowed;box-shadow:none;background:#f8fafc;border-color:#edf1f6}html body .premium-pagination .pp-current{color:#93a0b2;font-variant-numeric:tabular-nums;white-space:nowrap;justify-content:center;align-items:center;gap:8px;min-width:68px;padding:8px;font-size:13px;display:flex}html body .premium-pagination .pp-current b{color:#2563eb;background:#edf4ff;border-radius:8px;place-items:center;min-width:28px;min-height:28px;padding:3px;font-weight:600;display:grid}@media (hover:hover){html body .premium-pagination .pp-navigation>button:not(:disabled):hover{background:#f1f6ff;border-color:#bcd0eb}}@media (max-width:600px){html body .pagination.premium-pagination{gap:12px;padding:14px}html body .premium-pagination .pp-controls{justify-content:space-between;gap:12px;width:100%}html body .premium-pagination .pp-navigation{justify-content:space-between;width:100%}html body .premium-pagination .pp-navigation>button{flex:1;min-width:88px;min-height:44px}html body .premium-pagination .pp-select select{height:44px;min-height:44px;font-size:16px}}.share-document-trigger{white-space:nowrap;justify-content:center;align-items:center;gap:6px;display:inline-flex}.contract-doc-actions .share-document-trigger{min-width:29px;color:#3478c5!important;background:#f4f8ff!important;border-color:#cfe0f5!important;width:29px!important;padding:0!important}.contract-doc-actions .share-document-trigger span{display:none}.invoice-actions>.share-document-trigger{color:#2675ce;background:#edf5ff;border:1px solid #bdd8f7;order:3;font-weight:700}.invoice-actions>.share-document-trigger:hover{background:#e3f0ff;border-color:#8bbbea}.share-modal-backdrop{align-items:center;padding:16px}.share-modal{background:#fff;border-radius:15px;width:min(620px,100%);max-height:calc(100dvh - 32px);overflow:auto;box-shadow:0 28px 80px #1320394d}.share-modal>header{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;padding:19px 20px;display:flex}.share-modal>header>div{align-items:center;gap:11px;display:flex}.share-modal>header>div>span{color:#2878d5;background:#eaf3ff;border-radius:11px;place-items:center;width:40px;height:40px;display:grid}.share-modal h2,.share-modal p{margin:0}.share-modal h2{font-size:17px}.share-modal p{color:#8190a2;margin-top:4px}.share-modal>header>button{color:#7d8b9d;cursor:pointer;background:0 0;border:0}.share-create,.share-ready{padding:20px}.share-security{color:#38765d;background:#eef8f3;border-radius:10px;align-items:center;gap:11px;padding:13px;display:flex}.share-security span{flex-direction:column;gap:4px;display:flex}.share-security small{color:#698578}.share-create>label,.share-ready>label{color:#596a7e;flex-direction:column;gap:6px;margin-top:16px;display:flex}.share-create select{border:1px solid var(--border);background:#fff;border-radius:8px;height:39px;padding:0 10px}.share-create>.primary{width:100%;height:40px;margin-top:15px}.share-ready textarea{border:1px solid var(--border);resize:vertical;color:#405168;border-radius:9px;padding:11px;line-height:1.5}.share-ready>small{color:#8190a2;margin-top:7px;display:block}.share-channels{grid-template-columns:repeat(3,1fr);gap:8px;margin-top:17px;display:grid}.share-channels a{color:#fff;border-radius:9px;justify-content:center;align-items:center;gap:7px;height:43px;font-weight:700;text-decoration:none;display:flex}.share-channels svg{width:17px}.share-channels .whatsapp{background:#23a968}.share-channels .telegram{background:#298ed1}.share-channels .viber{background:#7360aa}.share-actions{gap:8px;margin-top:12px;display:flex}.share-actions>*{justify-content:center;align-items:center;gap:6px;height:38px;padding:0 11px;text-decoration:none;display:flex}.share-actions svg{width:15px}.share-error{color:#b44e41;background:#fff0ed;border-radius:8px;padding:9px}@media (max-width:700px){.invoice-actions>.share-document-trigger{order:0}.invoice-actions>.share-document-trigger span{display:inline}}@media (max-width:520px){.contract-doc-actions .share-document-trigger span{display:none}.share-channels{grid-template-columns:1fr}.share-actions{grid-template-columns:1fr 1fr;display:grid}.share-actions>:last-child{grid-column:1/-1}}@media screen{html[data-theme=dark] body .share-modal{border:1px solid #30415a;box-shadow:0 28px 80px #0007;color:#e0e9f6!important;background:#182336!important}html[data-theme=dark] body .share-modal>header{background:#182336!important;border-color:#30415a!important}html[data-theme=dark] body .share-modal h2{color:#e0e9f6!important}html[data-theme=dark] body .share-modal>header p,html[data-theme=dark] body .share-ready>small{color:#a4b5cc!important}html[data-theme=dark] body .share-modal>header>div>span{color:#87b8ff!important;background:#223c60!important}html[data-theme=dark] body .share-modal>header>button{color:#b8c8dd!important;background:0 0!important}html[data-theme=dark] body .share-security{color:#79d8b0!important;background:#193c34!important}html[data-theme=dark] body .share-security small{color:#afd4c4!important}html[data-theme=dark] body :is(.share-create>label,.share-ready>label){color:#b8c8dd!important}html[data-theme=dark] body :is(.share-create select,.share-ready textarea){--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;color:#e0e9f6!important;background:#101b2c!important;border-color:#354863!important}html[data-theme=dark] body .share-actions .secondary{color:#c4d5eb!important;background:#202f44!important;border-color:#354863!important}html[data-theme=dark] body .share-actions .danger-outline{color:#ff9caf!important;background:#382430!important;border-color:#754153!important}html[data-theme=dark] body .share-create>.primary{color:#fff!important;background:#286fe0!important;border-color:#438cf4!important}html[data-theme=dark] body .share-modal .share-error{color:#ffb2b2!important;background:#382430!important}html[data-theme=dark] body .share-modal :is(button,a,select,textarea):focus-visible{outline-offset:3px;outline:2px solid #87b8ff}}
