/* Editorial Free scan treatment. Other screens keep their existing structure. */
.ho-home-refresh {
  --ho-leaf: #526b39;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(22px, 3vw, 38px);
  align-items: stretch;
  min-width: 0;
  color: var(--green-900);
}
.ho-home-refresh-copy { min-width: 0; padding: 16px 0 5px; }
.ho-home-refresh-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 13px;
  border: 1px solid #dce3d4;
  border-radius: 999px;
  background: #f4f6eb;
  color: var(--green-700);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.ho-home-refresh-kicker > span { width: 7px; height: 7px; border-radius: 50%; background: #91a958; }
.ho-home-refresh .free-scan-headline {
  max-width: 660px;
  margin: 27px 0 17px;
  color: #101a14;
  font: 600 clamp(39px, 4vw, 60px)/1.03 var(--font-display);
  letter-spacing: -.04em;
  text-wrap: balance;
}
.ho-home-refresh .free-scan-headline em { color: var(--ho-leaf); }
.ho-home-refresh .free-scan-intro { max-width: 540px; margin: 0 0 25px; color: #34463b; font: 400 clamp(17px, 1.65vw, 21px)/1.38 var(--font-display); }
.ho-home-refresh-form {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px;
  border: 1px solid #e0e5d9;
  border-radius: 17px;
  background: #fff;
  box-shadow: 0 10px 26px rgba(29, 53, 41, .09);
}
.ho-home-refresh-form input, .ho-home-refresh-form textarea {
  flex: 1;
  min-width: 0;
  min-height: 45px;
  padding: 8px 13px;
  border: 0;
  outline: 0;
  resize: vertical;
  background: transparent;
  color: var(--green-900);
  font: 400 15px var(--font-sans);
}
.ho-home-refresh-form input::placeholder, .ho-home-refresh-form textarea::placeholder { color: #7c8a86; opacity: 1; }
.ho-home-refresh-form:focus-within { outline: 2px solid var(--green-700); outline-offset: 2px; }
.ho-home-refresh-form button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 48px; white-space: nowrap; border-radius: 11px !important; background: var(--accent) !important; color: var(--accent-ink) !important; }
.ho-home-refresh-form button:hover { background: #b9ce65 !important; }
.ho-home-refresh-form button:disabled { opacity: .7; cursor: wait; }
.ho-home-refresh-arrow { font-size: 19px; font-weight: 400; line-height: 1; }
.ho-home-brief-link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; margin-top: 7px; padding: 8px 2px; border: 0; background: transparent; color: #3e5739; font: 700 13px var(--font-sans); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.ho-home-brief-link span { font-size: 17px; font-weight: 400; text-decoration: none; }
.ho-home-brief-summary { display: flex; align-items: center; justify-content: space-between; gap: 15px; width: 100%; max-width: 440px; min-height: 60px; margin-top: 15px; padding: 11px 13px; border: 1px solid #cbd8b9; border-radius: 10px; background: #f0f3e6; color: var(--green-900); text-align: left; cursor: pointer; }
.ho-home-brief-summary span { display: grid; gap: 3px; min-width: 0; }
.ho-home-brief-summary strong { font: 700 13px/1.2 var(--font-sans); }
.ho-home-brief-summary small { color: #617466; font: 400 11px/1.3 var(--font-sans); overflow-wrap: anywhere; }
.ho-home-brief-summary b { color: #315844; font: 700 12px/1.2 var(--font-sans); text-decoration: underline; text-underline-offset: 3px; }
.ho-home-brief-link:hover, .ho-home-brief-summary:hover { color: var(--green-900); }
.ho-home-brief-link:focus-visible, .ho-home-brief-summary:focus-visible { outline: 2px solid var(--green-700); outline-offset: 2px; }
.ho-home-refresh-links { display: flex; flex-wrap: wrap; gap: 7px 17px; margin: 8px 0 0; }
.ho-home-refresh-links button { min-height: 38px; padding: 0; border: 0; background: transparent; color: #3e5739; font: 700 12px var(--font-sans); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.ho-home-refresh-links button:hover { color: var(--green-900); }
.ho-home-refresh-status { margin-top: 9px; color: #3e5739; font-size: 11px; }
.ho-home-refresh-error { margin-top: 9px; color: #a13c29; font-size: 12px; font-weight: 700; }
/* The brief's legacy inline sizes varied by control; keep its mobile type scale consistent. */
.ho-home-profile-editor { font-family: var(--font-sans); }
.ho-home-profile-editor label,
.ho-home-profile-editor .ho-profile-priorities-title { font: 700 15px/1.35 var(--font-sans) !important; }
.ho-home-profile-editor input:not([type="checkbox"]),
.ho-home-profile-editor select,
.ho-home-profile-editor textarea { font: 400 16px/1.45 var(--font-sans) !important; }
.ho-home-profile-editor input::placeholder,
.ho-home-profile-editor textarea::placeholder { font: inherit; }
.ho-home-profile-editor .ho-profile-priorities button { font: 600 15px/1.35 var(--font-sans) !important; min-height: 42px; padding: 9px 14px !important; }
.ho-home-profile-editor .ho-profile-priorities small,
.ho-home-profile-editor small { font: 400 14px/1.4 var(--font-sans); }
.ho-home-profile-editor .ho-profile-actions button { font: 700 16px/1.35 var(--font-sans) !important; min-height: 44px; }
.ho-home-refresh-media { position: relative; align-self: start; min-width: 0; height: clamp(520px, calc(100vh - 175px), 610px); overflow: hidden; border-radius: 21px; background: #dde5d6; }
.ho-home-refresh-photo { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.ho-home-refresh-sample { position: absolute; right: 15px; bottom: 15px; left: 15px; padding: 13px 15px 12px; border: 1px solid rgba(232, 236, 224, .8); border-radius: 16px; background: rgba(255, 255, 251, .98); box-shadow: 0 12px 35px rgba(19, 38, 27, .2); }
.ho-home-refresh-sample-label { color: #355d45; font-size: 9px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.ho-home-refresh-sample-main { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 10px; }
.ho-home-refresh-sample-home { display: flex; align-items: center; gap: 9px; min-width: 0; }
.ho-home-refresh-sample-thumb { display: grid; place-items: center; width: 46px; height: 46px; flex: 0 0 46px; border-radius: 8px; background: #edf2dd; }
.ho-home-refresh-sample-thumb img { width: 29px; height: 29px; }
.ho-home-refresh-sample-home strong { display: block; color: #1e2b21; font: 600 16px/1.2 var(--font-display); white-space: nowrap; }
.ho-home-refresh-sample-home small { display: block; margin-top: 3px; color: #6a7e74; font-size: 9px; white-space: nowrap; }
.ho-home-refresh-sample-score { display: flex; align-items: center; gap: 2px; flex: 0 0 auto; padding: 5px 7px; border-radius: 10px; background: #f1f5e7; }
.ho-home-refresh-sample-score strong { color: #1b2b1d; font: 600 29px/1 var(--font-display); }
.ho-home-refresh-sample-score > span { color: #8c9686; font-size: 10px; }
.ho-home-refresh-sample-score i { display: grid; place-items: center; width: 34px; height: 34px; margin-left: 5px; border: 5px solid #9cac5c; border-left-color: #d8dfc7; border-radius: 50%; font-style: normal; }
.ho-home-refresh-sample-score i img { width: 18px; height: 18px; }
.ho-home-refresh-sample-notes { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 10px; padding-top: 9px; border-top: 1px solid #e8ece5; color: #334c3d; font-size: 10px; }
.ho-home-refresh-sample-notes > span { display: inline-flex; align-items: center; gap: 6px; min-width: 0; }
.ho-home-refresh-sample-notes b { display: grid; place-items: center; width: 18px; height: 18px; flex: 0 0 18px; border-radius: 50%; background: #d6e5a9; color: #1e3626; font-size: 11px; }
.ho-home-refresh-benefits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; padding: 14px 0 2px; border-top: 1px solid #d9dfd5; }
.ho-home-refresh-benefits > div { display: flex; gap: 12px; align-items: center; padding: 9px 16px; border-left: 1px solid #d9dfd5; }
.ho-home-refresh-benefits > div:first-child { border-left: 0; }
.ho-home-refresh-benefit-icon { display: grid; place-items: center; width: 38px; height: 38px; flex: 0 0 38px; border-radius: 50%; background: #e8efc8; color: #1e3626; font-size: 22px; }
.ho-home-refresh-benefits strong { display: block; color: #1d3529; font: 600 15px/1.2 var(--font-display); }
.ho-home-refresh-benefits small { display: block; margin-top: 3px; color: #637367; font-size: 10px; line-height: 1.4; }

[data-theme="dark"] .ho-home-refresh,
[data-theme="dark"] .ho-home-refresh-benefits { background: #f7f5ef; }
[data-theme="dark"] .ho-home-refresh { padding: 20px; border-radius: 20px; }
[data-theme="dark"] .ho-home-refresh-benefits { padding: 14px 20px; border-radius: 16px; }

@media (max-width: 1250px) {
  .ho-home-refresh { grid-template-columns: 1fr; }
  .ho-home-refresh-copy { padding: 3px 0 0; }
  .ho-home-refresh-media { height: 385px; }
  .ho-home-refresh-photo { height: 385px; }
}
@media (max-width: 700px) {
  .ho-home-refresh { gap: 17px; }
  .ho-home-refresh .free-scan-headline { margin: 20px 0 15px; font-size: clamp(36px, 9vw, 50px); }
  .ho-home-refresh .free-scan-intro { margin-bottom: 19px; font-size: 17px; }
  .ho-home-refresh-form { display: flex; flex-direction: column; align-items: stretch; padding: 7px; }
  .ho-home-refresh-form input, .ho-home-refresh-form textarea { width: 100%; box-sizing: border-box; font-size: 16px; }
  .ho-home-refresh-form button { width: 100%; min-height: 49px; }
  .ho-home-refresh-links { justify-content: space-between; gap: 5px 12px; }
  .ho-home-refresh-media { display: flex; flex-direction: column-reverse; gap: 13px; overflow: visible; height: auto; border-radius: 0; background: transparent; }
  .ho-home-refresh-sample { position: static; box-shadow: 0 6px 22px rgba(19, 38, 27, .08); }
  .ho-home-refresh-photo { height: 270px; min-height: 270px; border-radius: 17px; }
  .ho-home-refresh-benefits { grid-template-columns: 1fr; padding-top: 5px; }
  .ho-home-refresh-benefits > div { padding: 10px 4px; border-left: 0; border-top: 1px solid #e0e5dc; }
  .ho-home-refresh-benefits > div:first-child { border-top: 0; }
}
@media (max-width: 420px) {
  .ho-home-refresh-kicker { font-size: 9px; }
  .ho-home-refresh-sample { padding: 12px 11px; }
  .ho-home-refresh-sample-thumb { width: 38px; height: 38px; flex-basis: 38px; }
  .ho-home-refresh-sample-home strong { font-size: 13px; }
  .ho-home-refresh-sample-home small { font-size: 8px; }
  .ho-home-refresh-sample-score strong { font-size: 24px; }
  .ho-home-refresh-sample-score i { width: 27px; height: 27px; margin-left: 2px; }
  .ho-home-refresh-sample-notes { align-items: flex-start; flex-direction: column; }
}
