.ref-hero{align-items:center}.ref-hero .primary{flex-shrink:0}.ref-local-note{font-size:11px;color:#7a879b;margin:-8px 0 23px;line-height:1.9}.ref-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:20px 0 25px}.ref-kpis>div{background:#fff;border:1px solid #dfe6f1;border-radius:11px;padding:20px;min-width:0}.ref-kpis span,.ref-kpis small{display:block;font-size:11px;color:#7a8aa2;line-height:1.8}.ref-kpis b{display:block;margin:9px 0;color:#2e57a3;font-size:25px;overflow-wrap:anywhere}.ref-kpis>div:nth-child(3){background:#edf5f1;border-color:#cce2d6}.ref-kpis>div:nth-child(3) b{color:#23734c}.ref-kpis.compact{margin-bottom:0}.ref-kpis.compact>div{background:#f7f9fc;padding:15px}.ref-tabs{display:flex;gap:8px;padding:6px;background:#e9eef7;border-radius:10px;margin-bottom:22px}.ref-tabs button{flex:1;min-height:46px;border:0;background:transparent;border-radius:7px;color:#7284a0;font-family:inherit;font-size:13px;cursor:pointer}.ref-tabs button.selected{background:#fff;color:#2e57a3;box-shadow:0 2px 7px #1b38640d}.ref-section-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:19px;flex-wrap:wrap}.ref-section-heading h2{margin:0}.ref-section-heading p,.ref-partner-form>p{font-size:12px;line-height:1.8;margin-bottom:0}.ref-table{table-layout:auto;min-width:650px;width:100%;font-size:12px}.ref-table th{font-size:11px;color:#71829f;white-space:nowrap;background:#f8fafd}.ref-table th,.ref-table td{padding:15px 12px;vertical-align:middle}.ref-table b,.ref-table small{display:block;line-height:1.8}.ref-table small{font-size:10px;color:#8b98ac}.ref-row-actions{display:flex;gap:6px;flex-wrap:wrap;min-width:120px}.ref-row-actions button,.ref-table .secondary{font-size:11px;min-height:38px;padding:8px 10px}.ref-code{font-size:14px;display:block;letter-spacing:.5px;color:#2e57a3}.ref-status{display:inline-block;padding:3px 9px;border-radius:6px;font-size:10px;white-space:nowrap;margin-top:6px}.ref-status.good{background:#e9f5ee;color:#23784c}.ref-status.waiting{background:#fff5df;color:#966b24}.ref-status.muted{background:#eef1f5;color:#8a96a8}.ref-code-editor{border-top:3px solid #2e57a3}.ref-form-section{padding:5px 0 22px;margin-bottom:22px;border-bottom:1px solid #e0e7f1}.ref-form-section h3{display:flex;align-items:center;gap:10px;margin-bottom:18px}.ref-form-section h3>span{width:27px;height:27px;border-radius:50%;background:#edf2fb;color:#2e57a3;display:inline-flex;justify-content:center;align-items:center;font-size:12px}.ref-form-section>p{font-size:12px;line-height:1.9}.ref-type-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:18px 0 23px}.ref-type-option{display:block;padding:17px;border:1px solid #d8e1ef;border-radius:9px;cursor:pointer;margin:0;position:relative;min-width:0}.ref-type-option input{width:17px;height:17px;accent-color:#2e57a3;display:block;margin:0 0 12px}.ref-type-option b{display:block;font-size:13px;margin-bottom:8px}.ref-type-option small{display:block;font-size:11px;line-height:1.9;color:#8190a6}.ref-type-option:has(input:checked){border:2px solid #2e57a3;background:#f3f7fe;padding:16px}.ref-unit-field{display:flex;align-items:stretch;border:1px solid #d5deed;border-radius:7px;overflow:hidden;background:#fff;margin-top:9px}.ref-unit-field input{border:0;margin:0;border-radius:0;min-width:0;flex:1;padding:13px;font-size:17px}.ref-unit-field>span{display:flex;align-items:center;justify-content:center;background:#edf2fa;padding:10px 17px;min-width:88px;color:#526e98;font-size:12px;white-space:nowrap}.ref-unit-field:focus-within{outline:2px solid #aac0e4;outline-offset:1px}.ref-field-help{display:block;font-size:11px;line-height:1.9;color:#7c8da5;margin:11px 0}.ref-inline-partner{padding:15px;background:#f6f9fd;border-radius:8px}.ref-inline-partner label{margin-bottom:0}.ref-live-example{background:#f3f6fc;padding:21px;border-radius:9px;margin:15px 0 22px}.ref-live-example h3{margin-top:0}.ref-live-example .grid label{font-size:11px}.ref-live-example>small{font-size:10px;line-height:1.9;color:#7f8ea5}.ref-example-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:15px 0}.ref-example-grid>div{padding:13px;background:#fff;border-radius:7px;min-width:0}.ref-example-grid span{font-size:10px;color:#7c8ca4;display:block;line-height:1.7}.ref-example-grid b{display:block;color:#2e57a3;font-size:18px;margin:7px 0;overflow-wrap:anywhere}.ref-example-grid small{font-size:10px;line-height:1.8;color:#7a8ba5}.ref-formula{font-size:13px;line-height:1.9}.ref-formula b{color:#23734c}.ref-check{line-height:1.9;font-size:12px}.ref-check input{width:18px;flex-shrink:0;margin-top:3px}.ref-text-button{font:inherit;color:#2e57a3;border:0;background:transparent;padding:4px 0;text-decoration:underline;cursor:pointer}.ref-empty{padding:28px!important;text-align:center;color:#7d8ba3;font-size:13px}.ref-error{padding:12px 15px;background:#fff0ea;border:1px solid #efd9ce;color:#a35436;border-radius:7px;font-size:12px;line-height:1.9}.ref-settlement-form{border-top:3px solid #2e57a3}.ref-settlement-form>p{font-size:13px;line-height:1.9}.ref-allocation-preview{padding:18px;background:#f5f8fd;border-radius:8px;margin:18px 0}.ref-allocation-preview h3{margin:0}.ref-allocation-preview p{font-size:11px;line-height:1.9}.ref-allocation-preview>b{font-size:13px;color:#23734c;display:block;margin-top:15px}.ref-allocation-preview .ref-table{min-width:300px}.ref-receipt{border-top:3px solid #2b8a58}.ref-receipt-meta{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;padding:20px;background:#f5f8fc;border-radius:8px}.ref-receipt-meta small{display:block;font-size:11px;line-height:1.9}.ref-receipt-meta b,.ref-receipt-meta bdi{display:block;font-size:14px;line-height:1.9;overflow-wrap:anywhere}.ref-reversal-form{margin-top:18px;padding:18px;border:1px solid #e6d9bf;border-radius:8px;background:#fffaf0}.ref-reversal-form p{font-size:12px;line-height:1.9}.ref-code-editor input[readonly]{background:#f0f3f8;color:#7c8ba0}.ref-code-editor .actions,.ref-settlement-form .actions{flex-wrap:wrap}.ref-receipt>p{overflow-wrap:anywhere;white-space:pre-wrap}@media(max-width:1050px){.ref-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.ref-example-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ref-receipt-meta{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:650px){.ref-hero{gap:20px;align-items:flex-start;flex-direction:column}.ref-hero .primary{width:100%}.ref-kpis{gap:9px}.ref-kpis>div{padding:14px}.ref-kpis b{font-size:21px}.ref-tabs{gap:3px;padding:4px}.ref-tabs button{font-size:11px;padding:7px 6px;min-height:48px}.ref-type-options{grid-template-columns:1fr;gap:10px}.ref-type-option{padding:15px 16px}.ref-type-option:has(input:checked){padding:14px 15px}.ref-type-option input{display:inline-block;vertical-align:middle;margin:0 0 8px 8px}.ref-type-option b{display:inline-block;vertical-align:middle}.ref-type-option small{font-size:11px}.ref-live-example{padding:15px}.ref-unit-field>span{padding:8px 11px;min-width:72px;font-size:11px}.ref-section-heading{align-items:flex-start}.ref-section-heading>.primary{width:100%}.ref-allocation-preview{padding:12px}.ref-receipt-meta{padding:15px;gap:12px}.ref-table th,.ref-table td{padding:12px 10px}.ref-local-note{font-size:10px}.ref-example-grid>div{padding:11px}.ref-example-grid b{font-size:16px}}

.ref-profile-summary{display:grid;grid-template-columns:1fr 1fr 2fr;gap:20px;background:#f3f6fc;padding:20px;border-radius:12px;margin:20px 0}.ref-profile-summary p{margin:8px 0}.ref-profile-summary small{color:#66789c}.ref-inline-partner[hidden]{display:none}@media(max-width:700px){.ref-profile-summary{grid-template-columns:1fr}.ref-profile-summary bdi{overflow-wrap:anywhere}}
