/* Rainzon growth surfaces: alerts, referrals, review requests. */
:root{--rg-ink:#0A241D;--rg-em:#0F6B4F;--rg-line:#DCEBE2;--rg-mint:#F1FBF6;--rg-muted:#6B7A74;--rg-lime:#DDF57F}

/* Product page alert */
.pd-alert{margin:12px 0 14px;padding:12px;border:1px solid var(--rg-line);border-radius:14px;background:linear-gradient(135deg,#fff,#f7fbf8);display:grid;gap:9px}
.pd-alert-copy{display:flex;align-items:flex-start;gap:9px}
.pd-alert-ic{width:27px;height:27px;border-radius:8px;background:var(--rg-mint);color:var(--rg-em);display:grid;place-items:center;flex:none}
.pd-alert-copy strong{display:block;font-size:11.5px;letter-spacing:-.01em;color:var(--rg-ink)}
.pd-alert-copy small{display:block;font-size:9.5px;line-height:1.45;color:var(--rg-muted);margin-top:2px}
.pd-alert-form{display:flex;gap:5px;flex-wrap:wrap}
.pd-alert-form select,.pd-alert-form input{height:33px;border:1px solid #d8e7de;border-radius:8px;background:#fff;font:inherit;font-size:10px;color:var(--rg-ink);padding:0 8px;min-width:0}
.pd-alert-form select{flex:0 1 105px}.pd-alert-form input[type=email]{flex:1 1 150px}.pd-alert-form input[type=number]{flex:0 1 92px}
.pd-alert-form button{height:33px;border:0;border-radius:8px;background:var(--rg-ink);color:#f6f8e9;font:inherit;font-size:10px;font-weight:800;padding:0 12px;cursor:pointer}
.pd-alert-form button:hover{background:var(--rg-em)}
.pd-alert-form select:focus,.pd-alert-form input:focus{outline:0;border-color:var(--rg-em);box-shadow:0 0 0 3px rgba(15,107,79,.1)}
.pd-review-photos{display:flex;gap:6px;flex-wrap:wrap;margin-top:9px}
.pd-review-photos img{width:62px;height:62px;border-radius:8px;object-fit:cover;border:1px solid var(--rg-line)}
.pd-review-upload{display:inline-flex;align-items:center;gap:6px;font-size:10px;font-weight:700;color:var(--rg-em);cursor:pointer;margin:2px 0 8px}
.pd-review-upload small{font-weight:500;color:var(--rg-muted)}
.pd-review-upload input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}

/* Referral dashboard */
.rf-hero{display:grid;grid-template-columns:1.5fr .9fr;gap:18px;margin-bottom:14px;padding:26px;border-radius:18px;background:var(--rg-ink);color:#f4f8e4;position:relative;overflow:hidden}
.rf-hero:after{content:"";position:absolute;right:-70px;top:-90px;width:280px;height:280px;border-radius:50%;background:radial-gradient(circle,rgba(221,245,127,.22),transparent 65%)}
.rf-kicker{display:block;font-size:8px;letter-spacing:.18em;text-transform:uppercase;font-weight:800;color:#bfd3b2;margin-bottom:8px}
.rf-hero-copy h2{font-family:'Bricolage Grotesque',sans-serif;font-size:clamp(26px,3vw,38px);line-height:1;letter-spacing:-.04em;margin:0 0 10px;max-width:430px}
.rf-hero-copy h2 em{font-family:'Instrument Serif',serif;font-style:italic;color:var(--rg-lime)}
.rf-hero-copy p{max-width:410px;font-size:11.5px;line-height:1.65;color:#c9d9cd;margin:0}
.rf-code-box{position:relative;z-index:1;align-self:center;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.17);border-radius:14px;padding:13px}
.rf-code-box small{display:block;font-size:8px;text-transform:uppercase;letter-spacing:.12em;color:#b8cbbb;margin-bottom:3px}
.rf-code-box strong{display:block;font-family:'Bricolage Grotesque',sans-serif;font-size:22px;letter-spacing:.1em;color:var(--rg-lime)}
.rf-code-actions{display:flex;gap:5px;margin-top:9px}
.rf-code-actions button,.rf-code-actions a{flex:1;height:29px;display:grid;place-items:center;border-radius:7px;border:1px solid rgba(255,255,255,.2);background:rgba(255,255,255,.08);color:#f4f8e4;font:inherit;font-size:9px;font-weight:800;text-decoration:none;cursor:pointer}
.rf-code-actions button:hover,.rf-code-actions a:hover{background:var(--rg-lime);color:var(--rg-ink);border-color:var(--rg-lime)}
.rf-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-bottom:14px}
.rf-stats>div{background:#fff;border:1px solid var(--rg-line);border-radius:12px;padding:12px}
.rf-stats small{display:block;font-size:8px;text-transform:uppercase;letter-spacing:.1em;color:var(--rg-muted);font-weight:800}
.rf-stats strong{display:block;font-family:'Bricolage Grotesque',sans-serif;font-size:22px;letter-spacing:-.03em;margin-top:4px;color:var(--rg-ink)}
.rf-share{display:flex;align-items:center;gap:10px;justify-content:space-between;padding:11px 13px;border:1px dashed #bcd6c5;border-radius:12px;background:var(--rg-mint);margin-bottom:14px}
.rf-share .rf-kicker{color:var(--rg-em);margin-bottom:2px}
.rf-share strong{font-size:10.5px;color:var(--rg-ink);word-break:break-all}
.rf-share button{flex:none;height:29px;border:1px solid #bad4c3;background:#fff;border-radius:7px;font:inherit;font-size:9px;font-weight:800;color:var(--rg-em);padding:0 10px;cursor:pointer}
.rf-share button.is-copied{background:var(--rg-em);color:#fff;border-color:var(--rg-em)}
.rf-row{display:flex;align-items:center;gap:9px;padding:10px 0;border-bottom:1px solid #edf2ee}
.rf-row:last-child{border-bottom:0}
.rf-row-avatar{width:28px;height:28px;border-radius:50%;display:grid;place-items:center;background:var(--rg-mint);color:var(--rg-em);font-size:10px;font-weight:800;flex:none}
.rf-row-who{flex:1;min-width:0}.rf-row-who strong{display:block;font-size:10.5px;color:var(--rg-ink)}.rf-row-who small{display:block;font-size:8.5px;color:var(--rg-muted);margin-top:1px}
.rf-row-status{font-size:8px;font-weight:800;padding:3px 6px;border-radius:99px;background:#f6f1df;color:#94721b;white-space:nowrap}
.rf-row-status--completed{background:var(--rg-mint);color:var(--rg-em)}
.rf-row-reward{font-family:'Bricolage Grotesque',sans-serif;font-size:13px;color:var(--rg-ink);min-width:44px;text-align:right}
.rf-pages{margin-top:12px}.rf-terms{font-size:9px;line-height:1.6;color:var(--rg-muted);margin:13px 0 0}

/* Review request */
.review-page{background:#f6f5ee}
.rv-wrap{max-width:680px;margin:0 auto;padding:34px 18px 70px}
.rv-head{text-align:center;margin-bottom:22px}
.rv-brand{display:inline-block;font-family:'Instrument Serif',serif;font-size:26px;color:var(--rg-ink);text-decoration:none;margin-bottom:20px}
.rv-kicker{display:block;font-size:8px;letter-spacing:.18em;text-transform:uppercase;color:var(--rg-em);font-weight:800;margin-bottom:6px}
.rv-head h1{font-family:'Bricolage Grotesque',sans-serif;font-size:34px;letter-spacing:-.045em;margin:0 0 6px;color:var(--rg-ink)}
.rv-head p{font-size:10.5px;color:var(--rg-muted);margin:0}
.rv-form{display:grid;gap:10px}
.rv-item{background:#fff;border:1px solid var(--rg-line);border-radius:14px;padding:14px}
.rv-item-head{display:flex;align-items:center;gap:10px;margin-bottom:9px}
.rv-item-head img{width:48px;height:48px;border-radius:9px;object-fit:cover;background:#f2f6f2}
.rv-item-head strong{display:block;font-size:11.5px;color:var(--rg-ink)}
.rv-item-head small{display:block;font-size:8.5px;color:var(--rg-muted);margin-top:2px}
.rv-stars{display:flex;flex-direction:row-reverse;justify-content:flex-end;gap:2px;margin-bottom:7px}
.rv-stars label{cursor:pointer}.rv-stars input{position:absolute;opacity:0;width:1px;height:1px}
.rv-stars span{font-size:23px;color:#d9e4dc;transition:color .12s}
.rv-stars label:hover span,.rv-stars label:hover~label span,.rv-stars input:checked~label span{color:#d9a441}
.rv-item textarea{width:100%;border:1px solid #e0ebe4;border-radius:9px;background:#fbfdfb;font:inherit;font-size:10.5px;line-height:1.55;color:var(--rg-ink);padding:9px;resize:vertical;min-height:64px}
.rv-item textarea:focus{outline:0;border-color:var(--rg-em);box-shadow:0 0 0 3px rgba(15,107,79,.09)}
.rv-upload{display:inline-flex;align-items:center;gap:5px;font-size:9px;font-weight:800;color:var(--rg-em);margin-top:7px;cursor:pointer}
.rv-upload small{font-weight:500;color:var(--rg-muted)}.rv-upload input{position:absolute;width:1px;height:1px;opacity:0}
.rv-submit{width:100%;margin-top:4px}.rv-error{display:block;font-size:9px;color:#b14545;margin:2px 0 4px}
.rv-flash{padding:10px 12px;border-radius:9px;background:var(--rg-mint);color:var(--rg-em);font-size:10.5px;font-weight:700;margin-bottom:12px}
.rv-thanks{background:#fff;border:1px solid var(--rg-line);border-radius:14px;padding:24px;text-align:center}
.rv-thanks strong{font-family:'Bricolage Grotesque',sans-serif;font-size:20px;color:var(--rg-ink)}.rv-thanks p{font-size:10.5px;color:var(--rg-muted);margin:6px 0 15px}

@media(max-width:860px){.rf-hero{grid-template-columns:1fr}.rf-code-box{max-width:300px}.rf-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:520px){.rf-hero{padding:19px}.rf-share{align-items:flex-start;flex-direction:column;gap:7px}.rf-row-status{display:none}.pd-alert-form input[type=email]{flex-basis:100%}.rv-head h1{font-size:28px}}
