.mkcbt-colour-picker,
.mkcbt-quote-options {
  box-sizing: border-box;
  min-width: 0;
  width: 100%;
  margin: 18px 0 22px;
  padding: 18px;
  border: 1px solid #d8d6cf;
  border-radius: 10px;
  background: #f8f7f3;
  color: #232a26;
  text-align: left;
}
.mkcbt-colour-picker legend,
.mkcbt-quote-options legend {
  display: block;
  float: none;
  width: auto;
  max-width: 100%;
  margin: 0;
  padding: 0 6px;
  color: inherit;
  font-family: inherit;
  line-height: 1.4;
  font-size: 17px;
  font-weight: 600;
}
.mkcbt-colour-picker p,
.mkcbt-quote-options p { margin: 8px 0 12px; }
.mkcbt-small,
.mkcbt-swatch-status,
.mkcbt-preferences-summary,
.mkcbt-message-help {
  font-size: 13px;
  line-height: 1.55;
}
.mkcbt-swatch-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 14px 0 10px;
}
.mkcbt-swatch-grid .mkcbt-swatch {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
  min-height: 44px;
  margin: 0;
  padding: 7px;
  border: 2px solid #d7d7d0;
  border-radius: 7px;
  background: #fff;
  box-shadow: none;
  color: #232a26;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
  text-align: left;
  text-transform: none;
  cursor: pointer;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.mkcbt-swatch-grid .mkcbt-swatch img {
  display: block;
  width: 100%;
  height: 62px;
  margin: 0 0 4px;
  border-radius: 3px;
  object-fit: cover;
}
.mkcbt-swatch-name { display: block; overflow-wrap: anywhere; }
.mkcbt-swatch small { color: #626760; font-size: 12px; font-weight: 400; }
.mkcbt-swatch-grid .mkcbt-swatch[aria-pressed="true"] {
  border-color: #a74333;
  box-shadow: 0 0 0 1px #a74333;
}
.mkcbt-swatch-grid .mkcbt-swatch:hover { border-color: #67746b; }
.mkcbt-swatch-grid .mkcbt-swatch:focus-visible,
.mkcbt-select:focus-visible,
.mkcbt-text-link:focus-visible,
.mkcbt-home-modular a:focus-visible {
  outline: 3px solid #a74333;
  outline-offset: 3px;
}
.mkcbt-text-link {
  display: inline-block;
  min-height: 32px;
  padding: 4px 0;
  color: #91402f;
  font-size: 14px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.mkcbt-swatch-status:empty,
.mkcbt-preferences-summary:empty,
.mkcbt-message-help:empty { display: none; }
.mkcbt-home-modular {
  margin: 20px 0 0;
  font-size: 14px;
  line-height: 1.5;
}
.mkcbt-home-modular a {
  display: inline-block;
  min-height: 32px;
  color: inherit;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 5px;
}
.mkcbt-home-modular p { margin: 4px 0 0; font-size: 13px; opacity: .85; }
.mkc-hero .mkcbt-plan-cta { white-space: normal; }
.mkcbt-quote-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.mkcbt-quote-choice { min-width: 0; }
.mkcbt-quote-choice:last-child { grid-column: 1 / -1; }
.mkcbt-quote-choice label {
  display: block;
  margin: 0 0 6px;
  font-size: 13px;
  line-height: 1.5;
  font-weight: 600;
  color: #303830;
}
.mkcsi-form-card .mkcbt-quote-choice select.mkcbt-select {
  display: block;
  box-sizing: border-box !important;
  width: 100%;
  height: 48px !important;
  min-height: 48px;
  margin: 0;
  padding: 8px 34px 8px 12px !important;
  border: 1px solid #b9c0b9;
  border-radius: 5px;
  background-color: #fff;
  color: #26312b;
  font: inherit;
  font-size: 14px;
  line-height: 1.3 !important;
  text-overflow: ellipsis;
}
.mkcbt-message-help { margin: 6px 0 0; color: #586256; }
.mkcbt-message-help.mkcbt-message-error { color: #a22218; font-weight: 600; }
.mkcbt-next-steps {
  margin: 18px 0;
  padding: 14px 16px;
  border-left: 3px solid #72816d;
  border-radius: 0 6px 6px 0;
  background: #f5f7f2;
  color: #303a2e;
  font-size: 14px;
  line-height: 1.6;
}
.mkcbt-next-steps p { margin: 4px 0 0; }
#mkcbt-quote-form,
#mkcbt-plan-uploads,
#upload-plan { scroll-margin-top: 100px; }
.mkcbt-anchor { display: block; width: 0; height: 0; }
@media (max-width: 600px) {
  .mkcbt-colour-picker,
  .mkcbt-quote-options { padding: 14px; }
  .mkcbt-swatch-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mkcbt-swatch-grid .mkcbt-swatch img { height: 72px; }
  .mkcbt-quote-grid { grid-template-columns: minmax(0, 1fr); }
  .mkcsi-form-card .mkcbt-quote-choice select.mkcbt-select { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .mkcbt-swatch-grid .mkcbt-swatch { transition: none; }
}
