.dust-matcher-layout {
  display: grid;
  grid-template-columns: minmax(16rem,.85fr) minmax(0,1.4fr);
  gap: 2rem;
  align-items: start;
}
.dust-panel {
  border: 1px solid var(--line,#ddd);
  border-radius: 1rem;
  padding: 1.4rem;
  background: var(--surface,#f6f5f1);
}
.dust-panel form {
  display: grid;
  gap: .75rem;
}
.dust-panel label {
  font-weight: 700;
}
.dust-panel select {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  padding: .75rem;
  border: 1px solid #777;
  border-radius: .4rem;
  background: #fff;
  color: #18251f;
  font: inherit;
}
.dust-panel button,.dust-matcher-layout>section>button {
  min-height: 44px;
}
.dust-panel select:disabled {
  opacity: .65;
}
.dust-panel select:focus-visible,.dust-matcher-layout button:focus-visible,.dust-reference summary:focus-visible {
  outline: 3px solid #b15c28;
  outline-offset: 3px;
}
.dust-match-card {
  border: 1px solid var(--line,#d6d8d2);
  border-left: 4px solid #32684b;
  padding: 1.2rem;
  margin: 1rem 0;
  border-radius: .5rem;
}
.dust-match-card--partial {
  border-left-color: #9a7137;
}
.dust-match-card h3 {
  margin-top: .5rem;
}
.dust-match-card p:last-child {
  margin-bottom: 0;
}
.dust-measuring {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}
.dust-measuring figure {
  margin: 0;
}
.dust-measuring img {
  display: block;
  max-width: 100%;
  height: auto;
}
.dust-measuring figcaption {
  font-size: .85rem;
  color: #4a554e;
  margin-top: .6rem;
}
.dust-reference-grid {
  display: grid;
  gap: 1.4rem;
}
.dust-reference {
  border: 1px solid var(--line,#d6d8d2);
  padding: 1.4rem;
  border-radius: .8rem;
  scroll-margin-top: 6rem;
  min-width: 0;
}
.dust-reference h3 {
  margin: .6rem 0;
}
.dust-reference h4 {
  margin: 1rem 0 .5rem;
}
.dust-endpoints {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  padding: 0 0 .5rem;
}
.dust-endpoints p {
  margin-top: 0;
}
.dust-reference summary {
  cursor: pointer;
  min-height: 44px;
  padding: .7rem 0;
  font-weight: 700;
}
.dust-table-wrap {
  overflow-x: auto;
  max-width: 100%;
}
.dust-table-wrap table {
  border-collapse: collapse;
  width: 100%;
  font-size: .95rem;
}
.dust-table-wrap th,.dust-table-wrap td {
  text-align: left;
  border-bottom: 1px solid #ddd;
  padding: .65rem;
}
.dust-table-wrap th {
  width: 65%;
}
.dust-table-wrap caption {
  text-align: left;
  padding: .5rem 0;
  font-weight: 700;
}
.dust-sources,.dust-limitations {
  padding-left: 1.25rem;
}
.dust-sources li,.dust-limitations li,.dust-coverage li {
  margin: .65rem 0;
  overflow-wrap: anywhere;
}
.dust-sources .small {
  white-space: normal;
}
.dust-coverage {
  border-top: 1px solid var(--line,#ddd);
  padding-top: 2rem;
}
#dust-status {
  max-width: 65ch;
}
#dust-results:empty {
  display: none;
}
.dust-reference:target {
  outline: 3px solid #b15c28;
  outline-offset: 3px;
}
@media (max-width:760px) {
  .dust-matcher-layout,.dust-measuring {
    grid-template-columns: minmax(0,1fr);
  }
  .dust-matcher-layout {
    gap: 1.4rem;
  }
  .dust-endpoints {
    grid-template-columns: minmax(0,1fr);
    gap: 0;
  }
  .dust-panel,.dust-reference {
    padding: 1rem;
  }
  .dust-table-wrap th,.dust-table-wrap td {
    padding: .5rem .25rem;
  }
}
@media print {
  .dust-matcher-layout {
    display: none;
  }
  .dust-reference {
    break-inside: avoid;
  }
  .dust-measuring {
    grid-template-columns: 1fr 1fr;
  }
}
.dust-table-wrap .dust-comparison {
  min-width: 66rem;
}
.dust-table-wrap .dust-comparison th {
  width: auto;
  vertical-align: top;
}
.dust-comparison td {
  vertical-align: top;
}
.dust-comparison th:first-child {
  min-width: 7rem;
}
.dust-comparison th:nth-child(2),.dust-comparison th:nth-child(3) {
  min-width: 12rem;
}
.dust-comparison th:last-child {
  min-width: 12rem;
}
.dust-comparison-wrap:focus-visible {
  outline: 3px solid #b15c28;
  outline-offset: 3px;
}
.dust-connection-mode {
  padding: .6rem .8rem;
  background: #eef2eb;
  border-radius: .3rem;
  font-size: .95rem;
}
