:root {
  --bg: #f5f7fa;
  --surface: #ffffff;
  --ink: #1a2332;
  --muted: #5b6b7c;
  --brand: #0b5cab;
  --brand-dark: #084a8a;
  --accent: #e8f1fa;
  --warn: #8a5a00;
  --warn-bg: #fff6e0;
  --ok: #0d6b3c;
  --ok-bg: #e6f6ee;
  --border: #d5dde7;
  --radius: 10px;
  --shadow: 0 1px 2px rgba(16, 24, 40, 0.06);
  --font: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: var(--font);
  background: linear-gradient(180deg, #eef3f8 0%, var(--bg) 180px);
  color: var(--ink);
  min-height: 100vh;
}
a { color: var(--brand); text-decoration: none; }
.topbar {
  display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; justify-content: space-between;
  padding: 0.85rem 1rem; background: var(--surface); border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 10;
}
.brand a { font-weight: 800; letter-spacing: 0.04em; color: var(--brand); font-size: 1.15rem; }
.brand .product { display: block; color: var(--muted); font-size: 0.85rem; margin-top: 0.1rem; }
.nav { display: flex; gap: 0.85rem; align-items: center; flex-wrap: wrap; }
.nav a, .linkish { font-weight: 600; }
button.linkish { background: none; border: 0; color: var(--brand); font: inherit; font-weight: 600; cursor: pointer; padding: 0; }
.container { max-width: 720px; margin: 0 auto; padding: 1rem 1rem 3rem; }
.banner { padding: 0.75rem 1rem; border-radius: var(--radius); margin-bottom: 0.75rem; font-size: 0.92rem; }
.banner.info { background: var(--accent); color: var(--brand-dark); }
.banner.warn { background: var(--warn-bg); color: var(--warn); }
.banner.ok { background: var(--ok-bg); color: var(--ok); }
h1 { font-size: 1.45rem; margin: 0.4rem 0 1rem; }
h2 { font-size: 1.1rem; margin: 1.2rem 0 0.6rem; }
.stack { display: flex; flex-direction: column; gap: 0.75rem; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0.85rem 1.1rem; border-radius: var(--radius);
  border: 1px solid transparent; font-size: 1.05rem; font-weight: 700; cursor: pointer;
  text-align: center; width: 100%;
}
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); }
.btn-secondary { background: var(--surface); color: var(--brand); border-color: var(--brand); }
.btn-ghost { background: transparent; color: var(--muted); border-color: var(--border); }
.list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.65rem; }
.list a.row, .row {
  display: block; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1rem; box-shadow: var(--shadow);
}
.row .title { font-weight: 700; }
.row .meta { color: var(--muted); font-size: 0.9rem; margin-top: 0.35rem; }
.badge {
  display: inline-block; padding: 0.15rem 0.5rem; border-radius: 6px;
  background: var(--accent); color: var(--brand-dark); font-size: 0.78rem; font-weight: 700;
}
.field { display: flex; flex-direction: column; gap: 0.35rem; margin-bottom: 0.85rem; }
.field label { font-weight: 600; font-size: 0.95rem; }
.field input, .field select {
  min-height: 48px; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 0.65rem 0.75rem; font-size: 1rem; background: var(--surface);
}
.errors { color: #9b1c1c; margin-bottom: 0.75rem; }
.section-grid { display: grid; gap: 0.65rem; grid-template-columns: 1fr 1fr; }
@media (max-width: 520px) { .section-grid { grid-template-columns: 1fr; } }
.placeholder-box {
  background: var(--surface); border: 1px dashed var(--border); border-radius: var(--radius);
  padding: 1.25rem; color: var(--muted);
}
.inline { display: inline; }
.meta { color: var(--muted); }
