/* Trip Tools: shared styles for the gas calculator, the RV calculators and the /tools hub.
   Large, high-contrast, touch-friendly (44px targets, 16px+ inputs), single column on phones. */
.tt-wrap [hidden],#gc-results[hidden],#gc-map[hidden]{display:none!important}
.tt-wrap{max-width:1180px;margin:0 auto;padding:28px 24px 8px}
.tt-card{background:#fff;border:1px solid var(--sand-dark,#E8D9B5);border-radius:18px;padding:22px 22px 24px;box-shadow:0 6px 24px rgba(44,36,24,.06)}
.tt-card h2{font-family:'Playfair Display',serif;font-size:26px;margin:0 0 6px;color:var(--ink,#2C2418)}
.tt-lead{font-size:17px;line-height:1.6;color:var(--ink-light,#5A5040);margin:0 0 18px}
.tt-step{border-top:1px solid #F1E7D2;padding:18px 0 4px}
.tt-step:first-of-type{border-top:0;padding-top:4px}
.tt-step-h{display:flex;align-items:center;gap:10px;font-weight:700;font-size:19px;color:var(--ocean-deep,#0D3B52);margin:0 0 12px}
.tt-num{display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;border-radius:50%;background:var(--ocean,#1B5E7B);color:#fff;font-size:16px;flex:none}
.tt-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.tt-grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.tt-field{display:flex;flex-direction:column;gap:6px;position:relative}
.tt-field label,.tt-label{font-weight:700;font-size:16px;color:var(--ink,#2C2418)}
.tt-field input,.tt-field select{font-size:18px;min-height:50px;padding:10px 14px;border:2px solid #CFC2A4;border-radius:12px;background:#fff;color:#2C2418;width:100%}
.tt-field input:focus,.tt-field select:focus{outline:3px solid rgba(27,94,123,.35);border-color:var(--ocean,#1B5E7B)}
.tt-help{font-size:14.5px;color:var(--ink-light,#5A5040);line-height:1.5}
.tt-err{color:#9B2C1F;font-weight:600;font-size:15px}
.tt-row-btns{display:flex;flex-wrap:wrap;gap:10px;margin-top:8px}
.tt-link-btn{background:none;border:0;color:var(--ocean,#1B5E7B);font-weight:700;font-size:16px;text-decoration:underline;min-height:44px;padding:0 4px;cursor:pointer}
.tt-seg{display:inline-flex;border:2px solid var(--ocean,#1B5E7B);border-radius:14px;overflow:hidden}
.tt-seg button{font-size:18px;font-weight:700;min-height:50px;min-width:120px;padding:0 20px;background:#fff;color:var(--ocean,#1B5E7B);border:0;cursor:pointer}
.tt-seg button[aria-pressed="true"]{background:var(--ocean,#1B5E7B);color:#fff}
.tt-chips{display:flex;flex-wrap:wrap;gap:10px}
.tt-chips button{font-size:18px;font-weight:700;min-height:50px;min-width:72px;padding:0 16px;border-radius:12px;border:2px solid #CFC2A4;background:#fff;color:#2C2418;cursor:pointer}
.tt-chips button[aria-pressed="true"]{border-color:var(--ocean,#1B5E7B);background:var(--ocean-pale,#EAF4FA);color:var(--ocean-deep,#0D3B52)}
.tt-go{display:block;width:100%;margin-top:20px;font-size:20px;font-weight:800;min-height:58px;border:0;border-radius:14px;background:var(--coral,#B85A34);color:#fff;cursor:pointer}
.tt-go:disabled{opacity:.65;cursor:progress}
.tt-note-box{background:#FBF6EC;border-left:4px solid var(--coral,#B85A34);border-radius:10px;padding:12px 14px;font-size:15.5px;line-height:1.55;margin-top:10px}
.tt-check{display:flex;gap:10px;align-items:flex-start;font-size:16px;line-height:1.45}
.tt-check input{width:24px;height:24px;flex:none;margin-top:2px}
details.tt-adv{margin-top:12px}
details.tt-adv summary{font-weight:700;color:var(--ocean,#1B5E7B);cursor:pointer;min-height:44px;display:flex;align-items:center;font-size:16px}
/* combobox */
.gc-list{position:absolute;top:100%;left:0;right:0;z-index:30;margin:4px 0 0;padding:6px 0;list-style:none;background:#fff;border:2px solid var(--ocean,#1B5E7B);border-radius:12px;box-shadow:0 10px 30px rgba(0,0,0,.15);max-height:320px;overflow:auto}
.gc-opt{padding:12px 14px;cursor:pointer;display:flex;flex-direction:column;gap:2px;min-height:44px}
.gc-opt:hover,.gc-opt[aria-selected="true"]{background:var(--ocean-pale,#EAF4FA)}
.gc-opt-name{font-weight:700;font-size:16.5px}
.gc-opt-sub{font-size:14.5px;color:#5A5040}
.gc-opt-msg{padding:10px 14px;font-size:15px;color:#5A5040}
/* status and results */
.gc-status{margin-top:14px;font-size:17px;font-weight:600;padding:14px 16px;border-radius:12px;background:var(--ocean-pale,#EAF4FA);color:var(--ocean-deep,#0D3B52)}
.gc-status.is-loading::before{content:"";display:inline-block;width:16px;height:16px;margin-right:10px;vertical-align:-2px;border:3px solid rgba(27,94,123,.3);border-top-color:var(--ocean,#1B5E7B);border-radius:50%;animation:gcspin 1s linear infinite}
.gc-status.is-error{background:#FDECEA;color:#8A1C14}
@keyframes gcspin{to{transform:rotate(360deg)}}
@media (prefers-reduced-motion:reduce){.gc-status.is-loading::before{animation:none}}
#gc-results{display:grid;gap:16px;margin-top:22px;scroll-margin-top:90px}
.gc-card{background:#fff;border:1px solid var(--sand-dark,#E8D9B5);border-radius:16px;padding:18px 20px}
.gc-card h3{font-family:'Playfair Display',serif;font-size:22px;margin:0 0 10px}
.gc-cost{border-left:6px solid var(--coral,#B85A34)}
.gc-cost-k{font-weight:800;text-transform:uppercase;letter-spacing:.06em;font-size:13px;color:#B85A34}
.gc-cost-v{font-family:'Playfair Display',serif;font-size:44px;font-weight:700;color:var(--ocean-deep,#0D3B52);line-height:1.1;margin:4px 0}
.gc-cost-sub{font-size:18px;font-weight:600;color:#2C2418;margin-bottom:8px}
.gc-small{font-size:14.5px;color:#5A5040;line-height:1.5;margin:4px 0}
.gc-note{font-size:15.5px;line-height:1.5;margin:6px 0;color:#2C2418}
.gc-warn{font-size:15.5px;line-height:1.5;margin:6px 0;padding:10px 12px;background:#FFF4E5;border-left:4px solid #C77700;border-radius:8px}
.gc-summary{font-weight:700;font-size:16px;margin:0 0 6px}
.gc-rv-safety{border-left:6px solid #C77700;background:#FFFBF3}
.gc-mapcard{padding:0;overflow:hidden}
#gc-map{height:420px;width:100%}
.gc-map-fail{padding:16px}
.gc-table{width:100%;border-collapse:collapse;font-size:15.5px}
.gc-table th,.gc-table td{text-align:left;padding:9px 8px;border-bottom:1px solid #F1E7D2;vertical-align:top}
.gc-table th{font-size:13px;text-transform:uppercase;letter-spacing:.05em;color:#5A5040}
.gc-stop{border-top:1px solid #F1E7D2;padding-top:12px;margin-top:12px}
.gc-stop h4{font-size:18px;margin:0 0 8px;color:var(--ocean-deep,#0D3B52)}
.gc-stations{list-style:none;margin:0;padding:0;display:grid;gap:10px}
.gc-station{border:1px solid #E8D9B5;border-radius:12px;padding:12px 14px}
.gc-station.is-selected{border:2px solid var(--positive,#2D6A4F);background:#F3FAF5}
.gc-st-top{display:flex;flex-wrap:wrap;gap:8px;align-items:center;font-size:17px}
.gc-tag{font-size:12.5px;font-weight:700;padding:3px 9px;border-radius:999px;background:#EAF4FA;color:#0D3B52}
.gc-tag-amber{background:#FFF4E5;color:#7A4A00}
.gc-tag-green{background:#D8F3DC;color:#1E4D36}
.gc-st-act{display:flex;flex-wrap:wrap;gap:10px;margin-top:10px;align-items:center}
.gc-btn-sm{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 16px;border-radius:10px;font-weight:700;font-size:15.5px;background:var(--ocean,#1B5E7B);color:#fff;text-decoration:none;border:2px solid var(--ocean,#1B5E7B);cursor:pointer}
.gc-btn-ghost{background:#fff;color:var(--ocean,#1B5E7B)}
.gc-more summary{font-weight:700;color:var(--ocean,#1B5E7B);min-height:44px;display:flex;align-items:center;cursor:pointer}
.gc-prices ul{margin:0 0 6px 18px;font-size:15.5px;line-height:1.6}
.gc-pin{font:700 13px/1 'Source Sans 3',sans-serif;color:#fff;background:var(--ocean,#1B5E7B);border:2px solid #fff;border-radius:999px;padding:6px 8px;box-shadow:0 2px 6px rgba(0,0,0,.3);white-space:nowrap}
.gc-pin-end{background:#0D3B52;min-width:28px;text-align:center}
.gc-pin-fuel{background:#B85A34}
.gc-pin-area{opacity:.85}
/* simple calculators */
.rc-out{margin-top:20px;border-radius:16px;background:var(--ocean-pale,#EAF4FA);padding:18px 20px}
.rc-big{font-family:'Playfair Display',serif;font-size:38px;font-weight:700;color:var(--ocean-deep,#0D3B52);line-height:1.15}
.rc-line{font-size:17px;line-height:1.55;margin:6px 0}
.rc-ok{color:#1E4D36;font-weight:700}
.rc-bad{color:#8A1C14;font-weight:700}
.rc-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:10px}
.rc-item{display:flex;gap:12px;align-items:center;border:2px solid #E8D9B5;border-radius:12px;padding:10px 12px;min-height:56px;font-size:16px;cursor:pointer;background:#fff}
.rc-item input{width:24px;height:24px;flex:none}
.rc-item .rc-w{margin-left:auto;font-size:14px;color:#5A5040;white-space:nowrap}
.rc-item:has(input:checked){border-color:var(--ocean,#1B5E7B);background:#F4FAFD}
/* hub */
.th-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(270px,1fr));gap:16px}
.th-card{display:flex;flex-direction:column;gap:8px;background:#fff;border:1px solid #E8D9B5;border-left:5px solid var(--ocean,#1B5E7B);border-radius:16px;padding:18px;text-decoration:none;color:#2C2418;transition:box-shadow .2s,transform .2s}
a.th-card:hover{box-shadow:0 8px 22px rgba(44,36,24,.12);transform:translateY(-2px)}
.th-icon{font-size:30px}
.th-t{font-weight:800;font-size:19px;color:var(--ocean-deep,#0D3B52)}
.th-d{font-size:15.5px;line-height:1.55;color:#5A5040}
.th-cta{margin-top:auto;font-weight:700;color:var(--ocean,#1B5E7B)}
.th-soon{border-left-color:#CFC2A4;background:#FBF8F1}
.th-soon .th-cta{color:#8A7D6A}
.tt-legal{font-size:14px;line-height:1.55;color:#5A5040;background:#F6F2EA;border:1px solid #E8D9B5;border-radius:10px;padding:10px 14px;margin:14px 0 0}
.tt-legal a{color:var(--ocean,#1B5E7B);font-weight:600}
/* hub: intro, spotlight */
.th-intro{margin:0 0 22px}
.th-intro h2,.th-h{font-family:'Playfair Display',serif;font-size:28px;line-height:1.2;color:var(--ink,#2C2418);margin:0 0 10px}
.th-intro p{font-size:17.5px;line-height:1.65;color:#4A4038;margin:0 0 16px;max-width:880px}
.th-why{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.th-why li{display:flex;gap:12px;align-items:flex-start;background:#fff;border:1px solid #E8D9B5;border-radius:14px;padding:14px 16px;font-size:15.5px;line-height:1.5;color:#5A5040}
.th-why strong{display:block;color:var(--ocean-deep,#0D3B52);font-size:16.5px;margin-bottom:2px}
.th-why-i{font-size:26px;line-height:1}
.th-spot{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:28px;align-items:center;margin:0 0 30px;padding:28px 30px;border-radius:20px;color:#fff;background:linear-gradient(120deg,#0D3B52 0%,#1B5E7B 62%,#2A7A8C 100%);box-shadow:0 14px 40px rgba(13,59,82,.22);position:relative;overflow:hidden}
.th-spot::after{content:"";position:absolute;right:-60px;top:-60px;width:220px;height:220px;border-radius:50%;background:rgba(255,255,255,.06);pointer-events:none}
.th-spot-k{display:inline-block;font-size:13px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;background:#B85A34;color:#fff;border-radius:999px;padding:5px 12px;margin-bottom:10px}
.th-spot-t{font-family:'Playfair Display',serif;font-size:34px;line-height:1.15;margin:0 0 10px;color:#fff}
.th-spot-d{font-size:17.5px;line-height:1.6;margin:0 0 14px;color:rgba(255,255,255,.92)}
.th-spot-f{list-style:none;margin:0 0 18px;padding:0;display:flex;flex-wrap:wrap;gap:8px}
.th-spot-f li{font-size:15px;font-weight:600;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.22);border-radius:999px;padding:6px 12px}
.th-spot-btn{display:inline-flex;align-items:center;justify-content:center;min-height:54px;padding:0 28px;border-radius:14px;background:#B85A34;color:#fff;font-size:19px;font-weight:800;text-decoration:none;box-shadow:0 4px 14px rgba(0,0,0,.2)}
.th-spot-btn:hover{background:#a34e2c}
.th-spot-btn:focus-visible,.th-chip:focus-visible{outline:3px solid #fff;outline-offset:3px}
.th-spot-side{background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.2);border-radius:16px;padding:18px}
.th-spot-st{font-weight:800;font-size:16.5px;margin-bottom:12px}
.th-chips{display:flex;flex-wrap:wrap;gap:8px}
.th-chip{display:inline-flex;align-items:center;min-height:44px;padding:0 16px;border-radius:999px;background:#fff;color:#0D3B52;font-weight:700;font-size:15.5px;text-decoration:none}
.th-chip:hover{background:#FDEEE7;color:#8A3E20}
.th-spot-note{font-size:14px;line-height:1.5;margin:12px 0 0;color:rgba(255,255,255,.82)}
.th-h{font-size:24px;margin:0 0 14px}
.th-why-wrap{margin:0 0 30px}
.th-intro p{margin-bottom:0}
/* generator appliance picker */
.gn-group{border:0;margin:0 0 16px;padding:0;min-width:0}
.gn-group legend{font-weight:800;font-size:16.5px;color:var(--ocean-deep,#0D3B52);margin:0 0 10px;padding:0}
.gn-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:10px}
.gn-item{display:flex;gap:12px;align-items:flex-start;border:2px solid #E8D9B5;border-radius:12px;padding:12px 14px;background:#fff;cursor:pointer;min-height:64px;min-width:0}
.gn-item input[type=checkbox]{width:24px;height:24px;flex:none;margin:1px 0 0}
.gn-item:has(input:checked){border-color:var(--ocean,#1B5E7B);background:#F4FAFD}
.gn-body{display:flex;flex-direction:column;gap:3px;min-width:0}
.gn-name{font-weight:700;font-size:16.5px;line-height:1.3;color:#2C2418}
.gn-w{font-size:14.5px;line-height:1.4;color:#5A5040}
.gn-qty{display:flex;align-items:center;gap:8px;font-size:14.5px;color:#5A5040;margin-top:4px}
.gn-qty select{font-size:16px;min-height:40px;padding:4px 8px;border:2px solid #CFC2A4;border-radius:8px;background:#fff}
@media (max-width:760px){
  .th-why{grid-template-columns:1fr}
  .th-spot{grid-template-columns:1fr;padding:22px 18px;gap:18px}
  .th-spot-t{font-size:28px}
  .th-spot-btn{width:100%}
  .th-intro h2{font-size:24px}
  .tt-wrap{padding:18px 16px 4px}
  .tt-card{padding:18px 16px 20px;border-radius:16px}
  .tt-grid,.tt-grid-3{grid-template-columns:1fr}
  .tt-seg{display:flex}.tt-seg button{flex:1;min-width:0}
  .gc-cost-v{font-size:38px}
  #gc-map{height:56vh;max-height:460px}
  .gc-table th:nth-child(3),.gc-table td:nth-child(3){display:none}
  .rc-item{flex-wrap:wrap}.rc-item>span:not(.rc-w){flex:1}.rc-item .rc-w{margin-left:36px;flex-basis:100%}
}
@media (prefers-color-scheme:dark){.tt-card,.gc-card{box-shadow:none}}
