.referral{color:#142b3c;max-width:1500px;margin:auto;padding:28px;font-size:16px}.referral h1,.ref-public h1{margin:8px 0;font-size:30px;font-weight:750}.referral h2,.ref-public h2{margin:10px 0;font-size:20px;font-weight:650}.referral p,.ref-public p{color:#586b7b;margin:8px 0 18px;line-height:1.6}.ref-eyebrow{letter-spacing:.12em;color:#087568;font-size:12px;font-weight:750}.ref-head,.ref-section-head{justify-content:space-between;align-items:center;gap:16px;margin-bottom:20px;display:flex}.referral button,.ref-dialog button,.ref-public button,.ref-button{cursor:pointer;background:#fff;border:1px solid #d6e0e6;border-radius:8px;justify-content:center;align-items:center;gap:8px;min-height:42px;padding:10px 14px;font-size:14px;font-weight:600;text-decoration:none;display:inline-flex}.referral .primary,.ref-dialog .primary,.ref-public .primary{color:#fff;background:#087568;border-color:#087568}.referral button:disabled,.ref-dialog button:disabled,.ref-public button:disabled{opacity:.55;cursor:wait}.ref-tabs{gap:4px;width:fit-content;margin-bottom:24px;background:#eaf0f3!important;flex-wrap:wrap!important;height:auto!important;padding:5px!important;display:flex!important}.ref-tabs button{background:0 0!important;border:0!important}.ref-tabs button[data-state=active]{box-shadow:0 1px 5px #142b3c12;background:#fff!important}.ref-stats{grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:14px;margin:20px 0;display:grid}.ref-stats article{background:#fff;border:1px solid #dce5e9;border-top:3px solid #0b8b7b;border-radius:10px;padding:20px}.ref-stats span{color:#5b6e7b;font-size:14px;display:block}.ref-stats strong{color:#132f44;overflow-wrap:anywhere;margin-top:12px;font-size:28px;line-height:1.3;display:block}.ref-card{background:#fff;border:1px solid #dce5e9;border-radius:12px;min-width:0;margin-bottom:20px;padding:22px}.ref-card small{color:#657482;margin-top:5px;font-size:13px;display:block}.ref-card td{padding:15px 12px}.ref-card th{background:#f3f6f8;font-size:14px}.ref-grid{grid-template-columns:repeat(auto-fit,minmax(min(280px,100%),1fr));gap:18px;display:grid}.ref-grid .ref-card{margin-bottom:0}.ref-actions{flex-wrap:wrap;gap:8px;margin-top:18px;display:flex}.ref-badge{color:#086452;white-space:nowrap;background:#e5f5f0;border-radius:6px;padding:5px 9px;font-size:13px;display:inline-block}.ref-pipeline{grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:10px;display:grid}.ref-pipeline button{text-align:left;background:#f7fafb;border-color:#e3e9ed;flex-direction:column;justify-content:flex-start;align-items:flex-start;min-height:100px;display:flex}.ref-pipeline strong{font-size:25px}.ref-pipeline span{font-weight:450;line-height:1.5}.ref-filters{flex-wrap:wrap;gap:16px;margin:20px 0;display:flex}.ref-filters label{min-width:200px}.referral label,.ref-dialog label,.ref-public label{flex-direction:column;gap:8px;font-size:14px;font-weight:600;display:flex}.referral select,.ref-dialog input,.ref-dialog select,.ref-public input,.ref-public textarea{font:inherit;color:#163447;background:#fff;border:1px solid #c8d6df;border-radius:7px;width:100%;min-width:0;padding:11px 12px;font-size:16px}.ref-dialog{max-height:90dvh;overflow-y:auto;max-width:560px!important}.ref-dialog form,.ref-public form{gap:18px;display:grid}.ref-switch{justify-content:space-between;align-items:center;flex-direction:row!important}.ref-source{overflow-wrap:anywhere;background:#f1f6f8;border-radius:8px;flex-direction:column;gap:7px;padding:16px;font-size:14px;display:flex}.ref-error{background:#fff0f0;border-radius:8px;padding:12px;color:#a52b35!important}.ref-notice{background:#e8f6ef;border-radius:8px;padding:12px;color:#146649!important}.ref-empty{background:#eef8f5;border:1px solid #c7e6dc;border-radius:12px;margin:20px 0;padding:25px}.ref-price{font-size:26px}.ref-qr{width:min(100%,320px);height:auto;margin:auto}.ref-public{color:#163447;background:#edf3f6;min-height:100dvh;padding:35px 18px;font-size:16px}.ref-public>.ref-card{max-width:540px;margin:25px auto;padding:30px}.ref-public-brand{color:#087568;justify-content:center;align-items:center;gap:8px;font-size:28px;display:flex}.ref-public-brand strong{color:#163447;font-size:20px}.ref-public small{color:#617485;font-size:13px;line-height:1.6}.ref-honeypot{display:none!important}@media (max-width:650px){.referral{padding:18px 12px}.ref-head{align-items:flex-start}.ref-head button span{display:none}.ref-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.ref-stats article{padding:15px}.ref-stats strong{font-size:23px}.ref-card{padding:16px}.ref-section-head{flex-direction:column;align-items:flex-start}.ref-tabs{width:100%}.ref-tabs button{padding:8px;font-size:13px}.ref-public>.ref-card{padding:22px}.ref-pipeline{grid-template-columns:repeat(2,minmax(0,1fr))}}.ref-dialog .ref-switch{cursor:pointer;gap:16px;min-height:48px}.ref-switch small{color:#586b7b;margin-top:5px;font-size:13px;font-weight:400;display:block}.ref-dialog .ref-switch [role=switch]{background:#8797a5;border:0;border-radius:999px;flex-shrink:0;justify-content:flex-start;gap:0;width:56px;height:32px;min-height:32px;padding:4px}.ref-dialog .ref-switch [role=switch][data-state=checked]{background:#087568}.ref-dialog .ref-switch [data-slot=switch-thumb]{background:#fff;border-radius:50%;width:24px;height:24px;transform:translate(0);box-shadow:0 1px 3px #0003}.ref-dialog .ref-switch [data-slot=switch-thumb][data-state=checked]{transform:translate(24px)}.ref-dialog .ref-switch [role=switch]:focus-visible{outline-offset:3px;outline:3px solid #2db5a7}.referral{--am-green:#0b2b24;--am-green-2:#123f34;--am-ink:#10231f;--am-gold:#b7a36a;color:var(--am-ink);background:#f4f1e8;max-width:none;min-height:calc(100vh - 90px);margin:0;padding:32px clamp(18px,4vw,56px)}.referral h1,.referral h2{color:var(--am-green)}.referral p,.ref-card small,.referral .ref-stats span{color:#5d6c65}.ref-eyebrow{color:#9b8650;letter-spacing:.2em}.ref-card,.ref-stats article{background:#fffdf8;border-color:#d8d2c1;box-shadow:0 8px 24px #0b2b240f}.ref-stats article{border-top-color:#b7a36a}.ref-stats strong{color:var(--am-green)}.referral .primary,.ref-dialog .primary,.ref-public .primary{background:var(--am-green);border-color:var(--am-green)}.referral .primary:hover,.ref-dialog .primary:hover,.ref-public .primary:hover{background:var(--am-green-2);border-color:var(--am-green-2)}.ref-tabs{border:1px solid #d5cfbd;background:#e7e2d5!important;border-radius:7px!important}.ref-tabs button[data-state=active]{color:var(--am-green);border-bottom:2px solid #b7a36a!important}.ref-pipeline button{color:var(--am-green);background:#fbfaf5;border-color:#d8d2c1}.ref-badge{color:#245844;background:#e5efe7}.ref-badge.muted{color:#6b716b;background:#eceae3}.ref-dialog{background:#fffdf8!important;border-color:#d8d2c1!important}.ref-dialog input,.ref-dialog select,.ref-public input,.ref-public textarea{background:#fffdf8;border-color:#cfc8b6}.ref-public{color:#f7f3e8;background:linear-gradient(145deg,#0b2b24,#123f34)}.ref-public>.ref-card{background:#fffdf8;border-color:#b7a36a}.ref-redirect{border-radius:8px;padding:12px 16px;text-decoration:none;display:inline-flex}.ref-danger{color:#8b3f36!important;background:#fff8f5!important;border-color:#d9b8b0!important}.ref-head>button{white-space:nowrap;color:#142b3c!important;background:#fff!important;border-color:#d6e0e6!important}.ref-head>button:hover{color:#142b3c!important;background:#f1f5f3!important}.ref-dialog .primary{color:#fff!important;background:#0b2b24!important;border-color:#0b2b24!important}.ref-dialog .primary:hover{background:#123f34!important;border-color:#123f34!important}.ref-public>.ref-card,.ref-public>.ref-card h1,.ref-public>.ref-card h2,.ref-public>.ref-card label{color:#163447}.ref-public>.ref-card .ref-eyebrow{color:#9b8650}.ref-public>.ref-card .primary{color:#fff!important;background:#0b2b24!important;border-color:#0b2b24!important}.ref-public>.ref-card .primary:hover{background:#123f34!important;border-color:#123f34!important}
