/* DRVX Associates (refer and earn). Mobile first, big tap targets, plain words. */
*{box-sizing:border-box}html{-webkit-text-size-adjust:100%}
body{margin:0;background:#f4f3f0;color:#141414;font:16px/1.45 system-ui,-apple-system,"Segoe UI",Roboto,sans-serif}
.top{display:flex;align-items:center;gap:10px;background:#0b0b0d;color:#fff;padding:12px 16px;position:sticky;top:0;z-index:2}
.top .tt{color:#d4a53c;font-weight:700;letter-spacing:.04em}.top .link{margin-left:auto;color:#fff}
main{max-width:640px;margin:0 auto;padding:16px 14px 40px}
h1{font-size:22px;margin:4px 0 12px}h2{font-size:18px;margin:0 0 8px}
.card{background:#fff;border:1px solid #e3e0da;border-radius:14px;padding:16px;margin:0 0 14px}
label{display:block;font-weight:600;margin:10px 0 4px}input,select,textarea{width:100%;font:inherit;padding:12px;border:1px solid #c9c5bd;border-radius:10px;background:#fff;min-height:48px}
textarea{min-height:80px}.chk{display:flex;gap:10px;align-items:flex-start;font-weight:400}.chk input{width:22px;min-height:22px;margin-top:2px}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:48px;padding:0 18px;border-radius:12px;border:0;background:#d4a53c;color:#111;font:700 16px system-ui,sans-serif;cursor:pointer;text-decoration:none;margin:10px 8px 0 0}
.btn.sec{background:#fff;border:1px solid #c9c5bd}.btn.wa{background:#25d366;color:#082}.btn[disabled]{opacity:.6}
.link{background:none;border:0;color:#7a5a12;font:inherit;text-decoration:underline;cursor:pointer;padding:6px}
.tabs{display:flex;gap:6px;margin:0 0 14px;overflow-x:auto}.tabs button{flex:1;min-height:48px;border-radius:999px;border:1px solid #c9c5bd;background:#fff;font:600 15px system-ui,sans-serif;cursor:pointer}
.tabs button.on{background:#0b0b0d;color:#fff;border-color:#0b0b0d}
.muted{color:#666;font-size:14px}.err{color:#b00020;font-weight:600;min-height:1.2em}.ok{color:#1d6b2f;font-weight:600}
.reflink{word-break:break-all;background:#f7f2e6;border-radius:10px;padding:10px;font-weight:600}
.qr{display:block;width:200px;height:200px;margin:12px auto 0;background:#fff}
.row{display:flex;justify-content:space-between;gap:10px;padding:12px 0;border-bottom:1px solid #eee}.row:last-child{border:0}
.row b{display:block}.row .r{text-align:right;white-space:nowrap}
.pill{display:inline-block;font-size:13px;font-weight:700;padding:2px 10px;border-radius:999px;background:#eee;color:#333}
.pill.invited{background:#eef2ff;color:#2b3d9c}.pill.signedup,.pill.submitted{background:#fff4d6;color:#7a5a12}.pill.approved,.pill.contacted{background:#e6f4ff;color:#0a4f8a}
.pill.active,.pill.won{background:#e3f6e8;color:#1d6b2f}.pill.left,.pill.lost{background:#f1f1f1;color:#666}.pill.due{background:#ffe3e3;color:#a10000}
.codes{font:600 18px ui-monospace,monospace;letter-spacing:.06em;columns:2}
.secret{font:600 15px ui-monospace,monospace;word-break:break-all;background:#f7f2e6;padding:8px;border-radius:8px}
.foot{max-width:640px;margin:0 auto;padding:0 14px 30px;color:#777;font-size:12px}.foot a{color:#7a5a12}
table{width:100%;border-collapse:collapse;font-size:14px}td,th{padding:6px 4px;border-bottom:1px solid #eee;text-align:left}
.stats{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:0 0 14px}.stat{background:#fff;border:1px solid #e3e0da;border-radius:14px;padding:12px}.stat b{display:block;font-size:22px}.stat span{font-size:13px;color:#666}
.share{display:flex;flex-wrap:wrap;gap:0}.share .btn{flex:1 1 40%;margin:8px 8px 0 0}
.pill.signed_up,.pill.clicked{background:#fff4d6;color:#7a5a12}.pill.setup_complete,.pill.first_done,.pill.qualifying{background:#e6f4ff;color:#0a4f8a}.pill.qualified{background:#fde9c8;color:#7a4a00}
.pill.paid{background:#e3f6e8;color:#1d6b2f}.pill.rejected,.pill.clawed_back{background:#ffe3e3;color:#a10000}
.qrwrap{display:grid;grid-template-columns:1fr 1fr;gap:10px}.qrwrap figure{margin:0;text-align:center;font-size:13px}.qrwrap img{width:100%;max-width:220px;background:#fff;border:1px solid #eee;border-radius:10px}
.hero{background:#0b0b0d;color:#fff;border-radius:14px;padding:18px;margin:0 0 14px}.hero h1{color:#d4a53c;margin:0 0 6px}.hero p{margin:0 0 6px}
.rw{display:flex;justify-content:space-between;gap:10px;padding:8px 0;border-bottom:1px solid #eee}.rw:last-child{border:0}
.test{background:#ffe3e3;color:#a10000;font-weight:700;padding:6px 10px;border-radius:8px;margin:0 0 10px}
/* e-sign, type badge, packs area */
.typ{display:inline-block;margin:6px 0 0;font-size:13px;font-weight:700;color:#d4a53c;border:1px solid #d4a53c;border-radius:999px;padding:2px 10px}.typ.dark{color:#7a5a12;border-color:#d4a53c;background:#fff8e6;margin:-6px 0 12px}
.draft{color:#ffb4b4}.draftnote{background:#fff3f3;border-color:#f3c2c2;color:#7a1010;font-size:14px}
h3{font-size:15px;margin:12px 0 4px}ul,ol{margin:0 0 6px 18px;padding:0}li{margin:0 0 4px}
.termsbox{max-height:340px;overflow:auto;border:1px solid #e3e0da;border-radius:10px;padding:4px 12px;background:#fcfbf8;font-size:14px}
canvas.sig{display:block;width:100%;height:auto;aspect-ratio:640/220;border:2px dashed #c9c5bd;border-radius:12px;background:#fff;touch-action:none;cursor:crosshair}
.welcome{border:2px solid #d4a53c;background:#fffaf0}.sect{margin:18px 0 10px}
.aud summary{list-style:none;cursor:pointer}.aud summary::-webkit-details-marker{display:none}.aud summary h2{margin:0}.aud summary .muted{display:block;margin:2px 0 6px}
.lbl{font-weight:700;margin:14px 0 4px;font-size:14px;color:#444}
.pack{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;padding:10px 0;border-bottom:1px solid #eee}.pack:last-child{border:0}.pack .pi{display:flex;gap:10px;align-items:center;min-width:0;flex:1 1 220px}
.pack .pi b{display:block}.pack .pi .muted{display:block}.pdf{flex:0 0 auto;background:#b3261e;color:#fff;font:700 11px system-ui;border-radius:6px;padding:6px 6px}.pack.soon .pdf{background:#bbb}
.pack .pb{display:flex;gap:6px}.btn.sm{min-height:42px;padding:0 14px;font-size:15px;margin:0}
.msg{border:1px solid #e3e0da;border-radius:10px;padding:8px 10px;margin:8px 0}.msg .mh{display:flex;align-items:center;gap:6px}.msg .mh b{flex:1}.msg textarea{min-height:70px;font-size:14px;margin-top:4px;background:#fcfbf8}
code{font:13px ui-monospace,monospace}
.rw>div>b{display:block}.rw>div>.muted{display:block}
