.hmii-valuator {
  color-scheme: light;
  --hmii-ink: #0b0b0b;
  --hmii-muted: #6d6657;
  --hmii-line: #e7dfca;
  --hmii-surface: #fffdf7;
  --hmii-soft: #fff5c2;
  --hmii-brand: #ffc629;
  --hmii-brand-deep: #d99b00;
  max-width: 980px;
  margin: 2rem auto;
  padding: clamp(1rem, 3vw, 2rem);
  color: #fff;
  background: radial-gradient(circle at 92% 4%, rgba(255, 198, 41, .2), transparent 28%), #0b0b0b;
  border: 1px solid #262626;
  border-radius: 2rem;
  box-shadow: 0 1.8rem 5rem rgba(0, 0, 0, .22);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.hmii-valuator *, .hmii-valuator *::before, .hmii-valuator *::after { box-sizing: border-box; }
.hmii-valuator__intro { max-width: 780px; margin: 0 auto 1.5rem; text-align: center; }
.hmii-brandlockup { display: inline-flex; align-items: center; gap: .7rem; margin: 0 auto 1.5rem; text-align: left; }
.hmii-brandlockup img { width: 64px; height: 64px; object-fit: contain; filter: drop-shadow(0 8px 20px rgba(255, 198, 41, .2)); }
.hmii-brandlockup strong, .hmii-brandlockup span { display: block; }
.hmii-brandlockup strong { color: #fff; font-size: 1.08rem; letter-spacing: -.025em; }
.hmii-brandlockup span { margin-top: .1rem; color: #afa99a; font-size: .78rem; }
.hmii-valuator__intro h2 { max-width: 760px; margin: .45rem auto .9rem; color: #fff; font-size: clamp(2.25rem, 6vw, 4.25rem); line-height: .98; letter-spacing: -.065em; text-wrap: balance; }
.hmii-valuator__intro > p:not(.hmii-valuator__eyebrow) { max-width: 650px; margin: 0 auto; color: #c6c0b2; line-height: 1.65; }
.hmii-valuator__eyebrow { margin: 0; color: var(--hmii-brand) !important; font-size: .76rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.hmii-trustbar { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin-top: 1.2rem; }
.hmii-trustbar span { padding: .48rem .7rem; color: #d8d2c4; background: rgba(255, 255, 255, .055); border: 1px solid #383838; border-radius: 999px; font-size: .76rem; }
.hmii-trustbar span::before { content: "✓"; margin-right: .35rem; color: var(--hmii-brand); font-weight: 900; }

.hmii-valuator__form { padding: clamp(.85rem, 2vw, 1.25rem); color: var(--hmii-ink); background: var(--hmii-surface); border: 1px solid rgba(255, 198, 41, .36); border-radius: 1.35rem; box-shadow: 0 1.2rem 3.4rem rgba(0, 0, 0, .28); }
.hmii-dropzone { display: grid; place-items: center; min-height: 270px; padding: 2rem; text-align: center; cursor: pointer; background: linear-gradient(145deg, #fff9db, #fff2aa); border: 2px dashed #c89100; border-radius: 1rem; transition: transform .18s ease, border-color .18s ease, background .18s ease; }
.hmii-dropzone:hover, .hmii-dropzone.is-dragging { background: #ffed8e; border-color: var(--hmii-ink); transform: translateY(-2px); }
.hmii-dropzone input { position: absolute; width: 1px; height: 1px; overflow: hidden; opacity: 0; }
.hmii-dropzone strong, .hmii-dropzone small, .hmii-dropzone__action { display: block; }
.hmii-dropzone strong { margin-top: .85rem; font-size: clamp(1.25rem, 3vw, 1.6rem); letter-spacing: -.035em; }
.hmii-dropzone__action { margin-top: .2rem; color: #514a3d; font-size: .9rem; }
.hmii-dropzone small { margin-top: .55rem; color: #716956; font-size: .74rem; }
.hmii-dropzone__icon { display: grid; place-items: center; width: 3.6rem; height: 3.6rem; color: var(--hmii-brand); background: var(--hmii-ink); border-radius: 50%; font-size: 2rem; line-height: 1; box-shadow: 0 .65rem 1.3rem rgba(11, 11, 11, .2); }

.hmii-preview { position: relative; overflow: hidden; min-height: 250px; background: #f0eadb; border-radius: 1rem; }
.hmii-preview img { display: block; width: 100%; max-height: 520px; object-fit: contain; }
.hmii-preview button { position: absolute; top: .8rem; right: .8rem; padding: .65rem .85rem; color: var(--hmii-brand); background: rgba(11, 11, 11, .9); border: 1px solid #3a3a3a; border-radius: 999px; cursor: pointer; }
.hmii-field { display: grid; gap: .45rem; margin-top: 1rem; }
.hmii-field span { color: var(--hmii-ink); font-weight: 800; }
.hmii-field textarea, .hmii-field input { width: 100%; padding: .95rem 1rem; color: var(--hmii-ink); background: #fff; border: 1px solid #d9cfb6; border-radius: .8rem; font: inherit; }
.hmii-field textarea::placeholder, .hmii-field input::placeholder { color: #8b8371; }
.hmii-field textarea:focus, .hmii-field input:focus { outline: 4px solid rgba(255, 198, 41, .28); border-color: #b77c00; }
.hmii-honeypot { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; }
.hmii-valuator__submit, .hmii-followup button { width: 100%; min-height: 56px; margin-top: 1rem; padding: .9rem 1.2rem; color: var(--hmii-ink); background: var(--hmii-brand); border: 2px solid var(--hmii-ink); border-radius: .85rem; font: inherit; font-weight: 900; cursor: pointer; box-shadow: 0 .35rem 0 var(--hmii-ink); transition: transform .15s ease, box-shadow .15s ease, background .15s ease; }
.hmii-valuator__submit span { margin-left: .35rem; font-size: 1.15em; }
.hmii-valuator__submit:hover, .hmii-followup button:hover { background: #ffd557; transform: translateY(-2px); box-shadow: 0 .48rem 0 var(--hmii-ink); }
.hmii-valuator__submit:active, .hmii-followup button:active { transform: translateY(2px); box-shadow: 0 .15rem 0 var(--hmii-ink); }
.hmii-valuator__submit:disabled, .hmii-followup button:disabled { cursor: wait; opacity: .6; }
.hmii-valuator__privacy { margin: 1rem .25rem .1rem; color: #756e5f; font-size: .75rem; line-height: 1.5; text-align: center; }

.hmii-status { margin: 1rem 0 0; padding: .9rem 1rem; color: #1a1608; background: var(--hmii-brand); border-radius: .8rem; font-weight: 700; }
.hmii-status.is-error { color: #fff; background: #a82424; }
.hmii-result { scroll-margin-top: 1rem; margin-top: 1rem; padding: clamp(1rem, 4vw, 2rem); color: var(--hmii-ink); background: var(--hmii-surface); border: 1px solid #ddc982; border-radius: 1.35rem; box-shadow: 0 1rem 2.6rem rgba(0, 0, 0, .2); }
.hmii-result__header { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.hmii-result__header h3 { margin: .2rem 0; color: var(--hmii-ink); font-size: clamp(1.6rem, 4vw, 2.5rem); letter-spacing: -.045em; }
.hmii-result__eyebrow { margin: 0; color: #9b6800; font-size: .76rem; font-weight: 900; letter-spacing: .09em; text-transform: uppercase; }
.hmii-result__model { margin: .3rem 0 0; color: var(--hmii-muted); }
.hmii-result__confidence { flex: 0 0 130px; padding: .85rem; text-align: center; background: var(--hmii-soft); border: 1px solid #ead271; border-radius: .85rem; }
.hmii-result__confidence strong, .hmii-result__confidence span { display: block; }
.hmii-result__confidence strong { color: var(--hmii-ink); font-size: 1.6rem; }
.hmii-result__confidence span { margin-top: .2rem; color: var(--hmii-muted); font-size: .72rem; }
.hmii-result__price { margin: 1.4rem 0; padding: 1.3rem; background: var(--hmii-brand); border: 2px solid var(--hmii-ink); border-radius: 1rem; }
.hmii-result__price span, .hmii-result__price strong, .hmii-result__price small { display: block; }
.hmii-result__range { margin: .35rem 0; color: var(--hmii-ink); font-size: clamp(1.9rem, 5vw, 3.2rem); letter-spacing: -.05em; }
.hmii-result__price small { color: #4e3e10; }
.hmii-result__details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; }
.hmii-result__detail { padding: 1rem; background: #fffaf0; border: 1px solid #e9dfc8; border-radius: .85rem; }
.hmii-result__detail p { margin: .35rem 0 0; color: #28251f; line-height: 1.55; }
.hmii-result__label { color: #756b57; font-size: .73rem; font-weight: 900; letter-spacing: .05em; text-transform: uppercase; }
.hmii-result__section { margin-top: 1.4rem; }
.hmii-result__section h4 { margin: 0 0 .65rem; color: var(--hmii-ink); }
.hmii-result__list { display: grid; gap: .45rem; margin: 0; padding-left: 1.2rem; color: #28251f; }
.hmii-result__keywords { display: flex; flex-wrap: wrap; gap: .45rem; }
.hmii-result__keywords span { padding: .45rem .68rem; color: var(--hmii-ink); background: var(--hmii-soft); border: 1px solid #ead271; border-radius: 999px; font-size: .82rem; }
.hmii-result__links { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: .85rem; }
.hmii-result__links a { padding: .68rem .9rem; color: var(--hmii-ink); background: var(--hmii-brand); border: 1px solid var(--hmii-ink); border-radius: .7rem; text-decoration: none; font-weight: 800; }
.hmii-result__disclaimer { margin: 1.4rem 0 0; padding-top: 1rem; color: var(--hmii-muted); border-top: 1px solid var(--hmii-line); font-size: .78rem; line-height: 1.55; }
.hmii-result__blocked { padding: 1rem; color: #7f2323; background: #fff1f1; border-radius: .8rem; }
.hmii-followup { margin-top: 1rem; padding: 1rem; color: var(--hmii-ink); background: var(--hmii-surface); border: 1px solid #ddc982; border-radius: 1rem; }
.hmii-followup .hmii-field { margin-top: 0; }

@media (max-width: 620px) {
  .hmii-valuator { margin: 1rem auto; padding: .75rem; border-radius: 1.25rem; }
  .hmii-brandlockup { margin-bottom: 1rem; }
  .hmii-brandlockup img { width: 54px; height: 54px; }
  .hmii-valuator__intro h2 { font-size: clamp(2rem, 12vw, 3rem); }
  .hmii-valuator__form, .hmii-result { border-radius: 1rem; }
  .hmii-dropzone { min-height: 230px; padding: 1.2rem; }
  .hmii-result__header { display: grid; }
  .hmii-result__confidence { width: 100%; }
  .hmii-result__details { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .hmii-dropzone, .hmii-valuator__submit, .hmii-followup button { transition: none; }
}

/* v0.4 — estimator typography and homepage integration */
.hmii-valuator {
  font-family: "Manrope", "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0;
}
.hmii-valuator button,
.hmii-valuator input,
.hmii-valuator textarea { font-family: inherit; letter-spacing: inherit; }
.hmii-valuator__intro { max-width: 720px; }
.hmii-brandlockup strong { font-family: inherit; font-weight: 800; }
.hmii-valuator__intro h2 { max-width: 700px; font-family: inherit; font-size: clamp(36px, 5vw, 52px); font-weight: 800; line-height: 1.02; letter-spacing: -.05em; }
.hmii-valuator__intro > p:not(.hmii-valuator__eyebrow) { font-size: 15px; font-weight: 500; }
.hmii-valuator__eyebrow { font-size: 10px; }
.hmii-trustbar span { font-size: 11px; font-weight: 650; }
.hmii-dropzone strong { font-family: inherit; font-size: clamp(19px, 3vw, 24px); font-weight: 800; }
.hmii-dropzone__action { font-size: 13px; }
.hmii-field > span { font-family: inherit; font-size: 12px; font-weight: 800; }
.hmii-field textarea,
.hmii-field input { font-size: 13px; line-height: 1.55; }
.hmii-valuator__submit,
.hmii-followup button { min-height: 52px; border: 0; border-radius: 12px; font-size: 13px; font-weight: 800; box-shadow: none; }
.hmii-valuator__submit:hover,
.hmii-followup button:hover { transform: translateY(-1px); box-shadow: none; }
.hmii-valuator__privacy { font-size: 10px; line-height: 1.55; }
.hmii-result h3,
.hmii-result h4,
.hmii-result p,
.hmii-result span,
.hmii-result a { font-family: inherit; }

.hmii-home .hmii-valuator {
  max-width: none;
  margin: 0;
  padding: 0;
  color: #232323;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.hmii-home .hmii-valuator__intro { display: none; }
.hmii-home .hmii-valuator__form { padding: 0; background: transparent; border: 0; border-radius: 0; box-shadow: none; }
.hmii-home .hmii-dropzone { min-height: 222px; padding: 24px; background: #f7f4ec; border: 1.5px dashed #b8b2a5; border-radius: 15px; }
.hmii-home .hmii-dropzone:hover,
.hmii-home .hmii-dropzone.is-dragging { background: #fff7d4; border-color: #8a6500; transform: none; }
.hmii-home .hmii-dropzone__icon { width: 52px; height: 52px; font-size: 26px; box-shadow: none; }
.hmii-home .hmii-dropzone strong { margin-top: 12px; font-size: 20px; }
.hmii-home .hmii-dropzone__action { margin-top: 3px; color: #5f5b52; font-size: 12px; }
.hmii-home .hmii-dropzone small { color: #858077; font-size: 10px; }
.hmii-home .hmii-field { gap: 6px; margin-top: 13px; }
.hmii-home .hmii-field textarea { min-height: 76px; padding: 12px 13px; resize: vertical; border-color: #d9d3c7; border-radius: 11px; }
.hmii-home .hmii-valuator__submit { min-height: 52px; margin-top: 12px; }
.hmii-home .hmii-valuator__privacy { margin: 12px 6px 0; color: #858077; }
.hmii-home .hmii-preview { min-height: 222px; }
.hmii-home .hmii-status,
.hmii-home .hmii-result,
.hmii-home .hmii-followup { font-size: 14px; }

@media (max-width: 720px) {
  .hmii-valuator { padding: 16px; border-radius: 18px; }
  .hmii-home .hmii-valuator { padding: 0; }
  .hmii-home .hmii-dropzone { min-height: 190px; padding: 18px; }
  .hmii-home .hmii-dropzone__icon { width: 46px; height: 46px; }
  .hmii-home .hmii-valuator__privacy { display: none; }
}

/* v0.6 — professional upload workspace */
.hmii-valuator__form { position: relative; }
.hmii-dropzone {
  position: relative;
  display: flex;
  min-height: 210px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 26px;
  overflow: hidden;
  color: #1b1b1c;
  background: #faf9f5;
  border: 1px dashed #aaa69c;
  border-radius: 16px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.7);
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.hmii-dropzone::after {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid transparent;
  border-radius: 11px;
  pointer-events: none;
  transition: border-color .2s ease;
}
.hmii-dropzone:hover,
.hmii-dropzone.is-dragging {
  background: #fff9df;
  border-color: #9c7300;
  box-shadow: inset 0 0 0 1px rgba(255,196,45,.2);
  transform: none;
}
.hmii-dropzone.is-dragging::after { border-color: rgba(156,115,0,.28); }
.hmii-dropzone__visual {
  position: relative;
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  margin-bottom: 15px;
  color: var(--hmii-brand);
  background: #151516;
  border-radius: 17px;
  box-shadow: 0 8px 22px rgba(17,17,18,.13);
}
.hmii-dropzone__visual svg { width: 31px; height: 31px; }
.hmii-dropzone__visual i {
  position: absolute;
  right: -3px;
  bottom: -3px;
  width: 16px;
  height: 16px;
  background: var(--hmii-brand);
  border: 3px solid #faf9f5;
  border-radius: 50%;
}
.hmii-dropzone strong { margin: 0; font-size: 20px; font-weight: 800; letter-spacing: -.035em; }
.hmii-dropzone__action { margin-top: 5px; color: #68645b; font-size: 12px; }
.hmii-dropzone__action b { color: #19191a; font-weight: 800; text-decoration: underline; text-decoration-color: var(--hmii-brand); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.hmii-dropzone > small { display: flex; align-items: center; gap: 8px; margin-top: 13px; color: #8b877d; font-size: 9px; font-weight: 650; letter-spacing: .015em; }
.hmii-dropzone > small i { width: 3px; height: 3px; background: #b3afa5; border-radius: 50%; }
.hmii-upload-guidance { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; margin-top: 8px; }
.hmii-upload-guidance[hidden] { display: none !important; }
.hmii-upload-guidance > span { display: flex; min-width: 0; align-items: center; justify-content: center; gap: 6px; padding: 8px 7px; color: #656158; background: #f7f5ef; border: 1px solid #e2ded3; border-radius: 10px; font-size: 9px; font-weight: 750; white-space: nowrap; }
.hmii-upload-guidance i { display: grid; width: 15px; height: 15px; place-items: center; color: #1b1b1c; background: var(--hmii-brand); border-radius: 50%; font-size: 8px; font-style: normal; font-weight: 900; }

.hmii-preview {
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(140px, .8fr);
  gap: 14px;
  padding: 12px;
  overflow: hidden;
  background: #f7f5ef;
  border: 1px solid #dfdbd0;
  border-radius: 16px;
}
.hmii-preview[hidden] { display: none !important; }
.hmii-preview__image { position: relative; overflow: hidden; min-height: 178px; background: #e9e5dc; border-radius: 11px; }
.hmii-preview__image img { display: block; width: 100%; height: 100%; max-height: 260px; object-fit: contain; }
.hmii-preview__image > span { position: absolute; top: 9px; left: 9px; padding: 6px 8px; color: #202021; background: var(--hmii-brand); border-radius: 7px; font-size: 8px; font-weight: 850; letter-spacing: .07em; text-transform: uppercase; }
.hmii-preview__meta { display: flex; min-width: 0; flex-direction: column; justify-content: center; padding: 8px 7px; }
.hmii-preview__meta > span { color: #8d887f; font-size: 8px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.hmii-preview__meta strong { overflow: hidden; margin-top: 7px; color: #1c1c1d; font-size: 13px; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
.hmii-preview__meta small { margin-top: 3px; color: #77736a; font-size: 10px; }
.hmii-preview__meta button { position: static; width: 100%; margin-top: 18px; padding: 9px 10px; color: #29292a; background: #fff; border: 1px solid #cdc8bd; border-radius: 9px; font-size: 10px; font-weight: 800; cursor: pointer; }
.hmii-preview__meta button:hover { border-color: #222; }

.hmii-field { display: grid; gap: 7px; margin-top: 15px; }
.hmii-field__label { display: flex !important; align-items: center; justify-content: space-between; gap: 12px; }
.hmii-field__label strong { color: #202021; font-size: 11px; font-weight: 800; letter-spacing: -.01em; }
.hmii-field__label small { padding: 3px 7px; color: #79756c; background: #f2f0ea; border-radius: 999px; font-size: 8px; font-weight: 750; text-transform: uppercase; }
.hmii-field textarea,
.hmii-field input { border-color: #d2cec4; border-radius: 12px; }
.hmii-field textarea { min-height: 86px; padding: 12px 13px; resize: vertical; background: #fff; font-size: 12px; line-height: 1.55; }
.hmii-field textarea:hover { border-color: #aaa59a; }
.hmii-field textarea:focus,
.hmii-field input:focus { outline: 3px solid rgba(255,196,45,.25); border-color: #977000; }
.hmii-field__footer { display: flex !important; align-items: center; justify-content: space-between; gap: 12px; color: #8b877d !important; }
.hmii-field__footer small { font-size: 8px; line-height: 1.4; }

.hmii-valuator__submit {
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 13px;
  padding: 8px 9px 8px 18px;
  color: #151516;
  background: var(--hmii-brand);
  border: 0;
  border-radius: 13px;
  box-shadow: none;
  font-size: 12px;
  font-weight: 850;
}
.hmii-valuator__submit > span { margin: 0; font-size: inherit; }
.hmii-valuator__submit > b { display: grid; width: 36px; height: 36px; place-items: center; color: var(--hmii-brand); background: #151516; border-radius: 10px; }
.hmii-valuator__submit > b svg { width: 19px; height: 19px; }
.hmii-valuator__submit:hover { background: #ffd45b; box-shadow: none; transform: translateY(-1px); }
.hmii-valuator__submit:active { box-shadow: none; transform: translateY(0); }
.hmii-valuator__submit:disabled > b { animation: hmii-submit-pulse 1.1s ease-in-out infinite; }
@keyframes hmii-submit-pulse { 50% { opacity: .45; } }

.hmii-valuator__privacy {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin: 10px 0 0;
  padding: 10px 11px;
  color: #78746b;
  background: #f7f5ef;
  border: 1px solid #e4e0d7;
  border-radius: 11px;
  text-align: left;
}
.hmii-valuator__privacy > svg { flex: 0 0 18px; width: 18px; height: 18px; margin-top: 1px; color: #8a6700; }
.hmii-valuator__privacy p { display: grid; gap: 1px; margin: 0; }
.hmii-valuator__privacy strong { color: #45433e; font-size: 8px; font-weight: 850; letter-spacing: .05em; text-transform: uppercase; }
.hmii-valuator__privacy span { font-size: 8px; line-height: 1.45; }

.hmii-home .hmii-dropzone,
.hmii-seo-page .hmii-dropzone { min-height: 210px; padding: 26px; background: #faf9f5; border: 1px dashed #aaa69c; border-radius: 16px; }
.hmii-home .hmii-dropzone:hover,
.hmii-home .hmii-dropzone.is-dragging,
.hmii-seo-page .hmii-dropzone:hover,
.hmii-seo-page .hmii-dropzone.is-dragging { background: #fff9df; border-color: #9c7300; }
.hmii-home .hmii-dropzone strong,
.hmii-seo-page .hmii-dropzone strong { margin: 0; font-size: 20px; }
.hmii-home .hmii-dropzone__action,
.hmii-seo-page .hmii-dropzone__action { margin-top: 5px; color: #68645b; font-size: 12px; }
.hmii-home .hmii-dropzone > small,
.hmii-seo-page .hmii-dropzone > small { color: #8b877d; font-size: 9px; }
.hmii-home .hmii-field,
.hmii-seo-page .hmii-field { gap: 7px; margin-top: 15px; }
.hmii-home .hmii-field textarea,
.hmii-seo-page .hmii-field textarea { min-height: 86px; padding: 12px 13px; border-color: #d2cec4; border-radius: 12px; }
.hmii-home .hmii-valuator__submit,
.hmii-seo-page .hmii-valuator__submit { min-height: 54px; margin-top: 13px; }
.hmii-home .hmii-valuator__privacy,
.hmii-seo-page .hmii-valuator__privacy { margin: 10px 0 0; color: #78746b; }

@media (max-width: 720px) {
  .hmii-dropzone,
  .hmii-home .hmii-dropzone,
  .hmii-seo-page .hmii-dropzone { min-height: 190px; padding: 20px 16px; }
  .hmii-dropzone__visual { width: 54px; height: 54px; }
  .hmii-upload-guidance { gap: 5px; }
  .hmii-upload-guidance > span { gap: 4px; padding: 7px 4px; font-size: 8px; }
  .hmii-upload-guidance i { width: 13px; height: 13px; }
  .hmii-preview { grid-template-columns: 1fr; }
  .hmii-preview__image { min-height: 190px; }
  .hmii-preview__meta { padding: 5px 3px 3px; }
  .hmii-preview__meta button { margin-top: 12px; }
  .hmii-field__footer > small:first-child { display: none; }
  .hmii-field__footer { justify-content: flex-end; }
  .hmii-home .hmii-valuator__privacy,
  .hmii-seo-page .hmii-valuator__privacy { display: flex; }
}

/* v0.7 — calmer upload controls and flat photo tips */
.hmii-dropzone__visual {
  width: 62px;
  height: 62px;
  color: #745700;
  background: #fff2bd;
  border: 1px solid #e5ca69;
  border-radius: 50%;
  box-shadow: 0 10px 24px rgba(121, 91, 0, .1);
}
.hmii-dropzone__visual svg { width: 29px; height: 29px; }
.hmii-dropzone__visual i { display: none; }
.hmii-upload-guidance {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-top: 10px;
  padding: 10px 4px 1px;
  color: #68645c;
  border-top: 1px solid #e5e0d6;
}
.hmii-upload-guidance > small {
  margin-right: 12px;
  color: #8a6500;
  font-size: 8px;
  font-weight: 850;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.hmii-upload-guidance > span {
  gap: 6px;
  padding: 0 12px;
  color: #66625a;
  background: transparent;
  border: 0;
  border-radius: 0;
  font-size: 9px;
}
.hmii-upload-guidance > span + span { border-left: 1px solid #ddd8ce; }
.hmii-upload-guidance svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: #8a6500;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.hmii-upload-guidance i { display: none; }
.hmii-valuator__submit { justify-content: center; gap: 11px; padding-inline: 18px; }
.hmii-valuator__submit > b {
  width: 22px;
  height: 22px;
  color: #151516;
  background: transparent;
  border-radius: 0;
}
.hmii-valuator__submit > b svg { width: 20px; height: 20px; }

@media (max-width: 720px) {
  .hmii-upload-guidance { flex-wrap: wrap; row-gap: 9px; padding-top: 9px; }
  .hmii-upload-guidance > small { width: 100%; margin: 0; text-align: center; }
  .hmii-upload-guidance > span { padding: 0 8px; font-size: 8px; }
  .hmii-upload-guidance > span + span { border-left: 0; }
}

/* v0.8 — compact selected-photo state and humane service feedback */
.hmii-preview {
  min-height: 0;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 12px;
  background: #f5f2eb;
  border: 1px solid #dcd7cd;
  border-radius: 15px;
}
.hmii-preview__image {
  width: 112px;
  height: 96px;
  min-height: 0;
  background: #e8e3d9;
  border-radius: 10px;
}
.hmii-preview__image img {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
}
.hmii-preview__meta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 4px 14px;
  padding: 0 4px 0 0;
}
.hmii-preview__ready {
  grid-column: 1 / -1;
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  color: #527330 !important;
  font-size: 8px !important;
  font-weight: 850 !important;
  letter-spacing: .09em !important;
  text-transform: uppercase;
}
.hmii-preview__ready i { width: 7px; height: 7px; background: #6e9c3f; border-radius: 50%; }
.hmii-preview__meta strong { grid-column: 1; margin: 2px 0 0; font-size: 13px; }
.hmii-preview__meta small { grid-column: 1; margin: 0; font-size: 9px; }
.hmii-preview__meta button {
  grid-column: 2;
  grid-row: 2 / 4;
  display: inline-flex;
  width: auto;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 8px 10px;
  color: #5c5851;
  background: transparent;
  border: 0;
  border-radius: 8px;
  font-size: 9px;
}
.hmii-preview__meta button:hover { color: #8b1e1e; background: #f1e8e6; border-color: transparent; }
.hmii-preview__meta button svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.hmii-status {
  position: relative;
  margin-top: 12px;
  padding: 12px 14px 12px 38px;
  color: #4d493f;
  background: #f4f1e9;
  border: 1px solid #ddd8cd;
  border-radius: 11px;
  font-size: 11px;
  font-weight: 650;
  line-height: 1.5;
}
.hmii-status::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 50%;
  width: 8px;
  height: 8px;
  background: var(--hmii-brand);
  border-radius: 50%;
  transform: translateY(-50%);
}
.hmii-status.is-error { color: #7a2727; background: #fff3f1; border-color: #edc7c1; }
.hmii-status.is-error::before { background: #c8473d; }

@media (max-width: 560px) {
  .hmii-preview { grid-template-columns: 82px minmax(0, 1fr); gap: 11px; }
  .hmii-preview__image { width: 82px; height: 82px; }
  .hmii-preview__meta { grid-template-columns: 1fr; gap: 3px; }
  .hmii-preview__meta button { grid-column: 1; grid-row: auto; justify-self: start; margin-top: 3px; padding: 5px 0; }
}

/* v0.9 — estimator containment for narrow devices */
@media (max-width: 720px) {
  .hmii-valuator,
  .hmii-valuator__form,
  .hmii-dropzone,
  .hmii-preview,
  .hmii-field,
  .hmii-field textarea,
  .hmii-valuator__submit,
  .hmii-valuator__privacy,
  .hmii-result,
  .hmii-followup { width: 100%; max-width: 100%; min-width: 0; }
  .hmii-home .hmii-dropzone,
  .hmii-seo-page .hmii-dropzone { min-height: 178px; padding: 18px 12px; }
  .hmii-dropzone__visual { width: 50px; height: 50px; margin-bottom: 11px; }
  .hmii-dropzone strong,
  .hmii-home .hmii-dropzone strong,
  .hmii-seo-page .hmii-dropzone strong { font-size: 17px; }
  .hmii-upload-guidance > span { flex: 0 1 auto; }
  .hmii-field textarea { min-height: 78px; }
  .hmii-preview__meta strong { overflow-wrap: anywhere; white-space: normal; }
  .hmii-valuator__privacy { padding: 9px; }
  .hmii-valuator__privacy span { overflow-wrap: anywhere; }
  .hmii-result__header,
  .hmii-result__details { grid-template-columns: 1fr; }
  .hmii-result__confidence { justify-self: start; }
}

/* v0.10 — refined three-step estimator card */
.hmii-home-hero__tool > .hmii-hero-tool__top,
.hmii-seo-tool > .hmii-hero-tool__top { display: none; }
.hmii-home-hero__tool,
.hmii-seo-tool {
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.hmii-home .hmii-valuator__form,
.hmii-seo-page .hmii-valuator__form {
  padding: 28px 27px 24px;
  background: linear-gradient(180deg, #fff, #fdfcf8);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 24px;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.38), 0 10px 24px -12px rgba(0,0,0,.26);
}
.hmii-estimator-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 12px;
}
.hmii-estimator-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #b87513;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .1em;
  line-height: 1;
  text-transform: uppercase;
}
.hmii-estimator-eyebrow svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.hmii-estimator-steps { display: inline-flex; align-items: center; gap: 6px; }
.hmii-estimator-steps i {
  display: block;
  width: 6px;
  height: 6px;
  background: #ddd4bf;
  border-radius: 50%;
  transition: transform .22s ease, background .22s ease;
}
.hmii-estimator-steps i.is-active { background: #f4b740; transform: scale(1.4); }
.hmii-estimator-steps i.is-done { background: #2e9e6d; }
.hmii-estimator-title {
  margin: 0 0 4px;
  color: #1b1712;
  font-family: inherit;
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -.025em;
  line-height: 1.2;
}
.hmii-estimator-subtitle { margin: 0 0 20px; color: #6e6659; font-size: 12px; line-height: 1.5; }

.hmii-home .hmii-dropzone,
.hmii-seo-page .hmii-dropzone {
  min-height: 224px;
  padding: 27px 20px 22px;
  background: rgba(244,183,64,.055);
  border: 1.5px dashed #d8cfbc;
  border-radius: 18px;
  transition: border-color .2s ease, background .2s ease, transform .15s ease;
}
.hmii-home .hmii-dropzone:hover,
.hmii-home .hmii-dropzone.is-dragging,
.hmii-seo-page .hmii-dropzone:hover,
.hmii-seo-page .hmii-dropzone.is-dragging {
  background: rgba(244,183,64,.13);
  border-color: #f4b740;
  transform: translateY(-1px);
}
.hmii-dropzone:focus-within { outline: 2px solid #f4b740; outline-offset: 3px; }
.hmii-dropzone__visual {
  position: relative;
  width: 56px;
  height: 56px;
  margin-bottom: 14px;
  color: #c47c15;
  background: #fff;
  border: 0;
  box-shadow: none;
}
.hmii-dropzone__visual::before {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, #f4b740, transparent 35%, transparent 65%, #f4b740);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 3px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 3px));
  animation: hmii-estimator-spin 7s linear infinite;
  opacity: .84;
}
.hmii-dropzone__visual svg { position: relative; z-index: 1; width: 23px; height: 23px; }
@keyframes hmii-estimator-spin { to { transform: rotate(360deg); } }
.hmii-home .hmii-dropzone strong,
.hmii-seo-page .hmii-dropzone strong { margin: 0; color: #1b1712; font-size: 16px; letter-spacing: -.02em; }
.hmii-home .hmii-dropzone__action,
.hmii-seo-page .hmii-dropzone__action { margin-top: 4px; color: #6e6659; font-size: 12px; }
.hmii-dropzone__action b { color: #a8660c; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.hmii-file-chips { display: flex !important; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 15px !important; }
.hmii-home .hmii-dropzone .hmii-file-chips span,
.hmii-seo-page .hmii-dropzone .hmii-file-chips span {
  padding: 4px 8px;
  color: #6e6659;
  background: #fff;
  border: 1px solid #eae3d4;
  border-radius: 999px;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .02em;
}
.hmii-home .hmii-dropzone .hmii-file-chips span:last-child,
.hmii-seo-page .hmii-dropzone .hmii-file-chips span:last-child { color: #a79e8d; }

.hmii-upload-guidance {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4px;
  margin: 16px 0 18px;
  padding: 12px 3px;
  border-top: 1px solid #eae3d4;
  border-bottom: 1px solid #eae3d4;
}
.hmii-upload-guidance > small { display: none; }
.hmii-upload-guidance > span,
.hmii-upload-guidance > span + span {
  display: grid;
  justify-items: center;
  gap: 6px;
  padding: 0 2px;
  color: #6e6659;
  border: 0;
  font-size: 9px;
  font-weight: 700;
  text-align: center;
}
.hmii-upload-guidance svg {
  width: 30px;
  height: 30px;
  padding: 7px;
  stroke: #b87513;
  background: rgba(244,183,64,.13);
  border-radius: 50%;
}

.hmii-preview {
  min-height: 0;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 12px;
  padding: 12px;
  background: rgba(244,183,64,.07);
  border: 1.5px dashed #d8cfbc;
  border-radius: 18px;
}
.hmii-preview__image { width: 56px; height: 56px; border-radius: 12px; }
.hmii-preview__meta { grid-template-columns: minmax(0, 1fr) auto; gap: 2px 10px; padding: 0; }
.hmii-preview__ready { font-size: 8px; }
.hmii-preview__meta strong { font-size: 12px; }
.hmii-preview__meta small { font-size: 10px; }
.hmii-preview__meta button {
  grid-column: 2;
  grid-row: 1 / 4;
  align-self: center;
  padding: 4px 0;
  color: #a8660c;
  background: transparent;
  border: 0;
  font-size: 10px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.hmii-home .hmii-field,
.hmii-seo-page .hmii-field { gap: 8px; margin-top: 0; }
.hmii-field__label strong { color: #1b1712; font-size: 12px; }
.hmii-field__label small {
  padding: 3px 8px;
  color: #9a9182;
  background: transparent;
  border: 1px solid #ddd4bf;
  border-radius: 999px;
  font-size: 8px;
}
.hmii-home .hmii-field textarea,
.hmii-seo-page .hmii-field textarea {
  min-height: 80px;
  padding: 12px 13px;
  color: #1b1712;
  background: #fff;
  border: 1px solid #ddd4bf;
  border-radius: 10px;
  font-size: 12px;
}
.hmii-field textarea:focus { border-color: #f4b740; outline: 3px solid rgba(244,183,64,.13); }
.hmii-field__footer { margin-top: -2px; }
.hmii-field__footer small { color: #a79e8d; font-size: 8px; font-weight: 600; }

.hmii-home .hmii-valuator__submit,
.hmii-seo-page .hmii-valuator__submit {
  min-height: 50px;
  margin-top: 17px;
  color: #1b1400;
  background: linear-gradient(135deg, #f4b740, #d68c1d);
  border-radius: 14px;
  box-shadow: 0 14px 24px -10px rgba(214,140,29,.55);
}
.hmii-valuator__submit:hover { background: linear-gradient(135deg, #ffc95c, #df972b); box-shadow: 0 18px 28px -10px rgba(214,140,29,.65); }
.hmii-valuator__submit > b { color: #1b1400; }
.hmii-home .hmii-valuator__privacy,
.hmii-seo-page .hmii-valuator__privacy {
  gap: 9px;
  margin: 16px 0 0;
  padding: 14px 0 0;
  color: #6e6659;
  background: transparent;
  border: 0;
  border-top: 1px solid #eae3d4;
  border-radius: 0;
}
.hmii-valuator__privacy strong { color: #1b1712; font-size: 9px; text-transform: none; }
.hmii-valuator__privacy span { font-size: 8px; line-height: 1.5; }

@media (max-width: 720px) {
  .hmii-home .hmii-valuator__form,
  .hmii-seo-page .hmii-valuator__form { padding: 22px 17px 19px; border-radius: 20px; }
  .hmii-estimator-title { font-size: 18px; }
  .hmii-estimator-subtitle { margin-bottom: 16px; }
  .hmii-home .hmii-dropzone,
  .hmii-seo-page .hmii-dropzone { min-height: 205px; padding: 24px 12px 20px; }
  .hmii-upload-guidance { margin: 14px 0 16px; }
  .hmii-upload-guidance > span { font-size: 8px; }
  .hmii-preview { grid-template-columns: 52px minmax(0, 1fr); padding: 10px; }
  .hmii-preview__image { width: 52px; height: 52px; }
  .hmii-home .hmii-valuator__privacy,
  .hmii-seo-page .hmii-valuator__privacy { display: flex; }
}

@media (prefers-reduced-motion: reduce) {
  .hmii-dropzone__visual::before { animation: none; }
  .hmii-estimator-steps i { transition: none; }
}
