:root {
  --bg: #0d0f14; --bg-card: #151922; --border: #2a3144; --text: #e8ecf4;
  --muted: #8b95a8; --accent: #3d9ee8; --accent-soft: #6eb5ff; --link: #6eb5ff;
  --success: #3ecf8e; --error: #ff7b7b; --mono: Consolas, monospace; --radius: 10px;
}
* { box-sizing: border-box; }
body { margin: 0; font-family: system-ui, sans-serif; background: var(--bg); color: var(--text); min-height: 100vh; }
a { color: var(--link); }
.container { width: min(920px, 94vw); margin: 0 auto; padding: 0 0 3rem; }
.site-header { background: #101828; border-bottom: 1px solid var(--border); margin-bottom: 1.5rem; }
.header-inner { display: flex; align-items: center; flex-wrap: wrap; gap: 1rem; padding: 1rem 0; }
.brand { display: flex; gap: 0.5rem; align-items: center; color: var(--text); font-weight: 700; text-decoration: none; }
.nav-links { display: flex; gap: 1rem; margin-left: auto; flex-wrap: wrap; }
.nav-links a { color: var(--muted); text-decoration: none; font-weight: 500; }
.nav-links a:hover { color: var(--text); }
.hero h1 { margin: 0 0 0.4rem; }
.hero-sub { color: var(--muted); margin: 0 0 1.25rem; line-height: 1.5; }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1rem; margin-bottom: 1.2rem; }
.stat-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 1rem; }
.stat-card.highlight { border-color: var(--accent); }
.stat-label { color: var(--muted); font-size: 0.78rem; text-transform: uppercase; }
.stat-value { font-size: 1.35rem; font-weight: 700; margin-top: 0.25rem; }
.unit { font-size: 0.85rem; color: var(--muted); font-weight: 500; }
.panel { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 1rem; overflow: hidden; }
.panel-warn { border-color: #5a4020; }
.panel-success { border-color: #2a4a35; }
.panel-head { padding: 1rem; border-bottom: 1px solid var(--border); }
.panel-head h2 { margin: 0; font-size: 1rem; }
.panel-body { padding: 1rem; }
.stack { display: flex; flex-direction: column; gap: 0.85rem; align-items: flex-start; }
.stack-form { display: flex; flex-direction: column; gap: 1rem; max-width: 480px; width: 100%; }
.stack-form label { display: flex; flex-direction: column; gap: 0.35rem; color: var(--muted); font-size: 0.9rem; }
.stack-form input {
  background: #0a0c10; border: 1px solid var(--border); color: var(--text);
  border-radius: var(--radius); padding: 0.65rem 0.8rem; font-size: 1rem;
}
.address-box {
  display: block; width: 100%; background: #0a0c10; border: 1px solid var(--border);
  border-radius: var(--radius); padding: 0.85rem; font-family: var(--mono); font-size: 0.88rem;
  word-break: break-all;
}
.btn-row { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.btn {
  background: var(--accent); color: #fff; border: none; border-radius: var(--radius);
  padding: 0.6rem 1rem; font-weight: 600; cursor: pointer; text-decoration: none; display: inline-block;
}
.btn:hover { background: var(--accent-soft); color: #fff; text-decoration: none; }
.btn-ghost { background: transparent; border: 1px solid var(--border); color: var(--text); }
.mono { font-family: var(--mono); }
.wrap { word-break: break-all; }
.muted { color: var(--muted); }
.small { font-size: 0.85rem; }
.flash { padding: 0.75rem 1rem; border-radius: var(--radius); margin-bottom: 1rem; }
.flash-success { background: #1a3328; color: var(--success); }
.flash-error { background: #331a1a; color: var(--error); }
.table-wrap { overflow-x: auto; width: 100%; }
table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
th, td { padding: 0.65rem 1rem; border-bottom: 1px solid var(--border); text-align: left; }
th { color: var(--muted); font-size: 0.75rem; text-transform: uppercase; }
.site-footer { border-top: 1px solid var(--border); padding: 1rem 0; color: var(--muted); font-size: 0.85rem; margin-top: 2rem; }