/* Generated from the homepage styles, scoped under .tool-ui so it cannot affect the rest of the site.
   Styles used only by this tool. */
.tool-ui #distStartEndDiv, .tool-ui #socStartEndDiv{grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch;min-width:0;}
.tool-ui #distStartEndDiv .hub-input, .tool-ui #socStartEndDiv .hub-input{width:100%;min-width:0;box-sizing:border-box;}
@media (min-width:701px){
  .tool-ui #calcRange .range-main-input-row{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:12px!important;}
}
@media (max-width:700px){
  .tool-ui #calcRange .range-main-input-row{grid-template-columns:1fr!important;}
}
@media(max-width:430px){
  .tool-ui #distStartEndDiv, .tool-ui #socStartEndDiv{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:6px!important;}
  .tool-ui #distStartEndDiv .hub-input, .tool-ui #socStartEndDiv .hub-input{font-size:13px;min-width:0;padding-left:8px!important;padding-right:8px!important;}
}
.tool-ui .range-input-method-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:0 0 14px;padding:10px 12px;background:#f8fafc;border:1px solid #dbe4ee;border-radius:14px;}
.tool-ui .range-input-method-label{font-size:12px;font-weight:800;color:#334155;}
.tool-ui .range-input-method-toggle{display:flex;align-items:center;gap:4px;padding:3px;background:#eef2f7;border:1px solid #dbe4ee;border-radius:11px;}
.tool-ui .range-mode-btn{border:0;background:transparent;color:#475569;font:700 11px 'Plus Jakarta Sans',sans-serif;padding:7px 11px;border-radius:8px;cursor:pointer;transition:all .18s;white-space:nowrap;}
.tool-ui .range-mode-btn:hover{color:#1d4ed8;background:#fff;}
.tool-ui .range-mode-btn.active{background:#2563eb;color:#fff;box-shadow:0 2px 7px rgba(37,99,235,.22);}
.tool-ui .range-pair-inputs{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:7px;min-width:0;}
@media(max-width:600px){
  .tool-ui .range-input-method-bar{align-items:stretch}
  .tool-ui .range-input-method-toggle{width:100%}
  .tool-ui .range-mode-btn{flex:1;white-space:normal;line-height:1.25}
  .tool-ui .range-pair-inputs{gap:6px}
}
.tool-ui .intermediate-charge-card{margin:8px 0 18px;padding:16px 18px;background:#f8fafc;border:1px solid #dbe4ee;border-radius:16px;}
.tool-ui .intermediate-enable-row{display:flex;align-items:flex-end;gap:14px;flex-wrap:wrap;margin-bottom:12px;}
.tool-ui .intermediate-quick-count{min-width:240px;padding-top:14px;}
.tool-ui .intermediate-quick-count>label{display:block;margin-bottom:6px;font-size:12px;font-weight:800;color:#334155;}
.tool-ui .intermediate-quick-count>label span{font-weight:500;color:#64748b;}
.tool-ui .intermediate-quick-control{display:flex;align-items:center;gap:7px;}
.tool-ui .intermediate-quick-control .hub-select{min-width:170px;}
.tool-ui .intermediate-quick-btn{width:auto!important;min-width:52px!important;padding:9px 13px!important;font-size:12px!important;}
.tool-ui .intermediate-datetime-toggle{border:1px solid #bfdbfe;background:#eff6ff;color:#2563eb;border-radius:8px;padding:5px 9px;font-size:10.5px;font-weight:800;cursor:pointer;}
@media(max-width:600px){
  .tool-ui .intermediate-enable-row{align-items:stretch}
  .tool-ui .intermediate-quick-count{width:100%}
  .tool-ui .intermediate-quick-control{width:100%}
  .tool-ui .intermediate-quick-control .hub-select{flex:1;min-width:0}
  .tool-ui .intermediate-quick-btn{min-width:58px!important}
}
.tool-ui .intermediate-charge-head{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:10px;}
.tool-ui .intermediate-charge-title{margin:0;font-size:14px;font-weight:800;color:#0f172a;}
.tool-ui .intermediate-charge-help{margin:0 0 12px;font-size:11.5px;color:#64748b;line-height:1.5;}
.tool-ui .intermediate-stop-list{display:grid;gap:10px;}
.tool-ui .intermediate-stop{background:#fff;border:1px solid #dbe4ee;border-radius:14px;padding:12px;}
.tool-ui .intermediate-stop-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px;}
.tool-ui .intermediate-stop-title{font-size:12.5px;font-weight:800;color:#0f172a;}
.tool-ui .intermediate-stop-remove{border:1px solid #fecaca;background:#fff1f2;color:#b91c1c;border-radius:8px;padding:5px 9px;font-size:11px;font-weight:800;cursor:pointer;}
.tool-ui .intermediate-empty{padding:10px 12px;border:1px dashed #cbd5e1;border-radius:10px;background:#fff;color:#64748b;font-size:11.5px;}
.tool-ui .intermediate-add-btn{width:auto!important;max-width:none!important;padding:8px 12px!important;font-size:12px!important;}
.tool-ui .intermediate-actions{padding-top:2px;}
.tool-ui .intermediate-count{font-size:10.5px;color:#64748b;font-weight:700;}
@media(max-width:600px){
  .tool-ui .intermediate-actions{justify-content:stretch!important}
  .tool-ui .intermediate-actions .intermediate-add-btn{width:100%!important}
}
@media(max-width:700px){
  .tool-ui .intermediate-stop-head{align-items:flex-start;}
}
.tool-ui .range-stop-help{white-space:nowrap;}
@media (max-width:700px){
  .tool-ui .range-stop-help{white-space:normal;}
}
.tool-ui .field-help{font-size:11px;color:#64748b;margin:-7px 0 10px 2px}
.tool-ui .intermediate-stop-meta-row{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(0,1.1fr) minmax(120px,.75fr) minmax(105px,.65fr);gap:10px;align-items:end}
.tool-ui .intermediate-stop-meta-row .form-group{min-width:0}
.tool-ui .intermediate-stop-meta-row input, .tool-ui .intermediate-stop-meta-row select{width:100%;box-sizing:border-box}
@media(max-width:760px){
  .tool-ui .intermediate-stop-meta-row{grid-template-columns:1fr 1fr}
  .tool-ui .intermediate-stop-meta-row .location-field{grid-column:1/-1}
}
@media(max-width:480px){
  .tool-ui .intermediate-stop-meta-row{grid-template-columns:1fr}
}
.tool-ui .intermediate-stop-meta-row{display:grid!important;grid-template-columns:minmax(0,1.8fr) minmax(0,1.15fr) minmax(130px,.8fr) minmax(110px,.7fr)!important;gap:10px!important;align-items:end!important}
.tool-ui .intermediate-stop-meta-row .form-group{min-width:0}
.tool-ui .intermediate-stop-meta-row .hub-input, .tool-ui .intermediate-stop-meta-row .hub-select{width:100%;box-sizing:border-box}
.tool-ui .intermediate-stop-soc-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:10px}
.tool-ui .intermediate-stop-soc-row .form-group{min-width:0}
@media(max-width:820px){
  .tool-ui .intermediate-stop-meta-row{grid-template-columns:minmax(0,1.6fr) minmax(0,1.1fr)!important}
  .tool-ui .intermediate-stop-meta-row .location-field{grid-column:1/-1}
}
@media(max-width:520px){
  .tool-ui .intermediate-stop-meta-row{grid-template-columns:1fr!important}
  .tool-ui .intermediate-stop-meta-row .location-field{grid-column:auto}
  .tool-ui .intermediate-stop-soc-row{grid-template-columns:1fr 1fr}
}
.tool-ui .intermediate-enable-row .field-help{margin:0 0 7px 0;
  font-size:.88rem;
  color:#64748b;
  line-height:1.35;}
.tool-ui .intermediate-stop-meta-row, .tool-ui .intermediate-stop-soc-row{min-width:0}
.tool-ui .intermediate-stop-meta-row:not(.has-datetime){grid-template-columns:minmax(0,1.8fr) minmax(0,1.1fr)!important}
@media(max-width:700px){
  .tool-ui .intermediate-stop-meta-row:not(.has-datetime){grid-template-columns:1fr!important}
}
.tool-ui .intermediate-enable-row{display:grid;
    grid-template-columns:minmax(220px,360px) minmax(260px,1fr);
    column-gap:14px;
    row-gap:8px;
    align-items:end;
    margin-bottom:12px;}
.tool-ui .intermediate-enable-row .range-stop-help{grid-column:1 / -1;
    margin:0 0 2px !important;
    line-height:1.35;
    white-space:nowrap;}
.tool-ui .intermediate-enable-row .form-group{min-width:0;
    margin-bottom:0 !important;}
.tool-ui .intermediate-quick-count{min-width:0;
    padding-top:0 !important;
    margin:0 !important;}
.tool-ui .intermediate-quick-count > label{display:block;
    margin:0 0 6px !important;
    line-height:1.25;
    font-size:12px;
    font-weight:800;
    color:#334155;}
.tool-ui .intermediate-quick-count > label span{font-weight:500;color:#64748b;}
.tool-ui .intermediate-stop-meta-row:not(.has-datetime){grid-template-columns:minmax(0,1.8fr) minmax(0,1.1fr)!important;}
.tool-ui .intermediate-stop-meta-row.has-datetime{grid-template-columns:minmax(0,1.55fr) minmax(0,1fr) minmax(120px,.75fr) minmax(105px,.65fr)!important;}
.tool-ui .intermediate-stop-soc-row .hub-input{min-width:0;}
@media(max-width:820px){
  .tool-ui .intermediate-stop-meta-row.has-datetime{grid-template-columns:minmax(0,1.6fr) minmax(0,1.1fr)!important;}
  .tool-ui .intermediate-stop-meta-row.has-datetime .location-field{grid-column:1/-1;}
  .tool-ui .intermediate-enable-row{grid-template-columns:minmax(190px,1fr) minmax(240px,1fr);}
}
@media(max-width:600px){
  .tool-ui .intermediate-enable-row{grid-template-columns:1fr;row-gap:10px;}
  .tool-ui .intermediate-enable-row .range-stop-help{white-space:normal;}
  .tool-ui .intermediate-enable-row .form-group, .tool-ui .intermediate-quick-count{width:100%;min-width:0;max-width:none!important;}
}
.tool-ui .intermediate-enable-row{display:grid!important;
    grid-template-columns:minmax(220px,360px) minmax(260px,1fr)!important;
    column-gap:18px!important;
    row-gap:16px!important;
    align-items:end!important;
    margin-top:4px!important;}
.tool-ui .intermediate-enable-row .range-stop-help{grid-column:1 / -1!important;
    margin:0!important;
    padding:0 2px!important;
    line-height:1.35!important;
    white-space:nowrap!important;}
.tool-ui .intermediate-enable-row > .form-group{margin:0!important;}
.tool-ui .intermediate-quick-count{padding-top:0!important;
    margin:0!important;}
.tool-ui .intermediate-quick-count > label{margin:0 0 7px!important;
    line-height:1.25!important;}
@media(max-width:600px){
  .tool-ui .intermediate-enable-row{grid-template-columns:1fr!important;row-gap:10px!important;}
  .tool-ui .intermediate-enable-row .range-stop-help{white-space:normal!important;}
}
.tool-ui .intermediate-stop-title{min-width:0;max-width:62%;overflow-wrap:anywhere;word-break:break-word;line-height:1.3;}
.tool-ui .intermediate-stop-title span{overflow-wrap:anywhere;word-break:break-word;}
.tool-ui .location-field .hub-input{min-width:0;}
@media (max-width:700px){
  .tool-ui #calcRange .intermediate-charge-help{font-size:0!important; line-height:1.35!important; margin:3px 0 7px!important;}
  .tool-ui #calcRange .intermediate-charge-help::after{content:'Add stops if your trip includes recharging.';
    font-size:11px!important; color:#64748b;}
  .tool-ui #calcRange .intermediate-enable-row .range-stop-help{font-size:0!important; line-height:1.35!important; margin:0 0 2px!important;}
  .tool-ui #calcRange .intermediate-enable-row .range-stop-help::after{content:'Select the number of charging stops.';
    font-size:10.5px!important; color:#64748b;}
  .tool-ui #calcRange .intermediate-stop-meta-row:not(.has-datetime){grid-template-columns:1fr!important; gap:9px!important;}
  .tool-ui #calcRange .intermediate-stop-meta-row:not(.has-datetime) .location-field{grid-column:auto!important;}
  .tool-ui #calcRange .intermediate-stop-meta-row.has-datetime{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important; gap:9px!important;}
  .tool-ui #calcRange .intermediate-stop-meta-row.has-datetime .location-field{grid-column:1/-1!important;}
  .tool-ui #calcRange .intermediate-stop-meta-row.has-datetime > .form-group:nth-child(4){grid-column:1/-1!important;}
  .tool-ui #calcRange .intermediate-stop .hub-select{padding-left:12px!important; padding-right:34px!important; font-size:13px!important;
    text-overflow:ellipsis; min-width:0;}
  .tool-ui #calcRange .intermediate-stop .native-picker-wrapper{padding:0!important;}
  .tool-ui #calcRange .intermediate-stop .native-picker-input{padding-left:12px!important;padding-right:34px!important;}
  .tool-ui #calcRange .intermediate-stop-head{align-items:flex-start!important;}
}
@media (max-width:430px){
  .tool-ui #calcRange .intermediate-stop-head{grid-template-columns:1fr!important;}
  .tool-ui #calcRange .intermediate-stop-head > div:last-child{width:100%!important;display:flex!important;justify-content:stretch!important;}
  .tool-ui #calcRange .intermediate-stop-head > div:last-child .intermediate-datetime-toggle, .tool-ui #calcRange .intermediate-stop-head > div:last-child .intermediate-stop-remove{flex:1 1 0!important;min-width:0!important;}
}
@media (max-width:380px){
  .tool-ui #calcRange .intermediate-stop .hub-select{font-size:12.5px!important;}
}
.tool-ui .native-picker-wrapper .native-picker-input{padding-left:12px!important;}
