
/* =========================================================
   ПРОСТОРОУТЕР — интерактивный hero / подбор MikroTik
   ========================================================= */
.selector-hero{
  background:
    radial-gradient(circle at 48% 34%, rgba(23,80,48,.14), transparent 29%),
    radial-gradient(circle at 47% 38%, rgba(51,76,157,.08), transparent 42%),
    #080909;
  color:#fff;
  padding:52px 0 64px;
  border-bottom:1px solid #202224;
  overflow:hidden;
}
.selector-hero-heading{
  text-align:center;
  max-width:920px;
  margin:0 auto 34px;
}
.selector-kicker{
  display:inline-flex;
  border:1px solid #315a29;
  background:rgba(37,91,31,.18);
  color:#9be86d;
  border-radius:999px;
  padding:7px 12px;
  font-size:11px;
  font-weight:800;
  letter-spacing:.04em;
}
.selector-hero-heading h1{
  margin:14px 0 10px;
  font-size:clamp(42px,5vw,72px);
  line-height:.96;
  letter-spacing:-.045em;
}
.selector-hero-heading p{
  margin:0 auto;
  max-width:780px;
  color:#a5a8ab;
  line-height:1.55;
  font-size:17px;
}
.selector-layout{
  display:grid;
  grid-template-columns:minmax(280px, .88fr) minmax(480px, 1.42fr) minmax(255px, .86fr);
  gap:18px;
  align-items:stretch;
}
.selector-panel{
  background:linear-gradient(180deg,#111416,#0e1012);
  border:1px solid #252a2e;
  border-radius:18px;
  box-shadow:0 20px 60px rgba(0,0,0,.22);
}
.selector-panel-title{
  padding:16px 16px 10px;
  color:#e7e8e9;
  font-size:14px;
  font-weight:700;
}
.selector-panel-title b{color:#fff;margin-right:4px}
.selector-devices{padding-bottom:14px}
.selector-device{
  display:grid;
  grid-template-columns:42px minmax(0,1fr) 84px;
  align-items:center;
  gap:10px;
  margin:7px 10px 0;
  padding:10px;
  border:1px solid #282e32;
  border-radius:12px;
  background:#171a1d;
  transition:border-color .2s, transform .2s, background .2s;
}
.selector-device.active{
  border-color:#37433e;
  background:#191d1f;
}
.selector-device:hover{transform:translateX(2px)}
.selector-device-icon{
  width:38px;height:38px;border-radius:10px;
  display:grid;place-items:center;
  font-size:20px;font-weight:900;
  border:1px solid currentColor;
  box-shadow:inset 0 0 18px rgba(255,255,255,.03);
}
.tone-purple{color:#9b6cff;background:rgba(115,73,255,.12)}
.tone-blue{color:#56a6ff;background:rgba(50,130,255,.10)}
.tone-cyan{color:#3ce5e5;background:rgba(20,210,210,.10)}
.tone-pink{color:#ff5c97;background:rgba(255,70,130,.10)}
.tone-orange{color:#ff9c3b;background:rgba(255,135,30,.10)}
.tone-yellow{color:#ffd838;background:rgba(255,210,30,.10)}
.tone-green{color:#45e889;background:rgba(30,220,110,.10)}
.tone-violet{color:#a36cff;background:rgba(130,80,255,.10)}
.selector-device-copy{min-width:0}
.selector-device-copy b{
  display:block;
  font-size:12.5px;
  line-height:1.2;
  white-space:normal;
}
.selector-device-copy small{
  display:block;
  color:#7f858a;
  margin-top:3px;
  font-size:10.5px;
  line-height:1.25;
}
.selector-counter{
  display:grid;
  grid-template-columns:27px 30px 27px;
  height:34px;
  align-items:center;
  border:1px solid #343b40;
  border-radius:9px;
  overflow:hidden;
  background:#111315;
}
.selector-counter button{
  height:100%;
  border:0;
  background:transparent;
  color:#9aea75;
  font-size:17px;
  cursor:pointer;
}
.selector-counter button:hover{background:#1d2320}
.selector-counter strong{text-align:center;font-size:13px}
.selector-device-footer{
  display:flex;align-items:center;justify-content:space-between;
  gap:8px;padding:12px 10px 0;
  color:#777e82;font-size:11px;
}
.selector-reset{
  border:1px solid #2b3034;
  background:#141719;color:#c4c7c9;
  border-radius:9px;padding:9px 12px;cursor:pointer;
}
.selector-stage{
  position:relative;
  min-height:620px;
  overflow:hidden;
  border-radius:18px;
  background:
    radial-gradient(circle at 50% 44%, rgba(52,120,76,.10), transparent 28%),
    radial-gradient(circle at 48% 46%, rgba(36,101,156,.08), transparent 44%);
}
.selector-stage-title{
  text-align:center;
  font-size:14px;
  font-weight:700;
  color:#e5e5e5;
  padding-top:12px;
}
.selector-stage-title b{margin-right:4px}
.selector-status{
  display:table;
  margin:10px auto 0;
  border:1px solid #2b6a33;
  background:#164322;
  color:#9ef184;
  border-radius:8px;
  padding:7px 13px;
  font-size:11px;
  font-weight:900;
}
.selector-traffic{
  position:absolute;
  inset:44px 0 0;
  width:100%;
  height:570px;
  pointer-events:none;
  overflow:visible;
}
.traffic-line{
  fill:none;
  stroke-width:1.45;
  stroke-dasharray:4 8;
  opacity:.30;
}
.in-purple{stroke:url(#inPurple)}
.in-blue,.in-cyan{stroke:url(#inBlue)}
.in-pink{stroke:url(#inPink)}
.in-gold{stroke:url(#inGold)}
.out-direct{stroke:url(#directGreen);stroke-width:2;opacity:.48}
.out-vpn{stroke:url(#vpnBlue);stroke-width:2;opacity:.48}
.traffic-token rect{
  stroke:currentColor;
  fill:rgba(10,10,10,.82);
  stroke-width:1.2;
}
.traffic-token path,.traffic-token line{
  stroke:currentColor;fill:none;stroke-width:1.2;stroke-linecap:round;stroke-linejoin:round
}
.traffic-token{filter:drop-shadow(0 0 6px currentColor)}
.selector-router-card{
  position:absolute;
  z-index:5;
  left:50%;top:50%;
  transform:translate(-50%,-46%);
  width:310px;
  text-decoration:none;
  color:#fff;
  text-align:center;
}
.selector-router-glow{
  position:absolute;left:50%;top:43%;
  transform:translate(-50%,-50%);
  width:280px;height:280px;border-radius:50%;
  background:radial-gradient(circle,rgba(56,255,142,.10),rgba(40,159,255,.04) 45%,transparent 70%);
  filter:blur(8px);
  z-index:-1;
}
.selector-router-card img{
  display:block;
  width:250px;
  height:300px;
  object-fit:contain;
  margin:0 auto;
  filter:drop-shadow(0 26px 28px rgba(0,0,0,.72));
  transition:transform .25s ease;
}
.selector-router-card:hover img{transform:translateY(-5px) scale(1.02)}
.selector-router-card strong{
  display:block;
  margin-top:2px;
  font-size:28px;
  letter-spacing:-.035em;
}
.selector-router-specs{
  display:block;
  margin-top:9px;
  color:#9a9fa2;
  font-size:11.5px;
}
.selector-router-price{
  display:block;
  margin-top:14px;
  font-weight:900;
  font-size:27px;
}
.selector-router-note{
  display:block;
  color:#73797d;
  font-size:11px;
  margin-top:5px;
}
.selector-router-button{
  display:block;
  max-width:245px;
  margin:16px auto 0;
  padding:11px 14px;
  color:#9cf17e;
  border:1px solid #3f9e42;
  border-radius:8px;
  font-weight:800;
  font-size:13px;
}
.selector-routes{padding-bottom:14px}
.route-card{
  margin:7px 10px 12px;
  padding:17px 15px;
  border-radius:15px;
  background:#0f1710;
  border:1px solid #31582e;
  min-height:218px;
}
.route-vpn{
  background:#0a1219;
  border-color:#174e70;
}
.route-card-title{
  color:#9ee868;
  font-size:19px;
  font-weight:900;
}
.route-vpn .route-card-title{color:#47c9ff}
.route-card p{margin:5px 0 13px;font-size:12px;color:#dedede}
.route-chips{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:7px;
}
.route-chips span{
  min-height:42px;
  display:grid;
  place-items:center;
  padding:4px;
  border:1px solid rgba(255,255,255,.09);
  border-radius:9px;
  background:rgba(255,255,255,.035);
  color:#d8d8d8;
  font-size:9.5px;
  text-align:center;
}
.route-card small{
  display:block;margin-top:13px;
  color:#777f7a;font-size:10px;line-height:1.35
}
.route-vpn small{color:#71808a}
.selector-benefits{
  margin-top:18px;
  display:grid;
  grid-template-columns:repeat(4,1fr);
  border:1px solid #242a2c;
  background:#0f1112;
  border-radius:15px;
  overflow:hidden;
}
.selector-benefits>div{
  min-height:76px;
  display:flex;align-items:center;gap:12px;
  padding:16px 18px;
  border-right:1px solid #25292b;
}
.selector-benefits>div:last-child{border-right:0}
.benefit-icon{
  flex:0 0 34px;width:34px;height:34px;
  border:1px solid #77c84f;
  color:#8fe067;
  border-radius:50%;
  display:grid;place-items:center;
  font-size:17px;
}
.selector-benefits b{
  font-size:11.5px;
  line-height:1.35;
  color:#d7d9da;
}
.selector-legal{
  margin:13px auto 0;
  text-align:center;
  color:#5d6265;
  font-size:10.5px;
}

/* Mobile: stack logically, keep all controls usable */
@media(max-width:1180px){
  .selector-layout{
    grid-template-columns:minmax(280px,.9fr) minmax(440px,1.3fr);
  }
  .selector-routes{
    grid-column:1/-1;
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:12px;
    padding:10px;
  }
  .selector-routes .selector-panel-title{grid-column:1/-1}
  .route-card{margin:0;min-height:180px}
}
@media(max-width:820px){
  .selector-hero{padding:34px 0 48px}
  .selector-hero-heading{margin-bottom:24px}
  .selector-hero-heading h1{font-size:40px}
  .selector-hero-heading p{font-size:15px}
  .selector-layout{display:flex;flex-direction:column}
  .selector-devices{order:1}
  .selector-stage{order:2;min-height:650px}
  .selector-routes{order:3;display:grid;grid-template-columns:1fr}
  .selector-routes .selector-panel-title{grid-column:auto}
  .selector-device{grid-template-columns:40px minmax(0,1fr) 86px}
  .selector-stage-title{padding-top:16px}
  .selector-router-card{top:43%;width:290px}
  .selector-router-card img{width:220px;height:265px}
  .selector-router-card strong{font-size:25px}
  .selector-traffic{inset:62px -80px 0;width:calc(100% + 160px);height:550px}
  .selector-benefits{grid-template-columns:1fr 1fr}
  .selector-benefits>div:nth-child(2){border-right:0}
  .selector-benefits>div:nth-child(-n+2){border-bottom:1px solid #25292b}
}
@media(max-width:520px){
  .selector-hero-heading h1{font-size:34px}
  .selector-kicker{font-size:9.5px}
  .selector-device-copy b{font-size:12px}
  .selector-device-copy small{font-size:9.5px}
  .selector-device{margin-left:8px;margin-right:8px;padding:9px 8px}
  .selector-stage{min-height:610px}
  .selector-router-card{top:41%;width:260px}
  .selector-router-card img{width:190px;height:235px}
  .selector-router-specs{font-size:10px}
  .selector-router-price{font-size:24px}
  .selector-benefits{grid-template-columns:1fr}
  .selector-benefits>div{border-right:0;border-bottom:1px solid #25292b}
  .selector-benefits>div:last-child{border-bottom:0}
}


/* =========================================================
   v3 — compact first screen + dedicated mobile presentation
   ========================================================= */

/* Desktop: fit materially more of the selector into the first viewport */
@media(min-width:1181px){
  .selector-hero{padding:30px 0 42px}
  .selector-hero-heading{margin-bottom:20px}
  .selector-kicker{padding:5px 10px;font-size:9.5px}
  .selector-hero-heading h1{font-size:clamp(38px,4.15vw,58px);margin:10px 0 7px}
  .selector-hero-heading p{font-size:14px;max-width:760px;line-height:1.42}
  .selector-layout{grid-template-columns:minmax(260px,.84fr) minmax(450px,1.38fr) minmax(245px,.82fr);gap:14px}
  .selector-panel-title{padding:12px 13px 7px;font-size:12px}
  .selector-device{grid-template-columns:36px minmax(0,1fr) 78px;gap:8px;margin:5px 8px 0;padding:7px 8px}
  .selector-device-icon{width:32px;height:32px;border-radius:8px;font-size:16px}
  .selector-device-copy b{font-size:11px}
  .selector-device-copy small{font-size:9px}
  .selector-counter{height:29px;grid-template-columns:24px 28px 24px}
  .selector-counter button{font-size:15px}
  .selector-device-footer{padding:8px 8px 0}
  .selector-reset{padding:7px 10px;font-size:11px}
  .selector-stage{min-height:500px}
  .selector-stage-title{padding-top:8px;font-size:12px}
  .selector-status{margin-top:7px;padding:5px 10px;font-size:9px}
  .selector-traffic{inset:32px 0 0;height:470px}
  .selector-router-card{width:260px;top:49%}
  .selector-router-card img{width:195px;height:225px}
  .selector-router-card strong{font-size:23px}
  .selector-router-specs{font-size:9.5px;margin-top:5px}
  .selector-router-price{font-size:23px;margin-top:9px}
  .selector-router-note{font-size:9px}
  .selector-router-button{max-width:205px;padding:8px 11px;margin-top:10px;font-size:11px}
  .route-card{margin:5px 8px 9px;padding:12px;min-height:170px}
  .route-card-title{font-size:16px}
  .route-card p{font-size:10.5px;margin:4px 0 9px}
  .route-chips{gap:5px}
  .route-chips span{min-height:32px;font-size:8px}
  .route-card small{margin-top:9px;font-size:8.5px}
  .selector-benefits{margin-top:12px}
  .selector-benefits>div{min-height:58px;padding:11px 13px}
  .benefit-icon{width:28px;height:28px;flex-basis:28px;font-size:14px}
  .selector-benefits b{font-size:9.5px}
  .selector-legal{margin-top:8px;font-size:9px}
}

/* Phones/tablets: don't try to squeeze the desktop network diagram into a narrow screen.
   Keep the interaction, but use a vertical recommendation flow. */
@media(max-width:820px){
  .selector-hero{padding-top:24px}
  .selector-hero-heading h1{font-size:36px;line-height:1}
  .selector-hero-heading p{font-size:14px;line-height:1.45}
  .selector-layout{gap:14px}

  .selector-stage{
    min-height:auto;
    padding:18px 12px 20px;
    overflow:visible;
    border:1px solid #252a2e;
    background:linear-gradient(180deg,#101315,#0a0c0d);
  }
  .selector-stage-title{padding:0}
  .selector-status{margin-bottom:12px}

  /* Hide the spaghetti-style desktop SVG on mobile.
     A lightweight pulse around the product replaces it. */
  .selector-traffic{display:none}
  .selector-router-card{
    position:relative;
    left:auto;top:auto;transform:none;
    width:100%;
    display:block;
  }
  .selector-router-glow{
    left:50%;top:32%;
    width:230px;height:230px;
    opacity:.9;
    animation:mobileRouterPulse 2.8s ease-in-out infinite;
  }
  @keyframes mobileRouterPulse{
    0%,100%{transform:translate(-50%,-50%) scale(.92);opacity:.45}
    50%{transform:translate(-50%,-50%) scale(1.05);opacity:.95}
  }
  .selector-router-card img{width:200px;height:235px}
  .selector-router-card strong{font-size:25px}
  .selector-router-specs{max-width:310px;margin:7px auto 0;line-height:1.45}
  .selector-router-button{margin-top:13px}

  .selector-routes{
    padding:10px;
  }
  .route-card{
    min-height:0;
    padding:15px;
  }
  .route-chips{
    grid-template-columns:repeat(3,1fr);
  }
  .route-chips span{min-height:38px}

  .selector-benefits{margin-top:14px}
}

@media(max-width:520px){
  .selector-hero-heading h1{font-size:31px}
  .selector-device{
    grid-template-columns:34px minmax(0,1fr) 82px;
    padding:8px 7px;
  }
  .selector-device-icon{width:32px;height:32px;font-size:15px}
  .selector-device-copy b{font-size:11.5px}
  .selector-device-copy small{font-size:9px}
  .selector-counter{height:30px;grid-template-columns:25px 30px 25px}
  .selector-router-card img{width:175px;height:210px}
  .selector-router-card strong{font-size:23px}
  .selector-benefits>div{min-height:60px;padding:12px}
}


/* =========================================================
   v4 — denser desktop + clearer device and service icons
   ========================================================= */
@media(min-width:1181px){
  .selector-hero{padding:22px 0 34px}
  .selector-hero-heading{margin-bottom:14px}
  .selector-kicker{padding:4px 9px;font-size:8.8px}
  .selector-hero-heading h1{font-size:clamp(34px,3.75vw,52px);margin:8px 0 5px}
  .selector-hero-heading p{font-size:12.8px;line-height:1.36;max-width:730px}

  .selector-layout{grid-template-columns:minmax(245px,.82fr) minmax(420px,1.34fr) minmax(230px,.8fr);gap:12px}
  .selector-panel-title{padding:10px 11px 6px;font-size:11px}
  .selector-device{grid-template-columns:32px minmax(0,1fr) 72px;gap:7px;margin:4px 7px 0;padding:6px 7px}
  .selector-device-icon{width:29px;height:29px;border-radius:7px}
  .selector-device-copy b{font-size:10.2px}
  .selector-device-copy small{font-size:8.2px}
  .selector-counter{height:26px;grid-template-columns:22px 26px 22px}
  .selector-counter button{font-size:14px}
  .selector-counter strong{font-size:11px}
  .selector-device-footer{padding:6px 7px 0}
  .selector-reset{padding:6px 8px;font-size:10px}

  .selector-stage{min-height:445px}
  .selector-stage-title{padding-top:6px;font-size:11px}
  .selector-status{margin-top:5px;padding:4px 8px;font-size:8px}
  .selector-traffic{inset:28px 0 0;height:418px}
  .selector-router-card{width:235px;top:49%}
  .selector-router-card img{width:170px;height:195px}
  .selector-router-card strong{font-size:20px}
  .selector-router-specs{font-size:8.5px;margin-top:4px}
  .selector-router-price{font-size:20px;margin-top:7px}
  .selector-router-note{font-size:8px}
  .selector-router-button{max-width:188px;padding:7px 9px;margin-top:8px;font-size:10px}

  .route-card{margin:4px 7px 7px;padding:9px;min-height:148px}
  .route-card-title{font-size:14px}
  .route-card p{font-size:9.5px;margin:3px 0 7px}
  .route-card small{margin-top:7px;font-size:7.8px}
  .route-logo-grid{grid-template-columns:repeat(4,1fr)!important;gap:4px!important}
  .service-chip{min-height:42px!important;padding:3px 2px!important}
  .service-logo{width:22px;height:22px;font-size:9px}
  .service-chip small{font-size:6.8px}

  .selector-benefits{margin-top:9px}
  .selector-benefits>div{min-height:48px;padding:8px 10px}
  .benefit-icon{width:24px;height:24px;flex-basis:24px;font-size:12px}
  .selector-benefits b{font-size:8.4px}
  .selector-legal{margin-top:6px;font-size:8px}
}

/* Device pictograms — CSS only, crisp on Retina and no external assets */
.selector-device-icon{position:relative}
.icon-phone{
  width:11px;height:18px;border:2px solid currentColor;border-radius:3px;display:block;position:relative
}
.icon-phone:after{
  content:"";position:absolute;left:50%;bottom:1px;transform:translateX(-50%);width:2px;height:2px;border-radius:50%;background:currentColor
}
.icon-laptop{
  width:18px;height:12px;border:2px solid currentColor;border-radius:2px;display:block;position:relative
}
.icon-laptop:after{
  content:"";position:absolute;left:-4px;right:-4px;bottom:-5px;border-bottom:2px solid currentColor
}
.icon-tv{
  width:19px;height:13px;border:2px solid currentColor;border-radius:2px;display:block;position:relative
}
.icon-tv:after{
  content:"";position:absolute;width:8px;left:50%;bottom:-5px;transform:translateX(-50%);border-bottom:2px solid currentColor
}
.icon-game{
  width:20px;height:12px;border:2px solid currentColor;border-radius:7px 7px 5px 5px;display:block;position:relative
}
.icon-game:before{
  content:"+";position:absolute;left:2px;top:-5px;font-size:13px;font-weight:900;line-height:1;color:currentColor
}
.icon-game:after{
  content:"••";position:absolute;right:1px;top:-5px;font-size:10px;letter-spacing:0;color:currentColor
}
.icon-box{
  width:19px;height:11px;border:2px solid currentColor;border-radius:3px;display:block;position:relative
}
.icon-box:after{
  content:"";position:absolute;right:2px;top:3px;width:3px;height:3px;border-radius:50%;background:currentColor
}
.icon-download{font-size:18px;line-height:1;font-weight:900}
.icon-camera{
  width:17px;height:14px;border:2px solid currentColor;border-radius:4px;display:block;position:relative
}
.icon-camera:before{
  content:"";position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:5px;height:5px;border:2px solid currentColor;border-radius:50%
}
.icon-camera:after{
  content:"";position:absolute;left:4px;bottom:-6px;width:7px;border-bottom:2px solid currentColor
}
.icon-users{
  display:block;font-size:8px;letter-spacing:-2px;position:relative;top:-2px
}
.icon-users:after{
  content:"";display:block;width:19px;height:7px;border:2px solid currentColor;border-top-left-radius:10px;border-top-right-radius:10px;border-bottom:0;margin-top:1px
}

/* Service logo chips */
.route-logo-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:6px;
}
.route-chips .service-chip{
  min-height:54px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:4px;
  padding:5px 3px;
  border:1px solid rgba(255,255,255,.08);
  border-radius:9px;
  background:rgba(255,255,255,.035);
}
.service-chip small{font-size:8px;color:#c8cdcf}
.service-logo{
  width:27px;height:27px;
  display:grid;place-items:center;
  border-radius:8px;
  font-style:normal;font-weight:900;font-size:11px;
  color:#fff;
  border:1px solid rgba(255,255,255,.12);
}
.sber{background:#20a958}
.yandex{background:#fff;color:#e21a1a}
.vk{background:#2787f5}
.gos{background:linear-gradient(135deg,#2769d8,#e73a45)}
.rutube{background:#171717;color:#fff}
.avito{background:linear-gradient(135deg,#00aaff,#965cff,#ff5a5f)}
.youtube{background:#ff0033}
.telegram{background:#229ed9}
.instagram{background:linear-gradient(135deg,#f9ce34,#ee2a7b,#6228d7)}
.xlogo{background:#050505}
.netflix{background:#171717;color:#e50914}
.more{background:#202428;color:#9aa1a5}
.service-more{opacity:.92}

@media(max-width:820px){
  .route-logo-grid{grid-template-columns:repeat(4,1fr)}
  .service-chip{min-height:50px!important}
}
@media(max-width:520px){
  .route-logo-grid{grid-template-columns:repeat(3,1fr)}
}

/* logic v2 */
.selector-reason{display:block;max-width:300px;margin:10px auto 0;color:#9da3a6;font-size:10px;line-height:1.4;min-height:42px}
.selector-router-card img,.selector-router-card strong,.selector-router-card .selector-router-price{transition:opacity .14s ease,transform .22s ease}
.selector-router-card.is-switching img,.selector-router-card.is-switching strong,.selector-router-card.is-switching .selector-router-price{opacity:.2;transform:scale(.97)}
.icon-video{width:18px;height:12px;border:2px solid currentColor;border-radius:3px;display:block;position:relative}
.icon-video:after{content:"";position:absolute;right:-7px;top:2px;border-left:5px solid currentColor;border-top:4px solid transparent;border-bottom:4px solid transparent}
@media(min-width:1181px){.selector-reason{font-size:8px;min-height:28px;margin-top:6px;max-width:235px}}


/* =========================================================
   final scenarios v1 — return traffic + individual project
   ========================================================= */
.back-direct{stroke:#9dd955;stroke-width:1.1;opacity:.22}
.back-vpn{stroke:#57b7db;stroke-width:1.1;opacity:.22}
.back-purple{stroke:#936ee0;opacity:.17}
.back-blue,.back-cyan{stroke:#4b9bc7;opacity:.17}
.back-pink{stroke:#d75b88;opacity:.17}
.back-gold{stroke:#d2ab42;opacity:.17}

.selector-status.is-project{
  border-color:#8b692e;
  background:#3b2b12;
  color:#ffd270;
}

.selector-project-card{
  position:absolute;
  z-index:8;
  left:50%;
  top:50%;
  transform:translate(-50%,-46%);
  width:min(390px,86%);
  padding:20px;
  border:1px solid #695129;
  border-radius:18px;
  background:linear-gradient(180deg,rgba(35,28,17,.97),rgba(17,16,14,.98));
  box-shadow:0 24px 70px rgba(0,0,0,.48);
  text-align:center;
}
.selector-project-card[hidden]{display:none!important}
.selector-project-visual{
  width:190px;
  margin:0 auto 5px;
  color:#e6b657;
}
.selector-project-visual svg{width:100%;height:auto;overflow:visible}
.selector-project-visual rect,
.selector-project-visual path,
.selector-project-visual circle{
  fill:none;
  stroke:currentColor;
  stroke-width:2;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.selector-project-visual circle{fill:#e6b657;stroke:none}
.selector-project-kicker{
  display:inline-block;
  color:#f0bd5a;
  font-size:9px;
  font-weight:900;
  letter-spacing:.08em;
}
.selector-project-card>strong{
  display:block;
  margin:7px 0;
  font-size:21px;
  line-height:1.08;
}
.selector-project-card>p{
  margin:0 auto 13px;
  color:#aaa49a;
  font-size:11px;
  line-height:1.45;
  max-width:330px;
}
.selector-project-tz{
  text-align:left;
  border:1px solid #403723;
  border-radius:11px;
  background:rgba(255,255,255,.025);
  padding:10px 11px;
}
.selector-project-tz b{display:block;color:#d9bd82;font-size:10px;margin-bottom:4px}
.selector-project-tz p{margin:0;color:#95928c;font-size:9px;line-height:1.45}
.selector-project-actions{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:8px;
  margin-top:10px;
}
.selector-project-actions button,
.selector-project-actions a{
  border-radius:9px;
  padding:9px 8px;
  font-size:10px;
  font-weight:800;
  cursor:pointer;
  text-align:center;
}
.selector-project-copy{
  border:1px solid #4b4436;
  background:#1d1b17;
  color:#d0c8b8;
}
.selector-project-actions a{
  border:1px solid #3c8fc0;
  background:#186897;
  color:#fff;
}
.selector-project-card>small{
  display:block;
  min-height:14px;
  margin-top:6px;
  color:#8e8a83;
  font-size:8px;
}

@media(min-width:1181px){
  .selector-project-card{width:340px;padding:14px;top:49%}
  .selector-project-visual{width:140px}
  .selector-project-card>strong{font-size:17px}
  .selector-project-card>p{font-size:9px;margin-bottom:9px}
  .selector-project-tz{padding:8px 9px}
  .selector-project-tz p{font-size:7.5px}
  .selector-project-actions{margin-top:7px}
  .selector-project-actions button,.selector-project-actions a{padding:7px 6px;font-size:8px}
}
@media(max-width:820px){
  .selector-project-card{
    position:relative;
    left:auto;top:auto;transform:none;
    width:100%;
    margin-top:12px;
  }
  .selector-project-actions{grid-template-columns:1fr}
}


/* =========================================================
   Recommendation emphasis v2
   ========================================================= */
.selector-reason-highlight{
  display:block;
  width:min(330px,100%);
  margin:12px auto 10px;
  padding:12px 14px;
  border:1px solid rgba(112,205,91,.34);
  border-radius:12px;
  background:linear-gradient(180deg,rgba(48,91,43,.22),rgba(25,44,24,.18));
  color:#dbe8d7;
  font-size:13px;
  line-height:1.45;
  text-align:left;
  box-shadow:0 10px 28px rgba(0,0,0,.16);
}
.selector-reason-highlight::before{
  content:"Почему эта модель";
  display:block;
  margin-bottom:5px;
  color:#94e17b;
  font-size:9px;
  line-height:1;
  font-weight:900;
  letter-spacing:.08em;
  text-transform:uppercase;
}
@media(min-width:1181px){
  .selector-reason-highlight{
    width:min(270px,100%);
    margin:8px auto 7px;
    padding:9px 10px;
    font-size:9.5px;
    line-height:1.38;
  }
  .selector-reason-highlight::before{
    font-size:7.5px;
    margin-bottom:4px;
  }
}
@media(max-width:820px){
  .selector-reason-highlight{
    width:min(340px,96%);
    font-size:12.5px;
  }
}


/* =========================================================
   Office scenarios v1
   ========================================================= */

/* Main question: one line on normal desktop, gracefully wraps on smaller screens */
@media(min-width:1181px){
  .selector-hero-heading{
    max-width:1180px;
  }
  .selector-hero-heading h1{
    font-size:clamp(30px,3.15vw,45px);
    white-space:nowrap;
    letter-spacing:-.04em;
  }
}
@media(max-width:1180px){
  .selector-hero-heading h1{
    white-space:normal;
  }
}

/* Printer pictogram */
.icon-printer{
  width:18px;height:11px;
  border:2px solid currentColor;
  border-radius:2px;
  display:block;
  position:relative;
}
.icon-printer:before{
  content:"";
  position:absolute;
  left:3px;right:3px;top:-8px;
  height:7px;
  border:2px solid currentColor;
  border-bottom:0;
}
.icon-printer:after{
  content:"";
  position:absolute;
  left:3px;right:3px;bottom:-6px;
  border-bottom:2px solid currentColor;
}

/* Server pictogram */
.icon-server{
  width:19px;height:17px;
  display:block;
  border:2px solid currentColor;
  border-radius:3px;
  position:relative;
}
.icon-server:before,
.icon-server:after{
  content:"";
  position:absolute;
  left:3px;right:3px;
  border-top:2px solid currentColor;
}
.icon-server:before{top:5px}
.icon-server:after{top:10px}

/* Manual current-router field in individual project */
.selector-project-current-device{
  display:block;
  text-align:left;
  margin:0 0 9px;
}
.selector-project-current-device span{
  display:block;
  margin-bottom:5px;
  color:#d8c49b;
  font-size:9px;
  font-weight:800;
  line-height:1.25;
}
.selector-project-current-device input{
  width:100%;
  border:1px solid #4a402c;
  border-radius:9px;
  background:#151410;
  color:#eee8dc;
  padding:9px 10px;
  outline:none;
  font:inherit;
  font-size:9px;
}
.selector-project-current-device input::placeholder{
  color:#6f6a61;
}
.selector-project-current-device input:focus{
  border-color:#98743a;
  box-shadow:0 0 0 2px rgba(202,154,67,.08);
}
@media(max-width:820px){
  .selector-project-current-device span{font-size:10px}
  .selector-project-current-device input{font-size:11px;padding:10px}
}


/* =========================================================
   Selector heading responsive fix v2
   Не заставляем заголовок быть в одну строку.
   Размер плавно подстраивается под ширину экрана.
   ========================================================= */
.selector-hero-heading{
  width:100%;
  max-width:1180px;
  padding-left:18px;
  padding-right:18px;
  box-sizing:border-box;
}
.selector-hero-heading h1{
  white-space:normal !important;
  overflow:visible !important;
  max-width:100% !important;
  margin-left:auto;
  margin-right:auto;
  font-size:clamp(24px, 3vw, 42px) !important;
  line-height:1.08 !important;
  text-wrap:balance;
}

@media(max-width:820px){
  .selector-hero-heading{
    padding-left:14px;
    padding-right:14px;
  }
  .selector-hero-heading h1{
    font-size:clamp(23px, 7vw, 34px) !important;
    line-height:1.1 !important;
  }
}


/* =========================================================
   Individual project visibility fix
   ========================================================= */
.selector-router-card[hidden]{
  display:none !important;
}
