.affiliate-hero{position:relative;overflow:hidden;background:linear-gradient(132deg,#102e45 0%,#185269 52%,#277f77 100%);color:#fff;border:0}.affiliate-hero:after{content:"";position:absolute;inset:auto -8% -68% 42%;height:260px;border-radius:50%;background:radial-gradient(circle,#9ae6ce55 0%,transparent 68%);pointer-events:none}.affiliate-hero h1,.affiliate-hero h2,.affiliate-hero p{color:inherit}.affiliate-truth{display:flex;gap:.6rem;flex-wrap:wrap;margin-top:1rem}.affiliate-truth span{border:1px solid #ffffff55;background:#ffffff14;border-radius:999px;padding:.42rem .72rem;font-weight:700}.affiliate-flow{counter-reset:aff-flow;display:grid;grid-template-columns:repeat(7,minmax(120px,1fr));gap:.55rem;padding:0;list-style:none}.affiliate-flow li{counter-increment:aff-flow;min-height:92px;padding:.75rem;border:1px solid var(--line,#d7e0e3);border-radius:14px;background:var(--surface,#fff);font-size:.83rem;font-weight:750}.affiliate-flow li:before{content:counter(aff-flow);display:grid;place-items:center;width:1.7rem;height:1.7rem;margin-bottom:.55rem;border-radius:50%;background:#1d6c70;color:#fff;font-weight:900}.affiliate-kpis{display:grid;grid-template-columns:repeat(6,minmax(125px,1fr));gap:.7rem}.affiliate-kpis article{padding:1rem;border-radius:14px;background:linear-gradient(145deg,#f8fbfa,#e9f4f0);border:1px solid #cfe0da}.affiliate-kpis strong{display:block;font-size:1.45rem;color:#174d51}.affiliate-kpis span{font-size:.78rem;color:#49636a}.affiliate-ledger-table td,.affiliate-ledger-table th{vertical-align:top}.affiliate-held{box-shadow:inset 4px 0 #bb6b2c}.affiliate-case{border-left:4px solid #b34545}.affiliate-money{font-variant-numeric:tabular-nums;font-weight:800}.affiliate-link-code{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;letter-spacing:.04em}.affiliate-boundary{border:1px dashed #2a7777;background:#eef9f6;padding:1rem;border-radius:14px}.affiliate-boundary strong{color:#135b5b}.affiliate-actions{display:flex;gap:.45rem;flex-wrap:wrap}.affiliate-actions form{margin:0}.affiliate-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}.affiliate-grid .panel{margin:0}.affiliate-compact input,.affiliate-compact select,.affiliate-compact textarea{min-height:40px}.affiliate-compact textarea{min-height:82px}.statement-seal{display:inline-flex;align-items:center;gap:.4rem;color:#236c59;font-weight:800}.statement-seal:before{content:"◆"}.status-chip.held{background:#fff1df;color:#8a4c16}.status-chip.settlement_pending{background:#e8f1ff;color:#285e9b}.status-chip.reversed{background:#f4ecec;color:#7d3d3d}
@media(max-width:1180px){.affiliate-flow{grid-template-columns:repeat(4,minmax(120px,1fr))}.affiliate-kpis{grid-template-columns:repeat(3,minmax(125px,1fr))}.affiliate-grid{grid-template-columns:1fr 1fr}}
@media(max-width:760px){.affiliate-flow{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:.6rem}.affiliate-flow li{min-width:165px;scroll-snap-align:start}.affiliate-kpis{grid-template-columns:1fr 1fr}.affiliate-grid{grid-template-columns:1fr}.affiliate-actions{align-items:stretch}.affiliate-actions form,.affiliate-actions .button{width:100%}.affiliate-ledger-table{min-width:820px}}
