:root{--ink:#14243b;--muted:#718096;--line:#e8edf4;--blue:#3267ed;--teal:#13a89e;--pale:#f4f8ff;--green:#13866f;--red:#d94d62;--shadow:0 12px 32px #14243b0b}
/* Mobile interaction and readability fixes */
html{color-scheme:light}
body{background:#f7f9fc!important;color:#14243b!important}
input,select,textarea{background:#fff!important;color:#14243b!important;border:1px solid #d5deeb!important;opacity:1!important}
input::placeholder{color:#77869a!important;opacity:1}
button{touch-action:manipulation}
.auth-card,.auth-panel,.auth-form{opacity:1}
#modalRoot:empty{display:none}
#modalShade{background:rgba(20,36,59,.52)!important;z-index:9999!important}
#modalShade>.card{background:#fff!important;color:#14243b!important;opacity:1!important;max-height:85dvh!important;overflow-y:auto!important}
@media(max-width:600px){.layout{display:block;padding:12px}.topbar{padding:0 14px;position:relative;top:auto}.auth{padding:20px 14px}.card{border-radius:16px}}
*{box-sizing:border-box}body{margin:0;background:#f7f9fc;color:var(--ink);font:15px/1.5 Inter,ui-sans-serif,system-ui,-apple-system,Segoe UI,sans-serif}button,input,select{font:inherit}button{cursor:pointer;border:0}.hidden{display:none!important}.app{min-height:100vh}.topbar{height:76px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 max(22px,calc((100vw - 1200px)/2));position:sticky;top:0;z-index:5}.brand{display:flex;align-items:center;gap:10px;font-size:23px;font-weight:850;letter-spacing:-.8px}.brandmark{width:38px;height:38px;border-radius:13px;background:linear-gradient(135deg,#3267ed,#13b8aa);color:#fff;display:grid;place-items:center;font-size:21px}.top-right{display:flex;align-items:center;gap:12px}.avatar{width:38px;height:38px;border-radius:50%;background:#e9f1ff;color:var(--blue);display:grid;place-items:center;font-weight:800}.layout{max-width:1200px;margin:28px auto;padding:0 22px;display:grid;grid-template-columns:220px minmax(0,1fr);gap:28px}.sidebar{align-self:start;position:sticky;top:100px;background:#fff;border:1px solid var(--line);padding:14px;border-radius:20px;box-shadow:var(--shadow)}.navbtn{display:flex;gap:12px;align-items:center;width:100%;padding:13px 14px;background:transparent;color:#64748b;text-align:left;border-radius:12px;font-weight:650;margin:3px 0}.navbtn span{width:22px;text-align:center;font-size:18px}.navbtn.active,.navbtn:hover{background:#edf3ff;color:var(--blue)}.sidebar-note{margin:25px 5px 5px;background:#f1fbf9;border-radius:14px;padding:14px;font-size:12px;color:#43776f}.content{min-width:0}.eyebrow{font-size:12px;text-transform:uppercase;letter-spacing:1.6px;color:var(--teal);font-weight:800}.title-row{display:flex;align-items:flex-end;justify-content:space-between;gap:15px;margin-bottom:23px}.title-row h1{font-size:29px;line-height:1.2;letter-spacing:-1px;margin:5px 0}.muted{color:var(--muted)}.small{font-size:12px}.card{background:#fff;border:1px solid var(--line);border-radius:19px;padding:21px;box-shadow:var(--shadow)}.balance-hero{padding:25px;color:white;background:linear-gradient(120deg,#2656d9,#3478ef 62%,#19aaa7);border:0;display:flex;justify-content:space-between;gap:18px;align-items:center;position:relative;overflow:hidden}.balance-hero:after{content:"";position:absolute;width:230px;height:230px;border:1px solid #ffffff25;border-radius:50%;right:-55px;top:-120px;box-shadow:0 0 0 28px #ffffff09,0 0 0 58px #ffffff08}.balance-hero .muted{color:#dce7ff}.balance-number{font-size:34px;font-weight:850;letter-spacing:-1px;margin:6px 0 13px}.actions{display:flex;gap:10px;flex-wrap:wrap;position:relative;z-index:1}.btn{border-radius:11px;padding:11px 16px;font-weight:750;display:inline-flex;align-items:center;justify-content:center;gap:8px;transition:.15s}.btn-primary{background:var(--blue);color:white}.btn-primary:hover{background:#214fc7}.btn-white{background:#fff;color:#2858ce}.btn-outline{background:#fff;border:1px solid var(--line);color:var(--ink)}.btn-soft{background:#eaf2ff;color:#2858ce}.btn-teal{background:#e3f8f4;color:#087f75}.btn-danger{background:#fff0f1;color:var(--red)}.btn:disabled{opacity:.45;cursor:not-allowed}.stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:17px 0 23px}.stat{padding:17px}.stat-top{display:flex;align-items:center;justify-content:space-between;color:var(--muted);font-size:12px;font-weight:650;gap:8px}.stat-icon{width:31px;height:31px;display:grid;place-items:center;background:#edf3ff;color:var(--blue);border-radius:10px;font-size:16px}.stat strong{display:block;font-size:21px;letter-spacing:-.5px;margin-top:10px;overflow-wrap:anywhere}.section-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:25px 0 13px}.section-head h2{font-size:18px;margin:0;letter-spacing:-.4px}.invite-strip{display:flex;justify-content:space-between;align-items:center;gap:16px;background:#f0f6ff;border:1px solid #e1ebff;padding:18px;border-radius:16px}.invite-url{font-weight:700;color:#2858ce;overflow-wrap:anywhere}.product-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.product-card{overflow:hidden;padding:0}.machine-art{height:118px;background:linear-gradient(140deg,#eaf1ff,#e6faf7);display:flex;align-items:center;justify-content:center;font-size:53px;position:relative}.machine-art:after{content:"AURORAR";position:absolute;right:12px;bottom:9px;font-size:9px;letter-spacing:2px;color:#607b9c;font-weight:800}.product-body{padding:17px}.product-body h3{margin:0 0 5px;font-size:17px}.product-price{font-size:21px;font-weight:850;letter-spacing:-.5px}.product-meta{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:15px 0}.product-meta div{background:#f7f9fc;padding:10px;border-radius:10px}.product-meta span{display:block;color:var(--muted);font-size:11px}.product-meta b{font-size:13px}.product-body .btn{width:100%}.table-wrap{overflow-x:auto;border:1px solid var(--line);border-radius:14px;background:#fff}table{width:100%;border-collapse:collapse;white-space:nowrap;text-align:left;font-size:13px}th{background:#f7f9fc;color:#6b7a90;font-size:11px;text-transform:uppercase;letter-spacing:.7px}td,th{padding:14px 16px;border-bottom:1px solid var(--line)}tr:last-child td{border-bottom:0}.badge{display:inline-flex;align-items:center;padding:5px 9px;border-radius:99px;background:#e4f8f1;color:#13866f;font-size:11px;font-weight:800}.tier-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:13px}.tier{padding:18px;border-radius:15px;background:#f7f9ff;border:1px solid #e8edff}.tier strong{font-size:27px;display:block;color:var(--blue)}.tier span{font-size:12px;color:var(--muted)}.profile-row{display:flex;align-items:center;gap:14px}.profile-big{width:58px;height:58px;border-radius:19px;background:#eaf2ff;display:grid;place-items:center;color:var(--blue);font-size:23px;font-weight:850}.profile-row h2{margin:0 0 3px}.account-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}.ledger-type{font-weight:750}.positive{color:var(--green)}.negative{color:var(--red)}.empty{padding:28px;text-align:center;color:var(--muted)}.field{display:flex;flex-direction:column;gap:6px;margin:13px 0}.field label{font-size:12px;color:#596a80;font-weight:750}.field input,.field select{width:100%;border:1px solid #dce4ee;border-radius:11px;padding:12px 13px;background:white;color:var(--ink);outline:none}.field input:focus,.field select:focus{border-color:#6a91f4;box-shadow:0 0 0 3px #3267ed18}.auth-shell{min-height:100vh;display:grid;grid-template-columns:1fr 1fr;background:#fff}.auth-art{padding:55px;display:flex;flex-direction:column;justify-content:space-between;background:linear-gradient(145deg,#edf4ff,#f0fbf8);position:relative;overflow:hidden}.auth-art h1{font-size:clamp(34px,4vw,57px);line-height:1.08;letter-spacing:-2px;max-width:520px}.auth-art p{color:#64748b;max-width:400px}.orb{position:absolute;width:350px;height:350px;border-radius:50%;border:1px solid #3267ed25;right:-60px;bottom:-50px;box-shadow:0 0 0 35px #3267ed06,0 0 0 75px #3267ed06}.auth-form-wrap{display:grid;place-items:center;padding:35px 22px}.auth-form{width:min(410px,100%)}.auth-form h2{font-size:29px;letter-spacing:-1px;margin:0 0 6px}.switchline{margin-top:20px;text-align:center;color:var(--muted);font-size:13px}.text-button{background:none;color:var(--blue);font-weight:800;padding:0}.fineprint{font-size:11px;color:var(--muted);line-height:1.6}.notice{padding:12px 14px;background:#fff8e8;color:#8b631b;border:1px solid #f5e4b8;border-radius:12px;font-size:12px;margin:13px 0}.toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);background:#17263c;color:white;padding:12px 18px;border-radius:12px;z-index:20;box-shadow:var(--shadow);max-width:90vw}.mobile-nav{display:none}.pill{display:inline-flex;border-radius:8px;padding:4px 8px;background:#f0f4fa;color:#64748b;font-size:11px;font-weight:750}.support-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}.support-link{display:flex;gap:12px;align-items:center;text-decoration:none;color:var(--ink);padding:15px;border:1px solid var(--line);border-radius:14px}.support-icon{width:39px;height:39px;border-radius:12px;background:#e8f4ff;display:grid;place-items:center;font-size:20px}.divider{height:1px;background:var(--line);margin:20px 0}footer{text-align:center;color:#94a3b8;font-size:11px;padding:24px}
@media(max-width:850px){.layout{grid-template-columns:1fr;margin:20px auto;padding:0 15px}.sidebar{display:none}.mobile-nav{position:fixed;display:flex;bottom:0;left:0;right:0;background:#fff;border-top:1px solid var(--line);z-index:8;justify-content:space-around;padding:7px 5px calc(7px + env(safe-area-inset-bottom))}.mobile-nav .navbtn{flex-direction:column;gap:2px;padding:6px 4px;margin:0;width:25%;font-size:10px}.mobile-nav .navbtn span{font-size:18px}.mobile-nav.has-admin .navbtn{width:20%;font-size:9px}.mobile-nav.has-admin .navbtn span{font-size:17px}.content{padding-bottom:85px}.topbar{height:65px;padding:0 16px}.layout{margin-top:22px}.auth-shell{grid-template-columns:1fr}.auth-art{display:none}.stats{grid-template-columns:repeat(2,minmax(0,1fr))}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.title-row h1{font-size:25px}.card{padding:17px}.balance-hero{padding:20px}.balance-number{font-size:29px}}
@media(max-width:480px){.stats{gap:9px}.stat{padding:12px}.stat strong{font-size:17px}.stat-top{font-size:11px}.product-grid{grid-template-columns:1fr}.machine-art{height:105px}.invite-strip{align-items:flex-start;flex-direction:column}.tier-grid{gap:7px}.tier{padding:12px}.tier strong{font-size:23px}.balance-hero{align-items:flex-start;flex-direction:column}.support-grid{grid-template-columns:1fr}.title-row{align-items:flex-start}}
