.asphalt-title {
  display: grid;
  gap: 8px;
}
.asphalt-title .lede { margin: 0; }
.review-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  color: #52616a;
  font-size: 13px;
  font-weight: 700;
}
.review-strip span:first-child::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 7px;
  border-radius: 50%;
  background: #16735f;
}
.asphalt-workbench {
  display: grid;
  grid-template-columns: minmax(360px, 1fr) minmax(310px, .82fr);
  overflow: hidden;
  border: 1px solid #cfd7db;
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}
.asphalt-input-panel,
.asphalt-output-panel { padding: 22px; }
.asphalt-input-panel { border-right: 1px solid #d9e0e3; }
.asphalt-output-panel {
  background: #f4f7f6;
  align-content: start;
}
.asphalt-panel-head,
.asphalt-actions,
.vertical-hub-hero,
.vertical-hub-directory .section-head,
.vertical-tool-card,
.source-list {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.asphalt-panel-head { margin-bottom: 16px; }
.asphalt-panel-head h2 { font-size: 22px; }
.asphalt-panel-head .eyebrow,
.asphalt-panel-head h2 { margin: 0; }
.asphalt-segmented {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0 0 12px;
  padding: 3px;
  border: 1px solid #cfd7db;
  border-radius: 7px;
  background: #edf1f2;
}
.asphalt-segmented label { display: block; cursor: pointer; }
.asphalt-segmented input {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  opacity: 0;
}
.asphalt-segmented span {
  display: grid;
  min-height: 38px;
  place-items: center;
  border-radius: 5px;
  color: #506068;
  font-size: 14px;
  font-weight: 800;
}
.asphalt-segmented input:checked + span {
  background: #fff;
  color: #0c5144;
  box-shadow: 0 1px 3px rgba(25, 40, 46, .13);
}
.asphalt-segmented input:focus-visible + span { outline: 2px solid #16735f; outline-offset: 1px; }
.asphalt-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 15px 0;
}
.asphalt-presets button {
  min-height: 34px;
  border: 1px solid #ccd5d9;
  border-radius: 6px;
  background: #fff;
  color: #334047;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}
.asphalt-presets button:hover { border-color: #16735f; color: #0c5144; }
.asphalt-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 14px;
}
.asphalt-fields label {
  position: relative;
  color: #2b353a;
  font-size: 14px;
  font-weight: 800;
}
.asphalt-fields input {
  width: 100%;
  min-height: 45px;
  box-sizing: border-box;
  border: 1px solid #bdc8cd;
  border-radius: 6px;
  padding: 10px 12px;
  background: #fff;
  color: #1f2529;
  font: inherit;
}
.asphalt-fields input:focus { border-color: #16735f; outline: 3px solid rgba(22, 115, 95, .12); }
.asphalt-fields small {
  min-height: 34px;
  color: #65737b;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
}
.field-unit {
  color: #6b777e;
  font-size: 12px;
  font-weight: 700;
}
.asphalt-validation,
.asphalt-action-status {
  min-height: 20px;
  margin: 10px 0 0;
  color: #0c5144;
  font-size: 13px;
  font-weight: 800;
}
.asphalt-validation.is-error { color: #a23b32; }
.asphalt-result-hero {
  border-bottom: 1px solid #d5dddf;
  padding: 2px 0 19px;
}
.asphalt-result-hero > span {
  display: block;
  color: #52616a;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}
.asphalt-result-hero strong {
  display: block;
  margin: 7px 0;
  color: #174c40;
  font-size: 34px;
  line-height: 1.1;
}
.asphalt-result-hero p {
  margin: 0;
  color: #5d6970;
  font-size: 13px;
  line-height: 1.5;
}
.asphalt-result-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-bottom: 1px solid #d5dddf;
}
.asphalt-result-grid article {
  min-height: 84px;
  padding: 15px 11px;
  border-bottom: 1px solid #d5dddf;
}
.asphalt-result-grid article:nth-child(odd) { border-right: 1px solid #d5dddf; padding-left: 0; }
.asphalt-result-grid article:nth-child(even) { padding-right: 0; }
.asphalt-result-grid article:nth-last-child(-n+2) { border-bottom: 0; }
.asphalt-result-grid span,
.asphalt-result-grid strong { display: block; }
.asphalt-result-grid span { color: #65737b; font-size: 12px; font-weight: 700; }
.asphalt-result-grid strong { margin-top: 6px; color: #202a2f; font-size: 18px; overflow-wrap: anywhere; }
.asphalt-actions { justify-content: flex-start; margin-top: 18px; }
.asphalt-visuals,
.asphalt-reference-grid,
.vertical-guide-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.asphalt-visuals figure { margin: 0; }
.asphalt-visuals figcaption { margin-top: 8px; color: #65737b; font-size: 12px; }
.asphalt-plan {
  position: relative;
  min-height: 150px;
  border: 8px solid #333b3f;
  background: repeating-linear-gradient(115deg, #4a5154 0, #4a5154 3px, #444b4e 3px, #444b4e 7px);
}
.plan-length,
.plan-width {
  position: absolute;
  padding: 3px 6px;
  background: #fff;
  color: #273136;
  font-size: 12px;
  font-weight: 900;
}
.plan-length { bottom: -29px; left: 50%; transform: translateX(-50%); }
.plan-width { right: -5px; top: 50%; transform: translateY(-50%); }
.asphalt-section { padding-top: 42px; }
.asphalt-layer {
  display: grid;
  min-height: 56px;
  place-items: center;
  border-bottom: 5px solid #22282b;
  background: #3e4649;
  color: #fff;
  font-size: 13px;
  font-weight: 850;
}
.asphalt-base-layer {
  display: grid;
  min-height: 62px;
  place-items: center;
  background: repeating-linear-gradient(135deg, #d9c39a 0, #d9c39a 8px, #c8ad7c 8px, #c8ad7c 14px);
  color: #473b28;
  font-weight: 800;
}
.asphalt-breakdown {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}
.asphalt-breakdown li {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid #e0e5e7;
}
.asphalt-breakdown li > span {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 50%;
  background: #263136;
  color: #fff;
  font-weight: 900;
}
.asphalt-breakdown p { margin: 4px 0 0; font-family: "SFMono-Regular", Consolas, monospace; font-size: 13px; overflow-wrap: anywhere; }
.asphalt-reference-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.asphalt-reference-grid article { border-left: 3px solid #d39a2f; padding-left: 14px; }
.asphalt-reference-grid h3 { font-size: 16px; }
.source-list {
  justify-content: flex-start;
  flex-wrap: wrap;
  margin-top: 19px;
  padding-top: 17px;
  border-top: 1px solid #e0e5e7;
  font-size: 13px;
}
.vertical-hub-hero {
  align-items: end;
  margin-top: 12px;
  padding: 34px 0 30px;
  border-bottom: 1px solid #d9e0e3;
}
.vertical-hub-hero > div { max-width: 710px; }
.vertical-hub-facts {
  display: grid;
  min-width: 310px;
  grid-template-columns: repeat(3, 1fr);
  margin: 0;
  border: 1px solid #d3dcdf;
  border-radius: 8px;
  background: #fff;
}
.vertical-hub-facts div { padding: 14px; border-right: 1px solid #e0e5e7; }
.vertical-hub-facts div:last-child { border-right: 0; }
.vertical-hub-facts dt { color: #65737b; font-size: 11px; font-weight: 800; text-transform: uppercase; }
.vertical-hub-facts dd { margin: 5px 0 0; color: #263136; font-size: 14px; font-weight: 900; }
.vertical-hub-directory,
.vertical-hub-guide { padding: 28px 0; }
.vertical-tool-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.vertical-tool-card {
  align-items: flex-start;
  border: 1px solid #ccd6da;
  border-radius: 8px;
  padding: 20px;
  background: #fff;
  color: #1f2529;
  text-decoration: none;
}
.vertical-tool-card:hover { border-color: #16735f; box-shadow: var(--shadow); }
.vertical-tool-card h3 { margin: 0 0 7px; }
.vertical-tool-card p { margin: 0; color: #627079; line-height: 1.55; }
.vertical-tool-card span:last-child { color: #16735f; font-size: 24px; }
.vertical-hub-guide { border-top: 1px solid #d9e0e3; }
.vertical-guide-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 18px; }
.vertical-guide-grid article { border-top: 3px solid #263136; padding-top: 13px; }
.vertical-guide-grid p { color: #627079; line-height: 1.6; }

@media (max-width: 920px) {
  .asphalt-workbench { grid-template-columns: 1fr; }
  .asphalt-input-panel { border-right: 0; border-bottom: 1px solid #d9e0e3; }
  .vertical-hub-hero { align-items: stretch; flex-direction: column; }
  .vertical-hub-facts { min-width: 0; width: 100%; }
}
@media (max-width: 620px) {
  .asphalt-input-panel,
  .asphalt-output-panel { padding: 16px; }
  .asphalt-fields,
  .asphalt-result-grid,
  .asphalt-visuals,
  .asphalt-reference-grid,
  .vertical-tool-grid,
  .vertical-guide-grid { grid-template-columns: 1fr; }
  .asphalt-result-grid article,
  .asphalt-result-grid article:nth-child(odd),
  .asphalt-result-grid article:nth-child(even) { min-height: 68px; padding: 12px 0; border-right: 0; border-bottom: 1px solid #d5dddf; }
  .asphalt-result-grid article:last-child { border-bottom: 0; }
  .asphalt-result-hero strong { font-size: 29px; }
  .asphalt-panel-head { align-items: flex-start; }
  .asphalt-actions { align-items: stretch; flex-direction: column; }
  .vertical-hub-facts { grid-template-columns: 1fr; }
  .vertical-hub-facts div { border-right: 0; border-bottom: 1px solid #e0e5e7; }
  .vertical-hub-facts div:last-child { border-bottom: 0; }
}
@media print {
  .site-header,
  .site-footer,
  .breadcrumbs,
  .asphalt-sidebar,
  .asphalt-actions,
  .asphalt-presets,
  #asphalt-reset { display: none !important; }
  main { width: 100%; }
  .asphalt-page-grid,
  .asphalt-workbench { display: block; }
  .asphalt-workbench,
  .content-panel { box-shadow: none; break-inside: avoid; }
  .asphalt-input-panel { border-right: 0; }
}
