.kc {
  --kc-accent: #176b5b;
  --kc-ink: #182d29;
  --kc-muted: #60716c;
  --kc-border: #dce6e0;
  font-family: inherit;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--kc-ink);
  background: #fafcf9;
  border: 1px solid var(--kc-border);
  border-radius: 24px;
  padding: clamp(20px, 4vw, 42px);
  max-width: 1000px;
  margin: 24px auto;
  box-sizing: border-box;
  container-type: inline-size;
  container-name: kc-calculator;
}
.kc * {
  box-sizing: border-box;
}
.kc [hidden] {
  display: none !important;
}
.kc h2,
.kc h3,
.kc p {
  margin: 0;
}
.kc h2,
.kc h3 {
  letter-spacing: normal;
}
.kc strong {
  font-weight: 600;
}
.kc h2 {
  font-size: clamp(24px, 2.4vw, 30px);
  font-weight: 650;
  line-height: 1.2;
  margin: 6px 0 10px;
}
.kc h3 {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 10px;
}
.kc p {
  line-height: 1.5;
}
.kc-eyebrow {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--kc-accent);
}
.kc-progress {
  list-style: none;
  display: flex;
  gap: 20px;
  padding: 0 0 20px;
  margin: 0 0 24px;
  border-bottom: 1px solid var(--kc-border);
  font-size: 12px;
  color: var(--kc-muted);
}
.kc-progress li {
  display: flex;
  align-items: center;
  gap: 8px;
}
.kc-progress li span {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  background: #eaf0eb;
  border-radius: 50%;
  font-weight: 700;
}
.kc-progress li.is-current {
  color: var(--kc-accent);
  font-weight: 700;
}
.kc-progress li.is-current span {
  background: var(--kc-accent);
  color: white;
}
.kc-intro {
  color: var(--kc-muted);
  margin-bottom: 20px !important;
  max-width: 70ch;
}
.kc-search {
  max-width: 720px;
}
.kc-search-hint,
.kc-search-count {
  font-size: 12px;
  color: var(--kc-muted);
}
.kc-search-count:not(:empty) {
  margin-top: 14px;
}
.kc-card-category {
  color: var(--kc-accent);
  font-size: 11px;
  font-weight: 600;
  margin-top: 5px;
}
.kc h2,
.kc-enquiry h3 {
  scroll-margin-top: calc(32px + var(--wp-admin--admin-bar--height, 0px));
}
.kc-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 20px 0;
}
@container kc-calculator (min-width: 760px) {
  .kc-cards { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@container kc-calculator (max-width: 520px) {
  .kc-cards { grid-template-columns: 1fr; }
}
.kc-selection h3 {
  font-size: 16px;
  margin-top: 24px;
}
.kc-selection .kc-card {
  padding: 14px 28px 14px 14px;
  min-height: 58px;
}
.kc-selection .kc-card-title { font-size: 14px; }
.kc-category-card[aria-pressed="true"] {
  border-color: var(--kc-accent);
  background: #eaf3ef;
  box-shadow: inset 0 0 0 1px var(--kc-accent);
}
.kc-selection .kc-arrow { right: 12px; top: 14px; }
.kc-other-project { width: 100%; }
.kc-no-match { grid-column: 1 / -1; }
.kc-field-wide { grid-column: 1 / -1; }
.kc-requirements p { white-space: pre-line; overflow-wrap: anywhere; }
.kc button {
  font-family: inherit;
  cursor: pointer;
}
.kc-card {
  display: flex;
  flex-direction: column;
  position: relative;
  padding: 22px 40px 22px 20px;
  text-align: left;
  background: white;
  border: 1px solid var(--kc-border);
  border-radius: 14px;
  color: var(--kc-ink);
  transition:
    border-color 0.15s,
    transform 0.15s;
}
.kc-card:hover {
  border-color: var(--kc-accent);
  transform: translateY(-2px);
}
.kc-card-title {
  font-size: 16px;
  font-weight: 650;
  line-height: 1.4;
}
.kc-card-description {
  font-size: 12px;
  color: var(--kc-muted);
  margin-top: 7px;
  line-height: 1.5;
}
.kc-arrow {
  position: absolute;
  right: 18px;
  top: 22px;
  color: var(--kc-accent);
}
.kc-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 20px;
  background: var(--kc-accent);
  color: #fff;
  border: 1px solid var(--kc-accent);
  border-radius: 10px;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.4;
  min-height: 46px;
}
.kc-button:hover {
  filter: brightness(0.93);
}
.kc-button:disabled {
  opacity: 0.6;
  cursor: wait;
}
.kc-secondary {
  color: var(--kc-ink);
  background: white;
  border-color: var(--kc-border);
}
.kc-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 24px 0;
}
.kc-service-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
}
.kc-service-actions .kc-button {
  gap: 8px;
}
.kc-service-actions svg {
  flex: none;
}
.kc-service-remove {
  color: var(--kc-muted);
  background: transparent;
  border-color: transparent;
  padding: 8px 10px;
  min-height: 44px;
}
.kc-service-remove:hover {
  color: var(--kc-ink);
}
.kc-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 20px 0;
}
.kc-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.kc-field label {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
}
.kc-unit {
  float: right;
  color: var(--kc-muted);
  font-weight: 400;
  margin-left: 10px;
}
.kc input:not([type="checkbox"]),
.kc select,
.kc textarea {
  font-family: inherit;
  width: 100%;
  max-width: 100%;
  min-height: 48px;
  border: 1px solid #baccc2;
  border-radius: 9px;
  background: white;
  color: var(--kc-ink);
  padding: 12px;
  font-size: 16px;
  box-shadow: none;
}
.kc textarea {
  min-height: 100px;
}
.kc select {
  -webkit-appearance: none;
  appearance: none;
  padding-right: 42px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2 4.5 6 8.5 10 4.5' fill='none' stroke='%2360716c' stroke-width='1.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 12px 12px;
}
@media (forced-colors: active) {
  .kc select {
    appearance: auto;
    background-image: none;
  }
}
.kc :focus-visible {
  outline: 3px solid var(--kc-accent);
  outline-offset: 3px;
}
.kc-options {
  display: grid;
  gap: 20px;
  border-top: 1px solid var(--kc-border);
  padding-top: 20px;
}
.kc-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12px;
  line-height: 1.5;
}
.kc-checkbox input {
  width: 18px;
  height: 18px;
  accent-color: var(--kc-accent);
  flex: none;
  margin: 2px 0 0;
}
.kc-result {
  padding: 24px;
  background: white;
  border: 1px solid var(--kc-border);
  border-radius: 16px;
  margin: 20px 0;
}
.kc-total {
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 700;
  letter-spacing: -0.035em;
  color: var(--kc-accent);
  line-height: 1.2 !important;
  margin: 16px 0 5px !important;
}
.kc-range {
  font-size: 14px;
  color: var(--kc-muted);
}
.kc-estimate-note {
  color: var(--kc-muted);
  font-size: 12px;
  max-width: 70ch;
  margin-top: 14px !important;
}
.kc-next-step {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin: 20px 0;
}
.kc-next-step .kc-secondary {
  background: transparent;
  border-color: transparent;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.kc-result-tools {
  border-top: 1px solid var(--kc-border);
  padding: 0;
  margin-top: 24px;
}
.kc-mobile-quote {
  display: none;
}
.kc-muted {
  font-size: 12px;
  color: var(--kc-muted);
  margin: 12px 0 !important;
}
.kc-breakdown {
  margin: 24px 0;
  border-top: 1px solid var(--kc-border);
}
.kc-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--kc-border);
  padding: 12px 0;
  font-size: 13px;
}
.kc-deduction {
  color: var(--kc-accent);
}
.kc-details {
  border-top: 1px solid var(--kc-border);
  padding: 0;
  margin-top: 12px;
}
.kc-details[open] {
  padding-bottom: 16px;
}
.kc summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 46px;
  padding: 12px 0;
  margin: 0;
  list-style: none;
  border: 0;
  background: transparent;
  color: var(--kc-ink);
  cursor: pointer;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.5;
}
.kc summary::-webkit-details-marker {
  display: none;
}
.kc summary::marker {
  content: "";
}
.kc summary::after {
  content: "";
  width: 12px;
  height: 12px;
  flex: 0 0 12px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2 4.5 6 8.5 10 4.5' fill='none' stroke='%2360716c' stroke-width='1.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  transition: transform 0.15s;
}
.kc details[open] > summary::after {
  transform: rotate(180deg);
}
.kc summary:focus:not(:focus-visible) {
  outline: none;
}
.kc summary:focus-visible {
  outline: 2px solid var(--kc-accent);
  outline-offset: 4px;
  border-radius: 4px;
}
@media (prefers-reduced-motion: reduce) {
  .kc summary::after {
    transition: none;
  }
}
.kc table {
  border-collapse: collapse;
  width: 100%;
  font-size: 12px;
  margin-top: 14px;
}
.kc td,
.kc th {
  border-bottom: 1px solid var(--kc-border);
  padding: 10px 6px;
  text-align: left;
}
.kc td:not(:first-child),
.kc th:not(:first-child) {
  text-align: right;
  white-space: nowrap;
}
.kc ul {
  font-size: 13px;
  padding-left: 20px;
  line-height: 1.7;
}
.kc-assumption {
  font-size: 14px;
  padding: 16px;
  background: #f3f7f2;
  border-radius: 10px;
  margin-top: 18px !important;
}
.kc-enquiry {
  padding: 24px;
  background: #eef4ee;
  border-radius: 16px;
  margin-top: 28px;
}
.kc-enquiry h3 {
  font-size: 18px;
  margin-bottom: 8px;
}
.kc-enquiry > p,
.kc-success p {
  font-size: 13px;
}
.kc-address-summary {
  display: block;
  min-height: 48px;
  padding: 12px;
  border: 1px solid var(--kc-border);
  border-radius: 9px;
  background: #ffffff80;
  overflow-wrap: anywhere;
}
.kc-photo-input { position: absolute; width: 1px !important; height: 1px; min-height: 0 !important; padding: 0 !important; clip-path: inset(50%); overflow: hidden; }
.kc-photo-hint, .kc-photo-feedback { font-size: 12px; color: var(--kc-muted); }
.kc-photo-feedback:empty { display: none; }
.kc-photo-add { align-self: flex-start; }
.kc-photo-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 12px; padding: 0 !important; margin: 6px 0; list-style: none; }
.kc-photo-item { position: relative; min-width: 0; background: white; border: 1px solid var(--kc-border); border-radius: 9px; overflow: hidden; }
.kc-photo-item img { display: block; width: 100%; height: 120px; object-fit: cover; }
.kc-photo-name { display: block; padding: 8px; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kc-photo-remove { position: absolute; right: 4px; top: 4px; display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--kc-border); border-radius: 8px; background: white; color: var(--kc-ink); font-size: 24px; line-height: 1; padding: 0; }
@container kc-calculator (max-width: 560px) {
  .kc-enquiry .kc-fields { grid-template-columns: 1fr; }
}
.kc-success p + p {
  margin-top: 8px;
}
.kc-enquiry .kc-checkbox {
  margin: 20px 0;
}
.kc-privacy {
  display: block;
  font-size: 12px;
  margin: 12px 0;
  color: var(--kc-accent);
}
.kc-status {
  color: #9a3c28;
  font-size: 14px;
  margin-top: 16px !important;
}
.kc-status:empty {
  display: none;
}
.kc-trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.kc-success {
  padding: 12px 0;
}
.kc-project-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: #eaf1e8;
  border-radius: 10px;
  padding: 12px 16px;
  margin-bottom: 24px;
  font-size: 14px;
}
.kc-empty {
  padding: 20px;
  border: 1px solid #ddd;
  border-radius: 12px;
}
@media (max-width: 600px) {
  .kc {
    border-radius: 16px;
    padding: 20px 16px;
  }
  .kc-cards,
  .kc-fields {
    grid-template-columns: 1fr;
  }
  .kc-progress {
    gap: 10px;
    font-size: 11px;
  }
  .kc-progress li {
    gap: 5px;
    flex: 1;
  }
  .kc-progress li span {
    width: 22px;
    height: 22px;
    flex: none;
  }
  .kc-result,
  .kc-enquiry {
    padding: 20px 16px;
  }
  .kc-actions .kc-button {
    flex: 1;
  }
  .kc-service-actions {
    justify-content: flex-end;
    gap: 4px;
  }
  .kc-service-actions .kc-button {
    width: 44px;
    min-width: 44px;
    height: 44px;
    min-height: 44px;
    padding: 0;
    gap: 0;
    color: var(--kc-muted);
    background: transparent;
    border-color: transparent;
  }
  .kc-service-actions .kc-button:hover {
    color: var(--kc-ink);
    background: #eff4f1;
  }
  .kc-service-actions .kc-button span {
    display: none;
  }
  .kc-service-actions svg {
    width: 20px;
    height: 20px;
  }
  .kc-card {
    padding: 18px 36px 18px 16px;
  }
  .kc-project-bar {
    flex-wrap: wrap;
  }
  .kc table {
    font-size: 11px;
  }
  .kc td,
  .kc th {
    padding: 8px 3px;
  }
}
@media print {
  body.kc-printing * {
    visibility: hidden;
  }
  body.kc-printing .kc-print-target,
  body.kc-printing .kc-print-target * {
    visibility: visible;
  }
  body.kc-printing .kc-print-target {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    max-width: none;
    background: white;
    box-shadow: none;
    border: 0;
  }
  .kc-no-print,
  .kc-progress,
  .kc-status {
    display: none !important;
  }
  .kc-result {
    break-inside: avoid;
  }
  .kc details > * {
    display: block !important;
  }
  .kc summary {
    display: none;
  }
}

