:root{--surface:#0b1727;--surface-2:#0e2034;--surface-3:#132942;--stroke:rgba(151,177,210,.16);--accent:#7560f5;--accent-2:#9a7cff;--good:#35d39a;--warn:#f5b84b;--bad:#ff6982}
body{background:radial-gradient(circle at 88% -10%,rgba(105,82,233,.24),transparent 36%),radial-gradient(circle at 4% 12%,rgba(31,154,196,.11),transparent 25%),#06101c;background-attachment:fixed}
.shell{width:min(1480px,calc(100% - 44px));padding-top:22px}
header{position:relative;margin-bottom:22px;padding:18px 20px;border:1px solid var(--stroke);border-radius:22px;background:rgba(8,20,34,.76);box-shadow:0 20px 60px rgba(0,0,0,.2);backdrop-filter:blur(18px)}
.brand span{box-shadow:0 10px 28px rgba(96,76,222,.32)}
.header-title h1{font-size:27px;letter-spacing:-.025em}.header-title p{margin:5px 0 0;color:var(--muted);font-size:12px}.header-title small{color:#8cd7ff;font-weight:900}
.header-actions button,.header-actions .admin-link{min-height:40px;border-radius:12px}.header-actions #create-license{background:linear-gradient(135deg,#735cf1,#9b78ff);box-shadow:0 9px 25px rgba(105,78,225,.24)}
.stats{grid-template-columns:repeat(7,minmax(130px,1fr));gap:10px}.stat{position:relative;min-height:112px;padding:17px 17px 15px;overflow:hidden;border-radius:17px;background:linear-gradient(150deg,rgba(18,40,65,.98),rgba(8,22,38,.98));box-shadow:0 13px 34px rgba(0,0,0,.12)}.stat:after{content:"";position:absolute;right:-18px;top:-22px;width:70px;height:70px;border-radius:50%;background:rgba(121,96,245,.1)}.stat strong{font-size:32px;letter-spacing:-.04em}.stat span{display:block;margin-top:9px;font-size:11px;line-height:1.35}.stat:nth-child(2),.stat:nth-child(6){border-color:rgba(245,184,75,.25)}.stat:nth-child(5){border-color:rgba(53,211,154,.28)}
.owner-notice{border-color:rgba(53,211,154,.2);background:rgba(14,44,47,.48)}
.control-center{display:grid;grid-template-columns:minmax(230px,.65fr) 1.35fr;gap:22px;align-items:center;margin-top:14px;padding:20px 22px;border-radius:20px;background:linear-gradient(135deg,rgba(33,31,78,.94),rgba(11,29,48,.96));box-shadow:0 18px 48px rgba(0,0,0,.15)}.control-center small{color:#8cd7ff;font-size:10px;font-weight:900;letter-spacing:.15em}.control-center h2{margin:5px 0 4px;font-size:21px}.control-center p{margin:0;color:var(--muted);font-size:12px}.control-actions{display:grid;grid-template-columns:repeat(4,minmax(145px,1fr));gap:9px}.control-actions button{min-height:48px;padding:10px 13px;border-radius:13px;background:rgba(19,43,69,.9);font-size:12px}.control-actions .primary-action{background:linear-gradient(135deg,#725af0,#9c78ff)}
.launch-guide{grid-template-columns:repeat(3,1fr);gap:10px}.launch-guide article{border-radius:17px;background:linear-gradient(145deg,rgba(13,31,50,.94),rgba(7,20,34,.94))}.launch-guide p{min-height:50px}
.table-pager{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:16px 14px;border-top:1px solid rgba(132,160,204,.18);color:#9fb0c9}.table-pager div{display:flex;align-items:center;gap:10px}.table-pager button{min-width:108px}.table-pager button:disabled{opacity:.38;cursor:not-allowed}
.toolbar{position:sticky;top:8px;z-index:22;padding:11px;border:1px solid var(--stroke);border-radius:16px;background:rgba(6,17,30,.9);box-shadow:0 12px 34px rgba(0,0,0,.22);backdrop-filter:blur(14px)}.toolbar input{max-width:none;min-height:44px;border-radius:12px;background:#081725}
.tabs{position:sticky;top:76px;z-index:21;margin:12px 0;padding:7px;border:1px solid var(--stroke);border-radius:16px;background:rgba(7,18,31,.9);backdrop-filter:blur(14px);overflow:auto}.tabs button{min-height:42px;flex:1;border:0;border-radius:11px;white-space:nowrap}.tabs button.active{background:linear-gradient(135deg,#372f78,#5947c7);box-shadow:0 8px 20px rgba(52,37,135,.22)}
.panel.card{padding:0;border-radius:19px;background:linear-gradient(145deg,rgba(13,31,50,.98),rgba(7,19,33,.98));box-shadow:0 20px 55px rgba(0,0,0,.16)}table{min-width:960px}th{position:sticky;top:0;z-index:2;padding:14px 15px;background:#0c1d30;color:#8eadd0}td{padding:15px}tbody tr{transition:background .16s}tbody tr:hover{background:rgba(119,96,245,.055)}tbody tr:last-child td{border-bottom:0}
.badge{font-weight:800}.badge.green{box-shadow:inset 0 0 0 1px rgba(53,211,154,.14)}.actions{gap:6px}.actions button{min-height:36px;border-radius:10px}.actions .success{order:-5}.actions .delete-action{opacity:.68}.actions .delete-action:hover{opacity:1}
.empty{min-height:220px;display:grid;place-items:center;font-size:15px}.system-line{background:rgba(9,27,44,.72)}
dialog{border-radius:22px;box-shadow:0 30px 90px rgba(0,0,0,.52)}dialog input{min-height:44px}.dialog-actions button{min-height:43px}
#toast{z-index:100;box-shadow:0 18px 60px rgba(0,0,0,.35)}
@media(max-width:1180px){.stats{grid-template-columns:repeat(4,1fr)}.control-actions{grid-template-columns:1fr 1fr}}
@media(max-width:800px){.shell{width:calc(100% - 20px)}header{grid-template-columns:1fr;padding:16px}.header-actions{justify-content:flex-start}.header-actions>*{flex:1}.stats{grid-template-columns:1fr 1fr}.control-center{grid-template-columns:1fr}.launch-guide{grid-template-columns:1fr}.toolbar{position:static;display:grid}.toolbar input{width:100%}.tabs{top:6px}.control-actions{grid-template-columns:1fr 1fr}.table-pager{align-items:stretch;flex-direction:column}.table-pager div{justify-content:space-between}}
@media(max-width:480px){.stats{grid-template-columns:1fr 1fr}.stat{min-height:98px;padding:14px}.stat strong{font-size:27px}.control-actions{grid-template-columns:1fr}.control-center{padding:17px}.tabs button{flex:0 0 auto}.header-actions>*{flex:1 1 45%}}
