:root { color-scheme: dark; font-family: Inter, Segoe UI, sans-serif; background: #040812; color: #dcecff; }
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; background: radial-gradient(circle at 50% -20%, #0a3260 0, #061020 32%, #030711 72%); }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
.shell { width: min(1120px, calc(100% - 32px)); margin: 0 auto; padding: 34px 0 60px; }
header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.eyebrow { color: #1e90ff; font-size: 10px; font-weight: 800; letter-spacing: 2px; }
h1 { margin: 6px 0 0; font-size: 26px; } h2 { margin: 0; font-size: 17px; } p { margin: 5px 0 0; color: #7891ae; font-size: 12px; }
.status { display: flex; align-items: center; gap: 8px; color: #7aa4cf; font-size: 10px; font-weight: 700; letter-spacing: 1px; }
.status span { width: 7px; height: 7px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 10px #22c55e; }
.panel { padding: 20px; margin-bottom: 16px; border: 1px solid rgba(30,144,255,.18); border-radius: 14px; background: rgba(7,15,30,.88); box-shadow: 0 18px 50px rgba(0,0,0,.25); }
.auth-panel { width: min(420px, 100%); margin: 9vh auto 0; }
.auth-panel h2 { margin-top: 7px; }
.auth-form { display: grid; gap: 11px; margin-top: 17px; }
.bot-honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; opacity: 0 !important; pointer-events: none !important; }
.auth-link { margin-top: 12px; width: 100%; }
.admin-tabs { display: flex; gap: 8px; margin-bottom: 16px; padding: 6px; border: 1px solid rgba(30,144,255,.16); border-radius: 12px; background: rgba(4,10,21,.78); }.admin-tab { min-width: 180px; color: #6f89a8; border-color: transparent; background: transparent; }.admin-tab:hover { color: #b9dcff; background: rgba(30,144,255,.07); }.admin-tab.active { color: white; border-color: rgba(30,144,255,.42); background: linear-gradient(135deg, rgba(23,104,192,.52), rgba(30,144,255,.18)); box-shadow: 0 0 18px rgba(30,144,255,.09); }
.create-panel { display: grid; grid-template-columns: 220px 1fr; gap: 24px; }
#create-form { display: grid; grid-template-columns: 1.2fr 1.25fr 1fr 105px 145px; gap: 10px; align-items: end; }
.key-input-row { display: grid; grid-template-columns: minmax(0, 1fr) 82px; gap: 6px; }.key-input-row button { min-height: 38px; padding: 0 8px; font-size: 8px; }
label { display: grid; gap: 6px; color: #6f89a8; font-size: 9px; font-weight: 800; letter-spacing: 1px; }
input, textarea { width: 100%; padding: 0 11px; color: #dcecff; outline: none; border: 1px solid #183958; border-radius: 8px; background: #040b17; }
input { height: 38px; } textarea { min-height: 78px; padding-top: 10px; resize: vertical; }
input:focus, textarea:focus { border-color: #1e90ff; box-shadow: 0 0 0 3px rgba(30,144,255,.09); }
button { min-height: 36px; padding: 0 13px; color: white; border: 1px solid #258ee9; border-radius: 8px; background: linear-gradient(135deg, #1768c0, #1e90ff); font-size: 10px; font-weight: 800; letter-spacing: .7px; }
button:hover { filter: brightness(1.12); }
button:disabled { cursor: default; opacity: .42; filter: none; }
.secondary { color: #91b8df; border-color: #24415f; background: #0a1728; }
.danger { color: #fda4af; border-color: rgba(244,63,94,.3); background: rgba(244,63,94,.08); }
.list-heading, .license-top, .actions { display: flex; align-items: center; justify-content: space-between; }
.list-tools { display: flex; align-items: center; gap: 8px; }.list-tools input { width: 260px; }
.license-list { display: grid; gap: 10px; margin-top: 16px; }
.license-card { padding: 15px; border: 1px solid #142c46; border-radius: 11px; background: rgba(3,9,19,.75); }
.license-key-box { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 13px; padding: 10px 11px; border: 1px solid rgba(30,144,255,.18); border-radius: 8px; background: rgba(30,144,255,.045); }.license-key-box > div { min-width: 0; display: grid; gap: 4px; }.license-key-box span { color: #66809c; font-size: 8px; font-weight: 900; letter-spacing: 1.1px; }.license-key-box code { color: #b8dcff; font-size: 11px; overflow-wrap: anywhere; user-select: text; }.license-key-box button { flex: 0 0 auto; min-height: 29px; }
.customer-name { font-size: 15px; font-weight: 800; letter-spacing: .5px; }.key-hint { margin-top: 4px; color: #526d89; font: 10px Consolas, monospace; }
.badge { padding: 5px 8px; border-radius: 999px; font-size: 8px; font-weight: 900; letter-spacing: 1px; }.badge.active { color: #86efac; background: rgba(34,197,94,.1); border: 1px solid rgba(34,197,94,.25); }.badge.inactive { color: #fda4af; background: rgba(244,63,94,.08); border: 1px solid rgba(244,63,94,.22); }
.license-fields { display: grid; grid-template-columns: 1fr 1fr 130px 100px; gap: 10px; margin: 14px 0; }.device-count { display: grid; align-content: center; gap: 6px; color: #6f89a8; font-size: 9px; font-weight: 800; letter-spacing: 1px; }.device-count strong { color: #9ecbfa; font-size: 14px; }
.duration-buttons { display: flex; gap: 4px; }.duration-buttons button { min-height: 23px; flex: 1; padding: 0 5px; color: #79bfff; border-color: rgba(30,144,255,.22); background: rgba(30,144,255,.07); font-size: 7px; white-space: nowrap; }
.end-of-day-note { color: #4f6c89; font-size: 7px; font-weight: 700; letter-spacing: .65px; }
.hwid-list { margin: 0 0 13px; padding: 11px; border: 1px solid #102a42; border-radius: 8px; background: #030914; }.hwid-heading { margin-bottom: 7px; color: #66809c; font-size: 8px; font-weight: 900; letter-spacing: 1.2px; }.hwid-row { display: grid; gap: 4px; padding: 7px 0; border-top: 1px solid #0d2236; }.hwid-row:first-of-type { border-top: 0; }.hwid-row code { color: #8dc8ff; font-size: 10px; overflow-wrap: anywhere; user-select: text; }.hwid-row span, .no-hwid { color: #526d89; font-size: 9px; }
.actions { justify-content: flex-start; gap: 8px; border-top: 1px solid #11263c; padding-top: 12px; }.actions button { min-height: 30px; }
.actions .delete-account { margin-left: auto; color: #fecdd3; border-color: rgba(244,63,94,.46); background: rgba(159,18,57,.18); }
.message { margin-top: 14px; padding: 10px; border-radius: 8px; font-size: 12px; }.message.success { color: #86efac; background: rgba(34,197,94,.08); }.message.error { color: #fda4af; background: rgba(244,63,94,.08); }
.release-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }.release-summary { display: flex; gap: 8px; }.release-summary span { padding: 7px 10px; border: 1px solid rgba(250,204,21,.28); border-radius: 999px; color: #facc15; background: rgba(250,204,21,.06); font-size: 9px; font-weight: 800; letter-spacing: .8px; }
.release-form { display: grid; grid-template-columns: 120px 1fr 1.2fr 160px 160px; gap: 10px; align-items: end; margin-top: 18px; }.release-file-label input { padding: 7px; }.publish-check { display: flex; align-items: center; height: 38px; gap: 8px; padding: 0 10px; border: 1px solid #183958; border-radius: 8px; background: #040b17; }.publish-check input { width: 14px; height: 14px; }
.upload-progress { position: relative; height: 28px; margin-top: 12px; overflow: hidden; border: 1px solid #173653; border-radius: 8px; background: #040b17; }.upload-progress > div { height: 100%; width: 0; background: linear-gradient(90deg, #1768c0, #1e90ff); transition: width .15s ease; }.upload-progress span { position: absolute; inset: 0; display: grid; place-items: center; color: white; font-size: 9px; font-weight: 800; letter-spacing: .7px; text-shadow: 0 1px 4px #000; }
.release-list { display: grid; gap: 10px; margin-top: 14px; }.release-card { display: grid; grid-template-columns: 1fr auto; gap: 10px 18px; padding: 14px; border: 1px solid #142c46; border-radius: 11px; background: rgba(3,9,19,.75); }.release-card-main { display: flex; align-items: center; gap: 11px; }.star-button { width: 36px; min-height: 36px; padding: 0; color: #64748b; border-color: #26384d; background: #09111c; font-size: 18px; }.star-button.star-active { color: #facc15; border-color: rgba(250,204,21,.38); background: rgba(250,204,21,.08); box-shadow: 0 0 16px rgba(250,204,21,.09); }.release-version { color: #dcecff; font-size: 15px; font-weight: 900; }.release-meta { margin-top: 3px; color: #526d89; font-size: 9px; }.release-badges { display: flex; gap: 6px; }.release-badge { align-self: start; padding: 5px 8px; border-radius: 999px; font-size: 8px; font-weight: 900; letter-spacing: .8px; }.release-badge.active { color: #fde047; border: 1px solid rgba(250,204,21,.25); background: rgba(250,204,21,.08); }.release-badge.stored { color: #7a94b0; border: 1px solid #213a55; background: #081522; }.release-card ul { grid-column: 1 / -1; margin: 0; padding-left: 19px; color: #7891ae; font-size: 11px; line-height: 1.55; }.release-actions { grid-column: 1 / -1; display: flex; gap: 8px; border-top: 1px solid #10263b; padding-top: 10px; }.release-actions button { min-height: 30px; }
.audit-list { display: grid; gap: 9px; margin-top: 16px; }.audit-card { padding: 13px; border: 1px solid #142c46; border-radius: 10px; background: rgba(3,9,19,.75); }.audit-card > div:first-child { display: flex; align-items: center; justify-content: space-between; gap: 12px; }.audit-card strong { color: #b8dcff; font-size: 12px; }.audit-meta { margin-top: 6px; color: #607b98; font-size: 9px; }.audit-card code { display: block; margin-top: 8px; color: #7891ae; font-size: 9px; overflow-wrap: anywhere; user-select: text; }
.hidden { display: none !important; }.empty { padding: 30px; color: #647d99; text-align: center; }
@media (max-width: 900px) { .create-panel { grid-template-columns: 1fr; } #create-form, .release-form { grid-template-columns: 1fr 1fr; }.release-notes-label { grid-column: 1 / -1; }.license-fields { grid-template-columns: 1fr 1fr; }.list-heading, .release-heading { align-items: flex-start; gap: 12px; flex-direction: column; }.list-tools, .list-tools input { width: 100%; } }
