/* ── Base ─────────────────────────────────────────────────── */
* { box-sizing: border-box; font-family: Segoe UI, system-ui, Arial, sans-serif }

body  { margin: 0; background: #0d1b2a; color: #d8e8f8; line-height: 1.6 }

/* ── Top bar ─────────────────────────────────────────────── */
.top-bar {
  background: #091420;
  color: #d8e8f8;
  padding: 12px 28px;
  display: flex;
  align-items: center;
  gap: 20px;
  border-bottom: 1px solid #1e3a5c;
}
.back-btn {
  color: #4a9eff;
  text-decoration: none;
  font-size: 14px;
  white-space: nowrap;
}
.back-btn:hover { color: #a8d4ff }
.top-bar-logo {
  width: 32px;
  height: 32px;
  border-radius: 7px;
  flex-shrink: 0;
}
.top-bar-title {
  font-size: 15px;
  font-weight: 600;
  opacity: 0.6;
}

/* ── Page layout ─────────────────────────────────────────── */
main {
  max-width: 780px;
  margin: 32px auto;
  padding: 0 24px 60px;
}

h1 {
  margin: 0 0 6px;
  font-size: 28px;
  color: #d8e8f8;
}
.intro {
  margin: 0 0 28px;
  font-size: 15px;
  color: #7a9bbf;
}

/* ── Step sections ───────────────────────────────────────── */
section {
  background: #132237;
  border-radius: 8px;
  padding: 22px 26px;
  margin-bottom: 20px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.35);
}
.ref-section { border-top: 3px solid #4a9eff }

.step-label {
  display: inline-block;
  background: #4a9eff;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  padding: 3px 10px;
  border-radius: 4px;
  margin-bottom: 8px;
}

section h2 {
  margin: 0 0 10px;
  font-size: 18px;
  color: #d8e8f8;
}
section h3 {
  margin: 20px 0 8px;
  font-size: 14px;
  color: #7ab8e8;
  text-transform: uppercase;
  letter-spacing: .04em;
  border-bottom: 1px solid #1e3a5c;
  padding-bottom: 4px;
}

section p  { margin: 0 0 10px }
section ul { margin: 0 0 10px; padding-left: 20px }
section li { margin-bottom: 5px }

/* ── Tip boxes ───────────────────────────────────────────── */
.tip {
  background: #0f2540;
  border-left: 3px solid #4a9eff;
  border-radius: 0 5px 5px 0;
  padding: 8px 12px;
  font-size: 13px;
  color: #a8d0f8;
  margin: 10px 0;
}

/* ── Field reference tables ──────────────────────────────── */
.field-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  margin: 8px 0 10px;
}
.field-table th {
  background: #0f2035;
  color: #7ab8e8;
  padding: 7px 12px;
  text-align: left;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.field-table td {
  padding: 8px 12px;
  border-bottom: 1px solid #1e3a5c;
  vertical-align: top;
  color: #c8ddf0;
}
.field-table tr:last-child td { border-bottom: none }
.field-table tr:nth-child(even) td { background: #0f2035 }
.field-table td:first-child {
  white-space: nowrap;
  font-weight: 600;
  color: #a8d4ff;
  width: 170px;
}

/* ── Site footer ─────────────────────────────────────────── */
.site-footer {
  max-width: 780px;
  margin: 24px auto 32px;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 4px 12px;
  font-size: 13px;
  color: #7a9bbf;
  border-top: 1px solid #1e3a5c;
  border-bottom: 1px solid #1e3a5c;
}
.site-footer a       { color: #4a9eff; text-decoration: none; white-space: nowrap }
.site-footer a:hover { text-decoration: underline }
.footer-logo         { width: 16px; height: 16px; border-radius: 3px; flex-shrink: 0 }
.footer-brand        { font-weight: 600; color: #d8e8f8; white-space: nowrap }
.footer-sep          { color: #1e3a5c; user-select: none }
