/* Travel time calculator v793 */
/* v872: dynamic route rows use the width of their actual editor. */
.travel-time-body-v793 .fuel-entry-v778{container:travel-editor-v872 / inline-size}
.travel-segment-v793,.travel-segment-v793>*{min-width:0;max-width:100%;box-sizing:border-box}
.travel-segment-v793 input{max-width:100%}
@container travel-editor-v872 (max-width:640px){
 .travel-time-body-v793 .travel-segment-v793{grid-template-columns:repeat(2,minmax(0,1fr))}
 .travel-time-body-v793 .travel-segment-v793 button{grid-column:-2/-1;justify-self:end;width:44px;min-height:44px}
}
@container travel-editor-v872 (max-width:360px){
 .travel-time-body-v793 .travel-segment-v793{grid-template-columns:minmax(0,1fr)}
 .travel-time-body-v793 .travel-segment-v793 button{grid-column:1;justify-self:end}
}
.travel-time-body-v793{--tt-green:#176b42;--tt-deep:#183529;--tt-soft:#eef7f2;--tt-line:#d9e5de;background:#fff;color:#17231b}
.travel-time-body-v793 .fuel-progress-v778{grid-template-columns:repeat(5,minmax(0,1fr))}
.travel-mode-grid-v793{grid-template-columns:repeat(3,minmax(0,1fr))!important}
.travel-info-v793{grid-column:1/-1;padding:14px 16px;border:1px solid #dce8e1;border-radius:14px;background:#f5faf7;color:#4f6257}
.travel-info-v793 b{display:block;color:#183529;margin-bottom:4px}.travel-info-v793 p{margin:0;line-height:1.55}
.travel-summary-v793{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.travel-summary-v793 span{display:block;padding:13px 14px;border:1px solid #dce8e1;border-radius:14px;background:#fff}
.travel-summary-v793 b{display:block;color:#155f3b;font-size:20px}.travel-summary-v793 small{display:block;color:#66766d;margin-top:2px}
.travel-time-body-v793 .fuel-result-card-v778.warn{border-color:#e7c98f;background:#fff9ed}
.travel-time-body-v793 .fuel-check-v778.info{background:#f5f8fa;border-color:#dce5ea}
.travel-time-body-v793 .travel-law-v793{border-left:4px solid #2c8558;background:#f2f9f5}
.travel-time-body-v793 .travel-formula-v793{display:block;margin:12px 0;padding:12px 14px;border-radius:13px;background:#183529;color:#fff;font-weight:800;overflow:auto}
.travel-time-body-v793 .travel-grid-v793{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.travel-time-body-v793 .travel-grid-v793 article{border:1px solid #dfe9e2;border-radius:15px;background:#fff;padding:14px}
.travel-time-body-v793 .travel-grid-v793 b{display:block;color:#183529;margin-bottom:5px}.travel-time-body-v793 .travel-grid-v793 p{margin:0}
.travel-time-body-v793 .fuel-ledger-tabs-v778,.travel-time-body-v793 .fuel-table-wrap-v778{min-width:0;max-width:100%;box-sizing:border-box}
.travel-time-body-v793 .fuel-table-wrap-v778{overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain}
.travel-time-body-v793 .fuel-ledger-pane-v778{min-width:0;max-width:100%}
.travel-segments-v793{display:grid;gap:10px;margin-top:12px}
.travel-segment-v793{display:grid;grid-template-columns:minmax(150px,1.4fr) repeat(3,minmax(105px,.8fr)) 42px;gap:8px;align-items:end;padding:12px;border:1px solid #dce8e1;border-radius:15px;background:#fff}
.travel-segment-v793 label{display:grid;gap:5px;color:#50635a;font-size:12px;font-weight:700}.travel-segment-v793 input{width:100%;min-width:0;box-sizing:border-box;border:1px solid #cfddd5;border-radius:10px;padding:9px 10px;font:inherit;color:#173027;background:#fff}
.travel-segment-v793 button{height:40px;border:1px solid #d5e2da;border-radius:10px;background:#fff;color:#7d2f2f;font-size:20px;cursor:pointer}
.travel-add-v793{display:inline-flex;align-items:center;justify-content:center;gap:6px;margin-top:10px;border:1px solid #bcd4c5;background:#f1f8f4;color:#155f3b;font-weight:800;border-radius:12px;padding:10px 14px;cursor:pointer}
.travel-checkbox-v793{display:flex!important;align-items:flex-start;gap:10px;padding:13px 14px;border:1px solid #dce8e1;border-radius:14px;background:#fff}.travel-checkbox-v793 input{width:18px;height:18px;margin-top:2px;accent-color:#176b42}.travel-checkbox-v793 span{font-weight:800;color:#1a3428}.travel-checkbox-v793 small{display:block;color:#66766d;font-weight:400;margin-top:3px}
.travel-route-note-v793{padding:15px 16px;border-radius:15px;background:#f7faf8;border:1px dashed #cbdcd2;color:#53675c;line-height:1.55}
.travel-live-v793{min-height:430px;border:1px solid #dce8df;border-radius:24px;background:#f7fbf8;overflow:hidden}
.travel-live-v793 svg{display:block;width:100%;height:auto;min-height:420px}
/* Functional hero placeholder. Final 1920x830 publication artwork is intentionally a separate step. */
.travel-hero-art-v793{position:relative;min-height:460px;border:1px solid #dce8df;border-radius:28px;background:linear-gradient(145deg,#fbfefc,#edf6f0);box-shadow:0 28px 65px rgba(20,70,35,.08);overflow:hidden}.travel-hero-art-v793:before{content:"";position:absolute;inset:0;background-image:linear-gradient(#e1ebe5 1px,transparent 1px),linear-gradient(90deg,#e1ebe5 1px,transparent 1px);background-size:38px 38px;opacity:.5}.travel-hero-art-v793 svg{position:absolute;inset:0;width:100%;height:100%}
@media(max-width:1080px){.travel-mode-grid-v793{grid-template-columns:repeat(2,minmax(0,1fr))!important}.travel-time-body-v793 .travel-grid-v793{grid-template-columns:1fr 1fr}.travel-segment-v793{grid-template-columns:repeat(2,minmax(0,1fr))}.travel-segment-v793 button{grid-column:2;justify-self:end;width:42px}}
@media(max-width:900px){.travel-hero-art-v793{display:none}}
@media(max-width:640px){.travel-mode-grid-v793{grid-template-columns:1fr!important}.travel-time-body-v793 .fuel-progress-v778{grid-template-columns:repeat(5,minmax(0,1fr));gap:5px}.travel-time-body-v793 .fuel-progress-v778 button{padding:7px 3px}.travel-time-body-v793 .fuel-progress-v778 button b{font-size:9px}.travel-summary-v793,.travel-time-body-v793 .travel-grid-v793{grid-template-columns:1fr}.travel-segment-v793{grid-template-columns:1fr}.travel-segment-v793 button{grid-column:1;justify-self:end}.travel-time-body-v793 .fuel-report-shell-v778{min-width:0;overflow:hidden}.travel-time-body-v793 .fuel-table-v778{min-width:560px}.travel-time-body-v793 .fuel-table-v778 th,.travel-time-body-v793 .fuel-table-v778 td{overflow-wrap:anywhere}.travel-live-v793{min-height:350px}.travel-live-v793 svg{min-height:350px}}
@media print{.travel-time-body-v793 .fuel-hero-v778,.travel-time-body-v793 .fuel-calc-section-v778,.travel-time-body-v793 .fuel-content-v778{display:none!important}}


/* v794 publication hero: bitmap is a background layer with preserved aspect ratio */
.travel-time-body-v793 .fuel-hero-v778{position:relative;overflow:hidden;min-height:610px;border-bottom:1px solid #e4ece6;background-color:#f7faf8;background-image:linear-gradient(90deg,rgba(247,250,248,.997) 0%,rgba(247,250,248,.992) 33%,rgba(247,250,248,.95) 44%,rgba(247,250,248,.63) 58%,rgba(247,250,248,.14) 75%,rgba(247,250,248,0) 90%),url("travel-time-calculator-hero-v794.webp");background-repeat:no-repeat,no-repeat;background-position:left top,center top;background-size:100% 100%,100% auto}
.travel-time-body-v793 .fuel-hero-inner-v778{position:relative;z-index:1}
.travel-time-body-v793 .travel-hero-art-v793{min-height:460px!important;border:0!important;background:none!important;box-shadow:none!important;overflow:visible!important}
.travel-time-body-v793 .travel-hero-art-v793:before{content:none!important}
@media(max-width:1220px){.travel-time-body-v793 .fuel-hero-v778{background-position:left top,right top;background-size:100% 100%,auto 100%}}
@media(max-width:900px){.travel-time-body-v793 .fuel-hero-v778{min-height:auto;background-image:linear-gradient(180deg,rgba(247,250,248,.998) 0%,rgba(247,250,248,.988) 67%,rgba(247,250,248,.82) 100%),url("travel-time-calculator-hero-v794.webp");background-position:left top,right bottom;background-size:100% 100%,auto 255px}.travel-time-body-v793 .travel-hero-art-v793{display:none!important}}
@media(max-width:640px){.travel-time-body-v793 .fuel-hero-v778{background-size:100% 100%,auto 220px}}


/* v795 — compact manual ad geometry for the travel-time page.
   Unrequested/lazy slots keep a 2px measurable anchor so proximity loading
   continues to work, but no longer reserve 324–405px of invisible whitespace.
   Filled creatives size themselves by the real Yandex content. */
.travel-time-body-v793 .site-ad-v259:not(.site-ad-v259--left-rail).is-idle{
  box-sizing:border-box!important;
  min-height:2px!important;
  height:2px!important;
  max-height:2px!important;
  margin-top:14px!important;
  margin-bottom:14px!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
  overflow:hidden!important;
}
.travel-time-body-v793 .site-ad-v259--embedded.is-idle{
  width:100%!important;
  margin-left:0!important;
  margin-right:0!important;
}
.travel-time-body-v793 .site-ad-v259:not(.site-ad-v259--left-rail).is-idle>.site-ad-v259__label{
  display:none!important;
}
.travel-time-body-v793 .site-ad-v259:not(.site-ad-v259--left-rail).is-idle>.site-ad-v259__frame{
  display:block!important;
  visibility:hidden!important;
  min-height:2px!important;
  height:2px!important;
  max-height:2px!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  overflow:hidden!important;
}
.travel-time-body-v793 .site-ad-v259:not(.site-ad-v259--left-rail).is-loading{
  margin-top:18px!important;
  margin-bottom:18px!important;
}
.travel-time-body-v793 .site-ad-v259:not(.site-ad-v259--left-rail).is-loading>.site-ad-v259__frame{
  min-height:96px!important;
  max-height:180px!important;
  background:#f7faf8!important;
}
.travel-time-body-v793 .site-ad-v259:not(.site-ad-v259--left-rail).is-rendered{
  margin-top:22px!important;
  margin-bottom:22px!important;
}
.travel-time-body-v793 .site-ad-v259:not(.site-ad-v259--left-rail).is-rendered>.site-ad-v259__frame{
  min-height:0!important;
  height:auto!important;
  max-height:none!important;
  background:transparent!important;
  overflow:hidden!important;
}
.travel-time-body-v793 .site-ad-v259:not(.site-ad-v259--left-rail).is-rendered>.site-ad-v259__frame>*,
.travel-time-body-v793 .site-ad-v259:not(.site-ad-v259--left-rail).is-rendered>.site-ad-v259__frame iframe{
  display:block!important;
  max-width:100%!important;
}
.travel-time-body-v793 .fuel-ledger-pane-v778>.site-ad-v259{
  width:100%!important;
  max-width:100%!important;
}
@media(max-width:767px){
  .travel-time-body-v793 .site-ad-v259:not(.site-ad-v259--left-rail).is-idle{
    width:100%!important;
    margin-top:10px!important;
    margin-bottom:10px!important;
  }
  .travel-time-body-v793 .site-ad-v259:not(.site-ad-v259--left-rail).is-loading{
    width:100%!important;
    margin-top:14px!important;
    margin-bottom:14px!important;
  }
  .travel-time-body-v793 .site-ad-v259:not(.site-ad-v259--left-rail).is-loading>.site-ad-v259__frame{
    min-height:80px!important;
    max-height:150px!important;
  }
  .travel-time-body-v793 .site-ad-v259:not(.site-ad-v259--left-rail).is-rendered{
    width:100%!important;
    margin-top:18px!important;
    margin-bottom:18px!important;
  }
}
