/* Unified, darker blue identity; light ink on the dark footer. */
.ks-header .v10-logo-key{color:#173f73!important}.ks-header .v10-logo-house,.ks-header .v10-logo-wordmark path{fill:#173f73!important}
.ks-footer .v10-logo-key{color:#edf4ff!important}.ks-footer .v10-logo-house,.ks-footer .v10-logo-wordmark path{fill:#edf4ff!important}
.ks-footer .ks-brand.v12-brand{width:154px!important;filter:none!important;opacity:1}.ks-footer .ks-brand svg{width:100%!important;height:auto!important;display:block;filter:none!important}
.ks-footer-top>div:first-child>p{max-width:240px;line-height:1.6}.v19-contacts{padding-bottom:60px}
.ks-request-fields>small{line-height:1.6}.ks-project-request .ks-text-link{display:inline-flex;gap:7px;align-items:baseline;line-height:1.5;max-width:100%;white-space:normal}
@media(max-width:650px){.ks-footer .ks-brand.v12-brand{width:145px!important}.v19-contacts{padding-bottom:34px}}
.v19-foundation{margin-bottom:0}.v20-foundation-caption{font-size:12px;color:var(--muted);line-height:1.5;margin-top:12px;margin-bottom:42px}.v19-foundation>img{object-fit:cover;object-position:center}

/* Form layout corrections. Load after the existing design styles. */
.ks-project-request > *,
.ks-request-fields,
.ks-request-fields label,
.ks-filters label,
.ks-form > label,
.ks-consent > span {
  min-width: 0;
}
.ks-request-fields select,
.ks-filters input,
.ks-filters select,
.ks-form input:not([type="checkbox"]),
.ks-form textarea {
  min-width: 0;
  max-width: 100%;
}
.ks-request-fields select,
.ks-filters select {
  text-overflow: ellipsis;
}
.ks-request-fields .ks-btn,
.ks-form > .ks-btn {
  max-width: 100%;
  min-width: 0;
  justify-content: center;
  white-space: normal;
  text-align: center;
  line-height: 1.45;
}
.ks-form .ks-optional {
  float: none;
  display: inline;
  margin-left: 6px;
  font-size: 11px;
}
.ks-form .ks-consent input[type="checkbox"] {
  padding: 0;
  width: 18px;
  height: 18px;
  margin-top: 2px;
}
.ks-form-status,
.ks-policy-dialog p,
.ks-policy-dialog a,
.ks-consent > span {
  overflow-wrap: anywhere;
}
.ks-form-status:empty { display: none; }
.ks-form-status[data-state="error"] { color: #9c3540; }
.ks-form-status[data-state="success"],
.ks-form-status.is-success { color: #245f9f; }
.ks-dialog,
.ks-compare-dialog {
  max-height: calc(100dvh - 24px);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.ks-dialog-close,
.ks-compare-close {
  min-width: 44px;
  min-height: 44px;
  display: grid;
  place-items: center;
}
.ks-dialog h2,
.ks-compare-dialog h2 { padding-right: 22px; }
.ks-compare-content:focus-visible {
  outline: 2px solid #245f9f;
  outline-offset: 3px;
}
@media (max-width: 650px) {
  .ks-dialog {
    width: calc(100% - 20px);
    max-width: calc(100% - 20px);
    padding: 32px 20px 24px;
    margin: auto;
  }
  .ks-request-fields select,
  .ks-filters input,
  .ks-filters select { font-size: 16px; }
  .ks-project-request { grid-template-columns: minmax(0, 1fr); }
  .ks-form > .ks-btn { font-size: 14px; padding-inline: 15px; }
  .ks-dialog h2 { font-size: clamp(29px, 7.6vw, 34px); }
}
@media (max-height: 540px) {
  .ks-dialog,
  .ks-compare-dialog { max-height: calc(100dvh - 16px); }
  .ks-dialog { padding-top: 30px; }
  .ks-dialog h2 { margin-bottom: 14px; }
  .ks-form { margin-top: 18px; }
}
