.affiliate-workspace{max-width:1600px}.affiliate-workspace *{box-sizing:border-box}.affiliate-workspace .panel-top{align-items:flex-start}.affiliate-workspace .panel-top p{max-width:730px;line-height:1.8}.aff-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:24px 0}.aff-kpis article{padding:24px;background:#fff;border:1px solid #dce6ef;border-radius:16px;display:grid;gap:12px}.aff-kpis small{font-size:14px;color:#60768a}.aff-kpis strong{font-size:24px;line-height:1.5;color:#173d60;overflow-wrap:anywhere}.aff-invite{display:grid;grid-template-columns:.85fr 1.3fr;align-items:center;gap:40px;border:1px solid #cedff4;background:linear-gradient(125deg,#edf5ff,#effcfa);border-radius:20px;padding:28px}.aff-invite strong{font-size:44px;color:#1769e0;display:block;line-height:1.5}.aff-invite p{font-size:15px;color:#5c7386;line-height:1.8;margin:6px 0}.aff-invite small{font-size:13px;color:#506e85}.aff-invite label{font-size:15px;font-weight:700;margin-bottom:10px;display:block}.aff-copy{display:flex;gap:8px;margin-bottom:12px}.aff-copy input{min-width:0;flex:1;border:1px solid #c8daeb;border-radius:9px;padding:12px;background:#fff;font:inherit;font-size:14px}.aff-copy button{white-space:nowrap}.aff-policy{border:1px solid #cfe0f3;background:#eef6ff;border-radius:12px;padding:18px;color:#285a8d;line-height:1.8}.aff-box{background:#fff;border:1px solid #dbe6ef;border-radius:18px;margin:24px 0;overflow:hidden}.aff-box-head{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:24px 26px}.aff-box-head h2{font-size:23px;margin:5px 0;line-height:1.5}.aff-box-head small{color:#638098;font-size:12px;letter-spacing:.08em}.aff-box-head p{font-size:14px;color:#61778b;margin:6px 0;line-height:1.8}.aff-box-head>b{font-size:22px;color:#1769e0}.aff-filters{display:flex;flex-wrap:wrap;align-items:end;gap:12px;margin:27px 0 8px}.aff-filters label{display:grid;gap:8px;font-size:13px;font-weight:700;color:#4b647a}.aff-filters input{border:1px solid #ccdce9;border-radius:8px;padding:11px;background:#fff;font:inherit;min-height:42px;max-width:240px}.aff-filters input[type=date]{direction:ltr}.aff-filters>span{width:100%;font-size:12px;line-height:1.8;color:#6c7e8f}.aff-plot{padding:8px 26px 0}.aff-plot>span{color:#68829a;font-size:12px}.aff-plot svg{display:block;width:100%;height:200px;direction:ltr}.aff-chart-labels{display:flex;justify-content:space-between;color:#718397;font-size:12px;padding:0 26px 16px}.aff-chart-data{border-top:1px solid #e3ebf2;padding:14px 26px;max-height:350px;overflow:auto}.aff-chart-data summary{font-size:14px;color:#2c6698;cursor:pointer}.aff-tabs{display:flex;gap:8px;padding:0 24px 18px;overflow:auto}.aff-tabs button{border:1px solid #d9e5ed;border-radius:8px;background:#f7fafc;padding:10px 15px;white-space:nowrap;color:#536d83;font:inherit;font-size:14px;cursor:pointer}.aff-tabs button.active{background:#1769e0;color:#fff;border-color:#1769e0}.aff-table-wrap{overflow:auto;max-width:100%}.aff-table-wrap table{width:100%;border-collapse:collapse;font-size:14px;text-align:start}.aff-table-wrap th{background:#f4f8fb;font-size:12px;color:#617b91;padding:14px 18px;white-space:nowrap;text-align:start}.aff-table-wrap td{padding:17px 18px;vertical-align:top;border-top:1px solid #e7eef4;line-height:1.8;min-width:90px}.aff-table-wrap td small{display:block;font-size:12px;color:#688197}.aff-address{display:block;word-break:break-all;max-width:255px;min-width:150px;font-family:ui-monospace,monospace}.aff-status{display:inline-flex;white-space:nowrap;border-radius:7px;padding:4px 9px;font-size:12px;background:#edf2f6;color:#5e7488}.aff-status.available,.aff-status.paid{background:#e5f7ef;color:#19754f}.aff-status.pending{background:#fff3d9;color:#89631f}.aff-status.approved{background:#e5efff;color:#275fbc}.aff-status.reversed,.aff-status.rejected,.aff-status.cancelled{background:#ffeded;color:#a44c4c}.aff-pagination{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:20px 24px;border-top:1px solid #e1eaf2;font-size:14px}.aff-pagination button:last-child{margin-inline-start:auto}.aff-empty,.aff-loading{padding:45px 25px;text-align:center;line-height:1.8;color:#6c8195}.aff-message{padding:15px 18px;border:1px solid #c2e7d7;border-radius:10px;background:#edf9f3;color:#266c4e;line-height:1.8;margin:15px 0}.aff-message.bad{background:#fff1f1;color:#a14444;border-color:#f2cccc}.aff-message[hidden]{display:none}.aff-footnote{font-size:13px;color:#678093;line-height:1.9}.aff-dialog{width:min(570px,calc(100% - 30px));max-height:90dvh;overflow:auto}.aff-dialog h2{margin:14px 0 22px;font-size:27px}.aff-dialog form{clear:both}.aff-dialog form p{font-size:15px;line-height:1.8}.aff-dialog label{display:grid;gap:9px;font-size:14px}.aff-dialog input,.aff-dialog select,.aff-dialog textarea{padding:12px;border-radius:9px;border:1px solid #cbdde9;max-width:100%;width:100%;font:inherit;background:#fff}.aff-dialog textarea{min-height:80px}.aff-dialog-error{color:#b53b3b!important;padding:10px;background:#fff0f0;border-radius:8px}.aff-dialog-error[hidden]{display:none}#affiliateReferralField[hidden]{display:none!important}.affiliate-console .ghost-button{cursor:pointer}.affiliate-console button:focus-visible,.affiliate-console a:focus-visible,.aff-dialog button:focus-visible{outline:3px solid #19a8b3;outline-offset:3px}html[dir=rtl] .affiliate-workspace,html[dir=rtl] .aff-dialog{font-family:Tahoma,Arial,sans-serif}html[dir=rtl] .aff-dialog .close{float:left}html[dir=rtl] .aff-copy{direction:rtl}.affiliate-workspace input[dir=ltr]{text-align:left}
@media(max-width:1200px){.aff-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.aff-invite{gap:25px;grid-template-columns:1fr}.aff-box-head{align-items:flex-start;flex-wrap:wrap}}
@media(max-width:600px){.aff-kpis{gap:10px}.aff-kpis article{padding:16px}.aff-kpis strong{font-size:18px}.aff-kpis small{font-size:12px}.aff-invite{padding:20px}.aff-copy{flex-direction:column}.aff-filters label{width:calc(50% - 8px)}.aff-filters input{width:100%;min-width:0}.aff-filters label:has(input[name=search]){width:100%}.aff-box-head{padding:20px}.aff-plot{padding-inline:15px}.aff-plot svg{height:140px}.aff-tabs{padding-inline:15px}.aff-pagination{padding:15px;gap:8px}.aff-pagination button:last-child{margin-inline-start:0}.aff-table-wrap td{padding:13px}.aff-table-wrap th{padding:12px}.aff-box-head h2{font-size:20px}}

.aff-dialog .aff-check{display:flex;align-items:flex-start;gap:10px;line-height:1.8}.aff-dialog .aff-check input{width:auto;flex:0 0 auto;margin-top:6px}.affiliate-workspace .panel-top{flex-wrap:wrap;gap:15px}#affCreateCustomer{white-space:nowrap}
