.buyer { padding-block: clamp(2rem, 5vw, 4.5rem); }
.buyer h1 { max-width: 19ch; }
.buyer .lede { max-width: 65ch; font-size: 1.12rem; }
.buyer .market { color: var(--muted); max-width: 72ch; }
.buyer .planner-form { margin-bottom: 2rem; }
.buyer fieldset, .buyer .model-card {
  margin: 0 0 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  padding: 1.1rem;
  min-inline-size: 0;
}
.buyer legend { font-weight: 700; padding-inline: .5rem; }
.buyer .field-grid, .buyer .model-grid { display: grid; gap: .9rem; }
.buyer .field-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)); align-items: end; }
.buyer .model-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr)); }
.buyer label { display: grid; gap: .35rem; font-weight: 600; line-height: 1.35; }
.buyer input, .buyer select, .buyer button {
  min-height: 44px;
  width: 100%;
  min-width: 0;
  padding: .5rem .65rem;
  border: 1px solid var(--muted);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
}
.buyer button, .buyer .example-link {
  display: inline-flex; align-items: center; width: auto; min-height: 44px;
  padding: .55rem .9rem; border-radius: 8px; border: 1px solid var(--dark);
  color: var(--white); background: var(--dark); font-weight: 650;
}
.buyer .action { display: flex; flex-wrap: wrap; align-items: end; gap: 1rem; }
.buyer .help { margin: .7rem 0 0; color: var(--muted); font-size: .95rem; }
.buyer .result-area { border-top: 1px solid var(--line); padding-top: 1.25rem; }
.buyer [data-group] { margin-top: 2rem; }
.buyer .model-card { border-top: 3px solid var(--teal); overflow-wrap: anywhere; }
.buyer [data-group="confirm"] .model-card, .buyer [data-group="budgetUnknown"] .model-card { border-top-color: #a26e26; }
.buyer [data-group="excluded"] .model-card { border-top-color: var(--line); }
.buyer dt { color: var(--muted); font-size: .88rem; }
.buyer dd { margin: 0 0 .4rem; }
.buyer .model-links { display: flex; flex-direction: column; align-items: start; }
.buyer .model-links a, .buyer summary { display: inline-flex; align-items: center; min-height: 44px; }
.buyer summary { display: list-item; cursor: pointer; padding-block: .45rem; }
.buyer .example { background: var(--wash); border-radius: var(--radius); padding: 1.2rem; margin-block: 2rem; }

.focused-results article { margin: 1rem 0; }
.focused-results h2 { margin-top: .2rem; }
.focused-results dl { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: .35rem 1rem; }
.focused-results dd { margin: 0; overflow-wrap: anywhere; }
.focused-results .model-links { display: flex; flex-wrap: wrap; gap: .5rem 1rem; }
.tool-list { padding-inline-start: 1.35rem; }
.tool-list li { margin-block: .5rem; }
.buyer-breadcrumb { display: flex; flex-wrap: wrap; gap: .3rem .65rem; padding: 0; list-style: none; }
.buyer-breadcrumb li+li::before { content: "/"; margin-inline-end: .65rem; }

.buyer h1 { overflow-wrap: anywhere; }
.buyer .action { margin-top: 1rem; }
.buyer .focused-results .model-links { flex-direction: row; }
.buyer .focused-results [data-status="excluded"] { border-top-color: var(--line); }
.buyer .focused-results [data-status="confirm"] { border-top-color: #a26e26; }

.leaf-tool-groups {
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(min(100%,18rem),1fr));
  gap:1rem;
  margin-block:1rem;
}
.leaf-tool-directory section {
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:1rem;
  background:var(--white);
}
.leaf-tool-groups h2 {font-size:1.1rem;margin:0 0 .6rem}
.leaf-tool-groups .tool-list {list-style:none;padding:0;margin:0}
.leaf-tool-groups li {overflow-wrap:anywhere}
footer .leaf-tool-groups a {color:inherit}
footer .footer-inner > nav:has(.leaf-tool-groups) {width:100%}
