/* Appliance Error Codes — plain, fast, system fonts only. */
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: #1c2430; background: #fff; line-height: 1.55;
}
.wrap { max-width: 780px; margin: 0 auto; padding: 0 16px; }
a { color: #0b5cad; }
a:hover { text-decoration: underline; }

.site-header { border-bottom: 1px solid #e2e6ec; padding: 12px 0; }
.site-header .wrap { display: flex; justify-content: space-between; align-items: center; }
.logo { font-weight: 700; font-size: 1.15rem; color: #1c2430; text-decoration: none; }
.site-header nav a { margin-left: 16px; text-decoration: none; }

main { padding: 20px 0 40px; }
h1 { font-size: 1.7rem; line-height: 1.25; margin: 0.4em 0 0.6em; }
h2 { font-size: 1.25rem; margin: 1.4em 0 0.5em; }
.crumbs { font-size: 0.9rem; color: #5a6572; margin-bottom: 8px; }
.crumbs a { color: #5a6572; }

.lookup {
  display: grid; gap: 12px; grid-template-columns: 1fr;
  background: #f4f7fa; border: 1px solid #dde4ec; border-radius: 10px; padding: 16px;
}
@media (min-width: 640px) { .lookup { grid-template-columns: 1fr 1fr 1fr auto; align-items: end; } }
.lookup label { display: grid; gap: 4px; font-weight: 600; font-size: 0.95rem; }
.lookup select, .lookup input {
  padding: 10px; font-size: 1rem; border: 1px solid #b9c4d0; border-radius: 6px; background: #fff; width: 100%;
}
.lookup button {
  padding: 11px 18px; font-size: 1rem; font-weight: 700; border: 0; border-radius: 6px;
  background: #0b5cad; color: #fff; cursor: pointer;
}
.lk-msg { grid-column: 1 / -1; margin: 0; color: #8a5a00; min-height: 1.2em; }

.banner { border-radius: 8px; padding: 12px 16px; margin: 16px 0; }
.banner p { margin: 4px 0 0; }
.banner-pro { background: #fdf0ec; border: 1px solid #e5b4a4; }
.banner-diy { background: #edf7ee; border: 1px solid #a9d3ae; }

.code-list, .card-list { list-style: none; padding: 0; }
.code-list li, .card-list li { padding: 8px 0; border-bottom: 1px solid #eef1f5; }
.chips { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-block; padding: 4px 12px; border: 1px solid #c8d3df; border-radius: 999px;
  text-decoration: none; background: #f7fafc;
}
.source { font-size: 0.9rem; color: #5a6572; }

.site-footer { border-top: 1px solid #e2e6ec; padding: 20px 0 32px; font-size: 0.88rem; color: #5a6572; }
