*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -moz-text-size-adjust: none;
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
}
body, h1, h2, h3, h4, p,
figure, blockquote, dl, dd {
  margin-block-end: 0;
}
ul[role='list'],
ol[role='list'] {
  list-style: none;
}
body {
  min-height: 100vh;
  line-height: 1.5;
}
h1, h2, h3, h4,
button, input, label {
  line-height: 1.1;
}
h1, h2,
h3, h4 {
  text-wrap: balance;
}
a:not([class]) {
  text-decoration-skip-ink: auto;
  color: currentColor;
}
img,
picture {
  max-width: 100%;
  display: block;
}
input, button,
textarea, select {
  font-family: inherit;
  font-size: inherit;
}
textarea:not([rows]) {
  min-height: 10em;
}
:target {
  scroll-margin-block: 5ex;
}

input[type="range"],
input[type="text"] {
  display: block;
  width: 100%;
}

input[type="checkbox"].switch {
  position: absolute;
  margin: 0;
  opacity: 0;
  width: 0.1px;
  height: 0.1px;
}
input[type="checkbox"].switch + label {
  position: relative;
  padding: 5px 0 0 40px;
  line-height: 2.0em;
  height: 24px;
  cursor: pointer;
}
input[type="checkbox"].switch + label:before {
  content: "";
  position: absolute;
  display: block;
  left: 0;
  top: 0;
  width: 40px;
  height: 24px;
  border-radius: 16px;
  background: #f4f4f4;
  border: 1px solid #d9d9d9;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}
input[type="checkbox"].switch + label:after {
  content: "";
  position: absolute;
  display: block;
  left: 0px;
  top: 0px;
  width: 24px;
  height: 24px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid #d9d9d9;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}
input[type="checkbox"].switch + label:hover:after {
  box-shadow: 0 0 5px rgba(0,0,0,0.3);
}
input[type="checkbox"].switch:checked + label:after {
  margin-left: 16px;
}
input[type="checkbox"].switch:checked + label:before {
  background: #55D069;
}

body {
  font-family: "Open Sans", sans-serif;
  text-rendering: optimizeLegibility;
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-variation-settings: "wdth" 100;
}

house-valuation::part(widgetRoot) {
  font-family: "Open Sans", sans-serif;
}
house-valuation::part(h2) {
  font-weight: 900;
}

.option-root {
  font-weight: 400;
  position: fixed;
  top: 0;
  right: 0;
  display: flex;
  width: max-content;
  height: 100vh;
  transition: transform .2s ease-in-out;
  transform: translateX(380px);
  z-index: 200;
  display: none;
}


.option-root__button > button {
  padding: 6px 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
  border: 1px solid oklch(23% 0 0 );
  border-right-color: oklch(53% 0 0 / .6);
  background-color: oklch(23% 0 0 );
  color: white;
  cursor: pointer;
  font-weight: 300;
  font-size: 15px;
  line-height: 1;
}

.option-root__section {
  position: relative;
  width: 380px;
  padding: 12px;
  background-color: oklch(10% 0 0 / .8);
  transition: opacity .2s linear;
  opacity: 0;
  transition-delay: 150ms;
  transition-property: opacity;
  height: 100%;
  overflow-y: auto;
}

.option-root.is-open .option-root__section {
  opacity: 1;
}

@media (min-width: 992px) {
  .option-root {
    display: flex;
  }
}

.type-color-circle {
  cursor: pointer;
  width: 34px;
  height: 34px;
  border-radius: 50em;
  border: 1px solid oklch(10% 0 0);
}

.type-color-circle input[type="color"] {
  padding: 0;
  width: 34px;
  height: 34px;
  border-radius: 50em;
  opacity: 0;
  cursor: pointer;
}


.gridList {
  color: white;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.gridList > li {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 80px;
  gap: 5px;
  padding: 10px;
  align-items: center;
  border-radius: 4px;
  border: 1px solid oklch(55% 0 0);
  background-color: oklch(33% 0 0);
}

.gridList > li:is(.block) {
  display: block;
}

.gridList > li:is(.short) {
  grid-template-columns: 150px minmax(0, 1fr);
}

.gridList h4 {
  font-weight: 500;
  font-size: 15px;
}

.gridList__label.flex {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 10px;
}

.gridList__inputs {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.gridList__inputs.range {
  gap: 8px;
}

.gridList__label.flex {
  display: flex;
  align-items: center;
  gap: 10px;
}

.preview-buttons {
  display: flex;
  align-items: center;
  gap: 8px;
}

.preview-buttons__btn {
  padding: 6px 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  border: 1px solid oklch(33% 0 0);
  background-color: oklch(33% 0 0);
  color: oklch(58% 0 0);
  cursor: pointer;
  line-height: 1;
  transition: all .1s linear;
}

.preview-buttons__btn:hover,
.preview-buttons__btn.active {
  border: 1px solid oklch(40% 0 0);
  background-color: oklch(40% 0 0);
  color: oklch(80% 0 0);
}

.gridList__inputs .clr-field {
  width: 34px;
  height: 34px;
  border-radius: 50em;
}

.gridList__inputs .appBgColor {
  width: 34px;
  height: 34px;
  border-radius: 50em;
  border: 1px solid oklch(10% 0 0);
  opacity: 0;
  cursor: pointer;
}

.gridList__inputs .clr-field button {
  cursor: pointer;
  width: 34px;
  height: 34px;
  border-radius: 50em;
  border: 1px solid oklch(14% 0 0);
}

.form-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 0;
}

.form-buttons > button {
  width: 100%;
  cursor: pointer;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 13px;
  padding: 12px 15px;
  border-radius: 3px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid oklch(90% 0.0206 119);
  background-color: oklch(90% 0.0206 119);
  transition: all .15s ease;
}

.form-buttons > button:active,
.form-buttons > button:hover {
  border-color: oklch(80% 0.0206 119);
  background-color: oklch(80% 0.0206 119);
}

.colors-grid {
  display: grid;
  grid-template-columns: repeat(9, minmax(0, 1fr));
  gap: 8px;
  padding-top: 10px;
  border-top: 1px solid oklch(55% 0 0);
}

.c {
  border-radius: 2px;
  border: 1px solid oklch(70% 0 0);
  height: 28px;
  cursor: pointer;
}

.c.ative {
  border-color: oklch(10% 0 0);
}

.active-theme {
  width: 13px;
  height: 13px;
  border-radius: 1px;
  border: 1px solid oklch(70% 0 0);
  background-color: #fff;
}

.t1 {
  background-color: #efecf0;
}
.t2 {
  background-color: #2b2527;
}
.t3 {
  background-color: #fbd100;
}
.t4 {
  background-color: #233f63;
}
.t5 {
  background-color: #fafcf5;
}
.t6 {
  background-color: #172b0a;
}
