*{box-sizing:border-box}
body{margin:0;background:#FFFFFF;color:#1D1D1F;font-family:Inter,-apple-system,system-ui,sans-serif;-webkit-font-smoothing:antialiased;display:flex;flex-direction:column;min-height:100vh}
main{flex:1}
a{color:#6D28D9}a:hover{color:#1D1D1F}
h1,h2,h3{font-family:'Inter Tight',sans-serif;letter-spacing:-0.035em;margin:0}
.wrap{max-width:1100px;margin:0 auto;padding:0 22px}
.nav{position:sticky;top:0;z-index:5;background:rgba(255,255,255,.82);backdrop-filter:saturate(180%) blur(20px);-webkit-backdrop-filter:saturate(180%) blur(20px);border-bottom:1px solid rgba(29,29,31,.06)}
.nav-in{min-height:52px;display:flex;align-items:center;justify-content:space-between;gap:12px;max-width:1100px}
.brand{display:flex;align-items:center;gap:8px;text-decoration:none;color:#1D1D1F;font-family:'Inter Tight',sans-serif;font-weight:800;font-size:17px;letter-spacing:-.02em}
.brand img{width:26px;height:26px;border-radius:50%}
.nav nav{display:flex;align-items:center;gap:22px;font-size:13px}
.nav nav a{color:#424245;text-decoration:none}
.inline{display:inline;margin:0}
.link{background:none;border:0;padding:0;font:inherit;color:#6D28D9;cursor:pointer;min-height:32px}
.link:hover{color:#1D1D1F}
.eyebrow{display:block;font-size:15px;font-weight:600;color:#7C3AED;margin-bottom:10px}
.muted{color:#6E6E73}.small{font-size:14px}
.pill{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:0 28px;border-radius:999px;background:#7C3AED;color:#fff;border:0;font:inherit;font-size:16px;font-weight:500;cursor:pointer;transition:background .25s}
.pill:hover{background:#1D1D1F}
.auth{display:flex;justify-content:center;padding:72px 16px 96px;background:#F6F3FD;min-height:calc(100vh - 140px)}
.auth-card{width:100%;max-width:440px;background:#fff;border-radius:28px;padding:44px 36px;box-shadow:0 30px 80px rgba(46,16,101,.10);align-self:flex-start}
.auth-card h1{font-size:34px;line-height:1.05;margin-bottom:10px}
.form{display:flex;flex-direction:column;gap:8px;margin-top:22px}
.form label{font-size:14px;font-weight:500;margin-top:8px}
.form input{min-height:48px;border:1.5px solid #E4DFEE;border-radius:14px;padding:0 16px;font:inherit;font-size:16px;color:#1D1D1F;background:#fff}
.form input:focus{outline:none;border-color:#7C3AED;box-shadow:0 0 0 4px rgba(124,58,237,.15)}
.form .pill{margin-top:16px}
.alert{margin-top:16px;padding:12px 14px;border-radius:12px;background:#FDECEE;color:#9F1239;font-size:14px}
.hello{padding-top:56px;padding-bottom:24px}
.hello h1{font-size:clamp(40px,5vw,64px);line-height:1}
.section-title{font-size:28px;margin:40px 0 18px}
.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:14px}
.card{background:#F6F3FD;border-radius:24px;overflow:hidden;display:flex;flex-direction:column}
.card-media{aspect-ratio:16/10;display:flex;align-items:center;justify-content:center;padding:22px;background:linear-gradient(180deg,#F1EBFE,#F6F3FD)}
.card-media img{max-width:100%;max-height:100%;border-radius:10px;filter:drop-shadow(0 18px 30px rgba(46,16,101,.18))}
.ph{width:88px;height:88px;border-radius:22px;background:#E9DDFE;color:#6D28D9;display:flex;align-items:center;justify-content:center;font-family:'Inter Tight';font-weight:800;font-size:30px}
.card-body{padding:18px 22px 22px;display:flex;flex-direction:column;gap:10px}
.card-body h3{font-size:24px}
.badges{display:flex;gap:6px;flex-wrap:wrap}
.badge{font-size:12px;font-weight:600;border-radius:999px;padding:4px 10px;background:#1D1D1F;color:#fff}
.badge-trial{background:#E0E7FF;color:#3730A3}
.badge-rent_to_own{background:#FCE7F3;color:#9D174D}
.lic{background:#fff;border-radius:14px;padding:12px 14px;display:grid;grid-template-columns:1fr auto;gap:4px 10px;align-items:center}
.lbl{grid-column:1/-1;font-size:12px;color:#6E6E73;font-weight:500}
.key{display:flex;gap:12px;align-items:center;flex-wrap:wrap}
.key code,.mono{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:13px;word-break:break-all}
.status{font-size:12px;font-weight:600;color:#047857}
.status-revoked,.status-expired,.status-cancelled{color:#B91C1C}
.empty{background:#F6F3FD;border-radius:24px;padding:32px}
.acct-head{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:20px;padding-top:40px;padding-bottom:24px}
.acct-head h1{font-size:32px;line-height:1.1}
.acct-head p{margin:6px 0 0}
.stats{display:flex;gap:10px}
.stat{background:#F6F3FD;border-radius:14px;padding:10px 16px;min-width:92px}
.stat strong{display:block;font-family:'Inter Tight',sans-serif;font-size:22px;line-height:1.1}
.stat span{font-size:12px;color:#6E6E73}
.plist{list-style:none;margin:0;padding:0;border:1px solid #ECE8F3;border-radius:18px;overflow:hidden}
.prow{display:grid;grid-template-columns:56px 1fr auto;gap:4px 14px;align-items:center;padding:12px 16px;border-top:1px solid #F1EDF8;background:#fff}
.prow:first-child{border-top:0}
.picon{width:56px;height:56px;border-radius:13px;background:#F4EFFE;display:flex;align-items:center;justify-content:center;overflow:hidden;box-shadow:0 1px 2px rgba(29,29,31,.08),0 0 0 1px rgba(29,29,31,.05)}
.picon img{width:100%;height:100%;object-fit:cover}
.picon span{font-family:'Inter Tight';font-weight:800;color:#6D28D9}
.pmain{min-width:0}
.pname{font-weight:600;font-size:16px;line-height:1.2}
.ptype{font-size:13px;color:#6E6E73;margin-top:4px;display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.type{font-size:12px;font-weight:600;border-radius:999px;padding:3px 9px}
.type-perpetual{background:#ECFDF5;color:#047857}
.type-trial{background:#EEF2FF;color:#3730A3}
.type-rent_to_own{background:#FDF2F8;color:#9D174D}
.rto-text{font-weight:600;color:#1D1D1F}
.overdue{font-size:12px;font-weight:600;color:#B91C1C}
.rto{margin-top:8px;max-width:360px}
.bar{height:6px;border-radius:999px;background:#F1EDF8;overflow:hidden}
.bar span{display:block;height:100%;background:#7C3AED;border-radius:999px}
.rto-meta{font-size:12px;color:#6E6E73;margin-top:6px}
.pdet{grid-column:3;justify-self:end}
.pdet summary{cursor:pointer;font-size:13px;color:#6D28D9;list-style:none;min-height:32px;display:flex;align-items:center}
.pdet summary::-webkit-details-marker{display:none}
.pdet summary::after{content:"\203A";margin-left:6px;transition:transform .2s;display:inline-block}
.pdet[open] summary::after{transform:rotate(90deg)}
.pdet[open]{grid-column:1/-1;justify-self:stretch}
.pdet[open] summary{justify-content:flex-end}
.dlist{background:#FBFAFE;border-radius:12px;margin-top:6px}
.drow{display:grid;grid-template-columns:90px 1fr auto;gap:12px;align-items:center;padding:9px 14px;border-top:1px solid #F1EDF8;font-size:13px}
.drow:first-child{border-top:0}
.dl{color:#6E6E73;font-size:12px}
.drow .key code{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:12px;word-break:break-all;margin-right:8px}
.drow .link{font-size:12px;margin-right:8px;min-height:24px}
@media (max-width:600px){.prow{grid-template-columns:48px 1fr}.picon{width:48px;height:48px;border-radius:11px}.pdet{grid-column:1/-1;justify-self:start}.drow{grid-template-columns:1fr auto}.dl{grid-column:1/-1}.stats{width:100%}.stat{flex:1}}
.table-wrap{overflow-x:auto;border-radius:18px;border:1px solid #ECE8F3;margin-bottom:64px}
table{width:100%;border-collapse:collapse;font-size:14px}
th,td{text-align:left;padding:12px 16px;border-bottom:1px solid #F1EDF8;white-space:nowrap}
th{font-weight:600;color:#6E6E73;background:#FBFAFE}
.r{text-align:right}
.foot{background:#F7F5FB;color:#6E6E73;font-size:12px;padding:24px 0}