/* USA-style country planner; scoped away from active navigation and search docking. */
body:not(.navigating):not(.planner-address-editing) main>aside.travel-country-card:not(.destination-search-open){display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:16px!important;padding:22px!important;border-radius:28px!important;background:rgba(255,255,255,.96)!important;max-height:calc(100% - 28px)!important;box-sizing:border-box;overscroll-behavior:contain}
.travel-card-intro{grid-column:1/-1;min-width:0}
#travel-country-name{margin:0 0 12px;color:#47796a;font-size:12px;font-weight:800;letter-spacing:1.7px;line-height:1.5;text-transform:uppercase;overflow-wrap:anywhere}
#travel-card-heading{margin:0 0 8px;color:#143f35;font-size:clamp(23px,5.7vw,29px);font-weight:750;line-height:1.2;letter-spacing:-.5px}
main>aside.travel-country-card .trip-modes{display:flex;flex-direction:column;gap:10px}
#travel-options-label{margin:0;color:#143f35;font-size:15px;font-weight:700;line-height:1.4}
main>aside.travel-country-card #modeButtons{flex-basis:auto!important;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:5px}
main>aside.travel-country-card #modeButtons .mode-symbol{height:66px;min-width:0;padding:8px 3px;border-radius:12px;background:#f1f6f3;border:1px solid #c4dcd2;color:#153f35;box-sizing:border-box}
main>aside.travel-country-card #modeButtons .mode-symbol[aria-pressed="true"]{background:#087f69;color:white;border:2px solid #f1cc59}
main>aside.travel-country-card #modeButtons svg{width:30px;height:30px}
main>aside.travel-country-card #modeButtons small,main>aside.travel-country-card #modeButtons .mode-label{display:none!important}
body:not(.navigating):not(.planner-address-editing) main>aside.travel-country-card:not(.destination-search-open) label{font-size:15px;line-height:1.4;margin:0 0 8px;color:#143f35}
body:not(.navigating):not(.planner-address-editing) main>aside.travel-country-card:not(.destination-search-open) input{height:52px;border:1px solid #d3e4dd;border-radius:15px;background-color:#f4f8f5;font-size:17px;padding:12px;box-sizing:border-box}
body:not(.navigating):not(.planner-address-editing) main>aside.travel-country-card:not(.destination-search-open) .trip-destination{display:flex;flex-direction:column;align-items:stretch;gap:16px}
body:not(.navigating):not(.planner-address-editing) main>aside.travel-country-card:not(.destination-search-open) #to{background-color:white}
body:not(.navigating):not(.planner-address-editing) main>aside.travel-country-card:not(.destination-search-open) #plan{width:100%;height:54px;border-radius:16px;background:#073f35;font-size:18px;font-weight:750;letter-spacing:.4px}
main>aside.travel-country-card .trip-options #addStop{width:100%;padding:9px;min-height:40px;border-radius:12px}
main>aside.travel-country-card #from.travel-live-origin{padding-inline-start:36px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='9' fill='none' stroke='%231677ef' stroke-width='1.4'/%3E%3Ccircle cx='12' cy='12' r='6' fill='none' stroke='%231677ef' stroke-width='1.4'/%3E%3C/svg%3E");background-repeat:no-repeat;background-size:20px;background-position:10px center}
[dir="rtl"] main>aside.travel-country-card #from.travel-live-origin{background-position:right 10px center}
#locate .travel-location-circles{color:#1677ef;display:inline-block;margin-inline-end:4px}
@media(max-width:360px){body:not(.navigating):not(.planner-address-editing) main>aside.travel-country-card:not(.destination-search-open){padding:15px!important;gap:12px!important}main>aside.travel-country-card #modeButtons .mode-symbol{height:54px}main>aside.travel-country-card #modeButtons svg{width:25px;height:25px}}

/* Owner correction: compact non-USA planner leaves more room for bottom sponsor ads. */
main>aside.travel-country-card #travel-card-heading,
main>aside.travel-country-card #travel-options-label{display:none!important}
main>aside.travel-country-card #travel-country-name{margin:0!important}
body:not(.navigating):not(.planner-address-editing) main>aside.travel-country-card:not(.destination-search-open){row-gap:12px!important}
