/* Главная m1soft.ru: интерактивная схема экосистемы М1. */
.eco-hero { padding: calc(var(--header-height) + 56px) 0 24px; text-align: center; background: linear-gradient(180deg, #FFFBEB 0%, #FFFFFF 100%); }
.eco-hero h1 { font-size: 48px; font-weight: 800; line-height: 1.1; color: var(--color-dark); margin-bottom: 16px; }
.eco-hero h1 span { color: var(--color-primary); }
.eco-hero p { max-width: 680px; margin: 0 auto; font-size: 18px; color: var(--color-gray); line-height: 1.6; }

.eco-stage { padding: 16px 0 56px; }
.eco-layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(300px, 1fr); gap: 32px; align-items: start; }
.eco-board { background: var(--color-white); border-radius: 24px; box-shadow: 0 10px 40px rgba(0,0,0,.08); padding: 12px; }
#ecoSvg { width: 100%; height: auto; display: block; }

.eco-group rect { fill: #FFFBEB; stroke: var(--color-primary); stroke-width: 2.5; stroke-dasharray: 8 6; transition: opacity .35s, fill .35s; }
.eco-group-label { font: 700 12px Inter, sans-serif; fill: #8a6500; pointer-events: none; }
.eco-group.lit rect { fill: #FFF3CC; stroke-dasharray: none; stroke-width: 3.5; }
.eco-group.dim { opacity: .55; }
.eco-line { stroke: #d6d6d6; stroke-width: 3; stroke-linecap: round; transition: stroke .35s, opacity .35s, stroke-width .35s; }
.eco-line.on { stroke: var(--color-primary); stroke-width: 5; stroke-dasharray: 10 8; animation: eco-flow 1s linear infinite; }
.eco-line.dim { opacity: .35; }
@keyframes eco-flow { to { stroke-dashoffset: -18; } }

.eco-node { cursor: pointer; outline: none; transition: opacity .35s; }
.eco-node rect { fill: var(--color-white); stroke: #cfcfcf; stroke-width: 2; transition: fill .35s, stroke .35s; }
.eco-node.eco-app rect { fill: var(--color-dark); stroke: var(--color-dark); }
.eco-node .eco-label { font: 700 17px Inter, sans-serif; fill: var(--color-dark); pointer-events: none; }
.eco-node .eco-sub { font: 500 12px Inter, sans-serif; fill: var(--color-gray); pointer-events: none; }
.eco-node.eco-app .eco-label { fill: #fff; }
.eco-node.eco-app .eco-sub { fill: #c9c9c9; }
.eco-node:hover rect, .eco-node:focus-visible rect { stroke: var(--color-primary); stroke-width: 4; }
.eco-node.lit rect { stroke: var(--color-primary); stroke-width: 4; }
.eco-node.eco-infra.lit rect { fill: #FFF3CC; }
.eco-node[aria-pressed="true"] rect { stroke-width: 6; }
.eco-node.dim { opacity: .45; }

.eco-panel { background: var(--color-light-gray); border-radius: 24px; padding: 24px; min-height: 280px; }
.eco-hint { color: var(--color-gray); font-size: 16px; line-height: 1.6; }
.eco-head h3 { font-size: 24px; font-weight: 800; margin-bottom: 8px; color: var(--color-dark); }
.eco-head p { color: var(--color-gray); line-height: 1.6; margin-bottom: 16px; }
.eco-more { display: inline-block; margin-bottom: 16px; }
.eco-steps { display: grid; gap: 18px; }
.eco-step { display: grid; gap: 10px; animation: eco-in .4s ease both; }
.eco-step-title { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: baseline; font-size: 14px; color: var(--color-dark); }
.eco-step-title span { background: var(--color-primary); color: var(--color-dark); font-weight: 700; font-size: 12px; padding: 3px 10px; border-radius: 100px; }
.eco-controls { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; }
.eco-progress { font-size: 14px; font-weight: 600; color: var(--color-gray); white-space: nowrap; }
.eco-btns { display: flex; gap: 8px; }
.eco-btn { font: 600 14px Inter, sans-serif; border: 2px solid var(--color-dark); background: transparent; color: var(--color-dark); border-radius: 100px; padding: 8px 16px; cursor: pointer; }
.eco-btn:hover:not(:disabled) { background: var(--color-dark); color: #fff; }
.eco-btn:disabled { opacity: .35; cursor: default; }
.eco-btn:focus-visible { outline: 3px solid var(--color-primary); outline-offset: 2px; }
.eco-card { background: var(--color-white); border-radius: 16px; padding: 14px 16px; border-left: 4px solid var(--color-primary); animation: eco-in .4s ease both; }
.eco-card-route { display: block; font-size: 12px; font-weight: 600; color: var(--color-gray); text-transform: uppercase; letter-spacing: .03em; margin-bottom: 2px; }
.eco-card-title { display: block; font-size: 16px; color: var(--color-dark); margin-bottom: 4px; }
.eco-card p { font-size: 14px; color: var(--color-gray); line-height: 1.5; }
@keyframes eco-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.eco-list { padding: 24px 0 72px; }
.eco-list ul { max-width: 820px; margin: 0 auto; display: grid; gap: 14px; }
.eco-list li { background: var(--color-light-gray); border-radius: 16px; padding: 16px 20px; }
.eco-list li strong { display: block; color: var(--color-dark); margin-bottom: 4px; }
.eco-list li span { font-size: 12px; font-weight: 600; text-transform: uppercase; color: var(--color-gray); letter-spacing: .03em; display: block; }
.eco-list li p { color: var(--color-gray); font-size: 15px; line-height: 1.5; }
html.eco-js .eco-list-details { }

.eco-products { padding: 0 0 72px; }
.eco-products-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.eco-product { display: block; background: var(--color-white); border-radius: 24px; padding: 28px; box-shadow: 0 8px 30px rgba(0,0,0,.07); text-decoration: none; transition: transform .25s, box-shadow .25s; }
.eco-product:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(0,0,0,.12); }
.eco-product h3 { font-size: 22px; font-weight: 800; color: var(--color-dark); margin-bottom: 8px; }
.eco-product p { color: var(--color-gray); line-height: 1.5; margin-bottom: 14px; }
.eco-product b { color: var(--color-dark); }

@media (max-width: 900px) { .eco-layout { grid-template-columns: 1fr; } .eco-hero h1 { font-size: 36px; } }
@media (max-width: 640px) { .eco-hero { padding-top: calc(var(--header-height) + 32px); } .eco-hero p { font-size: 16px; } .eco-panel { padding: 18px; } }
@media (prefers-reduced-motion: reduce) {
  .eco-line.on { animation: none; }
  .eco-card, .eco-step { animation: none; }
  .eco-line, .eco-node, .eco-node rect, .eco-product { transition: none; }
}

/* Клик по активной связи: выделение и фокус блока в панели. */
.eco-hit { stroke: transparent; stroke-width: 26; stroke-linecap: round; pointer-events: stroke; }
.eco-hit.live { cursor: pointer; }
.eco-line.sel { stroke-width: 7; }
.eco-step { border-radius: 16px; }
.eco-step.eco-focus { outline: 3px solid var(--color-primary); outline-offset: 6px; background: #FFF8E1; animation: eco-pulse .9s ease 1; }
.eco-step:focus { outline: 3px solid var(--color-primary); outline-offset: 6px; }
@keyframes eco-pulse { 0% { box-shadow: 0 0 0 0 rgba(255,184,0,.6); } 100% { box-shadow: 0 0 0 16px rgba(255,184,0,0); } }
@media (prefers-reduced-motion: reduce) { .eco-step.eco-focus { animation: none; } }

@media (min-width: 901px) { .eco-board { position: sticky; top: calc(var(--header-height) + 16px); } }

/* Облако рисуется формой облака. */
.eco-node.eco-cloud path { fill: #F0F6FF; stroke: #b9cdea; stroke-width: 2.5; transition: fill .35s, stroke .35s; }
.eco-node.eco-cloud:hover path, .eco-node.eco-cloud:focus-visible path { stroke: var(--color-primary); stroke-width: 4; }
.eco-node.eco-cloud.lit path { stroke: var(--color-primary); stroke-width: 4; fill: #FFF3CC; }
.eco-node.eco-cloud[aria-pressed="true"] path { stroke-width: 6; }

/* М1 Про — в виде смартфона. */
.eco-node.eco-app .eco-phone-body { fill: var(--color-dark); stroke: var(--color-dark); stroke-width: 2; }
.eco-node.eco-app .eco-phone-screen { fill: #2b2b2b; stroke: none; }
.eco-node.eco-app .eco-phone-notch { fill: #6b6b6b; stroke: none; }
.eco-node:hover .eco-phone-body, .eco-node:focus-visible .eco-phone-body, .eco-node.lit .eco-phone-body { stroke: var(--color-primary); stroke-width: 4; }
.eco-node:hover .eco-phone-screen, .eco-node.lit .eco-phone-screen, .eco-node:hover .eco-phone-notch, .eco-node.lit .eco-phone-notch { stroke: none; }
.eco-node[aria-pressed="true"] .eco-phone-body { stroke-width: 6; }

/* М1 Десктоп — в виде компьютера. */
.eco-node.eco-app .eco-pc-body { fill: var(--color-dark); stroke: var(--color-dark); stroke-width: 2; }
.eco-node.eco-app .eco-pc-screen { fill: #2b2b2b; stroke: none; }
.eco-node.eco-app .eco-pc-stand { fill: #555; stroke: none; }
.eco-node:hover .eco-pc-body, .eco-node:focus-visible .eco-pc-body, .eco-node.lit .eco-pc-body { stroke: var(--color-primary); stroke-width: 4; }
.eco-node:hover .eco-pc-screen, .eco-node.lit .eco-pc-screen, .eco-node:hover .eco-pc-stand, .eco-node.lit .eco-pc-stand { stroke: none; }
.eco-node[aria-pressed="true"] .eco-pc-body { stroke-width: 6; }

/* М1 Производство — завод со складом; подпись под зданием. */
.eco-node.eco-app .eco-fac-body { fill: var(--color-dark); stroke: var(--color-dark); stroke-width: 2; stroke-linejoin: round; }
.eco-node.eco-app .eco-fac-window { fill: var(--color-primary); stroke: none; }
.eco-node.eco-app .eco-fac-door { fill: #555; stroke: none; }
.eco-node.eco-app .eco-fac-slat { stroke: var(--color-dark); stroke-width: 2; }
.eco-node.eco-app .eco-fac-smoke { fill: #c9c9c9; stroke: none; }
.eco-node:hover .eco-fac-body, .eco-node:focus-visible .eco-fac-body, .eco-node.lit .eco-fac-body { stroke: var(--color-primary); stroke-width: 3; }
.eco-node:hover .eco-fac-window, .eco-node.lit .eco-fac-window, .eco-node:hover .eco-fac-door, .eco-node.lit .eco-fac-door { stroke: none; }
.eco-node[aria-pressed="true"] .eco-fac-body { stroke-width: 5; }
.eco-node.eco-app.eco-shape-factory .eco-label { fill: var(--color-dark); }
.eco-node.eco-app.eco-shape-factory .eco-sub { fill: var(--color-gray); }

/* Номера этапов на линиях: совпадают с «Этап N» в панели. */
.eco-badge { cursor: pointer; outline: none; animation: eco-pop .35s ease both; }
.eco-badge circle { fill: var(--color-primary); stroke: #fff; stroke-width: 2.5; transition: fill .2s; }
.eco-badge text { font: 800 12px Inter, sans-serif; fill: var(--color-dark); text-anchor: middle; dominant-baseline: central; pointer-events: none; }
.eco-badge:hover circle, .eco-badge:focus-visible circle, .eco-badge.sel circle { fill: var(--color-dark); stroke: var(--color-primary); }
.eco-badge:hover text, .eco-badge:focus-visible text, .eco-badge.sel text { fill: #fff; }
@keyframes eco-pop { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .eco-badge { animation: none; } .eco-badge circle { transition: none; } }

/* Страница клиента — человек-клиент с листом заказа; подпись под фигурой. */
.eco-node .eco-per-body { fill: var(--color-dark); stroke: var(--color-dark); stroke-width: 2; stroke-linejoin: round; }
.eco-node .eco-per-tie { fill: var(--color-primary); stroke: none; }
.eco-node .eco-per-doc { fill: #fff; stroke: var(--color-dark); stroke-width: 2; }
.eco-node .eco-per-line { stroke: var(--color-primary); stroke-width: 2.5; stroke-linecap: round; }
.eco-node:hover .eco-per-body, .eco-node:focus-visible .eco-per-body, .eco-node.lit .eco-per-body { stroke: var(--color-primary); stroke-width: 3; }
.eco-node:hover .eco-per-doc, .eco-node:focus-visible .eco-per-doc, .eco-node.eco-infra.lit .eco-per-doc { fill: #fff; stroke: var(--color-dark); stroke-width: 2; }
.eco-node[aria-pressed="true"] .eco-per-body { stroke-width: 5; }

/* Переключатель 2D / 3D и подсказки режима. */
.eco-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 6px 10px 8px; }
html:not(.eco-js) .eco-toolbar { display: none; }
.eco-seg { display: inline-flex; border: 2px solid var(--color-dark); border-radius: 100px; overflow: hidden; }
.eco-seg button { font: 700 13px Inter, sans-serif; padding: 6px 16px; border: 0; background: transparent; color: var(--color-dark); cursor: pointer; }
.eco-seg button[aria-pressed="true"] { background: var(--color-dark); color: #fff; }
.eco-seg button:focus-visible, .eco-reset:focus-visible { outline: 3px solid var(--color-primary); outline-offset: 2px; }
.eco-reset { font: 600 13px Inter, sans-serif; border: 2px solid var(--color-dark); background: transparent; color: var(--color-dark); border-radius: 100px; padding: 5px 14px; cursor: pointer; }
.eco-reset:hover { background: var(--color-dark); color: #fff; }
.eco-view-hint { font-size: 12px; color: var(--color-gray); line-height: 1.4; flex: 1 1 220px; }
#ecoSvg.eco-3d { cursor: grab; touch-action: pan-y; }
#ecoSvg.eco-3d:active { cursor: grabbing; }
#ecoSvg.eco-3d .eco-node, #ecoSvg.eco-3d .eco-badge { cursor: pointer; }

/* Веб-кабинет — офис; 1С — знак 1С (жёлтая плашка, красное «1С»). */
.eco-node .eco-off-body { fill: var(--color-dark); stroke: var(--color-dark); stroke-width: 2; }
.eco-node .eco-off-win { fill: var(--color-primary); stroke: none; }
.eco-node .eco-off-door { fill: #555; stroke: none; }
.eco-node:hover .eco-off-body, .eco-node:focus-visible .eco-off-body, .eco-node.eco-infra.lit .eco-off-body { fill: var(--color-dark); stroke: var(--color-primary); stroke-width: 3; }
.eco-node:hover .eco-off-win, .eco-node.eco-infra.lit .eco-off-win { fill: var(--color-primary); stroke: none; }
.eco-node:hover .eco-off-door, .eco-node.eco-infra.lit .eco-off-door { fill: #555; stroke: none; }
.eco-node[aria-pressed="true"] .eco-off-body { stroke-width: 5; }
.eco-node .eco-l1c-badge { fill: #FFD200; stroke: #1a1a1a; stroke-width: 2; }
.eco-node:hover .eco-l1c-badge, .eco-node:focus-visible .eco-l1c-badge, .eco-node.eco-infra.lit .eco-l1c-badge { fill: #FFD200; stroke: var(--color-primary); stroke-width: 4; }
.eco-node[aria-pressed="true"] .eco-l1c-badge { stroke-width: 6; }
.eco-node.eco-shape-logo1c .eco-label { font: 800 30px Inter, sans-serif; fill: #D5001C; }
.eco-node.eco-shape-logo1c .eco-sub { fill: var(--color-gray); }

/* Пояснение, почему волна остановилась. */
.eco-note { font-size: 13px; line-height: 1.5; color: var(--color-dark); background: #FFF3CC; border-left: 4px solid var(--color-primary); border-radius: 10px; padding: 8px 12px; margin: 0 0 16px; }

/* ===== Многоцветные фигуры (смартфон, компьютер, завод, человек) ===== */
.eco-node .eco-deco, .eco-node:hover .eco-deco, .eco-node:focus-visible .eco-deco, .eco-node.lit .eco-deco, .eco-node[aria-pressed="true"] .eco-deco { stroke: none; }
.eco-node.eco-app .eco-deco, .eco-node.eco-app:hover .eco-deco, .eco-node.eco-app:focus-visible .eco-deco, .eco-node.eco-app.lit .eco-deco, .eco-node.eco-app[aria-pressed="true"] .eco-deco { stroke: none; }
/* смартфон */
.eco-node.eco-app .eco-phone-body { fill: #2B2D42; stroke: #2B2D42; }
.eco-node.eco-app .eco-phone-screen { fill: url(#ecoGPhone); stroke: none; }
.eco-node.eco-app .eco-phone-notch { fill: #C8CDD6; }
.eco-node.eco-app .eco-ph-head { fill: #3B82F6; }
.eco-node.eco-app .eco-ph-chip1 { fill: #F472B6; } .eco-node.eco-app .eco-ph-chip2 { fill: #2DD4BF; } .eco-node.eco-app .eco-ph-chip3 { fill: #8B5CF6; }
.eco-node.eco-app .eco-ph-plate, .eco-node.eco-app .eco-pc-plate { fill: #1F2430; }
/* компьютер */
.eco-node.eco-app .eco-pc-body { fill: #2F3542; stroke: #2F3542; }
.eco-node.eco-app .eco-pc-screen { fill: url(#ecoGMon); stroke: none; }
.eco-node.eco-app .eco-pc-title { fill: #4F8CFF; } .eco-node.eco-app .eco-pc-side { fill: rgba(255, 255, 255, .22); }
.eco-node.eco-app .eco-pc-d1 { fill: #FF5F57; } .eco-node.eco-app .eco-pc-d2 { fill: #FEBC2E; } .eco-node.eco-app .eco-pc-d3 { fill: #28C840; }
.eco-node.eco-app .eco-pc-b1 { fill: #FFB800; } .eco-node.eco-app .eco-pc-b2 { fill: #2DD4BF; } .eco-node.eco-app .eco-pc-b3 { fill: #F472B6; }
.eco-node.eco-app .eco-pc-stand { fill: #C8CDD6; } .eco-node.eco-app .eco-pc-base { fill: #AEB6C2; }
/* завод со складом */
.eco-node.eco-app .eco-fac-wall { fill: #D9694B; } .eco-node.eco-app .eco-fac-saw { fill: #4A6FA5; }
.eco-node.eco-app .eco-fac-chim { fill: #A8452F; } .eco-node.eco-app .eco-fac-wh { fill: #3AA6A0; }
.eco-node.eco-app .eco-fac-whroof { fill: #2C6E7F; }
.eco-node.eco-app .eco-fac-window { fill: #FFE08A; } .eco-node.eco-app .eco-fac-door { fill: #EBEEF0; }
.eco-node.eco-app .eco-fac-slat { stroke: #96A0A8; }
/* человек */
.eco-node .eco-per-jacket { fill: #2D6CDF; stroke: #1B4DB0; } .eco-node .eco-per-head { fill: #F2C6A0; stroke: #C99770; }
.eco-node .eco-per-shirt { fill: #FFFFFF; stroke: none; } .eco-node .eco-per-hair { fill: #3A2A22; stroke: none; }
.eco-node .eco-per-eye { fill: #1A1A1A; stroke: none; }
.eco-node .eco-per-l1 { stroke: #2DD4BF; } .eco-node .eco-per-l2 { stroke: #F472B6; } .eco-node .eco-per-l3 { stroke: #3B82F6; }
/* подсветка по-прежнему обводкой амбер (hover/lit/выбор) у основных частей */
.eco-node:hover .eco-per-jacket, .eco-node.lit .eco-per-jacket, .eco-node:focus-visible .eco-per-jacket { stroke: var(--color-primary); }

/* ===== Облако в общем стиле: голубой градиент, блик, цветные «данные» ===== */
.eco-node.eco-cloud .eco-cloud-body { fill: url(#ecoGCloud); stroke: #1F3A66; stroke-width: 2.5; }
.eco-node.eco-cloud:hover .eco-cloud-body, .eco-node.eco-cloud:focus-visible .eco-cloud-body, .eco-node.eco-cloud.lit .eco-cloud-body { fill: url(#ecoGCloud); stroke: var(--color-primary); stroke-width: 4; }
.eco-node.eco-cloud[aria-pressed="true"] .eco-cloud-body { stroke-width: 6; }
.eco-node.eco-cloud .eco-cloud-hl, .eco-node.eco-cloud.lit .eco-cloud-hl { fill: rgba(255, 255, 255, .6); stroke: none; }
.eco-node.eco-cloud .eco-cloud-b1 { fill: #FFB800; } .eco-node.eco-cloud .eco-cloud-b2 { fill: #2DD4BF; } .eco-node.eco-cloud .eco-cloud-b3 { fill: #F472B6; }
.eco-node.eco-cloud .eco-deco { stroke: none; }

/* ===== Гроза (нет сети): анимированные тучи, молнии, дождь; обрывы связей; солнце ===== */
.eco-storm { font: 700 13px Inter, sans-serif; border: 2px solid var(--color-dark); background: transparent; color: var(--color-dark); border-radius: 100px; padding: 6px 14px; cursor: pointer; }
.eco-storm:hover { background: var(--color-dark); color: #fff; }
.eco-storm[aria-pressed="true"] { background: #2b3350; border-color: #2b3350; color: #FFD400; }
.eco-storm:focus-visible { outline: 3px solid var(--color-primary); outline-offset: 2px; }
.eco-board { transition: background .6s ease; }
.eco-board.eco-board-storm { background: #E3E8F1; }
.eco-weather, .eco-sparks, .eco-packets, .eco-queues { pointer-events: none; }
/* туча дрейфует, молнии мерцают по очереди, дождь падает со сдвигом по фазе */
.eco-storm-cloud { animation: eco-drift 5s ease-in-out infinite alternate; }
@keyframes eco-drift { from { transform: translateX(-7px); } to { transform: translateX(7px); } }
.eco-bolt { fill: #FFD400; stroke: #fff; stroke-width: 1.5; stroke-linejoin: round; opacity: 0; filter: drop-shadow(0 0 6px #FFD400); }
.eco-bolt1 { animation: eco-bolt 3.1s linear infinite; }
.eco-bolt2 { animation: eco-bolt 4.3s linear infinite 1.1s; }
.eco-bolt3 { animation: eco-bolt 5.2s linear infinite 2.3s; }
@keyframes eco-bolt { 0%, 86%, 100% { opacity: 0; } 88% { opacity: 1; } 90% { opacity: .2; } 92% { opacity: 1; } 96% { opacity: 0; } }
.eco-drop { stroke: #4F8CFF; stroke-width: 2; stroke-linecap: round; opacity: 0; animation: eco-fall .9s linear infinite; animation-delay: var(--d, 0s); }
@keyframes eco-fall { 0% { transform: translateY(0); opacity: 0; } 15% { opacity: .9; } 100% { transform: translateY(78px); opacity: 0; } }
/* солнце: вращающиеся лучи и пульсирующий диск */
.eco-sun-rays { animation: eco-spin 9s linear infinite; }
.eco-sun-ray { stroke: #FFB300; stroke-width: 3.5; stroke-linecap: round; }
@keyframes eco-spin { to { transform: rotate(360deg); } }
.eco-sun-disc { animation: eco-sunpulse 2s ease-in-out infinite; }
@keyframes eco-sunpulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.08); } }
/* обрыв связи: линия разорвана посередине, на разрыве мигает искра */
.eco-line.cut { stroke: #9aa3b2; stroke-width: 3; stroke-dasharray: 26 48; opacity: .85; }
.eco-spark { fill: #FFD400; stroke: #fff; stroke-width: 1.5; animation: eco-spark .5s steps(2) infinite; filter: drop-shadow(0 0 4px #FFD400); }
@keyframes eco-spark { 0% { opacity: 1; r: 5; } 50% { opacity: .25; r: 2.5; } 100% { opacity: 1; r: 5; } }
/* очередь у узла и бегущие пакеты данных */
.eco-qbadge circle { fill: #E11D48; stroke: #fff; stroke-width: 2.5; animation: eco-qpulse 1.2s ease-in-out infinite; }
.eco-qbadge text { font: 800 13px Inter, sans-serif; fill: #fff; text-anchor: middle; dominant-baseline: central; }
@keyframes eco-qpulse { 0%, 100% { opacity: 1; } 50% { opacity: .75; } }
.eco-packet { stroke: #fff; stroke-width: 1.5; filter: drop-shadow(0 0 4px rgba(255, 184, 0, .9)); }
.eco-packet-data { fill: #FFB800; }
.eco-packet-media { fill: #F472B6; filter: drop-shadow(0 0 4px rgba(244, 114, 182, .9)); }
/* панель грозы: статус каждого узла без сети */
.eco-offlist { display: grid; gap: 8px; margin-bottom: 12px; }
.eco-offrow { display: grid; gap: 2px; background: var(--color-white); border-radius: 12px; padding: 9px 12px; border-left: 4px solid #cfcfcf; }
.eco-offrow b { font-size: 15px; color: var(--color-dark); }
.eco-offrow p { font-size: 13px; line-height: 1.45; color: var(--color-gray); }
.eco-offtag { font-size: 12px; font-weight: 700; color: var(--color-gray); text-transform: uppercase; letter-spacing: .03em; }
.eco-off-queue { border-left-color: #E11D48; } .eco-off-queue .eco-offtag { color: #E11D48; }
.eco-off-wait { border-left-color: #9aa3b2; } .eco-off-local { border-left-color: #2DD4BF; } .eco-off-local .eco-offtag { color: #0f9d8a; }
.eco-count { font-style: normal; font-variant-numeric: tabular-nums; }
@media (prefers-reduced-motion: reduce) {
  .eco-storm-cloud, .eco-sun-rays, .eco-sun-disc, .eco-spark, .eco-qbadge circle { animation: none; }
  .eco-bolt { animation: none; opacity: 1; }
  .eco-drop { animation: none; opacity: .7; }
  .eco-board { transition: none; }
}

/* ===== Liquid glass: стеклянные корпуса, светлая кромка, глянец, мягкие тени, матовое стекло интерфейса ===== */
.eco-node.eco-app .eco-phone-body { fill: url(#ecoGlSlate); stroke: url(#ecoGlRim); stroke-width: 1.6; stroke-linejoin: round; }
.eco-node.eco-app .eco-pc-body { fill: url(#ecoGlSlate); stroke: url(#ecoGlRim); stroke-width: 1.6; stroke-linejoin: round; }
.eco-node.eco-app .eco-fac-wall { fill: url(#ecoGlCoral); stroke: url(#ecoGlRim); stroke-width: 2; stroke-linejoin: round; }
.eco-node.eco-app .eco-fac-saw { fill: url(#ecoGlBlue); stroke: url(#ecoGlRim); stroke-width: 2; stroke-linejoin: round; }
.eco-node.eco-app .eco-fac-chim { fill: url(#ecoGlCoral); stroke: url(#ecoGlRim); stroke-width: 2; stroke-linejoin: round; }
.eco-node.eco-app .eco-fac-wh { fill: url(#ecoGlTeal); stroke: url(#ecoGlRim); stroke-width: 2; stroke-linejoin: round; }
.eco-node.eco-app .eco-fac-whroof { fill: url(#ecoGlTeal); stroke: url(#ecoGlRim); stroke-width: 2; stroke-linejoin: round; }
.eco-node.eco-infra .eco-off-body { fill: url(#ecoGlIndigo); stroke: url(#ecoGlRim); stroke-width: 2; stroke-linejoin: round; }
.eco-node.eco-infra .eco-l1c-badge { fill: url(#ecoGlYellow); stroke: url(#ecoGlRim); stroke-width: 1.6; stroke-linejoin: round; }
.eco-node.eco-infra .eco-per-jacket { fill: url(#ecoGlBlue); stroke: url(#ecoGlRim); stroke-width: 2; stroke-linejoin: round; }
.eco-node.eco-infra .eco-per-head { fill: url(#ecoGlSkin); stroke: url(#ecoGlRim); stroke-width: 2; stroke-linejoin: round; }
.eco-node.eco-cloud .eco-cloud-body { fill: url(#ecoGlSky); stroke: url(#ecoGlRim); stroke-width: 1.6; stroke-linejoin: round; }
.eco-node.eco-app:hover .eco-phone-body, .eco-node.eco-app:focus-visible .eco-phone-body, .eco-node.eco-app.lit .eco-phone-body { stroke: var(--color-primary); stroke-width: 3.5; }
.eco-node.eco-app[aria-pressed="true"] .eco-phone-body { stroke: var(--color-primary); stroke-width: 5; }
.eco-node.eco-app:hover .eco-pc-body, .eco-node.eco-app:focus-visible .eco-pc-body, .eco-node.eco-app.lit .eco-pc-body { stroke: var(--color-primary); stroke-width: 3.5; }
.eco-node.eco-app[aria-pressed="true"] .eco-pc-body { stroke: var(--color-primary); stroke-width: 5; }
.eco-node.eco-app:hover .eco-fac-wall, .eco-node.eco-app:focus-visible .eco-fac-wall, .eco-node.eco-app.lit .eco-fac-wall { stroke: var(--color-primary); stroke-width: 3.5; }
.eco-node.eco-app[aria-pressed="true"] .eco-fac-wall { stroke: var(--color-primary); stroke-width: 5; }
.eco-node.eco-app:hover .eco-fac-saw, .eco-node.eco-app:focus-visible .eco-fac-saw, .eco-node.eco-app.lit .eco-fac-saw { stroke: var(--color-primary); stroke-width: 3.5; }
.eco-node.eco-app[aria-pressed="true"] .eco-fac-saw { stroke: var(--color-primary); stroke-width: 5; }
.eco-node.eco-app:hover .eco-fac-chim, .eco-node.eco-app:focus-visible .eco-fac-chim, .eco-node.eco-app.lit .eco-fac-chim { stroke: var(--color-primary); stroke-width: 3.5; }
.eco-node.eco-app[aria-pressed="true"] .eco-fac-chim { stroke: var(--color-primary); stroke-width: 5; }
.eco-node.eco-app:hover .eco-fac-wh, .eco-node.eco-app:focus-visible .eco-fac-wh, .eco-node.eco-app.lit .eco-fac-wh { stroke: var(--color-primary); stroke-width: 3.5; }
.eco-node.eco-app[aria-pressed="true"] .eco-fac-wh { stroke: var(--color-primary); stroke-width: 5; }
.eco-node.eco-app:hover .eco-fac-whroof, .eco-node.eco-app:focus-visible .eco-fac-whroof, .eco-node.eco-app.lit .eco-fac-whroof { stroke: var(--color-primary); stroke-width: 3.5; }
.eco-node.eco-app[aria-pressed="true"] .eco-fac-whroof { stroke: var(--color-primary); stroke-width: 5; }
.eco-node.eco-infra:hover .eco-off-body, .eco-node.eco-infra:focus-visible .eco-off-body, .eco-node.eco-infra.lit .eco-off-body { stroke: var(--color-primary); stroke-width: 3.5; }
.eco-node.eco-infra[aria-pressed="true"] .eco-off-body { stroke: var(--color-primary); stroke-width: 5; }
.eco-node.eco-infra:hover .eco-l1c-badge, .eco-node.eco-infra:focus-visible .eco-l1c-badge, .eco-node.eco-infra.lit .eco-l1c-badge { stroke: var(--color-primary); stroke-width: 3.5; }
.eco-node.eco-infra[aria-pressed="true"] .eco-l1c-badge { stroke: var(--color-primary); stroke-width: 5; }
.eco-node.eco-infra:hover .eco-per-jacket, .eco-node.eco-infra:focus-visible .eco-per-jacket, .eco-node.eco-infra.lit .eco-per-jacket { stroke: var(--color-primary); stroke-width: 3.5; }
.eco-node.eco-infra[aria-pressed="true"] .eco-per-jacket { stroke: var(--color-primary); stroke-width: 5; }
.eco-node.eco-infra:hover .eco-per-head, .eco-node.eco-infra:focus-visible .eco-per-head, .eco-node.eco-infra.lit .eco-per-head { stroke: var(--color-primary); stroke-width: 3.5; }
.eco-node.eco-infra[aria-pressed="true"] .eco-per-head { stroke: var(--color-primary); stroke-width: 5; }
.eco-node.eco-cloud:hover .eco-cloud-body, .eco-node.eco-cloud:focus-visible .eco-cloud-body, .eco-node.eco-cloud.lit .eco-cloud-body { stroke: var(--color-primary); stroke-width: 3.5; }
.eco-node.eco-cloud[aria-pressed="true"] .eco-cloud-body { stroke: var(--color-primary); stroke-width: 5; }

/* стекло поверх содержимого: тень объёма и мягкое свечение окон */
.eco-flat { filter: drop-shadow(0 10px 9px rgba(16, 24, 70, .34)) drop-shadow(0 2px 2px rgba(16, 24, 70, .3)); }
.eco-node.eco-app .eco-phone-screen { fill-opacity: 1; }
.eco-node.eco-app .eco-ph-plate, .eco-node.eco-app .eco-pc-plate { fill: rgba(24, 30, 52, .74); }
.eco-node.eco-app .eco-fac-window, .eco-node .eco-off-win { fill: #FFE9A8; filter: drop-shadow(0 0 3px rgba(255, 196, 64, .95)); }
.eco-node.eco-app .eco-pc-stand { fill: rgba(220, 228, 245, .85); } .eco-node.eco-app .eco-pc-base { fill: rgba(196, 208, 232, .85); }
.eco-node .eco-per-hair { fill: rgba(58, 42, 34, .92); }

/* фон схемы: мягкое цветное свечение, чтобы стекло читалось как стекло */
.eco-board { background: radial-gradient(120% 90% at 8% 0%, #ffe6d2 0%, rgba(255, 230, 210, 0) 55%), radial-gradient(100% 80% at 100% 8%, #d8e6ff 0%, rgba(216, 230, 255, 0) 60%), radial-gradient(90% 90% at 50% 125%, #e4d9ff 0%, rgba(228, 217, 255, 0) 62%), #f6f8ff;
  border: 1px solid rgba(255, 255, 255, .95); box-shadow: inset 0 1px 0 #fff, 0 16px 44px rgba(60, 80, 150, .16); }
.eco-board.eco-board-storm { background: radial-gradient(110% 80% at 50% 0%, #aeb9d4 0%, rgba(174, 185, 212, 0) 70%), #d9e0ee; }
.eco-group rect { fill: rgba(255, 242, 204, .42); }
.eco-group.lit rect { fill: rgba(255, 233, 160, .55); }

/* матовое стекло интерфейса: панель, карточки, кнопки */
.eco-panel { background: rgba(255, 255, 255, .5); -webkit-backdrop-filter: blur(18px) saturate(1.5); backdrop-filter: blur(18px) saturate(1.5);
  border: 1px solid rgba(255, 255, 255, .9); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .95), 0 14px 38px rgba(60, 80, 150, .13); }
.eco-card, .eco-offrow { background: rgba(255, 255, 255, .72); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, .95); border-left-width: 4px; box-shadow: 0 4px 16px rgba(60, 80, 150, .09); }
.eco-card { border-left-color: var(--color-primary); }
.eco-off-queue { border-left-color: #E11D48; } .eco-off-wait { border-left-color: #9aa3b2; } .eco-off-local { border-left-color: #2DD4BF; }
.eco-note { background: rgba(255, 243, 204, .75); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.eco-seg, .eco-btn, .eco-reset, .eco-storm { background: rgba(255, 255, 255, .55); -webkit-backdrop-filter: blur(10px) saturate(1.4); backdrop-filter: blur(10px) saturate(1.4);
  border: 1px solid rgba(255, 255, 255, .95); box-shadow: 0 3px 12px rgba(60, 80, 150, .16), inset 0 1px 0 #fff; }
.eco-seg button { background: transparent; }
.eco-seg button[aria-pressed="true"] { background: linear-gradient(180deg, #3b4358, #1f2433); color: #fff; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35); }
.eco-btn:hover:not(:disabled), .eco-reset:hover, .eco-storm:hover { background: linear-gradient(180deg, #3b4358, #1f2433); color: #fff; }
.eco-storm[aria-pressed="true"] { background: linear-gradient(180deg, #3d4a78, #232a4a); border-color: rgba(255, 255, 255, .4); color: #FFD400; }
.eco-qbadge circle { filter: drop-shadow(0 2px 4px rgba(225, 29, 72, .5)); }

/* Фото-значки узлов (2D): подписи тёмные под фото, подсветка — янтарное свечение по контуру фото. */
.eco-node.eco-photo-node .eco-label { fill: var(--color-dark); }
.eco-node.eco-photo-node .eco-sub { fill: var(--color-gray); }
.eco-photo { transition: filter .35s; }
.eco-node:hover .eco-photo, .eco-node:focus-visible .eco-photo, .eco-node.lit .eco-photo { filter: drop-shadow(0 0 6px rgba(255, 184, 0, .95)); }
.eco-node[aria-pressed="true"] .eco-photo { filter: drop-shadow(0 0 10px rgba(255, 184, 0, 1)) drop-shadow(0 0 4px rgba(255, 184, 0, 1)); }
@media (prefers-reduced-motion: reduce) { .eco-photo { transition: none; } }

/* Фото-погода: молнии вспыхивают (те же ключевые кадры, что у векторных), солнце — пульсирует со своего центра. */
.eco-bolt-img { opacity: 0; filter: drop-shadow(0 0 4px rgba(255, 255, 255, .95)) drop-shadow(0 0 10px rgba(140, 110, 255, .9)); }
.eco-sun-img { transform-box: fill-box; transform-origin: center; filter: drop-shadow(0 0 10px rgba(255, 190, 40, .55)); }
.eco-storm-cloud image { filter: drop-shadow(0 6px 8px rgba(16, 24, 70, .3)); }
@media (prefers-reduced-motion: reduce) { .eco-bolt-img.eco-bolt1 { animation: none; opacity: 1; } .eco-bolt-img.eco-bolt2, .eco-bolt-img.eco-bolt3 { animation: none; opacity: 0; } }
