/* One shared workspace for route, preferences and the live quote. */
#builder{max-width:1800px;padding:24px 3%;scroll-margin-top:12px}
#builder .builder-layout{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:20px;align-items:start}
#trip-form{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);gap:14px 20px;min-width:0}
#trip-form>.section-heading{grid-column:1/-1;margin:0}
#trip-form>.section-heading h2{font-size:30px;line-height:1.15;margin:0}
#builder .eyebrow{font-size:10px;margin:0 0 6px;letter-spacing:1.7px}
#trip-form>.form-row{grid-column:2;grid-row:2;margin:0;gap:14px;display:grid;grid-template-columns:1fr 1fr}
#builder fieldset{margin:0;padding:0;min-width:0}
#builder legend{font-size:14px;margin-bottom:8px}
#builder .stepper{height:38px;max-width:155px}
#builder .stepper button{padding:5px 14px;font-size:20px}
#builder .options{gap:6px;flex-wrap:wrap}
#builder .options span{padding:9px 12px;font-size:12px}
#builder small{font-size:11px;line-height:1.35}
#builder .crew-savings-note{font-size:11px;line-height:1.35;margin:6px 0 0}
#builder .crew-savings-note strong{display:block}
#trip-form>.flow-steps,#trip-form>.default-note,#trip-form>.journey-customize-heading{display:none}
#trip-form>.back-to-journeys{grid-column:1;grid-row:9;justify-self:start;padding:8px 14px;font-size:12px;margin:0}
#destination-overview{grid-column:1;grid-row:2/9;min-width:0}
#trip-form>fieldset:has(input[name="mode"]){grid-column:2;grid-row:3}
#builder #mode-help{display:block;margin-top:6px;font-size:10px}
#trip-form>.scenic-section{grid-column:2;grid-row:4;margin:0}
#trip-form>fieldset:has(input[name="food"]){grid-column:2;grid-row:5}
#trip-form>fieldset:has(input[name="interest"]){grid-column:2;grid-row:6}
#trip-form>.field:has(#needs){grid-column:2;grid-row:7;font-size:14px;gap:6px;margin:0}
#builder #needs{padding:10px 12px;font-size:12px;min-height:64px;height:64px}
#trip-form>.daily-schedule{grid-column:2;grid-row:8;font-size:12px}
#builder .destination-region{padding:16px;margin:0;border-radius:18px}
#builder .region-heading h3{font-size:23px;line-height:1.2;margin:0 0 6px}
#builder .region-heading>p:not(.eyebrow){font-size:12px;line-height:1.45;margin:0}
#builder .region-layout{display:flex;flex-direction:column;gap:10px;margin-top:12px}
#builder .bay-map-pair{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:0}
#builder .journey-cartoon-map{margin:0;border-radius:10px;overflow:hidden}
#builder .journey-cartoon-map img{width:100%;height:190px;object-fit:contain;background:#faf6ed;display:block}
#builder .region-stops{gap:0}
#builder .region-city-link{min-height:0;padding:8px 10px;gap:8px;border-radius:10px;align-items:center}
#builder .region-stops strong{font-size:15px;line-height:1.2}
#builder .region-stops small{font-size:10px;line-height:1.35;margin:2px 0 0}
#builder .stop-number{font-size:10px}
#builder .map-label{font-size:10px;padding:3px 8px}
#builder .illustrated-map-note,#builder .city-map-status{font-size:9px;line-height:1.3;margin:5px 0}
#builder .visa-note,#builder .modern-visa-summary{margin:10px 0 0;padding:10px;font-size:11px;line-height:1.4;border-radius:12px}
#builder .visa-note>p{display:none}
#builder .visa-note summary{margin-top:5px}
#builder .scenic-heading h3{font-size:17px;line-height:1.2;margin:0 0 5px}
#builder .scenic-heading>p:not(.eyebrow){display:none}
#builder .scenic-gallery{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;margin-top:8px}
#builder .scenic-gallery figure{border-radius:10px;min-width:0}
#builder .scenic-gallery img{height:85px;aspect-ratio:auto;object-fit:cover}
#builder .scenic-gallery figcaption{padding:6px}
#builder .scenic-gallery strong{font-size:11px;line-height:1.25}
#builder .scenic-gallery figcaption span{font-size:9px;line-height:1.2;margin:3px 0 0}
#builder .companion-photo-label{font-size:9px;padding:4px 7px;bottom:4px;left:50%;transform:translateX(-50%);white-space:nowrap;margin:0}
#builder .chips{display:flex;flex-wrap:wrap;gap:5px}
#builder .chips span{padding:6px 9px;font-size:11px}
#builder .estimate{position:sticky;top:12px;padding:20px;border-radius:18px;margin:0}
#builder .estimate h3{font-size:24px;line-height:1.2;margin:6px 0}
#builder #summary-meta{font-size:12px;margin:6px 0}
#builder .estimate hr{margin:12px 0}
#builder .estimate .line-item{font-size:11px;padding:6px 0}
#builder .estimate .service-total{padding:10px;margin-top:10px}
#builder .estimate .price-label{font-size:11px}
#builder .estimate #price,#builder .estimate #trip-budget{font-size:29px}
#builder .estimate .cost-budget h4{font-size:12px}
#builder .estimate #per-person{display:none}
#builder .estimate .estimate-detail,#builder .estimate .estimate-disclaimer{font-size:10px;margin:7px 0}
@media(min-width:1600px){#builder .journey-cartoon-map img{height:220px}#builder .scenic-gallery img{height:105px}}
@media(max-width:1150px){#builder .builder-layout{grid-template-columns:minmax(0,1fr) 270px;gap:14px}#trip-form{gap:12px}#builder .journey-cartoon-map img{height:150px}#builder .scenic-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}#builder .scenic-gallery img{height:75px}#trip-form>.form-row{grid-template-columns:1fr}}
@media(max-width:900px){#builder .builder-layout{grid-template-columns:1fr}#builder .estimate{position:static}#trip-form>.form-row{grid-template-columns:1fr 1fr}#builder .scenic-gallery{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:650px){#builder{padding:20px 5%}#trip-form{display:flex;flex-direction:column}#trip-form>.section-heading h2{font-size:26px}#destination-overview{order:1}#trip-form>.form-row{order:2}#trip-form>fieldset:has(input[name="mode"]){order:3}#trip-form>.scenic-section{order:4}#trip-form>fieldset:has(input[name="food"]){order:5}#trip-form>fieldset:has(input[name="interest"]){order:6}#trip-form>.field{order:7}#trip-form>.daily-schedule{order:8}#trip-form>.back-to-journeys{order:9}#builder .scenic-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}#builder .scenic-gallery img{height:120px}#builder .journey-cartoon-map img{height:160px}}
#builder .estimate .cost-row{font-size:11px;padding:6px 0;margin:0;line-height:1.4}
#builder .daily-schedule[open]{grid-column:1/-1;grid-row:10}
#builder .daily-schedule summary{cursor:pointer;font-weight:600;padding:8px 0}
#builder .daily-schedule .plan-heading p:not(.eyebrow){font-size:12px}

/* Remove repeated panels and keep navigation and customization easy to find. */
#trip-form>fieldset[hidden]{display:none}
#trip-form>.section-heading{display:flex;justify-content:space-between;align-items:center;gap:16px}
#builder .change-journey{padding:9px 15px;font-size:12px;white-space:nowrap;border:1px solid #b8c5b2;background:#edf1e2;color:#143c2e}
#builder .change-journey:hover{background:#dce8c5}
#trip-form>.scenic-section{grid-row:3}
#trip-form>fieldset:has(input[name="food"]){grid-row:4}
#trip-form>fieldset:has(input[name="interest"]){grid-row:5}
#trip-form>.field:has(#needs){grid-row:6}
#trip-form>.daily-schedule{grid-row:7}
#destination-overview{grid-row:2/8}
#builder .daily-schedule{border:1px solid #8aa65e;border-radius:12px;background:#e4edcf;overflow:hidden}
#builder .daily-schedule summary{list-style:none;display:flex;justify-content:space-between;align-items:center;gap:12px;padding:13px 15px;color:#143c2e}
#builder .daily-schedule summary::-webkit-details-marker{display:none}
#builder .daily-schedule summary strong{display:block;font-size:15px;line-height:1.3}
#builder .daily-schedule summary small{display:block;font-weight:400;font-size:11px;margin-top:3px}
#builder .schedule-toggle{font-size:25px;line-height:1}
#builder .daily-schedule[open] .schedule-toggle{transform:rotate(45deg)}
#builder .daily-schedule[open]{grid-column:1/-1;grid-row:8}
#builder .daily-schedule[open] #city-plan{padding:0 15px 15px}
#builder .daily-schedule summary:hover{background:#d4e4b4}
#builder .daily-schedule summary:focus-visible{outline:3px solid #143c2e;outline-offset:-4px}
@media(max-width:650px){#trip-form>.section-heading{align-items:flex-start;flex-wrap:wrap}}

/* Approved compact layout, using HeyBao's established fixed colors. */
#builder{background:#faf6ed;color:#143c2e;padding-top:18px;padding-bottom:18px}
#trip-form{align-items:start;gap:10px 18px}
#trip-form>.section-heading h2{font-size:28px}
#builder .journey-picker{display:flex;align-items:center;gap:9px;font-size:12px;font-weight:600;color:#143c2e}
#builder .journey-picker select{width:250px;max-width:100%;padding:9px 12px;border:1px solid #b8c5b2;border-radius:10px;background:#faf6ed;color:#143c2e;font-size:12px}
#builder .region-heading h3{font-size:24px;margin-bottom:3px}
#builder .region-heading>p:not(.eyebrow){font-size:12px;color:#50634f}
#builder .region-layout{gap:7px;margin-top:8px}
#builder .destination-region{padding:13px}
#builder .journey-cartoon-map img{height:165px}
#builder .illustrated-map-note{display:none}
#builder .region-stops .region-city-link{padding:6px 9px;min-height:42px}
#builder .region-stops strong{font-size:14px;letter-spacing:0;color:#143c2e}
#builder .region-stops small{font-size:11px;line-height:1.25;color:#50634f}
#builder .scenic-gallery figcaption span{display:none}
#builder .scenic-gallery img{height:75px}
#builder .scenic-gallery strong{font-size:11px;color:#143c2e;letter-spacing:0}
#builder .scenic-heading h3{font-size:16px;color:#143c2e}
#trip-form>.daily-schedule{grid-row:3}
#trip-form>.scenic-section{grid-row:4}
#trip-form>fieldset:has(input[name="food"]){grid-row:5}
#trip-form>fieldset:has(input[name="interest"]){grid-row:6}
#trip-form>.field:has(#needs){grid-row:7}
#builder .daily-schedule[open]{grid-column:1/-1;grid-row:8}
#builder .daily-schedule summary{padding:10px 13px;color:#143c2e}
#builder #needs{background:#faf6ed;color:#143c2e;height:55px;min-height:55px}
#builder #needs::placeholder{color:#607065;opacity:1}
#builder .chips span{color:#143c2e;background:#faf6ed}
#builder .chips input:checked+span,#builder .options input:checked+span{background:#143c2e;color:#faf6ed}
#builder .estimate{background:#143c2e;color:#faf6ed;padding:17px}
#builder .estimate .cost-row{color:#faf6ed;margin:0;padding:5px 0;font-size:12px}
#builder .estimate .service-total{background:#d6e7ae;color:#143c2e;margin:10px 0;padding:9px 10px}
#builder .estimate .service-total .price-label,#builder .estimate #price,#builder .estimate #trip-budget{color:#143c2e}
#builder .estimate .estimate-detail,#builder .estimate .estimate-disclaimer{color:#d5e2bd;font-size:11px;line-height:1.35}
#builder .estimate .booking-action{color:#143c2e;background:#d6e7ae}
#builder .estimate .booking-next-step{color:#d5e2bd}
@media(max-width:1150px) and (min-width:901px){#builder .scenic-gallery{grid-template-columns:repeat(4,minmax(0,1fr))}#builder .scenic-gallery img{height:65px}#trip-form>.form-row{grid-template-columns:1fr 1fr}#builder .journey-cartoon-map img{height:140px}}
@media(max-width:650px){#builder .journey-picker{flex-wrap:wrap;width:100%}#builder .journey-picker select{width:100%}#trip-form>.daily-schedule{order:3}#builder .scenic-gallery img{height:110px}}
/* Show the complete city illustration; keep the photo action below the artwork. */
#builder .scenic-gallery .companion-city-scene{display:flex;flex-direction:column;align-items:center;background:#faf6ed;overflow:visible}
#builder .scenic-gallery .companion-city-scene>img{display:block;width:100%;height:clamp(110px,15dvh,160px);aspect-ratio:auto;object-fit:contain;object-position:center;mix-blend-mode:normal;border-radius:10px 10px 0 0}
#builder .companion-city-scene .companion-photo-label{position:static;transform:none;display:inline-block;margin:5px 4px 7px;padding:5px 9px;font-size:10px;line-height:1.3}
@media(max-width:650px){#builder .scenic-gallery .companion-city-scene>img{height:160px}}

/* Dynamic journey content must not become a scroll anchor. Image slots already have fixed heights. */
#builder{overflow-anchor:none}

#builder .journey-picker-control{position:relative;width:250px;max-width:100%;flex-shrink:0}
#builder .journey-picker select[hidden]{display:none}
#builder .journey-picker-button{width:100%;padding:9px 34px 9px 12px;border:1px solid #b8c5b2;border-radius:10px;background:#faf6ed;color:#143c2e;font:inherit;font-size:12px;text-align:left;position:relative}
#builder .journey-picker-button::after{content:'';position:absolute;right:13px;top:42%;width:7px;height:7px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(45deg)}
#builder .journey-picker-options{position:absolute;top:calc(100% + 5px);left:0;right:0;z-index:30;padding:5px;border:1px solid #b8c5b2;border-radius:10px;background:#faf6ed;box-shadow:0 8px 24px #143c2e20}
#builder .journey-picker-options[hidden]{display:none}
#builder .journey-picker-options button{display:block;width:100%;border:0;border-radius:6px;padding:9px;background:transparent;color:#143c2e;font:inherit;font-size:12px;text-align:left}
#builder .journey-picker-options button:hover,#builder .journey-picker-options button:focus,#builder .journey-picker-options button[aria-selected=true]{background:#e3ebd3;outline:none}
#builder .journey-picker-button:focus-visible{outline:2px solid #62883f;outline-offset:2px}
@media(max-width:650px){#builder .journey-picker-control{width:100%}}

/* One complete poster for the featured journey overviews. */
#builder .journey-overview-poster{display:flex;justify-content:center;padding:0}
#builder .journey-overview-poster .journey-cartoon-map{width:100%;max-width:480px;margin:0 auto}
#builder .journey-overview-poster .map-full-size{display:block;overflow:hidden;border-radius:12px}
#builder .journey-overview-poster .journey-cartoon-map img{display:block;width:100%;height:auto;max-height:none;object-fit:contain;background:transparent}
