:root{
      --brand:#29509e;
      --brand-dark:#182f63;
      --accent:#ffcc33;
      --bg:#eef3fb;
      --surface:rgba(255,255,255,.88);
      --surface-solid:#ffffff;
      --text:#172033;
      --muted:#69758a;
      --line:rgba(41,80,158,.14);
      --shadow:0 18px 45px rgba(23,32,51,.14);
      --shadow-soft:0 8px 24px rgba(23,32,51,.10);
      --radius-lg:24px;
      --radius-md:16px;
      --radius-sm:12px;
    }

    *{ box-sizing:border-box; }
    html, body, #map { height:100%; margin:0; padding:0; }
    body {
      min-height:100vh;
      display:flex;
      font-family:Inter, "Segoe UI", Roboto, Arial, Helvetica, sans-serif;
      color:var(--text);
      background:
        radial-gradient(circle at top left, #f7f5fb, transparent 30%),
        linear-gradient(135deg, #f7f9ff 0%, #eaf0fb 48%, #dfe8f8 100%);
      overflow:hidden;
    }

    .sidebar {
      width:430px;
      max-width:42%;
      min-width:292px;
      height:100vh;
      margin:0;
      padding:18px;
      overflow:auto;
      border:0;
      border-right:1px solid rgba(41,80,158,.14);
      border-radius:0;
      backdrop-filter:blur(18px);
      -webkit-backdrop-filter:blur(18px);
      box-shadow:12px 0 34px rgba(23,32,51,.08);
      position:relative;
      z-index:5;
      scrollbar-width:thin;
      scrollbar-color:rgba(41,80,158,.35) transparent;
    }
    .sidebar::-webkit-scrollbar{ width:8px; }
    .sidebar::-webkit-scrollbar-thumb{ background:rgba(41,80,158,.28); border-radius:999px; }
    .control-panel{
      padding:16px;
      border:1px solid rgba(41,80,158,.10);
      border-radius:24px;
      background:rgba(255,255,255,.82);
      box-shadow:var(--shadow-soft);
    }

    .map-wrap {
      flex:1;
      position:relative;
      margin:0;
      border-radius:0;
      overflow:hidden;
      box-shadow:none;
      background:#dbe6f7;
    }
    .map-wrap:after{
      content:"";
      position:absolute;
      inset:0;
      pointer-events:none;
      box-shadow:inset 1px 0 0 rgba(255,255,255,.55);
    }
    #map { width:100%; height:100%; }

    h2{ margin:0; font-size:24px; line-height:1.1; color:var(--brand-dark); letter-spacing:-.03em; }
    strong{ display:block; margin-bottom:8px; color:var(--brand-dark); font-size:13px; letter-spacing:.02em; text-transform:uppercase; }

    .one_block {
      display:flex;
      align-items:center;
      justify-content:center;
      gap:14px;
      border-radius:20px;
      text-align:center;
    }
    .one_block a{
      display:inline-flex;
      align-items:center;
      justify-content:center;
    }
    .one_block img{
      display:block;
      max-width:100%;
      height:auto;
      object-fit:contain;
    }
    .h2_one_block{ margin:0; }

    .filter-group{
      padding:10px 0;
      margin-bottom:2px;
      border:0;
      border-bottom:1px solid rgba(41,80,158,.10);
      border-radius:0;
      background:transparent;
    }
    .filter-group strong{
      margin-bottom:6px;
      font-size:11px;
      letter-spacing:.04em;
      color:#6a7590;
    }
    .filters { display:flex; flex-wrap:wrap; gap:6px; margin:0; }
    .filters label { cursor:pointer; user-select:none; }
    .filters input { display:none; }
    .filter-chip {
      display:inline-flex;
      align-items:center;
      gap:5px;
      min-height:28px;
      padding:5px 9px;
      border-radius:999px;
      font-size:12px;
      font-weight:700;
      background:#f3f6fb;
      color:#56637a;
      border:1px solid rgba(41,80,158,.12);
      transition:transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
    }
    .filter-chip__icon,
    .btn__icon{
      display:inline-flex;
      flex:0 0 24px;
      width:24px;
      height:24px;
      align-items:center;
      justify-content:center;
    }
    .filter-chip__icon svg,
    .btn__icon svg{
      display:block;
      width:24px;
      height:24px;
      stroke:currentColor;
    }
    .filter-chip--with-icon:before{ display:none; }
    .filter-chip:before{
      content:"";
      width:5px;
      height:5px;
      border-radius:999px;
      background:#c1cadb;
      transition:background .18s ease;
    }
    .filters input:checked + .filter-chip {
      background:#20335b;
      color:#fff;
      border-color:#20335b;
      box-shadow:0 6px 14px rgba(32,51,91,.18);
    }
    .filters input:checked + .filter-chip:before{ background:var(--accent); }
    .filter-chip:hover{ transform:translateY(-1px); }
    .filter-summary{
      display:grid;
      gap:8px;
      padding:12px 0 2px;
    }
    .filter-summary__text{
      color:#5c6880;
      font-size:12px;
      font-weight:800;
      line-height:1.3;
    }
    .filter-summary__actions{
      display:grid;
      grid-template-columns:1fr auto;
      gap:8px;
      align-items:center;
    }
    .filter-summary__show,
    .filter-summary__reset{
      display:inline-flex;
      align-items:center;
      justify-content:center;
      min-height:36px;
      padding:8px 12px;
      border-radius:999px;
      border:1px solid transparent;
      font:800 12px/1 Inter, "Segoe UI", sans-serif;
      cursor:pointer;
      transition:background .18s ease, color .18s ease, border-color .18s ease, opacity .18s ease;
    }
    .filter-summary__show{
      background:linear-gradient(135deg, var(--brand), #3466c7);
      color:#fff;
      box-shadow:0 8px 18px rgba(41,80,158,.18);
    }
    .filter-summary__reset{
      background:#fff;
      color:#6a7590;
      border-color:rgba(41,80,158,.16);
    }
    .filter-summary__reset:not(:disabled):hover{
      color:#9b2f2f;
      border-color:rgba(155,47,47,.28);
      background:#fff6f6;
    }
    .filter-summary button:disabled{
      opacity:.48;
      cursor:not-allowed;
      box-shadow:none;
    }

    [class^="ymaps-"][class*="balloon__layout"],
    [class^="ymaps-"][class*="balloon__content"],
    [class^="ymaps-"][class*="balloon__tail"]:after{
      border-radius:18px !important;
      overflow:hidden !important;
      box-shadow:0 18px 46px rgba(23,32,51,.22) !important;
    }
    [class^="ymaps-"][class*="balloon__layout"]{
      position:relative !important;
      display:inline-flex !important;
      width:auto !important;
      min-width:0 !important;
      max-width:calc(100vw - 32px) !important;
      padding:0 !important;
      margin:0 !important;
    }
    [class^="ymaps-"][class*="balloon__content"]{
      box-sizing:border-box !important;
      display:block !important;
      width:auto !important;
      min-width:0 !important;
      max-width:calc(100vw - 32px) !important;
      padding:0 !important;
      margin:0 !important;
      transform:none !important;
    }
    [class^="ymaps-"][class*="balloon__content"] > ymaps{
      display:block !important;
      width:auto !important;
      min-width:0 !important;
      max-width:calc(100vw - 32px) !important;
      height:auto !important;
      margin:0 !important;
      padding:0 !important;
      box-sizing:border-box !important;
    }
    [class^="ymaps-"][class*="balloon-content__header"]{ display:none !important; }
    [class^="ymaps-"][class*="balloon__close"]{
      position:absolute !important;
      top:10px !important;
      right:10px !important;
      z-index:5 !important;
      display:flex !important;
      align-items:center !important;
      justify-content:center !important;
      width:34px !important;
      height:34px !important;
      margin:0 !important;
      padding:0 !important;
      border-radius:50% !important;
      background:#fff !important;
      box-shadow:0 8px 20px rgba(23,32,51,.22) !important;
      overflow:hidden !important;
    }
    [class^="ymaps-"][class*="balloon__close-button"]{
      position:absolute !important;
      inset:0 !important;
      display:flex !important;
      align-items:center !important;
      justify-content:center !important;
      width:34px !important;
      height:34px !important;
      margin:0 !important;
      padding:0 !important;
      opacity:1 !important;
      background:none !important;
      background-image:none !important;
      filter:none !important;
      font-size:0 !important;
      line-height:1 !important;
      text-indent:0 !important;
      transform:none !important;
    }
    [class^="ymaps-"][class*="balloon__close-button"]:before{
      content:"x";
      display:flex;
      align-items:center;
      justify-content:center;
      width:34px;
      height:34px;
      color:#172554;
      font-size:18px;
      line-height:1;
      font-weight:600;
    }
    .olmal-balloon{
      width:min(390px, calc(100vw - 48px));
      max-width:390px;
      margin:0;
      box-sizing:border-box;
      background:#fff;
      color:var(--text);
      font-family:Inter, "Segoe UI", Arial, sans-serif;
    }
    .olmal-balloon__head{ padding:16px 18px 12px; background:linear-gradient(135deg, #20335b, #29509e); color:#fff; }
    .olmal-balloon__title{ margin:0; padding-right:28px; font-size:15px; line-height:1.35; font-weight:800; }
    .olmal-balloon__body{ padding:14px 18px 16px; }
    .olmal-balloon__label{ margin:12px 0 6px; font-size:11px; text-transform:uppercase; letter-spacing:.05em; font-weight:800; color:#7a8498; }
    .olmal-balloon__meta{ font-size:13px; line-height:1.55; color:#58647a; }
    .action-divider{
      height:1px;
      margin:14px 0 12px;
      padding:0;
      border:0;
      background:linear-gradient(90deg, transparent, rgba(41,80,158,.22), transparent);
    }
    .olmal-balloon__actions{
      display:grid;
      grid-template-columns:repeat(3, minmax(0, 1fr));
      gap:8px;
      margin-top:0;
      align-items:center;
    }
    .olmal-balloon__actions .btn,
    .olmal-balloon__actions .btn_card_info{
      width:100%;
      min-width:0;
      margin:0;
      min-height:38px;
      padding:8px 10px;
      font-size:12px;
      white-space:nowrap;
      gap:6px;
    }
    .olmal-balloon__actions .btn_card_info{ grid-column:span 2; }
    .olmal-balloon__actions .favorite-toggle{
      justify-self:start;
      width:42px;
      height:42px;
      min-height:42px;
      margin:0;
    }
    .btn-icon{
      display:inline-flex;
      align-items:center;
      justify-content:center;
      flex:0 0 16px;
      width:16px;
      height:16px;
      color:currentColor;
    }
    .btn-icon svg{
      display:block;
      width:16px;
      height:16px;
      stroke:currentColor;
      stroke-width:2;
      stroke-linecap:round;
      stroke-linejoin:round;
    }
    .btn-icon svg path,
    .btn-icon svg circle{
      stroke:currentColor;
      vector-effect:non-scaling-stroke;
    }
    .station-hotline{
      display:flex;
      align-items:center;
      gap:10px;
      margin-top:10px;
      padding:10px 12px;
      border:1px solid rgba(41,80,158,.14);
      border-radius:14px;
      background:linear-gradient(180deg, #ffffff, #f6f9fe);
      box-shadow:inset 0 -1px 0 rgba(23,32,51,.04);
    }
    .station-hotline__icon{
      display:flex;
      align-items:center;
      justify-content:center;
      flex:0 0 34px;
      width:34px;
      height:34px;
      border-radius:50%;
      background:#eef4ff;
      color:#29509e;
    }
    .station-hotline__icon .btn-icon{
      width:18px;
      height:18px;
      flex-basis:18px;
    }
    .station-hotline__icon .btn-icon svg{
      width:18px;
      height:18px;
    }
    .station-hotline__content{
      min-width:0;
      line-height:1.25;
    }
    .station-hotline__label{
      color:#7a8498;
      font-size:11px;
      font-weight:850;
      text-transform:uppercase;
      letter-spacing:.04em;
    }
    .station-hotline__phone{
      display:inline-flex;
      margin-top:2px;
      color:var(--brand-dark);
      font-size:13px;
      font-weight:850;
      text-decoration:none;
    }
    .oil-station-btn{
      display:inline-flex;
      align-items:center;
      justify-content:center;
      gap:7px;
      width:100%;
      min-height:38px;
      margin-top:10px;
      padding:8px 12px;
      border:1px solid rgba(15,107,189,.18);
      border-radius:14px;
      background:#eef7ff;
      color:#0f5da8;
      font:850 12px/1 Inter, "Segoe UI", sans-serif;
      cursor:pointer;
      transition:background .18s ease, border-color .18s ease, transform .18s ease;
    }
    .oil-station-btn:hover{
      transform:translateY(-1px);
      background:#e3f1ff;
      border-color:rgba(15,107,189,.32);
    }
    .route-balloon .olmal-balloon__meta{ color:var(--text); font-size:14px; }
    .route-balloon .distance{ margin:6px 0; }
    .route-balloon .open-links .btn{ flex:1 1 160px; }

    .station-card {
      background:var(--surface-solid);
      border:1px solid rgba(41,80,158,.10);
      border-radius:22px;
      box-shadow:var(--shadow-soft);
      padding:16px;
      margin-bottom:14px;
      transition:transform .22s ease, box-shadow .22s ease, border-color .22s ease;
    }
    .station-card:hover {
      transform:translateY(-3px);
      box-shadow:0 18px 38px rgba(23,32,51,.16);
      border-color:rgba(41,80,158,.22);
    }
    .station-card.is-highlighted{
      transform:translateY(-3px);
      border-color:#1767d8;
      box-shadow:0 16px 38px rgba(23,103,216,.25);
    }
    .station-card.is-favorite{
      border-color:#5e4d98;
      box-shadow:0 16px 38px rgba(94,77,152,.22);
    }
    .station-card.is-compare-selected{
      border-color:#0f6bbd;
      box-shadow:0 16px 38px rgba(15,107,189,.20);
    }
    .station-card.is-reconstruction{
      border-color:rgba(216,155,24,.55);
      box-shadow:0 16px 38px rgba(216,155,24,.18);
    }
    .reconstruction-badge{
      display:inline-flex;
      align-items:center;
      gap:6px;
      width:max-content;
      margin:0 0 8px;
      padding:7px 10px;
      border:1px solid rgba(216,155,24,.42);
      border-radius:999px;
      background:#fff5d6;
      color:#7a4d00;
      font-size:12px;
      line-height:1.2;
      font-weight:900;
    }
    .reconstruction-badge .btn-icon{
      display:inline-flex;
      width:16px;
      height:16px;
      color:#9b6900;
    }
    .reconstruction-badge svg{
      width:16px;
      height:16px;
      stroke:currentColor;
      stroke-width:2;
    }
    .station-card h3{ margin:0; font-size:16px; line-height:1.35; color:var(--text); letter-spacing:-.01em; }
    .station-card__head{
      padding-bottom:12px;
      border-bottom:1px solid rgba(41,80,158,.10);
      margin-bottom:12px;
    }
    .station-card__body{ padding:0; }
    .station-card__photo{ display:none; }
    .station-card__footer{
      display:flex;
      flex-wrap:wrap;
      gap:8px;
      align-items:center;
      margin-top:14px;
      padding-top:14px;
      border-top:1px solid rgba(41,80,158,.10);
    }
    .station-card__footer .btn,
    .station-card__footer .btn_card_info{ gap:6px; margin-top:0; margin-left:0; }
    .station-card__footer .btn{ flex:1 1 130px; }
    .station-card__footer .btn_card_info{ flex:1 1 110px; }
    .compare-card-toggle{
      display:inline-flex;
      align-items:center;
      justify-content:center;
      flex:1 1 110px;
      min-height:38px;
      margin:0;
      padding:9px 12px;
      border:1px solid rgba(15,107,189,.20);
      border-radius:999px;
      background:#fff;
      color:#0f6bbd;
      font:800 12px/1 Inter, "Segoe UI", sans-serif;
      cursor:pointer;
    }
    .compare-card-toggle.is-active{
      background:#0f6bbd;
      color:#fff;
      border-color:#0f6bbd;
    }
    .station-meta{ font-size:13px; color:var(--muted); line-height:1.65; margin-top:10px; }
    .stations-empty{
      padding:28px 18px;
      border:1px dashed rgba(41,80,158,.22);
      border-radius:20px;
      background:rgba(255,255,255,.8);
      color:#68758a;
      text-align:center;
      font-size:14px;
      font-weight:700;
    }
    .stations-empty.is-error{
      border-color:rgba(196,54,54,.28);
      background:rgba(255,246,246,.92);
      color:#9b3232;
    }
    .station-skeleton{
      padding:16px;
      margin-bottom:14px;
      border-radius:22px;
      background:#fff;
      box-shadow:var(--shadow-soft);
    }
    .skeleton-line,
    .skeleton-chip{
      overflow:hidden;
      position:relative;
      border-radius:999px;
      background:#e9eef6;
    }
    .skeleton-line:after,
    .skeleton-chip:after{
      content:"";
      position:absolute;
      inset:0;
      background:linear-gradient(100deg, transparent 25%, rgba(255,255,255,.8) 50%, transparent 75%);
      transform:translateX(-100%);
      animation:skeleton-shimmer 1.2s infinite;
    }
    .skeleton-line{ width:78%; height:14px; margin-bottom:12px; }
    .skeleton-line.short{ width:45%; height:10px; }
    .skeleton-chips{ display:flex; gap:7px; margin-top:16px; }
    .skeleton-chip{ width:64px; height:34px; }
    @keyframes skeleton-shimmer{ to{ transform:translateX(100%); } }
    .nearest-badge{
      display:inline-flex;
      align-items:center;
      gap:6px;
      margin:0 0 10px;
      padding:5px 9px;
      border-radius:999px;
      background:rgba(255,204,51,.24);
      color:#725800;
      font-size:12px;
      font-weight:850;
      border:1px solid rgba(255,204,51,.45);
    }
    .service-chips{
      display:flex;
      flex-wrap:wrap;
      gap:7px;
      margin-top:8px;
    }
    .service-chip{
      display:inline-flex;
      align-items:center;
      gap:6px;
      min-height:28px;
      padding:5px 9px;
      border-radius:999px;
      background:#f7f9fd;
      border:1px solid rgba(41,80,158,.12);
      color:var(--brand-dark);
      font-size:12px;
      font-weight:750;
      line-height:1.1;
    }
    .service-chip__icon{
      display:inline-flex;
      align-items:center;
      justify-content:center;
      flex:0 0 16px;
      width:16px;
      height:16px;
      font-size:14px;
      line-height:1;
      color:#203b71;
    }
    .service-chip__icon .btn-icon,
    .service-chip__icon .btn-icon svg{
      width:16px;
      height:16px;
    }
    .service-chip__icon .btn-icon{
      flex-basis:16px;
    }

    .fuel-blocks { display:flex; gap:8px; flex-wrap:wrap; margin:10px 0; }
    .fuel {
      display:flex;
      flex-direction:column;
      align-items:center;
      justify-content:center;
      min-width:70px;
      padding:8px 11px;
      border-radius:14px;
      font-weight:800;
      font-size:13px;
      text-align:center;
      background:linear-gradient(180deg, #ffffff, #f3f6fb);
      color:var(--brand-dark);
      border:1px solid rgba(41,80,158,.12);
      box-shadow:inset 0 -1px 0 rgba(23,32,51,.04);
    }
    .fuel .fuel-name { font-size:13px; }
    .fuel .fuel-price { font-size:12px; font-weight:650; margin-top:3px; color:#57657a; }
    .fuel.ai92 { border: 1px solid #79c267; }
    .fuel.ai95 { border: 1px solid #4f8df7; }
    .fuel.ai98 { border: 1px solid #a36af5; }
    .fuel.dt   { border: 1px solid #f0a029; }

    .hr-dashed {
      margin:18px 0;
      padding:0;
      height:1px;
      border:0;
      background:linear-gradient(90deg, transparent, rgba(41,80,158,.25), transparent);
    }

    .btn, .btn_card_info{
      display:inline-flex;
      align-items:center;
      justify-content:center;
      min-height:38px;
      padding:9px 14px;
      border-radius:999px;
      background:linear-gradient(135deg, var(--brand), #3466c7);
      color:#fff;
      text-decoration:none;
      cursor:pointer;
      font-size:13px;
      font-weight:750;
      margin-top:10px;
      border:1px solid transparent;
      box-shadow:0 10px 20px rgba(41,80,158,.22);
      transition:transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
    }
    .btn:hover, .btn_card_info:hover{ transform:translateY(-1px); box-shadow:0 14px 26px rgba(41,80,158,.28); }
    .btn.secondary, .btn_card_info{
      background:rgba(255,255,255,.78);
      color:var(--brand-dark);
      border-color:rgba(41,80,158,.18);
      box-shadow:none;
    }
    .btn.secondary:hover, .btn_card_info:hover{ background:#eef4ff; color:var(--brand-dark); }
    .btn_card_info{ margin-left:8px; }
    .favorite-toggle{
      display:inline-flex;
      align-items:center;
      justify-content:center;
      flex:0 0 42px;
      width:42px;
      height:42px;
      min-height:42px;
      padding:0;
      margin:0;
      border:1px solid rgba(94,77,152,.24);
      border-radius:50%;
      background:#fff;
      color:#8b95a8;
      box-shadow:0 8px 18px rgba(23,32,51,.10);
      font-size:22px;
      line-height:1;
      cursor:pointer;
      transition:transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
    }
    .favorite-toggle:hover{
      transform:translateY(-1px);
      border-color:#5e4d98;
      color:#5e4d98;
      box-shadow:0 12px 24px rgba(94,77,152,.18);
    }
    .favorite-toggle.is-active{
      background:#5e4d98;
      border-color:#5e4d98;
      color:#fff;
      box-shadow:0 12px 26px rgba(94,77,152,.28);
    }
    .favorite-toggle--compact{
      flex-basis:36px;
      width:36px;
      height:36px;
      min-height:36px;
      font-size:19px;
    }
    .distance{
      display:inline-flex;
      align-items:center;
      padding:6px 10px;
      border-radius:999px;
      background:rgba(255,204,51,.22);
      color:#6c5200;
      font-size:13px;
      font-weight:800;
      margin:4px 0 8px;
    }
    #mobileRouteInfo{
      display:flex;
      width:100%;
      box-sizing:border-box;
      margin:8px 0 10px;
      border-radius:14px;
      background:#eef4ff;
      color:#17427d;
      line-height:1.35;
    }
    .open-links{ margin-top:10px; display:flex; gap:8px; flex-wrap:wrap; }
    .open-links .btn,
    .open-links .btn_card_info{
      gap:6px;
    }
    .map-actions{
      display:flex;
      gap:10px;
      margin-top:8px;
    }
    .map-actions .btn{
      flex:1 1 0;
      min-width:0;
      gap:7px;
      padding-right:9px;
      padding-left:9px;
      margin-top:0;
      text-align:center;
    }
    .mobile-view-tabs{ display:none; }
    #mobileStationsHost{ display:none; }
    .station-search-row{
      display:grid;
      grid-template-columns:1fr auto;
      gap:8px;
      margin:12px 0;
    }
    .station-search{
      width:100%;
      min-width:0;
      height:42px;
      padding:0 14px;
      border:1px solid rgba(41,80,158,.18);
      border-radius:14px;
      outline:none;
      background:#fff;
      color:var(--text);
      font:600 13px/1 Inter, "Segoe UI", sans-serif;
      box-shadow:0 5px 14px rgba(23,32,51,.06);
    }
    .station-search:focus{ border-color:#4d83d8; box-shadow:0 0 0 3px rgba(41,80,158,.10); }
    .filter-toggle{
      display:inline-flex;
      align-items:center;
      justify-content:center;
      width:42px;
      height:42px;
      padding:0;
      border:1px solid rgba(41,80,158,.18);
      border-radius:14px;
      background:#fff;
      color:#203b71;
      box-shadow:0 5px 14px rgba(23,32,51,.06);
      cursor:pointer;
    }
    .filter-toggle svg{ width:22px; height:22px; stroke:currentColor; }
    .filter-toggle__text{ display:none; }
    .filter-panel.collapsed{ display:none; }
    .mobile-map-controls{
      position:absolute;
      inset:0;
      z-index:7;
      display:block;
      pointer-events:none;
    }
    .mobile-map-controls__zoom{
      position:absolute;
      top:22px;
      left:14px;
      display:grid;
      overflow:hidden;
      border:1px solid #e0e7f0;
      border-radius:14px;
      background:#fff;
      box-shadow:0 8px 24px rgba(18,45,85,.18);
      pointer-events:auto;
    }
    .mobile-map-control{
      display:flex;
      align-items:center;
      justify-content:center;
      width:46px;
      height:46px;
      padding:0;
      border:0;
      background:#fff;
      color:#163c72;
      cursor:pointer;
    }
    .mobile-map-control + .mobile-map-control{ border-top:1px solid #e8edf4; }
    .mobile-map-control--zoom{ font:400 28px/1 Arial, sans-serif; }
    .mobile-map-control--locate{ display:none; }
    .mobile-map-control--compare{
      position:absolute;
      top:174px;
      left:14px;
      border:1px solid #e0e7f0;
      border-radius:14px;
      box-shadow:0 8px 24px rgba(18,45,85,.18);
      color:#0f6bbd;
      font-size:24px;
      font-weight:700;
      pointer-events:auto;
    }
    .mobile-map-control--compare.is-active{
      background:#0f6bbd;
      color:#fff;
      border-color:#0f6bbd;
    }
    .mobile-map-control--favorites{
      position:absolute;
      top:226px;
      left:14px;
      border:1px solid #e0e7f0;
      border-radius:14px;
      box-shadow:0 8px 24px rgba(18,45,85,.18);
      color:#5e4d98;
      font-size:24px;
      pointer-events:auto;
    }
    .mobile-map-control--favorites[hidden]{ display:none; }
    .mobile-map-control--favorites.is-active{
      background:#5e4d98;
      color:#fff;
      border-color:#5e4d98;
    }
    .mobile-map-control--favorites:after{
      content:attr(data-count);
      position:absolute;
      top:-7px;
      right:-7px;
      display:flex;
      align-items:center;
      justify-content:center;
      min-width:18px;
      height:18px;
      padding:0 4px;
      border-radius:999px;
      background:#ffcc33;
      color:#3f315e;
      font:900 10px/1 Inter, "Segoe UI", sans-serif;
      box-sizing:border-box;
    }
    .favorite-panel{
      position:absolute;
      top:22px;
      right:18px;
      z-index:9;
      display:none;
      width:min(360px, calc(100% - 86px));
      max-height:calc(100% - 44px);
      padding:14px;
      border:1px solid rgba(94,77,152,.18);
      border-radius:20px;
      background:rgba(255,255,255,.97);
      box-shadow:0 20px 54px rgba(23,32,51,.24);
      color:var(--text);
      box-sizing:border-box;
      overflow:hidden;
      backdrop-filter:blur(14px);
      -webkit-backdrop-filter:blur(14px);
    }
    .compare-panel{
      position:absolute;
      top:22px;
      right:18px;
      z-index:10;
      display:none;
      width:min(560px, calc(100% - 86px));
      max-height:calc(100% - 44px);
      padding:14px;
      border:1px solid rgba(15,107,189,.18);
      border-radius:20px;
      background:rgba(255,255,255,.98);
      box-shadow:0 20px 54px rgba(23,32,51,.24);
      color:var(--text);
      box-sizing:border-box;
      overflow:hidden;
      backdrop-filter:blur(14px);
      -webkit-backdrop-filter:blur(14px);
    }
    .compare-panel.active{
      display:flex;
      flex-direction:column;
    }
    .compare-panel__head{
      display:flex;
      align-items:flex-start;
      justify-content:space-between;
      gap:12px;
      margin-bottom:10px;
    }
    .compare-panel__label{
      color:#0f6bbd;
      font-size:16px;
      font-weight:900;
      line-height:1.2;
    }
    .compare-panel__hint{
      margin-top:2px;
      color:var(--muted);
      font-size:12px;
      font-weight:750;
      line-height:1.35;
    }
    .compare-panel__close{
      flex:0 0 34px;
      width:34px;
      height:34px;
      border:0;
      border-radius:50%;
      background:#eef3fb;
      color:var(--brand-dark);
      font-size:22px;
      line-height:1;
      cursor:pointer;
    }
    .compare-panel__body{
      flex:1 1 auto;
      min-height:0;
      overflow:auto;
    }
    .compare-empty{
      padding:18px;
      border:1px dashed rgba(15,107,189,.28);
      border-radius:14px;
      color:var(--muted);
      text-align:center;
      font-size:13px;
      font-weight:750;
    }
    .compare-table-wrap{
      overflow:auto;
      border:1px solid rgba(41,80,158,.12);
      border-radius:14px;
      background:#fff;
    }
    .compare-table{
      width:100%;
      min-width:520px;
      border-collapse:separate;
      border-spacing:0;
      font-size:12px;
    }
    .compare-table th,
    .compare-table td{
      padding:10px;
      border-bottom:1px solid #edf1f7;
      text-align:left;
      vertical-align:top;
    }
    .compare-table th{
      position:sticky;
      top:0;
      z-index:1;
      background:#f5f8fd;
      color:#51627d;
      font-weight:900;
    }
    .compare-table tr:last-child td{ border-bottom:0; }
    .compare-table td:not(:first-child),
    .compare-table th:not(:first-child){
      text-align:center;
      white-space:nowrap;
      font-weight:850;
      color:var(--brand-dark);
    }
    .compare-station-link{
      padding:0;
      border:0;
      background:transparent;
      color:var(--brand-dark);
      font:850 12px/1.35 Inter, "Segoe UI", sans-serif;
      text-align:left;
      cursor:pointer;
    }
    .compare-panel__actions{
      display:flex;
      justify-content:flex-end;
      gap:8px;
      margin-top:10px;
    }
    .compare-panel__actions .btn{
      margin:0;
      min-height:34px;
      padding:7px 12px;
      font-size:12px;
    }
    .favorite-panel.active{
      display:flex;
      flex-direction:column;
    }
    .favorite-panel__head{
      display:flex;
      align-items:flex-start;
      justify-content:space-between;
      gap:12px;
      margin-bottom:10px;
    }
    .favorite-panel__label{
      color:#5e4d98;
      font-size:16px;
      font-weight:900;
      line-height:1.2;
    }
    .favorite-panel__count{
      margin-top:2px;
      color:var(--muted);
      font-size:12px;
      font-weight:750;
    }
    .favorite-panel__close{
      flex:0 0 34px;
      width:34px;
      height:34px;
      border:0;
      border-radius:50%;
      background:#eef3fb;
      color:var(--brand-dark);
      font-size:22px;
      line-height:1;
      cursor:pointer;
    }
    .favorite-panel__list{
      display:grid;
      gap:10px;
      flex:1 1 auto;
      min-height:0;
      max-height:calc(100vh - 210px);
      overflow:auto;
      padding-right:2px;
      overscroll-behavior:contain;
    }
    .favorite-panel__empty{
      padding:18px;
      border:1px dashed rgba(94,77,152,.28);
      border-radius:14px;
      color:var(--muted);
      text-align:center;
      font-size:13px;
      font-weight:750;
    }
    .favorite-card{
      padding:12px;
      border:1px solid rgba(94,77,152,.16);
      border-radius:14px;
      background:#fff;
      box-shadow:0 8px 20px rgba(23,32,51,.08);
    }
    .favorite-card__top{
      display:flex;
      align-items:flex-start;
      gap:8px;
    }
    .favorite-card__title{
      flex:1;
      min-width:0;
      padding:0;
      border:0;
      background:transparent;
      color:var(--brand-dark);
      font:850 13px/1.35 Inter, "Segoe UI", sans-serif;
      text-align:left;
      cursor:pointer;
    }
    .favorite-card__distance{
      display:inline-flex;
      margin-top:6px;
      padding:4px 8px;
      border-radius:999px;
      background:#f1eef9;
      color:#5e4d98;
      font-size:11px;
      font-weight:850;
    }
    .favorite-card__fuels{
      display:flex;
      flex-wrap:wrap;
      gap:6px;
      margin-top:8px;
    }
    .favorite-card__fuels .fuel{
      min-width:54px;
      padding:5px 7px;
      border-radius:10px;
    }
    .favorite-card__fuels .fuel .fuel-name{ font-size:11px; }
    .favorite-card__fuels .fuel .fuel-price{ font-size:10px; }
    .favorite-card__actions{
      display:flex;
      gap:8px;
      flex-wrap:wrap;
      margin-top:10px;
    }
    .favorite-card__actions .btn,
    .favorite-card__actions .btn_card_info{
      flex:1 1 120px;
      min-height:34px;
      margin:0;
      padding:7px 10px;
      font-size:12px;
    }

    .mobile-map-control--filter {
    display: none;
}

body.mobile-map-fullscreen .mobile-map-control--filter {
    display: flex;
    position: fixed;
    top: 226px;
    left: 14px;
    border: 1px solid #e0e7f0;
    border-radius: 14px;
    background: #fff;
    color: #163c72;
    box-shadow: 0 8px 24px rgba(18,45,85,.18);
    pointer-events: auto;
    cursor: pointer;
    z-index: 10024;
    transition: top .18s ease;
}

body.mobile-map-fullscreen
.mobile-map-control--favorites:not([hidden])
~ .mobile-map-control--filter {
    top: 278px;
}

.mobile-map-control--filter svg {
    width: 22px;
    height: 22px;
    stroke: currentColor;
    stroke-width: 1.8;
}

body.mobile-map-fullscreen #filterPanel {
    position: fixed;
    top: 70px;
    left: 76px;
    right: auto;
    width: min(440px, calc(100vw - 100px));
    max-height: calc(100dvh - 100px);
    z-index: 10030;
    overflow-y: auto;
    overflow-x: hidden;
    border-radius: 22px;
    background: #fff;
    box-shadow:
        0 18px 50px rgba(4, 35, 94, .22);
    display: none;
    box-sizing: border-box;
    padding: 15px;
}

body.mobile-map-fullscreen #filterPanel.open {
    display: block;
}

.fullscreen-filter-head {
    display: none;
}

body.mobile-map-fullscreen .fullscreen-filter-head {
    position: sticky;
    top: 0;
    z-index: 3;

    display: flex;
    align-items: center;
    justify-content: space-between;

    min-height: 58px;

    padding: 10px 12px 10px 18px;

    border-bottom: 1px solid #e8edf4;

    background: rgba(255,255,255,.97);

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.fullscreen-filter-title {
    color: #173a70;

    font-size: 16px;
    font-weight: 800;
}

.fullscreen-filter-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #eef3fb;
    color: #173a70;
    font-size: 25px;
    line-height: 1;
    cursor: pointer;
}

.fullscreen-filter-close:hover {
    background: #e2eaf7;
}
body.mobile-map-fullscreen #filterShowResults {
    display: none;
}
body.mobile-map-fullscreen .filter-summary__actions {
    display: flex;
    justify-content: flex-end;
}

body.mobile-map-fullscreen .filter-summary__reset {
    width: auto;
    min-width: 100px;
}
    [class^="ymaps-"][class*="-controls__control"]{ display:none !important; }
    .route-status{
      position:absolute;
      left:50%;
      bottom:18px;
      transform:translate(-50%, 18px);
      width:min(430px, calc(100% - 28px));
      padding:12px 14px;
      border-radius:18px;
      background:rgba(255,255,255,.96);
      border:1px solid rgba(41,80,158,.14);
      box-shadow:0 18px 44px rgba(23,32,51,.20);
      color:var(--brand-dark);
      z-index:8;
      opacity:0;
      pointer-events:none;
      transition:opacity .22s ease, transform .22s ease;
      box-sizing:border-box;
      backdrop-filter:blur(14px);
      -webkit-backdrop-filter:blur(14px);
    }
    .route-status.active{ opacity:1; transform:translate(-50%, 0); pointer-events:auto; }
    .route-status__title{ font-size:12px; font-weight:850; color:var(--muted); margin-bottom:2px; text-transform:uppercase; letter-spacing:.02em; }
    .route-status__meta{ display:flex; gap:8px; flex-wrap:wrap; font-size:12px; color:var(--muted); }
    .route-status__meta b{ color:var(--brand-dark); }
    .route-status__nav{ display:flex; align-items:flex-start; gap:12px; }
    .route-status__side{
      display:flex;
      flex:0 0 52px;
      width:52px;
      flex-direction:column;
      align-items:center;
      gap:7px;
    }
    .route-status__arrow{
      flex:0 0 52px; width:52px; height:52px; border-radius:50%;
      display:flex; align-items:center; justify-content:center;
      background:#1f78ff; color:#fff;
      font-size:30px; font-weight:900; box-shadow:0 10px 24px rgba(31,120,255,.25);
      transform:rotate(0deg); transition:transform .25s ease;
    }
    .route-status__content{ flex:1; min-width:0; }
    .route-status__primary{ display:flex; align-items:baseline; gap:8px; flex-wrap:wrap; }
    .route-status__distance{ font-size:26px; line-height:1; font-weight:900; color:var(--brand-dark); letter-spacing:0; }
    .route-status__eta{ font-size:16px; line-height:1.1; font-weight:850; color:#1f78ff; }
    .route-status__chips{ display:flex; gap:6px; flex-wrap:wrap; margin-top:8px; }
    .route-status__chip{ display:inline-flex; align-items:center; min-height:28px; padding:5px 8px; border-radius:999px; background:#f2f6fc; color:#51627d; font-size:12px; font-weight:750; }
    .route-status__hint{ margin-top:4px; font-size:12px; color:var(--muted); }
    .route-status__arrival{ margin-top:8px; padding:8px 10px; border-radius:12px; background:#fff7d6; color:#7c5600; font-size:12px; font-weight:850; line-height:1.35; }
    .route-status__warn{ color:#b45309; font-weight:800; }
    .route-status__voice{ margin-top:6px; font-size:11px; color:var(--muted); }
    .route-status__tools{
      display:flex;
      align-items:center;
      gap:7px;
      margin-top:10px;
    }
    .route-status__tools.is-collapsed{
      display:none;
      margin-top:6px;
    }
    .route-status__actions{
      display:flex;
      align-items:center;
      justify-content:flex-end;
      gap:7px;
      flex:1;
      min-width:0;
    }
    .route-status__tools.is-collapsed .route-status__actions{ display:none; }
    .route-status__icon-btn{
      display:inline-flex;
      align-items:center;
      justify-content:center;
      width:38px;
      height:38px;
      min-width:38px;
      min-height:38px;
      padding:0;
      border:1px solid rgba(41,80,158,.16);
      border-radius:50%;
      background:#fff;
      color:var(--brand-dark);
      box-shadow:0 6px 16px rgba(23,32,51,.10);
      cursor:pointer;
      transition:background .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
    }
    .route-status__icon-btn:hover{
      transform:translateY(-1px);
      border-color:rgba(41,80,158,.28);
      background:#eef4ff;
    }
    .route-status__icon-btn.is-active{
      background:#20335b;
      color:#fff;
      border-color:#20335b;
      box-shadow:0 8px 18px rgba(32,51,91,.18);
    }
    .route-status__icon-btn[data-clear-route]{
      color:#9b2f2f;
      border-color:rgba(155,47,47,.18);
    }
    .route-status__icon-btn[data-clear-route]:hover{
      background:#fff1f1;
      border-color:rgba(155,47,47,.32);
    }
    .route-status__icon-btn span:not(.btn-icon){ display:none; }
    .route-status__icon-btn .btn-icon,
    .route-status__icon-btn .btn-icon svg{
      width:18px;
      height:18px;
    }
    .route-choice-modal{position:fixed; inset:0; display:none; align-items:center; justify-content:center; background:rgba(10,16,30,.55); z-index:10030; padding:20px; box-sizing:border-box;}
    .route-choice-modal.active{display:flex;}
    .route-choice-modal__card{width:min(360px, 100%); background:#fff; border-radius:24px; padding:20px; box-shadow:0 24px 70px rgba(0,0,0,.28); color:var(--brand-dark);}
    .route-choice-modal__head{display:flex; align-items:flex-start; justify-content:space-between; gap:12px; margin-bottom:12px;}
    .route-choice-modal__head h3{margin:0; font-size:18px; line-height:1.25;}
    .route-choice-modal__head p{margin:6px 0 0; color:var(--muted); font-size:13px; line-height:1.35;}
    .route-choice-modal__close{border:0; background:#eef3fb; border-radius:50%; width:34px; height:34px; font-size:22px; line-height:1; color:var(--brand-dark); cursor:pointer; flex:0 0 34px;}
    .route-choice-modal__actions{display:grid; gap:10px;}
    .mobile-map-control--fullscreen{position:absolute; top:122px; left:14px; border:1px solid #e0e7f0; border-radius:14px; box-shadow:0 8px 24px rgba(18,45,85,.18); pointer-events:auto;}
    body.mobile-map-fullscreen{overflow:hidden;}
    body.mobile-map-fullscreen .map-wrap{position:fixed; inset:0; z-index:10010; height:100dvh; border-radius:0; margin:0;}
    body.mobile-map-fullscreen #map{height:100dvh; min-height:100dvh; border-radius:0;}
    body.mobile-map-fullscreen .sidebar,
    body.mobile-map-fullscreen #mobileStationsHost{display:none!important;}
    body.mobile-map-fullscreen .mobile-map-controls{position:fixed; z-index:10022;}
    body.mobile-map-fullscreen .route-status{position:fixed; bottom:12px; z-index:10025; width:calc(100% - 20px); pointer-events:auto;}
    @media(max-width:900px){
      body.mobile-map-fullscreen .mobile-view-tabs{display:none!important;}
    }
    .qr-modal{position:fixed; inset:0; display:none; align-items:center; justify-content:center; background:rgba(10,16,30,.55); z-index:10060; padding:20px; box-sizing:border-box;}
    .qr-modal.active{display:flex;}
    .qr-modal__card{width:min(340px, 100%); background:#fff; border-radius:24px; padding:20px; box-shadow:0 24px 70px rgba(0,0,0,.28); text-align:center; color:var(--brand-dark);}
    .qr-modal__card h3{margin:0 34px 8px 0; text-align:left; font-size:18px;}
    .qr-modal__card p{margin:0 0 14px; text-align:left; color:var(--muted); font-size:13px; line-height:1.35;}
    .qr-modal__preview{position:relative; display:grid; place-items:center; width:220px; height:220px; max-width:100%; margin:0 auto; border:1px solid #e4eaf4; border-radius:18px; padding:10px; background:#f8fbff; box-sizing:border-box; overflow:hidden;}
    .qr-modal__img{width:100%; height:100%; object-fit:contain; opacity:0; transition:opacity .18s ease;}
    .qr-modal__preview.is-loaded .qr-modal__img{opacity:1;}
    .qr-modal__loader{position:absolute; inset:10px; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:10px; color:var(--muted); font-size:13px; font-weight:750; text-align:center;}
    .qr-modal__preview.is-loaded .qr-modal__loader{display:none;}
    .qr-modal__preview.is-error .qr-modal__loader{color:#b91c1c;}
    .qr-modal__spinner{width:34px; height:34px; border-radius:50%; border:3px solid #dce7f6; border-top-color:var(--brand); animation:qr-spin .8s linear infinite;}
    .qr-modal__preview.is-error .qr-modal__spinner{display:none;}
    @keyframes qr-spin{ to{ transform:rotate(360deg); } }
    .qr-modal__close{float:right; border:0; background:#eef3fb; border-radius:50%; width:34px; height:34px; font-size:22px; line-height:1; color:var(--brand-dark); cursor:pointer;}
    .qr-actions{display:flex; gap:8px; justify-content:center; flex-wrap:wrap; margin-top:14px;}

    .oil-modal{position:fixed; inset:0; display:none; align-items:center; justify-content:center; background:rgba(10,16,30,.55); z-index:10070; padding:18px; box-sizing:border-box;}
    .oil-modal.active{display:flex;}
    .oil-modal__card{width:min(720px, 100%); max-height:min(82vh, 720px); display:flex; flex-direction:column; background:#fff; border-radius:22px; padding:16px; box-shadow:0 24px 70px rgba(0,0,0,.28); color:var(--text); box-sizing:border-box;}
    .oil-modal__head{display:flex; align-items:flex-start; justify-content:space-between; gap:12px; margin-bottom:12px;}
    .oil-modal__head h3{margin:0; color:#0f6bbd; font-size:18px; line-height:1.25;}
    .oil-modal__head p{margin:5px 0 0; color:var(--muted); font-size:13px; line-height:1.35;}
    .oil-modal__close{flex:0 0 34px; width:34px; height:34px; border:0; border-radius:50%; background:#eef3fb; color:var(--brand-dark); font-size:22px; line-height:1; cursor:pointer;}
    .oil-modal__search-row{margin-bottom:12px;}
    .oil-modal__search{width:100%; height:42px; padding:0 14px; border:1px solid rgba(41,80,158,.18); border-radius:14px; outline:none; background:#fff; color:var(--text); font:700 13px/1 Inter, "Segoe UI", sans-serif; box-shadow:0 5px 14px rgba(23,32,51,.06);}
    .oil-modal__search:focus{border-color:#4d83d8; box-shadow:0 0 0 3px rgba(41,80,158,.10);}
    .oil-modal__toolbar{display:grid; grid-template-columns:minmax(0, 1fr) 42px auto; gap:8px; align-items:end; margin-bottom:8px;}
    .oil-modal__type-toggle{grid-column:1 / -1; display:grid; grid-template-columns:1fr 1fr; gap:4px; padding:4px; border-radius:14px; background:#eef3fb;}
    .oil-modal__type-btn{min-height:34px; padding:7px 10px; border:0; border-radius:11px; background:transparent; color:#51627d; font:850 12px/1 Inter, "Segoe UI", sans-serif; cursor:pointer;}
    .oil-modal__type-btn.is-active{background:#0f6bbd; color:#fff; box-shadow:0 7px 16px rgba(15,107,189,.22);}
    .oil-modal__select-label{display:grid; gap:4px; min-width:0; color:#6a7590; font-size:11px; font-weight:850; text-transform:uppercase; letter-spacing:.04em;}
    .oil-modal__select{width:100%; height:40px; padding:0 10px; border:1px solid rgba(41,80,158,.18); border-radius:12px; background:#fff; color:var(--text); font:800 12px/1 Inter, "Segoe UI", sans-serif; outline:none;}
    .oil-modal__sort-dir{width:40px; height:40px; border:1px solid rgba(41,80,158,.18); border-radius:12px; background:#fff; color:#0f6bbd; font-size:20px; font-weight:900; cursor:pointer;}
    .oil-modal__stock-only{display:inline-flex; align-items:center; justify-content:center; gap:7px; min-height:40px; padding:0 12px; border:1px solid rgba(41,80,158,.14); border-radius:12px; background:#f8fbff; color:var(--brand-dark); font-size:12px; font-weight:850; white-space:nowrap; cursor:pointer;}
    .oil-modal__stock-only input{width:16px; height:16px; accent-color:#0f6bbd;}
    .oil-modal__count{min-height:18px; margin-bottom:8px; color:#69758a; font-size:12px; font-weight:800;}
    .oil-modal__body{flex:1 1 auto; min-height:0; overflow:auto;}
    .oil-empty{padding:22px 16px; border:1px dashed rgba(15,107,189,.28); border-radius:14px; color:var(--muted); text-align:center; font-size:13px; font-weight:750;}
    .oil-empty.is-error{border-color:rgba(155,47,47,.28); background:#fff6f6; color:#9b2f2f;}
    .oil-table-wrap{overflow:auto; border:1px solid rgba(41,80,158,.12); border-radius:14px; background:#fff;}
    .oil-table{width:100%; min-width:560px; border-collapse:separate; border-spacing:0; font-size:12px;}
    .oil-table th,
    .oil-table td{padding:10px; border-bottom:1px solid #edf1f7; text-align:left; vertical-align:top;}
    .oil-table th{position:sticky; top:0; z-index:1; background:#f5f8fd; color:#51627d; font-weight:900;}
    .oil-table tr:last-child td{border-bottom:0;}
    .oil-table td:nth-child(2),
    .oil-table td:nth-child(3),
    .oil-table th:nth-child(2),
    .oil-table th:nth-child(3){text-align:center; white-space:nowrap; font-weight:850; color:var(--brand-dark);}
    .oil-skeleton{display:grid; gap:8px;}
    .oil-skeleton__row{display:grid; grid-template-columns:1fr 90px 80px; gap:10px; padding:12px; border:1px solid #edf1f7; border-radius:14px; background:#fff;}
    .oil-skeleton__line{height:14px; border-radius:999px; background:#e9eef6; position:relative; overflow:hidden;}
    .oil-skeleton__line.short{height:12px;}
    .oil-skeleton__line.tiny{height:12px;}
    .oil-skeleton__line:after{content:""; position:absolute; inset:0; background:linear-gradient(100deg, transparent 25%, rgba(255,255,255,.82) 50%, transparent 75%); transform:translateX(-100%); animation:skeleton-shimmer 1.2s infinite;}

    .mobile-balloon-backdrop{
      position:fixed;
      inset:0;
      z-index:10029;
      background:rgba(10,16,30,.28);
      opacity:0;
      pointer-events:none;
      transition:opacity .28s ease;
      backdrop-filter:blur(6px);
      -webkit-backdrop-filter:blur(6px);
    }
    body.mobile-balloon-open .mobile-balloon-backdrop{
      opacity:1;
      pointer-events:auto;
    }
    body.mobile-balloon-open .map-wrap,
    body.mobile-balloon-open .sidebar,
    body.mobile-balloon-open #mobileStationsHost,
    body.mobile-balloon-open .mobile-view-tabs{
      filter:blur(2px);
      transition:filter .28s ease;
    }

    .mobile-balloon {
      position:fixed;
      left:0;
      bottom:-100%;
      width:100%;
      max-width:none;
      max-height:68vh;
      transform:none;
      background:rgba(255,255,255,.94);
      border:1px solid rgba(255,255,255,.8);
      box-shadow:0 -18px 48px rgba(23,32,51,.24);
      border-radius:26px 26px 0 0;
      padding:20px;
      box-sizing:border-box;
      transition:bottom .32s ease, transform .32s ease;
      z-index:10030;
      overflow-y:auto;
      touch-action:none;
      backdrop-filter:blur(18px);
      -webkit-backdrop-filter:blur(18px);
    }
    .mobile-balloon.active { bottom:0; }
    .mobile-balloon h3 { margin:0 34px 10px 0; font-size:18px; line-height:1.35; color:var(--brand-dark); }
    .mobile-balloon .close-btn {
      position:absolute;
      right:16px;
      top:14px;
      width:34px;
      height:34px;
      border-radius:50%;
      background:#f0f3f9;
      border:1px solid rgba(41,80,158,.10);
      font-size:22px;
      cursor:pointer;
      color:var(--brand-dark);
    }

    @media (max-width:900px){
      html, body{ height:auto; min-height:100%; }
      body{
        display:flex;
        flex-direction:column;
        overflow-x:hidden;
        overflow-y:auto;
        background:
          radial-gradient(circle at 18% 12%, rgba(31,104,220,.92), transparent 28%),
          linear-gradient(155deg, #062b78 0, #0645ad 31%, #eaf2ff 58%, #f8fbff 100%);
      }
      .sidebar{
        display:flex;
        flex-direction:column;
        width:100%;
        max-width:none;
        min-width:0;
        height:auto;
        margin:0;
        padding:24px 18px 10px;
        border-right:0;
        border-bottom:0;
        box-shadow:none;
        overflow:visible;
        backdrop-filter:none;
        -webkit-backdrop-filter:none;
      }
      .control-panel{
        display:flex;
        flex-direction:column;
        padding:0;
        border:0;
        border-radius:0;
        background:transparent;
        box-shadow:none;
      }
      .one_block{
        justify-content:flex-start;
        height:90px;
        margin:-24px -18px 0;
        padding:19px 24px 13px;
        border:0;
        border-radius:0;
        background:transparent;
      }
      .one_block a{ justify-content:flex-start; }
      .one_block img{ width:150px; height:auto; }
      .station-search-row{
        order:1;
        margin:0 0 10px;
      }
      .station-search{
        height:46px;
        border:0;
        border-radius:16px;
        box-shadow:0 8px 22px rgba(4,35,94,.12);
      }
      .filter-toggle{
        display:inline-flex;
        align-items:center;
        justify-content:center;
        min-width:100px;
        height:46px;
        padding:0 14px;
        border:1px solid rgba(16,71,156,.10);
        border-radius:16px;
        background:#fff;
        color:#1555ac;
        font:750 13px/1 Inter, "Segoe UI", sans-serif;
        box-shadow:0 8px 22px rgba(4,35,94,.12);
      }
      .filter-toggle svg{ width:20px; height:20px; margin-right:7px; }
      .filter-toggle__text{ display:inline; }
      .filter-toggle.active{ background:#0b55cf; color:#fff; }
      .filter-panel{
        order:2;
        display:none;
      }
      .filter-panel.open{ display:block; }
      .filter-group{
        margin:0;
        padding:14px 20px 13px;
        border-bottom:1px solid #edf0f5;
        background:#fff;
      }
      .filter-panel .filter-group:first-child{
        padding-top:20px;
        border-radius:24px 24px 0 0;
        box-shadow:0 18px 42px rgba(4,35,94,.18);
      }
      .filter-panel .filter-group:last-of-type{
        padding-bottom:20px;
        border-bottom:0;
      }
      .filter-summary{
        padding:14px 20px 18px;
        border-radius:0 0 24px 24px;
        background:#fff;
      }
      .filter-summary__text{
        color:#14223c;
        font-size:13px;
      }
      .filter-summary__actions{
        grid-template-columns:1fr 112px;
      }
      .filter-summary__show,
      .filter-summary__reset{
        min-height:42px;
        border-radius:14px;
        font-size:12px;
      }
      .filter-group strong{
        margin-bottom:12px;
        color:#14223c;
        font-size:13px;
        letter-spacing:0;
        text-transform:none;
      }
      .filters{
        display:grid;
        grid-template-columns:repeat(4, minmax(0, 1fr));
        gap:8px;
      }
      .filter-chip{
        width:100%;
        min-height:38px;
        justify-content:center;
        gap:7px;
        padding:7px 8px;
        border-color:#e1e7ef;
        background:#fff;
        color:#17243e;
        font-size:11px;
        font-weight:700;
        white-space:nowrap;
        box-shadow:0 2px 8px rgba(23,32,51,.04);
      }
      .filter-chip:before{ width:7px; height:7px; background:#1681ee; }
      #fuel-filters label:nth-child(1) .filter-chip:before{ background:#19b96b; }
      #fuel-filters label:nth-child(3) .filter-chip:before{ background:#5f50c9; }
      #fuel-filters label:nth-child(4) .filter-chip:before{ background:#ff8b18; }
      .filters input:checked + .filter-chip{
        background:#203b71;
        color:#fff;
        border-color:#203b71;
        box-shadow:0 5px 14px rgba(20,55,112,.20);
      }
      .filters input:checked + .filter-chip:before{ background:inherit; box-shadow:0 0 0 3px rgba(30,121,232,.12); }
      #fuel-filters label:nth-child(1) input:checked + .filter-chip:before{ background:#19b96b; }
      #fuel-filters label:nth-child(2) input:checked + .filter-chip:before{ background:#1681ee; }
      #fuel-filters label:nth-child(3) input:checked + .filter-chip:before{ background:#5f50c9; }
      #fuel-filters label:nth-child(4) input:checked + .filter-chip:before{ background:#ff8b18; }
      .mobile-view-tabs{
        order:3;
  display:grid;
  grid-template-columns:1fr 1fr 1fr;
  gap:0;
  margin:12px 0 0;
  padding:4px;
  border-radius:20px;
  background:rgba(255,255,255,.9);
  box-shadow:0 8px 22px rgba(4,35,94,.12);
      }
      .mobile-view-tab{
        height:44px;
  min-width:0;
  border:0;
  border-radius:16px;
  background:transparent;
  color:#526078;
  font:800 12px/1 Inter, "Segoe UI", sans-serif;
  cursor:pointer;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
      }
      .mobile-view-tab.active{
        background:linear-gradient(135deg, #1263de, #0647bf);
  color:#fff;
  box-shadow:0 8px 18px rgba(6,71,191,.28);
      }
      .mobile-view-tab span{ margin-right:4px;}
      .map-actions{ display:none; }
      .hr-dashed{ display:none; }
      #stationsList{
        width:100%;
        max-width:100%;
        margin:0 !important;
        padding:14px 14px 40px;
        border-radius:26px 26px 0 0;
        background:#fff;
        box-shadow:0 -10px 32px rgba(23,32,51,.12);
        overflow:hidden;
      }
      .map-wrap{
        flex:none;
        width:100%;
        height:48vh;
        min-height:360px;
        margin:0;
        border-radius: 28px 28px 0 0;
      }
      .mobile-map-control--locate{
        position:absolute;
        top:22px;
        right:14px;
        display:flex;
        border:1px solid #e0e7f0;
        border-radius:14px;
        box-shadow:0 8px 24px rgba(18,45,85,.18);
        pointer-events:auto;
      }
      .mobile-map-control--locate svg{
        width:23px;
        height:23px;
        stroke:#1261ce;
      }
      .favorite-panel{
        top:auto;
        right:10px;
        bottom:12px;
        left:10px;
        width:auto;
        max-height:calc(100% - 24px);
        padding:12px;
        border-radius:18px;
        z-index:10024;
      }
      .favorite-panel__list{
        max-height:none;
      }
      .compare-panel{
        top:auto;
        right:10px;
        bottom:12px;
        left:10px;
        width:auto;
        max-height:calc(100% - 24px);
        padding:12px;
        border-radius:18px;
        z-index:10024;
      }
      .compare-table{
        min-width:500px;
      }
      .favorite-card{
        padding:10px;
      }
      .favorite-card__title{
        font-size:12px;
      }
      .favorite-card__actions .btn,
      .favorite-card__actions .btn_card_info{
        flex:1 1 110px;
      }
      [class^="ymaps-"][class*="-controls__control"]{ display:none !important; }
      [class^="ymaps-"][class*="-copyrights-pane"]{
        opacity:.55;
        transition:opacity .18s ease;
      }
      [class^="ymaps-"][class*="-copyrights-pane"]:hover{ opacity:1; }
      #mobileStationsHost{
        display:block;
        width:100%;
        max-width:100vw;
        overflow:hidden;
      }
      h2{ font-size:22px; }

      [class^="ymaps-"][class*="balloon__layout"],
      [class^="ymaps-"][class*="balloon__content"],
      [class^="ymaps-"][class*="balloon__tail"]{
        display:none !important;
      }
    }

    @media (max-width:520px){
      .sidebar{ padding-right:12px; padding-left:12px; }
      .one_block{ margin-right:-12px; margin-left:-12px; }
      .filter-group{ padding-right:12px; padding-left:12px; }
      .filter-summary{ padding-right:12px; padding-left:12px; }
      .filter-summary__actions{ grid-template-columns:1fr 96px; gap:7px; }
      .filter-summary__show,
      .filter-summary__reset{ padding-right:8px; padding-left:8px; font-size:11px; }
      .filters{ gap:5px; }
      .filter-chip{ min-height:36px; padding:6px 4px; font-size:10px; }
      .filter-chip{
        min-width:0;
        overflow:hidden;
        text-overflow:ellipsis;
      }
      .filter-chip__icon{ flex-basis:24px; width:24px; height:24px; }
      #service-filters{ grid-template-columns:repeat(4, minmax(0, 1fr)); }
      #stationsList{ margin-right:0 !important; margin-left:0 !important; border-radius: 1px 1px;}
      .station-card{
        position:relative;
        width:100%;
        max-width:100%;
        min-height:126px;
        padding:14px 58px 14px 132px;
        margin-bottom:10px;
        border:0;
        border-bottom:1px solid #edf0f5;
        border-radius:0;
        box-shadow:none;
        border-radius: 10px 10px 10px 10px;
      }
      .station-card__photo{
        position:absolute;
        top:14px;
        left:14px;
        display:block;
        width:104px;
        height:98px;
        overflow:hidden;
        border-radius:12px;
        background:linear-gradient(135deg, #e9f2ff, #dbe8f8);
      }
      .station-card__photo img{
        display:block;
        width:100%;
        height:100%;
        object-fit:cover;
      }
      .station-card__photo-placeholder{
        display:flex;
        align-items:center;
        justify-content:center;
        width:100%;
        height:100%;
        padding:10px;
        color:#71819a;
        font-size:11px;
        font-weight:700;
        text-align:center;
      }
      .station-card__head{
        padding-right:45px;
        padding-bottom:6px;
        margin-bottom:0;
        border-bottom:0;
      }
      .station-card h3{ font-size:14px; }
      .station-card .distance{
        padding:3px 7px;
        margin:0 0 5px;
        background:#eef7ff;
        color:#1762bd;
        font-size:10px;
      }
      .station-card .fuel-blocks{ gap:5px; margin:6px 0; }
      .station-card .fuel{
        min-width:60px;
        padding:5px 8px;
        border-radius:10px;
      }
      .station-card .fuel .fuel-name{ font-size:11px; }
      .station-card .fuel .fuel-price{ font-size:10px; }
      .station-card .service-chips,
      .station-card .station-meta{ display:none; }
      .station-card__footer{
        position:absolute;
        top:50%;
        right:8px;
        display:block;
        margin:0;
        padding:0;
        border:0;
        transform:translateY(-50%);
      }
      .station-card__footer .btn{
        width:40px;
        min-width:40px;
        height:40px;
        padding:0;
        border-radius:50%;
        font-size:0;
      }
      .station-card__footer .btn:before{ content:"\2197"; font-size:20px; }
      .station-card__footer .btn .btn-icon,
      .station-card__footer .btn span:not(.btn-icon){ display:none; }
      .station-card__footer .btn_card_info{ display:none; }
      .station-card__footer .favorite-toggle{
        display:flex;
        width:40px;
        height:40px;
        min-height:40px;
        margin-top:8px;
        font-size:20px;
      }
      .station-card__footer .compare-card-toggle{
        width:40px;
        min-width:40px;
        height:40px;
        min-height:40px;
        margin-top:8px;
        padding:0;
        border-radius:50%;
        font-size:0;
      }
      .station-card__footer .compare-card-toggle:before{
        content:"₽";
        font-size:18px;
        font-weight:900;
      }
      .btn, .btn_card_info{ margin-left:0; }
      .open-links .btn, .open-links .btn_card_info{ width:auto; flex:1 1 140px; }
      .route-status{ bottom:10px; width:calc(100% - 20px); }
      .route-status{
        padding:10px 12px;
        border-radius:16px;
      }
      .route-status__nav{
        gap:9px;
      }
      .route-status__side{
        flex-basis:44px;
        width:44px;
        gap:6px;
      }
      .route-status__arrow{
        flex-basis:44px;
        width:44px;
        height:44px;
        font-size:25px;
      }
      .route-status__distance{
        font-size:22px;
      }
      .route-status__chips{
        gap:5px;
        margin-top:6px;
      }
      .route-status__chip{
        min-height:24px;
        padding:4px 7px;
        font-size:11px;
      }
      .route-status__icon-btn{
        width:34px;
        height:34px;
        min-width:34px;
        min-height:34px;
      }
      .route-status__icon-btn .btn-icon,
      .route-status__icon-btn .btn-icon svg{
        width:16px;
        height:16px;
      }
      .mobile-balloon{
        max-height:76vh;
        padding:24px 16px 18px;
      }
      .oil-modal{ padding:10px; }
      .oil-modal__card{
        max-height:86vh;
        padding:12px;
        border-radius:18px;
      }
      .oil-modal__toolbar{
        grid-template-columns:1fr 40px;
      }
      .oil-modal__type-btn{
        padding-right:6px;
        padding-left:6px;
        font-size:11px;
      }
      .oil-modal__stock-only{
        grid-column:1 / -1;
      }
      .oil-table{ min-width:500px; }
      .mobile-balloon:before{
        content:"";
        position:absolute;
        top:8px;
        left:50%;
        width:42px;
        height:4px;
        border-radius:999px;
        background:#d5dbe5;
        transform:translateX(-50%);
      }
    }


    /* PWA: splash screen, offline banner, install/update prompts */
    .pwa-splash{
      position:fixed; inset:0; z-index:99999;
      display:flex; align-items:center; justify-content:center; flex-direction:column;
      gap:14px; padding:28px; text-align:center;
      background:linear-gradient(135deg, var(--brand-dark), var(--brand));
      color:#fff; transition:opacity .35s ease, visibility .35s ease;
    }
    .pwa-splash.hidden{ opacity:0; visibility:hidden; pointer-events:none; }
    .pwa-splash__icon{ width:112px; height:112px; border-radius:28px; box-shadow:0 18px 45px rgba(0,0,0,.25); }
    .pwa-splash__title{ font-size:24px; font-weight:900; letter-spacing:-.03em; }
    .pwa-splash__text{ font-size:14px; opacity:.86; }
    .pwa-toast{
      position:fixed; left:50%; bottom:18px; transform:translateX(-50%);
      z-index:99998; width:min(560px, calc(100% - 28px));
      display:none; align-items:center; justify-content:space-between; gap:12px;
      padding:12px 14px; border-radius:18px; background:rgba(23,32,51,.94); color:#fff;
      box-shadow:0 14px 38px rgba(0,0,0,.22); backdrop-filter:blur(14px);
    }
    .pwa-toast.active{ display:flex; }
    .pwa-toast__text{ font-size:13px; line-height:1.35; }
    .pwa-toast__actions{ display:flex; gap:8px; flex-shrink:0; }
    .pwa-toast button{
      border:0; border-radius:999px; padding:9px 12px; font-weight:800; cursor:pointer;
      background:#fff; color:var(--brand-dark);
    }
    .pwa-toast button.secondary{ background:rgba(255,255,255,.14); color:#fff; }
    .pwa-toast--success{ background:rgba(17,120,72,.95); }
    .pwa-toast--warning{ background:rgba(180,83,9,.96); }
    .pwa-toast--error{ background:rgba(185,28,28,.96); }
    .pwa-toast--info{ background:rgba(23,32,51,.94); }
    .pwa-toast__title{ font-weight:900; margin-bottom:2px; }
    .logo-row{ display:flex; align-items:center; justify-content:space-between; gap:10px; }
    .logo-row img{ max-width:100%; height:auto; }
    .pwa-install{
      display:none; border:0; border-radius:999px; padding:10px 12px;
      background:var(--brand); color:#fff; font-weight:850; box-shadow:var(--shadow-soft); cursor:pointer;
      white-space:nowrap; font-size:13px;
    }
    .pwa-install.active{ display:inline-flex; align-items:center; justify-content:center; }
    @media(min-width:901px){
      .pwa-install{ display:none !important; }
    }
    @media(max-width:900px){
      .pwa-toast{ bottom:10px; }
      .logo-row{ gap:8px; }
      .logo-row a img{ width:150px; height:auto; }
    }

/* Расчётные остатки топлива */
.fuel-rest-station-btn{
  display:flex; align-items:center; justify-content:center; gap:9px; width:100%; min-height:42px;
  margin-top:10px; padding:9px 14px; border:1px solid rgba(41,80,158,.16); border-radius:14px;
  background:linear-gradient(135deg,#eef5ff,#f8fbff); color:#20335b;
  font:850 12px/1.2 Inter,"Segoe UI",sans-serif; cursor:pointer; transition:.18s ease;
}
.fuel-rest-station-btn:hover{transform:translateY(-1px); border-color:rgba(41,80,158,.34); box-shadow:0 8px 18px rgba(32,51,91,.10)}
.fuel-rest-station-btn .btn-icon{width:24px;height:24px;display:inline-flex;align-items:center;justify-content:center;color:#0f6bbd}
.fuel-rest-station-btn svg{width:24px;height:24px;stroke:currentColor;stroke-width:1.8}
.station-card__footer .fuel-rest-station-btn{width:auto; margin-top:0; flex:1 1 100%;}

.fuel-rest-modal{position:fixed;inset:0;display:none;align-items:center;justify-content:center;background:rgba(10,16,30,.58);z-index:10075;padding:18px;box-sizing:border-box}
.fuel-rest-modal.active{display:flex}
.fuel-rest-modal__card{width:min(620px,100%);max-height:min(84vh,720px);display:flex;flex-direction:column;background:#fff;border-radius:24px;padding:18px;box-shadow:0 24px 70px rgba(0,0,0,.3);color:var(--text)}
.fuel-rest-modal__head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:6px}
.fuel-rest-modal__head h3{margin:0;color:#0f6bbd;font-size:20px;line-height:1.2}
.fuel-rest-modal__head p{margin:6px 0 0;color:var(--muted);font-size:13px;line-height:1.4}
.fuel-rest-modal__close{flex:0 0 36px;width:36px;height:36px;border:0;border-radius:50%;background:#eef3fb;color:var(--brand-dark);font-size:23px;line-height:1;cursor:pointer}
.fuel-rest-modal__updated{min-height:20px;margin:4px 0 10px;color:#738098;font-size:12px;font-weight:800}
.fuel-rest-modal__body{flex:1 1 auto;min-height:0;overflow:auto}
.fuel-rest-modal__note{margin:12px 0 0;padding:10px 12px;border-radius:12px;background:#f6f8fc;color:#68758a;font-size:11px;line-height:1.45}
.fuel-rest-list{display:grid;gap:10px}
.fuel-rest-item{display:grid;grid-template-columns:48px minmax(0,1fr) auto;gap:12px;align-items:center;padding:14px;border:1px solid rgba(41,80,158,.12);border-radius:17px;background:linear-gradient(135deg,#fff,#e3fbe4)}
.fuel-rest-item__icon{display:flex;align-items:center;justify-content:center;width:48px;height:48px;border-radius:14px;background:#e9f3ff;color:#0f6bbd}
.fuel-rest-item__icon .btn-icon{display:flex;width:28px;height:28px}.fuel-rest-item__icon svg{width:28px;height:28px;stroke:currentColor;stroke-width:1.7}
.fuel-rest-item__name{color:#20335b;font-size:15px;font-weight:900;line-height:1.25}
.fuel-rest-item__caption{margin-top:3px;color:#7a8699;font-size:11px;line-height:1.35}
.fuel-rest-item__value{padding-left:10px;color:#02850e;font-size:20px;font-weight:950;white-space:nowrap}
.fuel-rest-empty{padding:28px 18px;text-align:center;border:1px dashed rgba(41,80,158,.2);border-radius:16px;background:#f8fbff;color:#66738a;font-size:13px;font-weight:800}
.fuel-rest-empty.is-error{background:#fff4f4;border-color:rgba(185,55,55,.25);color:#9b2f2f}
.fuel-rest-skeleton{display:grid;gap:10px}.fuel-rest-skeleton__row{display:grid;grid-template-columns:48px 1fr 90px;gap:12px;align-items:center;padding:14px;border:1px solid #edf1f7;border-radius:17px}
.fuel-rest-skeleton__icon,.fuel-rest-skeleton__line,.fuel-rest-skeleton__value{display:block;background:linear-gradient(90deg,#edf1f6,#f8fafc,#edf1f6);background-size:200% 100%;animation:fuelRestPulse 1.2s linear infinite;border-radius:12px}
.fuel-rest-skeleton__icon{width:48px;height:48px}.fuel-rest-skeleton__line{height:16px}.fuel-rest-skeleton__value{height:22px}
@keyframes fuelRestPulse{to{background-position:-200% 0}}
@media(max-width:620px){.fuel-rest-modal{padding:10px}.fuel-rest-modal__card{padding:15px;border-radius:20px}.fuel-rest-item{grid-template-columns:42px minmax(0,1fr);grid-template-areas:"icon info" "icon value";gap:8px 10px;align-items:start}.fuel-rest-item__icon{grid-area:icon;width:42px;height:42px}.fuel-rest-item__info{grid-area:info;min-width:0}.fuel-rest-item__value{grid-area:value;justify-self:start;padding-left:0;font-size:18px;line-height:1.15;text-align:left;white-space:normal;overflow-wrap:anywhere}.fuel-rest-skeleton__row{grid-template-columns:42px 1fr}.fuel-rest-skeleton__value{grid-column:2}.fuel-rest-station-btn{font-size:11px}}

/* Обе сервисные кнопки в карточке АЗС */
.station-card__footer .oil-station-btn{
  width:auto;
  margin-top:0;
  flex:1 1 100%;
}

@media(max-width:900px){
  .station-card__footer .oil-station-btn,
  .station-card__footer .fuel-rest-station-btn{
    display:flex;
    width:40px;
    min-width:40px;
    height:40px;
    min-height:40px;
    margin-top:8px;
    padding:0;
    border-radius:50%;
    font-size:0;
  }
  .station-card__footer .oil-station-btn span:not(.btn-icon),
  .station-card__footer .fuel-rest-station-btn span:not(.btn-icon){
    display:none;
  }
  .station-card__footer .oil-station-btn .btn-icon,
  .station-card__footer .fuel-rest-station-btn .btn-icon{
    display:inline-flex;
    width:22px;
    height:22px;
    margin:0;
  }
}


/* Горизонтальные кнопки остатков в карточках и баллунах */
.station-stock-actions{
  display:flex;
  align-items:stretch;
  gap:8px;
  width:100%;
  margin-top:10px;
}
.station-stock-actions .fuel-rest-station-btn,
.station-stock-actions .oil-station-btn{
  flex:1 1 0;
  width:auto;
  min-width:0;
  min-height:42px;
  margin:0;
  padding:9px 10px;
  border-radius:14px;
}
.station-stock-actions span:not(.btn-icon){
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.station-card .station-stock-actions{
  margin-top:12px;
}

/* Цветовая индикация расчётных остатков */
.fuel-rest-item.is-low{
  border-color:rgba(202,145,0,.42);
  background:linear-gradient(135deg,#fffdf3,#fff5c9);
}
.fuel-rest-item.is-low .fuel-rest-item__icon{
  background:#fff0ad;
  color:#9b6900;
}
.fuel-rest-item.is-low .fuel-rest-item__value{
  color:#8a5c00;
}
.fuel-rest-item.is-critical,
.fuel-rest-item.is-unavailable{
  border-color:rgba(190,45,45,.38);
  background:linear-gradient(135deg,#fff8f8,#ffe1e1);
}
.fuel-rest-item.is-critical .fuel-rest-item__icon,
.fuel-rest-item.is-unavailable .fuel-rest-item__icon{
  background:#ffd5d5;
  color:#b42323;
}
.fuel-rest-item.is-critical .fuel-rest-item__value,
.fuel-rest-item.is-unavailable .fuel-rest-item__value{
  color:#ad1f1f;
}
.fuel-rest-item.is-unavailable .fuel-rest-item__value{
  font-size:16px;
  white-space:normal;
  text-align:left;
}

@media(max-width:900px){
  .station-card .station-stock-actions{
    margin:10px -44px 0 -118px;
    width:auto;
  }
  .station-card .station-stock-actions .oil-station-btn,
  .station-card .station-stock-actions .fuel-rest-station-btn{
    display:flex;
    width:auto;
    min-width:0;
    height:auto;
    min-height:38px;
    margin:0;
    padding:8px 7px;
    border-radius:12px;
    font-size:10px;
  }
  .station-card .station-stock-actions .oil-station-btn span:not(.btn-icon),
  .station-card .station-stock-actions .fuel-rest-station-btn span:not(.btn-icon){
    display:inline;
  }
  .station-card .station-stock-actions .oil-station-btn .btn-icon,
  .station-card .station-stock-actions .fuel-rest-station-btn .btn-icon{
    width:19px;
    height:19px;
  }
  #mobileBalloonContent .station-stock-actions{
    display:flex;
    gap:8px;
  }
}

/* ===== FIX: остатки топлива/масел только на планшетах ===== */
@media (min-width: 601px) and (max-width: 900px) {

    .station-card .station-stock-actions {
        margin: 10px 0 0 0;
        width: 100%;
        box-sizing: border-box;
    }

    .station-card .station-stock-actions .fuel-rest-station-btn,
    .station-card .station-stock-actions .oil-station-btn {
        width: 100%;
        min-width: 0;
        box-sizing: border-box;
    }
}
