:root { --ink: #111827; --muted: #5b6573; --line: #e2e6eb; --bg: #f2f4f7; --card: #fff; --brand: #0E6FD8; --bad: #b42318; --warn: #a15c07; --info: #2558a8; }
* { box-sizing: border-box; }
body { margin: 0; font: 14px/1.45 system-ui, -apple-system, "Segoe UI", sans-serif; background: var(--bg); color: var(--ink); }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
h1 { font-size: 22px; margin: 0; }
h2 { font-size: 15px; margin: 0; }
.muted { color: var(--muted); } .small { font-size: 12px; } .err { color: var(--bad); }
.app { display: grid; grid-template-columns: 220px 1fr; min-height: 100vh; }
.side { background: #0F253D; color: #d6dfea; display: flex; flex-direction: column; position: sticky; top: 0; height: 100vh; }
.brand { padding: 16px 18px 14px; font-weight: 800; font-size: 16px; letter-spacing: -.01em; color: #fff; display: flex; align-items: center; gap: 10px; }
.brand-sym { width: 34px; height: 34px; border-radius: 8px; background: #fff; padding: 5px; display: grid; place-items: center; flex: none; }
.brand-sym img { width: 100%; height: 100%; object-fit: contain; }
.login-logo { display: flex; align-items: center; justify-content: center; gap: 10px; font-weight: 800; font-size: 22px; letter-spacing: -.02em; color: #0F253D; margin-bottom: 4px; }
.login-logo img { height: 32px; }
.nav a { display: flex; justify-content: space-between; padding: 9px 18px; color: #c6d2e0; }
.nav a:hover { background: #ffffff10; text-decoration: none; }
.nav a.on { background: #ffffff1a; color: #fff; font-weight: 600; }
.cnt { background: var(--bad); color: #fff; border-radius: 99px; font-size: 11px; padding: 0 7px; }
.side-foot { margin-top: auto; padding: 14px 18px; border-top: 1px solid #ffffff1a; font-size: 12px; }
.side-foot button { margin-top: 6px; }
.content { padding: 24px 28px 60px; max-width: 1400px; width: 100%; }
.head { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.head p { margin: 4px 0 0; color: var(--muted); }
.back { display: inline-block; margin-bottom: 8px; font-size: 13px; }
.stats { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; margin-bottom: 18px; }
.stat { background: var(--card); border-radius: 10px; padding: 12px 14px; box-shadow: 0 1px 3px #0001; }
.stat span { font-size: 12px; color: var(--muted); } .stat b { display: block; font-size: 22px; } .stat small { color: var(--muted); }
.stat.warn b { color: var(--warn); } .stat.bad b { color: var(--bad); }
.card { background: var(--card); border-radius: 10px; box-shadow: 0 1px 3px #0001; margin-bottom: 18px; overflow: hidden; }
.card-h { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; border-bottom: 1px solid var(--line); gap: 10px; }
.card-b { padding: 14px 18px; }
.grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 18px; align-items: start; }
@media (max-width: 1000px) { .grid { grid-template-columns: 1fr; } .app { grid-template-columns: 1fr; } .side { position: static; height: auto; } }
.wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 9px 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
th { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; white-space: nowrap; }
tr.click { cursor: pointer; } tr.click:hover td { background: #f7f9f6; }
td.num, th.num { text-align: right; white-space: nowrap; }
.pill { display: inline-block; padding: 1px 9px; border-radius: 99px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.pill.trial { background: #fff1d6; color: #7a4a00; } .pill.active { background: #dcf3e4; color: #1f6f43; } .pill.suspended { background: #fde2df; color: #b42318; }
.pill.bad { background: #fde2df; color: var(--bad); } .pill.warn { background: #fff1d6; color: var(--warn); } .pill.info { background: #e3ecfa; color: var(--info); } .pill.gray { background: #eef0ec; color: var(--muted); }
.btn { font: inherit; padding: 7px 12px; border-radius: 7px; border: 1px solid #cdd3cb; background: #fff; cursor: pointer; white-space: nowrap; }
.btn:hover { background: #f4f6f3; }
.btn.primary { background: var(--brand); border-color: var(--brand); color: #fff; }
.btn.danger { color: var(--bad); border-color: #f0c4be; }
.btn.warn { color: var(--warn); border-color: #f0dcb8; background: #fff8ee; }
.btn.sm { padding: 4px 9px; font-size: 12px; }
input, select, textarea { font: inherit; padding: 7px 10px; border: 1px solid #cdd3cb; border-radius: 7px; background: #fff; color: inherit; }
textarea { width: 100%; resize: vertical; }
.f { display: flex; flex-direction: column; gap: 4px; } .f span { font-size: 12px; font-weight: 600; color: #3a423c; }
.form-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.inline-f { display: flex; gap: 8px; flex-wrap: wrap; padding: 14px 18px; border-top: 1px solid var(--line); }
.inline-f input { flex: 1 1 200px; }
.tabs { display: flex; gap: 2px; border-bottom: 1px solid var(--line); margin-bottom: 18px; overflow-x: auto; }
.tabs a { padding: 9px 14px; color: var(--muted); font-weight: 600; border-bottom: 2px solid transparent; white-space: nowrap; }
.tabs a.on { color: var(--brand); border-bottom-color: var(--brand); text-decoration: none; }
.list { list-style: none; margin: 0; padding: 0; }
.list li { padding: 10px 18px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; gap: 10px; }
.list li:last-child { border-bottom: 0; }
.tl { list-style: none; margin: 0; padding: 0; }
.tl li { display: grid; grid-template-columns: 90px 1fr auto; gap: 10px; padding: 9px 0; border-bottom: 1px dashed var(--line); }
.kv { display: grid; grid-template-columns: 140px 1fr; gap: 6px 12px; margin: 0; } .kv dt { color: var(--muted); } .kv dd { margin: 0; }
.empty { padding: 22px 18px; color: var(--muted); text-align: center; }
.note { background: #fff8ee; border: 1px solid #f0dcb8; border-radius: 8px; padding: 10px 12px; font-size: 13px; }
.linkbox { display: flex; gap: 8px; margin-top: 10px; } .linkbox input { flex: 1; }
.login { max-width: 340px; margin: 14vh auto; background: #fff; padding: 24px; border-radius: 12px; box-shadow: 0 2px 10px #0001; }
.login input { width: 100%; margin-bottom: 10px; }
.search { width: 320px; max-width: 100%; }
dialog { border: 0; border-radius: 12px; padding: 20px; width: min(480px, 92vw); box-shadow: 0 20px 60px #0004; }
dialog::backdrop { background: #0006; }
.tl .pill { align-self: start; justify-self: start; }
