:root { font-family: "Microsoft YaHei", "PingFang SC", system-ui, sans-serif; color: #20242c; background: #f4f5f7; }
* { box-sizing: border-box; }
body { margin: 0; }
main { width: min(1120px, calc(100% - 32px)); margin: 0 auto; padding: 42px 0 70px; }
header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 24px; }
.eyebrow { color: #f45434; font-size: 11px; font-weight: 800; letter-spacing: .14em; }
h1 { margin: 5px 0 9px; font-size: 31px; }
h2 { margin: 0 0 6px; font-size: 18px; }
header p, .panel p, .login-card p { color: #747a85; }
.login-card { width: min(430px, 100%); padding: 26px; margin: 70px auto; border: 1px solid #e3e6eb; border-radius: 18px; background: #fff; box-shadow: 0 15px 45px rgba(31, 35, 45, .07); }
input, select { height: 42px; padding: 0 12px; border: 1px solid #d8dce3; border-radius: 9px; background: #fff; font: inherit; outline: none; }
input:focus, select:focus { border-color: #fa684a; box-shadow: 0 0 0 3px rgba(250, 93, 59, .1); }
.login-card input, .login-card button { width: 100%; margin-top: 12px; }
button { height: 40px; padding: 0 16px; border: 0; border-radius: 9px; font-weight: 700; cursor: pointer; }
.primary { color: #fff; background: linear-gradient(135deg, #ff6b3f, #fa3f25); }
.ghost { color: #424852; background: #e9ecf0; }
.warning { color: #885100; background: #fff0c7; }
.danger { color: #b42318; background: #fee9e7; }
.message { min-height: 20px; margin-top: 11px; color: #b42318; font-size: 13px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 15px; }
.stats div, .panel { padding: 21px; border: 1px solid #e4e7ec; border-radius: 15px; background: #fff; }
.stats span, .stats strong { display: block; }
.stats span { color: #7e848e; font-size: 12px; }
.stats strong { margin-top: 7px; font-size: 25px; }
.panel { margin: 15px 0; }
.create-panel { display: grid; grid-template-columns: 1fr 260px 220px auto; gap: 12px; align-items: center; }
.create-panel p { margin: 0; font-size: 12px; }
.expiry-control { display: grid; gap: 8px; }
.expiry-control select, .expiry-control input { width: 100%; }
.panel-title { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 16px; }
.panel-title p { margin: 0; font-size: 12px; }
.license-list, .event-list { display: grid; gap: 10px; }
.license-card { display: flex; justify-content: space-between; gap: 20px; padding: 15px; border: 1px solid #e8eaee; border-radius: 12px; background: #fafbfc; }
.license-main { display: flex; gap: 12px; align-items: flex-start; }
.status-pill { width: 9px; height: 9px; margin-top: 7px; border-radius: 50%; background: #a8aeb8; box-shadow: 0 0 0 4px rgba(168,174,184,.15); }
.status-pill.active { background: #13a66a; box-shadow: 0 0 0 4px rgba(19,166,106,.14); }
.status-pill.paused { background: #e59b18; box-shadow: 0 0 0 4px rgba(229,155,24,.14); }
.status-pill.revoked { background: #e5483d; box-shadow: 0 0 0 4px rgba(229,72,61,.14); }
.license-card h3 { margin: 0 0 5px; font-size: 15px; }
.license-card code { color: #e44326; font-size: 13px; }
.license-card .meta { margin: 5px 0 0; font-size: 11px; }
.license-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 7px; }
.license-actions button { height: 34px; padding: 0 11px; font-size: 12px; }
.license-actions button:disabled { cursor: default; opacity: .58; }
.event-item { display: grid; grid-template-columns: 155px 140px 1fr; gap: 10px; padding: 10px 5px; border-bottom: 1px solid #eceef1; color: #59606a; font-size: 12px; }
@media (max-width: 800px) { .create-panel { grid-template-columns: 1fr; } .license-card { flex-direction: column; } .license-actions { justify-content: flex-start; } .stats { grid-template-columns: 1fr; } }
