.amg-engineering { scroll-margin-top: 110px; }
.amg-engineering h2 { margin-top: 0; }
.amg-table table { border-collapse: collapse; width: 100%; table-layout: fixed; }
.amg-table caption { text-align: left; font-weight: 650; padding: 0 0 .75rem; }
.amg-table th, .amg-table td {
  padding: .85rem 1rem; border: 1px solid #dbded8;
  text-align: left; vertical-align: top; overflow-wrap: anywhere;
}
.amg-table thead th { background: #203e36; color: white; }
.amg-table thead th:first-child { width: 25%; }
.amg-table tbody th { background: #f4f0e8; }
.amg-wall, .amg-processing { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 1.5rem; }
.amg-processing { margin-bottom: 1.5rem; }
.amg-processing > p { margin: 0; }
.amg-engineering figure { margin: 0; }
.amg-engineering figure img { display: block; width: 100%; height: auto; border-radius: 12px; }
.amg-engineering figcaption { padding-top: .65rem; font-size: .92rem; }
.amg-wall-guide { grid-column: 1 / -1; }
.amg-wall ol { margin: 0; padding-inline-start: 1.5rem; }
.amg-wall li + li { margin-top: .65rem; }
.amg-resource { margin-top: 1rem; padding: 1rem 1.2rem; background: #eef1e9; border-radius: 10px; }
.amg-resource p { margin: .7rem 0; }
.amg-scope-inputs { min-width: 0; padding: .9rem; border: 1px solid #c9d2c7; border-radius: 8px; }
.amg-scope-inputs summary { font-weight: 650; cursor: pointer; }
.amg-scope-inputs[open] { display: grid; gap: 1rem; }
.amg-scope-inputs label { display: grid; gap: .45rem; min-width: 0; }
.amg-scope-inputs input, .amg-scope-inputs textarea { width: 100%; min-width: 0; }
.amg-scope-inputs summary:focus-visible { outline: 3px solid #397dab; outline-offset: 4px; }
@media (max-width: 720px) {
  .amg-wall, .amg-processing { grid-template-columns: 1fr; gap: 1rem; }
  .amg-table th, .amg-table td { padding: .55rem .4rem; }
}
