/* V0.15.8 — integrated planning controls, no duplicate CTA, clearer Future planning */

/* The What-if controls already do this job; remove the duplicate recommendation row. */
.app-view-current .v15-action-card{display:none!important}

/* Custom amount is a chip, not a form block. */
.app-view-current .trajectory-custom-overpay,
.app-view-current .total-custom-chip,
.app-view-current .trajectory-custom-overpay input,
.app-view-current .total-custom-chip input,

/* Future: make the planning assumption part of the page heading, not a separate banner. */
.app-view-future .app-view-heading.future-heading-integrated{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  grid-template-areas:"title subtitle" "assumption assumption"!important;
  gap:7px 22px!important;
  align-items:end!important;
  margin-bottom:16px!important;
  padding:0 2px 12px!important;
  border-bottom:1px solid var(--border-soft)!important;
}
.app-view-future .app-view-heading.future-heading-integrated>div:first-child{grid-area:title}
.app-view-future .app-view-heading.future-heading-integrated>p{grid-area:subtitle;margin:0!important;text-align:right!important}

/* Home-value model range: one readable range, not a badge plus three stacked boxes. */
.app-view-future .future-model-range-panel{padding:24px!important}
.app-view-future .future-model-heading{margin-bottom:16px!important}
.app-view-future .future-model-heading h2{color:var(--text)!important}
.app-view-future #homeProfileRange{
  display:grid!important;
  grid-template-columns:minmax(240px,.78fr) minmax(0,1.22fr)!important;
  gap:28px!important;
  align-items:center!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
.app-view-future .v157-range-copy>span{
  display:block;color:var(--accent-strong)!important;font-size:10px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;
}
.app-view-future .v157-range-copy>strong{
  display:block;margin-top:5px;color:var(--text)!important;font-family:"Iowan Old Style","Palatino Linotype",Georgia,serif;font-size:25px;font-weight:600;letter-spacing:-.025em;
}
.app-view-future .v157-range-copy>strong i{
  margin:0 5px;color:var(--muted)!important;font-family:inherit;font-size:13px;font-style:normal;font-weight:500;
}
.app-view-future .v157-range-copy>small{
  display:block;margin-top:8px;max-width:420px;color:var(--muted)!important;font-size:10px;line-height:1.5;
}
.app-view-future .v157-range-line{
  position:relative;height:6px;margin:12px 8px 11px;border-radius:999px;background:linear-gradient(90deg,#d8c7b5 0%,#c88e5c 50%,#d8c7b5 100%);
}
.app-view-future .v157-range-line::before,
.app-view-future .v157-range-line::after{
  content:"";position:absolute;top:50%;width:10px;height:10px;border-radius:50%;background:#fffaf4;border:2px solid #bca58e;transform:translateY(-50%);
}
.app-view-future .v157-range-line::before{left:-2px}
.app-view-future .v157-range-line::after{right:-2px}
.app-view-future .v157-centre-marker{
  position:absolute;left:50%;top:50%;width:14px;height:14px;border-radius:50%;background:#252d36;border:3px solid #fffaf4;box-shadow:0 0 0 2px rgba(200,142,92,.34);transform:translate(-50%,-50%);
}
.app-view-future .v157-range-labels{display:grid;grid-template-columns:1fr 1fr 1fr;gap:16px;align-items:start}
.app-view-future .v157-range-labels>div:nth-child(2){text-align:center}
.app-view-future .v157-range-labels>div:nth-child(3){text-align:right}
.app-view-future .v157-range-labels span{display:block;color:var(--muted)!important;font-size:9px}
.app-view-future .v157-range-labels strong{display:block;margin-top:3px;color:var(--text)!important;font-size:15px}
.app-view-future .v157-range-labels .is-centre strong{color:var(--accent-strong)!important;font-size:17px}

/* Authoritative Future typography — prevent washed-out legacy light text. */
body[data-app-view="future"] #homeProjection .projection-heading h2,
body[data-app-view="future"] #futureModelRange .future-model-heading h2,
body[data-app-view="future"] #propertyCostComparison .deep-heading h2{
  color:#202833!important;
  opacity:1!important;
  -webkit-text-fill-color:#202833!important;
}
body[data-app-view="future"] #homeProjection .projection-heading .eyebrow,
body[data-app-view="future"] #futureModelRange .future-model-heading .eyebrow,
body[data-app-view="future"] #propertyCostComparison .deep-heading .eyebrow{
  color:#9d6639!important;
  opacity:1!important;
  -webkit-text-fill-color:#9d6639!important;
}
body[data-app-view="future"] #homeProjection .projection-heading .source-date{
  color:#6d7278!important;
  opacity:1!important;
  -webkit-text-fill-color:#6d7278!important;
}
body[data-app-view="future"] #futureModelRange .v157-range-copy>strong,
body[data-app-view="future"] #futureModelRange .v157-range-labels strong,
body[data-app-view="future"] #homeProjection .projection-core-card>strong,
body[data-app-view="future"] #propertyCostComparison .property-cost-card>strong{
  color:#202833!important;
  opacity:1!important;
  -webkit-text-fill-color:#202833!important;
}
body[data-app-view="future"] #futureModelRange .v157-range-labels .is-centre strong{
  color:#9d6639!important;
  -webkit-text-fill-color:#9d6639!important;
}
body[data-app-view="future"] #futureModelRange .v157-range-copy>strong i,
body[data-app-view="future"] #futureModelRange .v157-range-copy>small,
body[data-app-view="future"] #futureModelRange .v157-range-labels span,
body[data-app-view="future"] #homeProjection .projection-core-card>span,
body[data-app-view="future"] #homeProjection .projection-core-card>small,
body[data-app-view="future"] #propertyCostComparison .property-cost-card>span,
body[data-app-view="future"] #propertyCostComparison .property-cost-card>small,
body[data-app-view="future"] #propertyCostComparison .deep-note{
  color:#6d7278!important;
  opacity:1!important;
  -webkit-text-fill-color:#6d7278!important;
}

