/* Keep the Scope Planner aligned with the Budget Estimator without changing its styles. */
.scope-page .scope-fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.scope-page .scope-fieldset > legend { margin-bottom: 10px; }
.scope-page .scope-hint { margin: 0 0 15px; color: rgba(245,245,240,.54); font-size: .9rem; line-height: 1.5; }
.scope-page .scope-optional { color: rgba(245,245,240,.4); font-size: .8rem; font-weight: 400; }
.scope-page .scope-target-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
.scope-page .scope-target-card { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; min-height: 118px; }
.scope-page .scope-target-card strong { font-size: .88rem; }
.scope-page .scope-target-card small { display: block; color: rgba(245,245,240,.46); font-size: .78rem; font-weight: 400; line-height: 1.4; letter-spacing: 0; text-transform: none; }
.scope-page .scope-target-card:has(input:checked) small { color: rgba(245,245,240,.72); }
.scope-page .scope-number-field input { width: 100%; min-height: 52px; border: 1px solid rgba(214,171,79,.2); border-radius: 17px; background: rgba(0,0,0,.24); color: rgba(245,245,240,.9); padding: 0 16px; font: inherit; }
.scope-page .scope-number-field input:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.scope-page .budget-select-wrap:has(> .budget-custom-select)::after { content: none; }
.scope-page .scope-result-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; margin: 30px 0; }
.scope-page .scope-result-grid:has(> .scope-result-amount[hidden]) { grid-template-columns: 1fr; }
.scope-page .scope-result-amount { padding: clamp(22px,3vw,34px); border: 1px solid rgba(214,171,79,.28); border-radius: 24px; background: radial-gradient(circle at 80% 0%, rgba(214,171,79,.1), transparent 50%), rgba(0,0,0,.22); }
.scope-page .scope-result-amount > span { display: block; color: rgba(214,171,79,.84); font-size: .72rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.scope-page .scope-result-amount strong { display: block; margin: 16px 0 2px; color: rgba(245,245,240,.97); font-family: var(--serif); font-size: clamp(2.7rem,5vw,5rem); font-weight: 400; line-height: 1; }
.scope-page .scope-result-amount .scope-digit { font-family: var(--sans); font-size: .82em; font-weight: 400; font-variant-numeric: lining-nums tabular-nums; letter-spacing: -.045em; white-space: nowrap; }
.scope-page .scope-result-amount p { margin: 0; color: rgba(245,245,240,.52); }
.scope-page .scope-assumptions { margin: 18px 0 0; padding-left: 20px; color: rgba(245,245,240,.62); line-height: 1.6; }
.scope-page .scope-assumptions li + li { margin-top: 8px; }
.scope-page .scope-budget-cta-wrap { margin-top: 34px; }
.scope-page .scope-budget-cta { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 78px; padding: 19px clamp(20px,3vw,32px); border-radius: 20px; background: linear-gradient(110deg,#dcb75e,#b98a32); color: #17130b; font-family: var(--sans); font-size: clamp(1.05rem,2vw,1.35rem); font-weight: 700; text-decoration: none; transition: transform .2s ease, filter .2s ease; }
.scope-page .scope-budget-cta:hover { transform: translateY(-2px); filter: brightness(1.08); }
.scope-page .scope-budget-cta:focus-visible { outline: 3px solid #fff; outline-offset: 4px; }
.scope-page .scope-budget-cta span:last-child { font-size: 1.6em; line-height: 1; }
.scope-page .scope-budget-cta-wrap > p { margin: 10px 3px 0; color: rgba(245,245,240,.55); font-size: .86rem; }
.scope-page .scope-budget-unavailable { margin: 26px 0 0; color: rgba(245,245,240,.65); }
.scope-page .scope-calculation { margin-top: 28px; padding: 20px clamp(18px,2.5vw,30px); border: 1px solid rgba(214,171,79,.25); border-radius: 20px; background: rgba(0,0,0,.18); }
.scope-page .scope-calculation summary { cursor: pointer; color: var(--gold); font-family: var(--sans); font-weight: 600; }
.scope-page .scope-calculation summary:focus-visible { outline: 2px solid var(--gold); outline-offset: 5px; }
.scope-page .scope-calculation-body { padding-top: 20px; color: rgba(245,245,240,.75); font-size: .9rem; line-height: 1.55; }
.scope-page .scope-calculation-body > p { margin: 0 0 12px; }
.scope-page .scope-calc-section { margin-top: 25px; }
.scope-page .scope-calc-section h3 { margin: 0 0 10px; color: rgba(245,245,240,.93); font-family: var(--sans); font-size: 1rem; }
.scope-page .scope-calc-list { margin: 0; padding: 0; list-style: none; }
.scope-page .scope-calc-list li { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px solid rgba(245,245,240,.09); font-variant-numeric: lining-nums tabular-nums; }
.scope-page .scope-calc-list li small { display: block; color: rgba(245,245,240,.48); font-size: .8rem; }
.scope-page .scope-calc-list li strong { color: rgba(245,245,240,.9); font-family: var(--sans); font-weight: 600; white-space: nowrap; }
.scope-page .scope-calc-total { margin: 16px 0 0; color: rgba(245,245,240,.87); font-variant-numeric: lining-nums tabular-nums; }
.scope-page .scope-calc-total strong { color: var(--gold); }
.scope-page #scopePlannerApp,
.scope-page #scopeResult { scroll-margin-top: 110px; }
@media (max-width: 760px) {
  .scope-page .budget-hero { padding: 110px 0 28px; }
  .scope-page .budget-hero h1 { font-size: clamp(3.2rem, 13vw, 4.2rem); }
  .scope-page .scope-target-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .scope-page .scope-target-card { min-height: 122px; padding: 14px 10px; }
  .scope-page .scope-target-card small { font-size: .73rem; }
  .scope-page .scope-result-grid { grid-template-columns: 1fr; }
  .scope-page .scope-budget-cta { min-height: 72px; }
}
@media (max-width: 680px) {
  .scope-page .budget-fields.two { grid-template-columns: minmax(0,1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .scope-page .scope-budget-cta { transition: none; }
  .scope-page .scope-budget-cta:hover { transform: none; }
}