.kc h2:focus {
  outline: none;
}
.kc-enquiry h3:focus {
  outline: none;
}

@media (max-width: 600px) {
  .kc-next-step .kc-button:first-child {
    flex: 1 0 100%;
  }
  .kc-next-step .kc-secondary {
    padding: 8px 0;
  }
  .kc-mobile-quote {
    position: fixed;
    z-index: 30;
    bottom: max(12px, env(safe-area-inset-bottom));
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 24px);
    max-width: 576px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    background: #fff;
    border: 1px solid var(--kc-border);
    border-radius: 14px;
    box-shadow: 0 4px 24px #182d2926;
  }
  .kc-shortcut-price {
    display: grid;
    gap: 2px;
    font-size: 14px;
  }
  .kc-shortcut-price span {
    font-size: 11px;
    color: var(--kc-muted);
  }
  .kc-mobile-quote .kc-button {
    flex: 1;
  }
}

.kc-address {
  max-width: 660px;
}
.kc-address .kc-muted {
  margin: 0 !important;
}
.kc-travel {
  margin: 20px 0;
  padding: 18px;
  border: 1px solid var(--kc-border);
  border-radius: 12px;
  background: #f6f9f5;
}
.kc-travel h3 {
  font-size: 17px;
}
.kc-route-data {
  padding-top: 12px;
}
.kc-route-data p {
  font-size: 14px;
  color: #5e5e5e;
}
.kc-google {
  display: block;
  font:
    400 12px/1.5 Arial,
    sans-serif;
  color: #5e5e5e;
  margin-top: 4px;
}
.kc-travel-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
}
.kc-travel-links a {
  color: var(--kc-accent);
}
