/* Scoped search component: compatible with the home and destination page themes. */
.charter-planner{scroll-margin-top:28px;color:#102e40}
.charter-planner-card{padding:clamp(22px,4vw,46px);border:1px solid #d9e4e7;border-radius:28px;background:linear-gradient(130deg,#fff 55%,#edf5f5);box-shadow:0 18px 60px #071f2d0c}
.charter-planner .charter-planner-intro{max-width:760px;margin-bottom:24px}
.charter-planner h2{color:#102e40;font-size:clamp(1.7rem,3.3vw,2.6rem);line-height:1.15;margin:8px 0 14px}
.charter-planner p{line-height:1.65}
.charter-destinations{display:flex;flex-wrap:wrap;gap:9px;margin-bottom:24px}
.charter-destinations button,.charter-planner button,.charter-sticky button{font:inherit;cursor:pointer}
.charter-destinations button{border:1px solid #b8cbd0;border-radius:999px;padding:10px 18px;background:#fff;color:#173c4b;font-weight:650;min-height:44px}
.charter-destinations button[aria-pressed=true]{background:#123e4d;border-color:#123e4d;color:#fff}
.charter-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.charter-fields label{display:flex;flex-direction:column;gap:8px;font-size:.88rem;font-weight:650;min-width:0}
.charter-fields select,.charter-fields input{box-sizing:border-box;width:100%;min-width:0;min-height:49px;padding:11px 12px;border:1px solid #b8cbd0;border-radius:12px;background:#fff;color:#173c4b;font:inherit}
.charter-planner :focus-visible,.charter-sticky :focus-visible{outline:3px solid #bb8229;outline-offset:3px}
.charter-stepper{display:flex;gap:6px}
.charter-stepper input{text-align:center;appearance:textfield}
.charter-stepper input::-webkit-inner-spin-button{appearance:none}
.charter-stepper button{flex:0 0 44px;border:1px solid #b8cbd0;border-radius:12px;background:#fff;color:#123e4d;font-size:1.3rem}
.charter-date-action{display:flex;align-items:end}
.charter-date-action button,#charter-reset{border:0;background:transparent;color:#173c4b;text-decoration:underline;text-underline-offset:4px;min-height:44px;padding:8px}
.charter-budget{margin-top:24px;border-top:1px solid #d9e4e7;padding-top:18px}
.charter-budget summary{cursor:pointer;min-height:40px;font-weight:650}
.charter-price-fields{grid-template-columns:repeat(2,minmax(0,1fr));max-width:660px;margin-top:12px}
.charter-budget p,.charter-disclosure{font-size:.8rem;color:#526977;max-width:920px;margin:12px 0 0}
.charter-search-actions{display:flex;gap:14px;align-items:center;flex-wrap:wrap;margin-top:20px}
.charter-primary{display:inline-flex;justify-content:center;align-items:center;min-height:50px;border:1px solid #173c4b;border-radius:12px;background:#173c4b;color:#fff;padding:13px 23px;font:inherit;font-weight:750;line-height:1.35;text-decoration:none}
.charter-primary:hover{background:#245969;color:#fff}
#charter-summary{font-size:.83rem;color:#526977;flex-basis:100%}
.charter-error{color:#a5281b;font-weight:650;margin:12px 0 0}
.charter-error:empty{display:none}
.charter-sticky{display:none}
.charter-card-actions{display:grid;gap:12px;margin-top:18px}
.charter-card-actions a{font-weight:750;line-height:1.4}
.charter-card-actions a:last-child{color:#173c4b;text-decoration:underline;text-underline-offset:4px}
.charter-home-destinations{grid-template-columns:repeat(4,minmax(0,1fr))!important}
@media(max-width:1000px){.charter-home-destinations{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:700px){
 .charter-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 12px}
 .charter-fields>label:first-child{grid-column:1/-1}
 .charter-price-fields>label:first-child{grid-column:auto}
 .charter-sticky{position:fixed;z-index:1100;bottom:0;left:0;right:0;display:flex;align-items:center;gap:12px;padding:12px 16px calc(12px + env(safe-area-inset-bottom));background:#fff;box-shadow:0 -4px 30px #071f2d22;border-top:1px solid #d9e4e7}
 .charter-sticky-edit{flex:1;min-width:0;color:#123e4d;text-decoration:none;display:grid;gap:3px}
 .charter-sticky-edit>span{font-size:.65rem;letter-spacing:.08em;text-transform:uppercase;color:#526977}
 .charter-sticky-summary{font-size:.78rem;line-height:1.3;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
 .charter-sticky-edit small{font-size:.7rem;text-decoration:underline}
 .charter-sticky .charter-primary{padding:10px 14px;font-size:.8rem;flex-shrink:0}
 body.has-charter-planner{padding-bottom:calc(100px + env(safe-area-inset-bottom))}
 body.menu-open .charter-sticky{display:none}
 .charter-search-actions>.charter-primary{width:100%}
 .charter-destinations{gap:7px}.charter-destinations button{padding:9px 13px;font-size:.85rem}
}
@media(max-width:430px){.charter-fields{grid-template-columns:minmax(0,1fr)}.charter-fields>label:first-child{grid-column:auto}.charter-price-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.charter-home-destinations{grid-template-columns:minmax(0,1fr)!important}}
