:root{color:#f8fafc;font-synthesis:none;text-rendering:optimizelegibility;background:#070a12;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}html{background:#070a12}body{background:radial-gradient(circle at 12% 4%,#8b5cf629,#0000 28%),radial-gradient(circle at 88% 74%,#22d3ee1a,#0000 28%),#070a12;min-width:320px;min-height:100vh;margin:0}button,input,select{font:inherit}button,a{-webkit-tap-highlight-color:transparent}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline-offset:2px;outline:2px solid #22d3ee}.app-shell{min-height:100vh}.topbar{border-bottom:1px solid #243044;justify-content:space-between;align-items:center;gap:16px;width:min(100% - 32px,1180px);margin:0 auto;padding:16px 0;display:flex}.brand{align-items:center;gap:12px;display:flex}.brand span:last-child{display:grid}.brand strong{font-size:15px}.brand small{color:#64748b;text-transform:uppercase;font-size:11px;font-weight:800}.brand-mark{background:linear-gradient(135deg,#151d2e,#8b5cf64d);border:1px solid #22d3ee8c;border-radius:8px;justify-content:center;align-items:center;width:42px;height:42px;font-size:13px;font-weight:900;display:inline-flex}.dashboard{grid-template-columns:minmax(0,1fr);gap:24px;width:min(100% - 32px,1180px);margin:0 auto;padding:32px 0 64px;display:grid}.dashboard>*,.page-heading>*,.section-heading>*,.link-row>*{min-width:0}.page-heading,.section-heading{justify-content:space-between;align-items:flex-start;gap:16px;display:flex}h1,h2,p{margin:0}h1{margin-top:6px;font-size:clamp(28px,4vw,42px);line-height:1.1}h2{margin-top:5px;font-size:20px}.eyebrow{color:#22d3ee;letter-spacing:.12em;font-size:11px;font-weight:900}.muted{color:#94a3b8;margin-top:10px;font-size:14px;font-weight:600;line-height:1.6}.muted.compact{margin-top:3px;font-size:12px}.panel,.loading-card,.state-card{background:#101624f0;border:1px solid #243044;border-radius:8px;box-shadow:0 20px 70px #0000004d}.panel{padding:20px}.metric-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;display:grid}.metric,.finance{background:#070a12bf;border:1px solid #243044;border-radius:7px;min-width:0;padding:16px}.metric span,.finance span{color:#64748b;text-transform:uppercase;font-size:10px;font-weight:900;display:block}.metric strong,.finance strong{margin-top:8px;font-size:22px;display:block}.finance-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;display:grid}.finance-note{color:#94a3b8;grid-column:1/-1;font-size:12px;font-weight:700}.status{white-space:nowrap;border:1px solid;border-radius:999px;align-items:center;min-height:28px;padding:4px 9px;font-size:11px;font-weight:900;display:inline-flex}.status-active{color:#86efac;background:#22c55e1a;border-color:#22c55e6b}.status-disabled{color:#fde68a;background:#facc151a;border-color:#facc1561}.notice{border:1px solid;border-radius:7px;padding:12px 14px;font-size:14px;font-weight:700}.notice-warning{color:#fde68a;background:#facc151a;border-color:#facc1559}.notice-error{color:#fca5a5;background:#ef44441a;border-color:#ef444459}.notice-success{color:#86efac;background:#22c55e1a;border-color:#22c55e59}.link-form{grid-template-columns:repeat(3,minmax(160px,1fr)) auto;align-items:end;gap:12px;margin-top:18px;display:grid}label{color:#cbd5e1;gap:7px;font-size:12px;font-weight:800;display:grid}input,select{color:#f8fafc;background:#070a12;border:1px solid #243044;border-radius:6px;outline:none;width:100%;min-width:0;min-height:42px;padding:8px 10px}input:focus,select:focus{border-color:#22d3ee}.button,.icon-button{cursor:pointer;border:1px solid;border-radius:6px;justify-content:center;align-items:center;min-height:40px;padding:8px 14px;font-size:13px;font-weight:900;transition:all .16s;display:inline-flex}.button:disabled{cursor:not-allowed;opacity:.5}.button-primary{color:#07111f;background:#22d3ee;border-color:#22d3ee99}.button-primary:hover:not(:disabled){background:#67e8f9}.button-quiet,.icon-button{color:#cbd5e1;background:#070a12;border-color:#243044}.button-quiet:hover:not(:disabled),.icon-button:hover{color:#f8fafc;border-color:#22d3eea6}.link-list,.referral-list{gap:10px;margin-top:18px;display:grid}.link-row{background:#070a1294;border:1px solid #243044;border-radius:7px;grid-template-columns:minmax(220px,1fr) auto auto;align-items:center;gap:18px;padding:14px;display:grid}.link-title{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.public-url{align-items:center;gap:8px;min-width:0;margin-top:8px;display:flex}.public-url code{color:#67e8f9;text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:12px;overflow:hidden}.destination{color:#94a3b8;margin-top:7px;font-size:12px;font-weight:700}.destination a{color:#67e8f9}.destination a:hover{color:#cffafe}.icon-button{min-height:30px;padding:4px 8px;font-size:11px}.link-metrics{grid-template-columns:repeat(3,auto);gap:10px;display:grid}.link-metrics .metric{padding:10px}.link-metrics .metric strong{font-size:15px}.row-actions{flex-wrap:wrap;justify-content:flex-end;gap:8px;display:flex}.referral-row{border-bottom:1px solid #243044;justify-content:space-between;align-items:center;gap:16px;padding:12px 0;display:flex}.referral-row:last-child{border-bottom:0}.referral-row a{color:#67e8f9;font-weight:900}.empty{color:#64748b;text-align:center;border:1px dashed #243044;border-radius:7px;margin-top:18px;padding:24px;font-weight:700}.loading-card{color:#94a3b8;padding:28px;font-weight:700}.centered-shell{justify-content:center;align-items:center;min-height:100vh;padding:24px;display:flex}.state-card{width:min(100%,460px);padding:28px}.state-card .brand-mark{margin-bottom:20px}.state-card h1{font-size:28px}.state-action{margin-top:24px}.state-action .button{width:100%}.progress{background:#22d3ee;border-radius:999px;width:66%;height:6px;margin-top:24px;animation:1.1s ease-in-out infinite alternate pulse}@keyframes pulse{0%{opacity:.35}to{opacity:1}}@media (width<=960px){.metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.link-form{grid-template-columns:1fr 1fr}.link-row{grid-template-columns:1fr}.row-actions{justify-content:flex-start}}@media (width<=600px){.topbar,.dashboard{width:min(100% - 24px,1180px)}.dashboard{padding-top:24px}.page-heading,.section-heading{flex-direction:column;align-items:stretch}.metric-grid,.finance-grid,.link-form{grid-template-columns:1fr}.link-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}.link-metrics .metric{padding:8px}.referral-row{flex-direction:column;align-items:flex-start}.panel{padding:16px}}
