*,:before,:after{box-sizing:border-box}body{margin:0}#root{min-height:100vh}:root{--bg:#fff;--bg-subtle:#f7f8fa;--text:#16181d;--text-muted:#6b7280;--border:#e5e7eb;--primary:#d97706;--primary-hover:#b45309;--primary-soft:#fef3e6;--danger:#dc2626;--radius:10px}*{box-sizing:border-box}body{background:var(--bg);color:var(--text);margin:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Inter,Roboto,Helvetica,Arial,sans-serif;line-height:1.5}h1,h2,h3{letter-spacing:-.01em;margin:0;font-weight:650}a{color:var(--primary);text-decoration:none}a:hover{text-decoration:underline}code{background:var(--bg-subtle);border-radius:4px;padding:.15rem .4rem;font-size:.9em}#root{max-width:1120px;margin:0 auto;padding:0 1.5rem 3rem}input,select{border:1px solid var(--border);color:var(--text);background:#fff;border-radius:8px;padding:.6rem .75rem;font-family:inherit;font-size:.95rem}input:focus,select:focus{outline:2px solid var(--primary-soft);border-color:var(--primary)}button{cursor:pointer;background:var(--primary);color:#fff;border:1px solid #0000;border-radius:8px;padding:.6rem 1.1rem;font-family:inherit;font-size:.95rem;font-weight:600}button:hover{background:var(--primary-hover)}.error{color:var(--danger);font-size:.9rem}.auth-page{max-width:360px;margin:5rem auto}.auth-page h1{margin-bottom:1.5rem;font-size:1.4rem}.auth-page form{flex-direction:column;gap:.85rem;display:flex}.admin-dashboard{padding-top:2rem}.admin-dashboard header{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;margin-bottom:2rem;padding-bottom:1.5rem;display:flex}.header-right{align-items:center;gap:1rem;display:flex}.header-right button{color:var(--text);border:1px solid var(--border);background:0 0}.header-right button:hover{background:var(--bg-subtle)}.stats{grid-template-columns:repeat(4,1fr);gap:1.25rem;margin-bottom:2.5rem;display:grid}.stat{border:1px solid var(--border);border-radius:var(--radius);flex-direction:column;gap:.4rem;padding:1.25rem;display:flex}.stat .label{color:var(--text-muted);text-transform:uppercase;letter-spacing:.03em;font-size:.8rem}.stat .value{font-size:1.85rem;font-weight:700}section{margin-bottom:2.5rem}section h2{margin-bottom:1rem;font-size:1.1rem}table{border-collapse:collapse;width:100%}th,td{text-align:left;border-bottom:1px solid var(--border);padding:.65rem .5rem;font-size:.92rem}th{color:var(--text-muted);text-transform:uppercase;letter-spacing:.03em;font-size:.78rem;font-weight:600}.codes-page{padding-top:2rem}.codes-page h1{margin:1rem 0 1.5rem;font-size:1.5rem}.codes-page .generate-codes{align-items:center;gap:.6rem;margin-bottom:1.5rem;display:flex}.codes-page input[type=number]{width:80px}.just-generated{background:var(--primary-soft);border-radius:var(--radius);margin-bottom:2rem;padding:1.25rem}.just-generated h2{margin-bottom:.75rem;font-size:.95rem}.just-generated ul{flex-direction:column;gap:.5rem;padding:0;list-style:none;display:flex}.plan-tag{color:var(--text-muted);text-transform:capitalize;margin-left:.5rem;font-size:.85rem}@media (width<=720px){.stats{grid-template-columns:repeat(2,1fr)}}
