:root {
  --bg: #f3f5f8;
  --elev: #ffffff;
  --card: #ffffff;
  --line: #dde2ea;
  --text: #1a1f27;
  --muted: #5c6673;
  --accent: #3b5bdb;
  --ok: #0f8f62;
  --danger: #d64545;
  --font: "Segoe UI Variable", "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; background: var(--bg); color: var(--text); font-family: var(--font); }
.shell { display: grid; grid-template-columns: 280px 1fr; min-height: 100%; }
aside {
  background: #e8eeff;
  border-right: 1px solid var(--line);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
}
.brand { font-weight: 650; letter-spacing: .02em; display: flex; align-items: center; gap: 10px; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); display: inline-block; }
.aside-copy { color: var(--muted); line-height: 1.55; font-size: 14px; margin-top: 28px; }
.aside-meta { margin-top: auto; color: var(--muted); font-size: 12px; }
main { padding: 36px 44px 48px; }
header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 28px; }
h1 { margin: 0; font-size: 28px; }
h2 { margin: 0; font-size: 16px; }
.sub { color: var(--muted); margin: 8px 0 0; }
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px;
  margin-bottom: 18px;
}
.card-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
label { display: block; color: var(--muted); font-size: 12px; margin: 12px 0 6px; }
input {
  width: 100%;
  background: #ffffff;
  border: 1px solid var(--line);
  color: var(--text);
  border-radius: 10px;
  padding: 10px 12px;
  font: inherit;
}
button {
  margin-top: 16px;
  background: var(--accent);
  color: #ffffff;
  border: 0;
  border-radius: 10px;
  padding: 10px 16px;
  font-weight: 650;
  cursor: pointer;
}
.ghost { background: #eef1f5; color: var(--text); }
.hidden { display: none !important; }
.error { color: var(--danger); min-height: 1.2em; font-size: 13px; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 18px; }
.stat { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; }
.stat span { font-size: 28px; font-weight: 700; display: block; }
.stat label { margin: 6px 0 0; }
.list { display: flex; flex-direction: column; gap: 8px; }
.row {
  display: flex; justify-content: space-between; gap: 12px;
  background: #f4f6f9; border-radius: 12px; padding: 12px 14px;
}
.row b { font-weight: 600; }
.row small { color: var(--muted); }
.ok { color: var(--ok); }
.quiet .row { background: transparent; border: 1px solid var(--line); }
@media (max-width: 860px) {
  .shell { grid-template-columns: 1fr; }
  aside { min-height: auto; }
}
