:root{
  --bg:#1e1e2f; --panel:#26263a; --panel2:#2c2c3c; --muted:#a9acc0; --fg:#e6e6ee; --acc:#4CAF50; --warn:#f39c12;
  --br:12px;
}
*{box-sizing:border-box}
body{margin:0; font-family:Inter, Arial, sans-serif; background:var(--bg); color:var(--fg);}
header{padding:18px 20px 8px 20px}
h1{margin:0 0 6px 0; font-size:22px; letter-spacing:.3px}
.sub{color:var(--muted); font-size:13px}
.site-logo{position:fixed; top:12px; right:12px; width:72px; height:auto; z-index:1000; filter:drop-shadow(0 2px 6px rgba(0,0,0,.6))}
.wrap{padding:10px 20px 24px 20px}
.row{display:flex; flex-wrap:wrap; gap:10px; align-items:center}
.card{background:var(--panel); border-radius:var(--br); padding:12px; margin:10px 0}
.grid-2{display:grid; grid-template-columns:1fr 1fr; gap:12px}
.grid-3{display:grid; grid-template-columns:repeat(3,1fr); gap:12px}
label{font-size:12px; color:var(--muted); display:block; margin-bottom:4px}
input[type=text], input[type=password], select, textarea{
  width:100%; background:var(--panel2); color:var(--fg); border:1px solid #3a3a56; border-radius:8px; padding:8px 10px; font-size:14px;
}
textarea{min-height:120px; resize:vertical}
.btn{background:#333; color:#fff; border:none; border-radius:8px; padding:8px 12px; font-size:13px; cursor:pointer}
.btn.primary{background:var(--acc)}
.btn.warn{background:var(--warn); color:#1b1406}
.btn.ghost{background:transparent; border:1px solid #3a3a56}
.small{font-size:12px}
.tabs{display:flex; flex-wrap:wrap; gap:6px; margin:10px 0 0 0}
.tab-button{padding:8px 12px; background:#333; color:#fff; border:none; cursor:pointer; border-radius:8px}
.tab-button.active{background:var(--acc)}
.tab-content{display:none; margin-top:12px}
.tab-content.active{display:block}
.subtabs .tab-content{margin-top:8px}
.command-box{background:var(--panel2); padding:10px; border-radius:10px; margin:8px 0; display:flex; justify-content:space-between; align-items:center; gap:10px}
code{white-space:pre-wrap; word-break:break-word; font-family:ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace; font-size:13px}
.copy-btn{padding:6px 10px; font-size:12px; background:var(--acc); color:#fff; border:none; border-radius:6px; cursor:pointer; flex:0 0 auto}
.two-col{display:grid; grid-template-columns:1fr 360px; gap:16px}
.sticky{position:sticky; top:86px}
.muted{color:var(--muted)}
.kvs{display:grid; grid-template-columns:repeat(4, minmax(180px,1fr)); gap:10px}
.kvs .field{min-width:180px}
.right-actions{display:flex; gap:8px; align-items:center}
.hl{color:#c3f3c8}
.sep{height:1px; background:#3a3a56; margin:10px 0}
.badge{display:inline-block; padding:2px 8px; border-radius:999px; background:#3a3a56; color:#e9ebff; font-size:11px}
.list{max-height:260px; overflow:auto; border:1px solid #3a3a56; border-radius:8px}
table{width:100%; border-collapse:collapse; font-size:12px}
th,td{border-bottom:1px solid #3a3a56; padding:6px 8px; text-align:left}
th{position:sticky; top:0; background:#2b2b40}
.danger{color:#ffb3b3}
@media (max-width: 1100px) {.two-col{grid-template-columns:1fr}}
@media (max-width: 560px) {.kvs{grid-template-columns:repeat(2, minmax(160px,1fr))}}