/* Upcoming status/action: neutral warm surface, not pale green. */
.app-view-upcoming .upcoming-action,
.app-view-upcoming .upcoming-action:hover,
.app-view-upcoming .upcoming-action:focus-within{
  background:var(--surface)!important;
  background-image:none!important;
  border-color:var(--border)!important;
  box-shadow:0 16px 44px rgba(62,49,38,.055)!important;
}
.app-view-upcoming .upcoming-action .upcoming-section-body,
.app-view-upcoming .upcoming-action .deal-planner-milestone,
.app-view-upcoming .upcoming-action .deal-planner-milestone-copy{
  background:#f2ece3!important;
  background-image:none!important;
  border-color:var(--border-soft)!important;
  color:var(--text)!important;
  box-shadow:none!important;
}
.app-view-upcoming .upcoming-action .eyebrow,
.app-view-upcoming .upcoming-action [class*="label"]{color:var(--accent-strong)!important}
.app-view-upcoming .upcoming-action p,
.app-view-upcoming .upcoming-action small,
.app-view-upcoming .upcoming-action span{color:var(--muted)!important}
.app-view-upcoming .upcoming-action strong,
.app-view-upcoming .upcoming-action h2,
.app-view-upcoming .upcoming-action h3{color:var(--text)!important}

@media(max-width:760px){
  .app-view-future #homeProfileRange{grid-template-columns:1fr!important;gap:18px!important;padding:18px!important}
  .app-view-future .v157-range-copy>strong{font-size:22px}
}

@media(max-width:700px){
  .app-view-future .app-view-heading.future-heading-integrated{display:block!important;padding-bottom:10px!important}
  .app-view-future .app-view-heading.future-heading-integrated>p{text-align:left!important;margin-top:4px!important}
}
