/* The first screen offers two destinations; guidance is opt-in. */
.constructor-entry {background:var(--paper); padding:48px 0 32px}
.constructor-entry h1 {margin:0; max-width:18ch; font-size:clamp(36px,5vw,64px); line-height:1.04; letter-spacing:-.035em}
.constructor-entry .entry-intro {max-width:58ch; margin:12px 0 24px; color:#465a4b; font-size:clamp(16px,1.6vw,19px); line-height:1.45}
.entry-actions {display:flex; flex-wrap:wrap; gap:10px}
.entry-action {display:inline-flex; align-items:center; justify-content:center; min-height:48px; padding:10px 22px; border:1px solid #87a28d; border-radius:12px; background:white; color:#164122; font:inherit; font-weight:700; text-decoration:none}
.entry-action:hover {background:#edf5eb; color:#07551b}
.entry-action--calc {background:#07551b; border-color:#07551b; color:white}
.entry-action--calc:hover {background:#063f16; color:white}
.constructor-wizard {margin-top:8px}
.constructor-wizard > summary {display:flex; align-items:center; gap:8px; width:fit-content; min-height:44px; cursor:pointer; color:#22552e; font-weight:650; list-style:none}
.constructor-wizard > summary::-webkit-details-marker {display:none}
.constructor-wizard > summary::after {content:""; width:7px; height:7px; margin-top:-3px; border:solid currentColor; border-width:0 1.5px 1.5px 0; transform:rotate(45deg)}
.constructor-wizard[open] > summary::after {margin-top:4px; transform:rotate(225deg)}
.entry-action:focus-visible,.constructor-wizard summary:focus-visible,.wizard-option:focus-visible,.wizard-back:focus-visible,.wizard-apply:focus-visible,.entry-try-selection:focus-visible {outline:3px solid #588a18; outline-offset:3px}
#visualStage,#calculator {scroll-margin-top:84px}
.entry-try-selection {display:inline-flex; align-items:center; min-height:44px; color:#d8efcc; text-decoration:underline; text-underline-offset:.2em}
.entry-try-selection:hover {color:white}
.wizard-card {max-width:800px; padding:20px 24px; margin-top:4px; border:1px solid var(--line); border-radius:16px; background:#fff}
.wizard-head {display:flex; align-items:flex-start; justify-content:space-between; gap:16px}
.wizard-head h2 {margin:0 0 4px; color:var(--ink); font-size:24px}
.constructor-entry .wizard-head p {margin:0; font-size:14px; color:#465a4b}
.wizard-step {flex:none; padding:7px 10px; border-radius:99px; background:#eef7eb; color:#07551b; font-size:12px; font-weight:700}
.wizard-question {margin:16px 0 10px; font-size:17px}
.wizard-option-list {display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px}
.wizard-option {padding:12px; border:1px solid var(--line); border-radius:10px; background:#f7f9f5; color:#17341f; text-align:left; cursor:pointer; font:inherit}
.wizard-option:hover,.wizard-option.is-selected {border-color:#07551b; background:#eef7eb}
.wizard-option.is-selected {box-shadow:inset 0 0 0 1px #07551b}
.wizard-option b {display:block; font-size:14px}
.wizard-option span span {display:block; margin-top:3px; color:#4f6253; font-size:13px; line-height:1.35}
.wizard-actions {display:flex; align-items:center; gap:12px; margin-top:16px}
.wizard-back {min-height:44px; padding:0 8px; border:0; background:transparent; color:#22552e; font:inherit; cursor:pointer}
.wizard-apply {min-height:44px; margin:0 0 0 auto}
.wizard-apply:disabled {opacity:.5; cursor:not-allowed}
@media(max-width:680px) {
  .constructor-entry {padding:28px 0 16px}
  .constructor-entry .entry-intro {margin:10px 0 16px}
  .entry-actions {display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,148px),1fr)); gap:8px}
  .entry-action {padding:10px 6px; font-size:15px}
  .wizard-card {padding:16px}
  .wizard-head {display:block}
  .wizard-step {display:inline-block; margin-top:8px}
  .wizard-option-list {grid-template-columns:1fr}
  #visualStage,#calculator {scroll-margin-top:72px}
}
@media(max-width:359px) {
  /* Keep both targets clear when the cookie banner lifts the chat launcher. */
  .entry-actions {grid-template-columns:minmax(0,1fr); max-width:calc(100% - 64px)}
}
