:root { color-scheme: light; }
body { margin: 0; font-family: Segoe UI, Arial, sans-serif; background: #f4f6fa; color: #10243e; }
.container { max-width: 1200px; margin: 0 auto; padding: 24px; }
.topnav { display:flex; gap:14px; margin-bottom:14px; align-items:center; }
.topnav a { text-decoration:none; color:#10243e; font-weight:600; }
.topnav .meta { margin-left:auto; font-size:13px; opacity:.75; }
.header { margin-bottom:16px; display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap; }
.grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(200px,1fr)); gap:12px; }
.card { background:#fff; border-radius:10px; padding:14px; box-shadow:0 1px 6px rgba(0,0,0,.08); }
.label { font-size:12px; opacity:.7; }
.value { font-size:30px; font-weight:700; margin-top:6px; }
.value-sm { font-size:24px; }
.error { background:#fee; border:1px solid #f5b5b5; color:#7d0000; padding:10px; border-radius:8px; margin:12px 0; }
.success { background:#e8f9ef; border:1px solid #9edab3; color:#0f5a2a; padding:10px; border-radius:8px; margin:12px 0; }

.u-mb14 { margin-bottom:14px; }
.u-mt0 { margin-top:0; }
.u-mt10 { margin-top:10px; }
.u-mt12 { margin-top:12px; }
.u-mt-neg2 { margin-top:-2px; }
.u-mb12 { margin-bottom:12px; }
.u-table-wrap { overflow:auto; }
.u-table { width:100%; border-collapse:collapse; }
.u-table-760 { min-width:760px; }
.u-table-860 { min-width:860px; }
.u-table-980 { min-width:980px; }
.u-th { text-align:left; padding:10px; border-bottom:1px solid #e6ecf4; }
.u-td { padding:10px; border-bottom:1px solid #f0f3f8; }
.u-empty { padding:12px; }
.u-pager { margin-top:12px; display:flex; gap:8px; flex-wrap:wrap; }

.u-form-inline { display:flex; gap:10px; flex-wrap:wrap; align-items:end; }
.u-form-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(220px,1fr)); gap:10px; align-items:end; }
.u-form-grid-tight { display:grid; grid-template-columns:repeat(auto-fit,minmax(170px,1fr)); gap:8px; }
.u-col-full { grid-column:1 / -1; }
.u-grid-230 { grid-template-columns:repeat(auto-fit,minmax(230px,1fr)); }
.u-grid-220 { display:grid; grid-template-columns:repeat(auto-fit,minmax(220px,1fr)); gap:8px; }
.u-actions-row { margin-top:10px; display:flex; justify-content:space-between; align-items:center; gap:8px; flex-wrap:wrap; }

.u-input, .u-select, .u-textarea {
  display:block; width:auto; margin-top:6px; padding:10px; border:1px solid #cfd6e2; border-radius:8px;
}
.u-input-sm, .u-select-sm, .u-textarea-sm {
  display:block; width: auto; margin-top:6px; padding:8px; border:1px solid #cfd6e2; border-radius:8px;
}
.u-search-input { display:block; width:280px; max-width:100%; margin-top:6px; padding:10px; border:1px solid #cfd6e2; border-radius:8px; }
.u-select-180 { display:block; width:180px; margin-top:6px; padding:10px; border:1px solid #cfd6e2; border-radius:8px; }
.u-select-220 { display:block; width:220px; margin-top:6px; padding:10px; border:1px solid #cfd6e2; border-radius:8px; }
.u-file { background:#fff; }
.u-inline { display:inline; }
.u-help { display:block; margin-top:6px; font-size:12px; color:#5c6b7b; }
.u-help-error { display:block; margin-top:6px; font-size:12px; color:#8f1f1f; min-height:16px; }
.u-input-invalid { border-color:#c84a4a; background:#fff8f8; }
.u-badge { display:inline-flex; align-items:center; gap:6px; padding:4px 8px; border-radius:999px; font-size:12px; font-weight:600; }
.u-badge-success { background:#e8f9ef; color:#0f5a2a; }
.u-badge-muted { background:#eef2f7; color:#526274; }
.u-badge-warning { background:#fff1d8; color:#8a5600; }
.u-badge-info { background:#e7f0ff; color:#234a87; }
.u-badge-primary { background:#10243e; color:#fff; }

.btn { border:0; border-radius:8px; cursor:pointer; }
.btn-primary { background:#10243e; color:#fff; padding:10px 14px; }
.btn-primary-sm { background:#10243e; color:#fff; padding:8px 12px; }
.btn-danger { background:#8f1f1f; color:#fff; padding:10px 14px; }
.btn-danger-sm { background:#8f1f1f; color:#fff; border-radius:6px; padding:6px 8px; }
.btn-danger-sm2 { background:#8f1f1f; color:#fff; padding:8px 12px; }
.btn-ml8 { margin-left:8px; }

.auth-card { max-width:420px; }
.auth-input-login { width:100%; margin:6px 0 14px; padding:10px; border:1px solid #cfd6e2; border-radius:8px; }
.auth-input-pass { width:100%; margin:6px 0 16px; padding:10px; border:1px solid #cfd6e2; border-radius:8px; }

.release-card { border:1px solid #e6ecf4; border-radius:8px; padding:12px; margin-bottom:10px; }
.release-header { display:flex; justify-content:space-between; align-items:flex-start; gap:12px; margin-bottom:12px; flex-wrap:wrap; }
.release-badges { display:flex; gap:6px; flex-wrap:wrap; margin-top:8px; }
.release-meta { display:flex; flex-direction:column; gap:4px; font-size:12px; color:#5c6b7b; }
.plugin-meta-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(220px,1fr)); gap:10px; }
.plugin-meta-item { display:flex; flex-direction:column; gap:6px; padding:10px; border:1px solid #e6ecf4; border-radius:8px; background:#fbfcfe; }
.u-mb4 { margin-bottom:4px; }
.entitlement-item { display:flex; gap:8px; align-items:center; background:#fff; border:1px solid #e6ecf4; border-radius:8px; padding:8px; }
