.eyebrow { margin: 0 0 6px; color: var(--green-dark); font-size: .82rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 9px 16px;
  border: 2px solid var(--green);
  border-radius: 5px;
  background: var(--green);
  color: #fff;
  font-weight: 750;
  text-decoration: none;
}
.button:hover { background: var(--green-dark); color: #fff; }
.button.secondary { border-color: var(--line); background: #fff; color: var(--ink); }
.button.danger { border-color: var(--red); background: var(--red); color: #fff; }
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 14px; margin: 18px 0 30px; }
.card, .panel {
  display: block;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
.card { color: var(--ink); text-decoration: none; }
.card:hover { border-color: var(--green); box-shadow: 0 3px 12px #20302012; }
.card h3 { margin: 8px 0; }
.card p { margin: 0; color: var(--muted); }
.card-icon { font-size: 1.6rem; }
.panel { margin: 16px 0; }
.panel h2:first-child, .panel h3:first-child { margin-top: 0; }
.callout { margin: 22px 0; padding: 16px; border-left: 5px solid var(--blue); border-radius: 3px; background: var(--blue-soft); }
.callout.warning { border-color: #a76516; background: var(--earth-soft); }
.callout.danger { border-color: var(--red); background: var(--red-soft); color: #63231f; }
.callout.info { border-color: var(--blue); background: var(--blue-soft); }
.table-wrap { overflow-x: auto; margin: 16px 0; border: 1px solid var(--line); border-radius: 6px; background: #fff; }
table { width: 100%; min-width: 600px; border-collapse: collapse; }
th, td { padding: 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
th { background: var(--green-soft); }
tr:last-child td { border-bottom: 0; }
details { margin: 10px 0; padding: 12px 15px; border: 1px solid var(--line); border-radius: 5px; background: #fff; }
summary { min-height: 32px; cursor: pointer; font-weight: 750; }
details p { margin-bottom: 4px; }
.search-field { display: flex; align-items: center; gap: 10px; max-width: 620px; min-height: 52px; padding: 0 12px; border: 1px solid #8c9788; border-radius: 5px; background: #fff; }
.search-field input { width: 100%; min-height: 48px; border: 0; outline: 0; background: transparent; color: var(--ink); }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 14px; }
.form-card { display: grid; align-content: start; gap: 10px; padding: 18px; border: 1px solid var(--line); border-radius: 7px; background: #fff; }
.form-card h2, .form-card h3 { margin: 0; }
.form-card label { font-weight: 700; }
.form-card input, .form-card select { width: 100%; min-height: 48px; padding: 8px 11px; border: 1px solid #7b8578; border-radius: 4px; background: #fff; color: var(--ink); }
.result { min-height: 28px; padding: 10px; border-radius: 4px; background: var(--green-soft); font-weight: 750; }
.result:empty { display: none; }
.checklist { display: grid; gap: 9px; }
.checklist label { display: flex; align-items: flex-start; gap: 12px; min-height: 48px; padding: 8px 0; border-bottom: 1px solid #e8ece5; }
.checklist input { width: 24px; height: 24px; flex: 0 0 24px; accent-color: var(--green); }
.term-list { display: grid; gap: 10px; }
.term-list article { padding: 13px 15px; border-bottom: 1px solid var(--line); background: #fff; }
.term-list h3 { margin: 0 0 4px; }
.term-list p { margin: 0; }
.progress { color: var(--green-dark); font-weight: 750; }
.empty-state { padding: 15px; color: var(--muted); }
@media (max-width: 520px) {
  .container { width: min(100% - 24px, var(--content-width)); padding-top: 20px; }
  .hero { padding: 22px 18px; }
  .section-heading { align-items: flex-start; flex-direction: column; }
  .site-footer { align-items: flex-start; flex-direction: column; }
}
