.ecs-confirm-msg {
  margin: 0 0 4px;
  color: #363F48;
  font-size: 14.5px;
  line-height: 1.45;
}
.ecs-dash { color: #1a2421; width: 100%; }
.ecs-dash-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.ecs-dash-head h1 { margin: 0; font-size: 22px; font-weight: 750; letter-spacing: -.02em; }
.ecs-title { display: block; margin-top: 4px; border: 0; background: transparent; font: inherit; font-size: 20px; font-weight: 750; letter-spacing: -.02em; color: #1a2421; width: min(420px, 100%); padding: 0; }
.ecs-declare { display: flex; flex-wrap: wrap; gap: 10px 12px; margin-top: 6px; }
.ecs-declare label { display: flex; flex-direction: column; gap: 4px; font-size: 10px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: #6B7280; }
.ecs-declare select {
  appearance: none;
  -webkit-appearance: none;
  height: 36px;
  min-width: 200px;
  border: 1px solid #E5E7EB;
  border-radius: 8px;
  padding: 0 32px 0 12px;
  font: inherit;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0;
  text-transform: none;
  color: #363F48;
  background: #fff url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='m6 9 6 6 6-6'/></svg>") no-repeat right 10px center / 14px;
  cursor: pointer;
}
.ecs-declare select:hover { border-color: #D1D5DB; }
.ecs-declare select:focus { outline: none; border-color: #9CA3AF; box-shadow: 0 0 0 3px rgba(17, 19, 24, 0.06); }
.ecs-dash-head .sub { color: #5b6f68; font-size: 13px; margin-top: 4px; }
.ecs-dash-acts { display: flex; gap: 6px; flex-wrap: nowrap; align-items: center; justify-content: flex-end; }
.ecs-dash-build { display: flex; flex-direction: column; gap: 16px; }
.ecs-build-bar { display: flex; flex-direction: column; gap: 12px; padding: 0; border-bottom: 1px solid #E5E7EB; background: none; }
.ecs-build-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.ecs-build-id { display: flex; align-items: baseline; gap: 10px; min-width: 0; }
.ecs-dash-build .ecs-title { margin: 0; width: min(280px, 36vw); font-size: 20px; font-weight: 750; color: #111318; }
.ecs-build-status { font-size: 12px; font-weight: 500; color: #9CA3AF; }
.ecs-build-status.is-live { color: #6B7280; }
.ecs-build-status.is-dirty { color: #a50414; }
.ecs-steps { display: flex; align-items: stretch; gap: 22px; margin: 0; padding: 0; }
.ecs-step { flex: none; border: 0; background: none; padding: 0 0 10px; margin: 0 0 -1px; font: inherit; font-size: 13px; font-weight: 700; color: #8B9199; cursor: pointer; white-space: nowrap; border-bottom: 2px solid transparent; }
.ecs-step:hover { color: #363F48; }
.ecs-step.on { color: #111318; border-bottom-color: #111318; }
.ecs-phase-hint { margin: 0 0 12px; color: #5b6f68; font-size: 13px; line-height: 1.45; }
.ecs-identity { background: #fff; border: 1px solid #E5E7EB; border-radius: 10px; padding: 16px 18px; display: flex; flex-direction: column; gap: 16px; }
.ecs-publish { background: #fff; border: 1px solid #E5E7EB; border-radius: 10px; padding: 16px; }
.ecs-id-line { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 16px; align-items: end; margin: 0; }
.ecs-id-line > label,
.ecs-identity .ecs-sub-pick { display: flex; flex-direction: column; gap: 5px; min-width: 0; font-size: 10px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: #6B7280; }
.ecs-id-line select,
.ecs-id-line input {
  width: 100%;
  height: 36px;
  box-sizing: border-box;
  border: 1px solid #E5E7EB;
  border-radius: 8px;
  padding: 0 12px;
  font: inherit;
  font-size: 13px;
  font-weight: 650;
  color: #363F48;
  background: #fff;
}
.ecs-id-line select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 30px;
  background: #fff url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='m6 9 6 6 6-6'/></svg>") no-repeat right 10px center / 14px;
  cursor: pointer;
}
.ecs-id-unit { min-width: 0; }
.ecs-id-unit .ecs-unit-pick { display: flex; flex-direction: column; align-items: stretch; gap: 5px; margin: 0; }
.ecs-id-unit .ecs-unit-select { width: 100%; min-width: 0; max-width: none; }
.ecs-id-unit .ecs-gen-pick-btn {
  height: 32px;
  background: transparent;
  color: #363F48;
  border: 0;
  border-radius: 0;
  border-bottom: 1px solid #D5D8DE;
  box-shadow: none;
}
.ecs-id-unit .ecs-gen-pick-btn:hover { background: #F8FAF9; }
.ecs-id-actions { display: flex; align-items: center; gap: 8px; }
.ecs-dash-build > .ecs-stage-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 44px;
  margin: 0;
  padding: 10px 0 12px;
  background: none;
  border: 0;
  border-bottom: 1px solid #E5E7EB;
}
.ecs-stage-who { display: flex; align-items: baseline; gap: 10px; min-width: 0; }
.ecs-stage-who strong { font-size: 16px; font-weight: 750; color: #111318; }
.ecs-stage-who span { font-size: 13px; color: #6B7280; }
.ecs-stage-tools { display: flex; align-items: center; gap: 8px; }
.ecs-stage-tools .ecs-unit-pick { margin: 0; }
.ecs-stage-tools .ecs-unit-pick > span { display: none; }
.ecs-stage-tools .ecs-gen-pick-btn { height: 32px; min-width: 0; background: transparent; color: #363F48; border: 0; border-radius: 0; border-bottom: 1px solid #D5D8DE; box-shadow: none; }
.ecs-stage-tools .ecs-gen-pick.is-prot .ecs-gen-pick-btn { min-width: 148px; }
.ecs-stage-tools .ecs-gen-pick-btn:hover { background: #F8FAF9; }
.ecs-dash-build .ecs-work.ecs-phase-layout,
.ecs-dash-build .ecs-work.ecs-phase-bind {
  background: #F4F5F7;
  border: 1px solid #E5E7EB;
  border-radius: 10px;
  padding: 12px;
  min-height: 420px;
}
.ecs-dash-build .ecs-build-bar { border-bottom: 0; }
.ecs-dash-build .ecs-steps { border-bottom: 1px solid #E5E7EB; }
.ecs-publish-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 0 0 16px; }
.ecs-publish-kpis article { background: #F8FAF9; border: 1px solid #E5E7EB; border-radius: 12px; padding: 12px 14px; }
.ecs-publish-kpis span { display: block; font-size: 11px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: #6B7280; }
.ecs-publish-kpis b { display: block; margin-top: 4px; font-size: 22px; font-weight: 800; letter-spacing: -0.03em; color: #1a2421; }
.ecs-publish-miss h3 { margin: 0 0 8px; font-size: 13px; font-weight: 750; color: #363F48; }
.ecs-publish-miss ul { margin: 0; padding-left: 18px; color: #5b6f68; font-size: 13px; }
.ecs-publish-ok { margin: 0 0 16px; color: #1F9A6A; font-size: 13px; font-weight: 650; }
.ecs-publish-acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
@media (max-width: 960px) {
  .ecs-id-line { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .ecs-publish-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.ecs-site-filter {
  appearance: none;
  -webkit-appearance: none;
  height: 34px;
  width: 220px;
  margin: 0;
  border: 1px solid #E5E7EB;
  border-radius: 8px;
  padding: 0 32px 0 12px;
  background: #fff url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='m6 9 6 6 6-6'/></svg>") no-repeat right 10px center / 14px;
  color: #363F48;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  line-height: 34px;
  cursor: pointer;
}
.ecs-site-filter:hover { border-color: #D1D5DB; }
.ecs-site-filter:focus { outline: none; border-color: #e8061c; box-shadow: 0 0 0 3px rgba(232, 6, 28, 0.12); }
.ecs-list { width: 100%; border-collapse: collapse; background: #fff; border-radius: 12px; overflow: hidden; }
.ecs-list th, .ecs-list td { text-align: center; padding: 12px 14px; border-bottom: 1px solid #e8eeeb; font-size: 13px; vertical-align: middle; }
.ecs-list th { font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: #6b8179; }
.ecs-list-acts { display: grid; grid-template-columns: 80px 88px 80px 120px; gap: 8px; justify-content: center; margin: 0 auto; }
.ecs-import-note { margin: 0 0 12px; color: #3d524c; font-size: 13px; line-height: 1.45; }
.ecs-import-units { display: grid; gap: 8px; margin: 8px 0 4px; }
.ecs-import-units label { display: grid; gap: 4px; font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: #6b8179; }
.ecs-import-units input { height: 34px; border: 1px solid #d5e0db; border-radius: 8px; padding: 0 8px; font: inherit; font-size: 13px; font-weight: 650; text-transform: none; letter-spacing: 0; color: #1a2421; }
.ecs-list-acts .btn { width: 100%; box-sizing: border-box; justify-content: center; }
.ecs-pill { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 999px; font-size: 11px; font-weight: 800; background: #f4f8f6; color: #3d524c; }
.ecs-pill.on { background: #e8f4f1; color: #0F2924; }
.ecs-pill.warn { background: #FEECEF; color: #a50414; }
.ecs-sub-bar { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px; }
.ecs-kind { display: inline-flex; align-items: center; height: 32px; padding: 0 10px; border-radius: 999px; background: #fff; border: 1px solid #E5E7EB; color: #363F48; font-size: 12px; font-weight: 700; }
.ecs-sub-pick { display: flex; flex-direction: column; gap: 4px; font-size: 10px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: #6b8179; }
.ecs-sub-pick select { height: 34px; min-width: 240px; border: 1px solid #d5e0db; border-radius: 8px; padding: 0 8px; font: inherit; font-size: 13px; font-weight: 650; letter-spacing: 0; text-transform: none; color: #1a2421; background: #fff; }
.ecs-plant, .ecs-cell { text-align: left; background: #fff; border: 1px solid #e4ece8; border-radius: 12px; font: inherit; color: inherit; cursor: pointer; }
.ecs-plant { padding: 10px 12px; box-shadow: 0 1px 2px rgba(15,23,42,.04); }
.ecs-plant.on, .ecs-cell.on { border-color: #e8061c; box-shadow: 0 0 0 2px rgba(232,6,28,.16); }
.ecs-plant .tag, .ecs-cell em { display: block; font-style: normal; font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #3F8A7B; }
.ecs-plant strong { display: block; margin-top: 4px; font-size: 13.5px; }
.ecs-plant .place { margin: 6px 0 0; font-size: 12px; color: #5b6f68; }
.ecs-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-top: 12px; }
.ecs-stats div { background: #f4f8f6; border-radius: 8px; padding: 5px 6px; }
.ecs-stats span { display: block; font-size: 9px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #6b8179; }
.ecs-stats b { display: block; margin-top: 2px; font-variant-numeric: tabular-nums; }
.ecs-card { margin-top: 12px; background: #fff; border-radius: 14px; overflow: hidden; border: 1px solid #e8eeeb; box-shadow: none; }
.ecs-card h2 { margin: 0; min-height: 48px; display: flex; align-items: center; padding: 0 16px; border-bottom: 1px solid #e8eeeb; color: #3F8A7B; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.ecs-line { display: grid; gap: 6px; padding: 14px 16px; grid-template-columns: repeat(auto-fill, minmax(148px, 1fr)); }
.ecs-cell { min-height: 128px; padding: 12px 10px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; text-align: center; }
.ecs-cell strong { font-size: 13px; }
.ecs-cell small, .ecs-cell b { font-size: 12px; color: #121614; font-weight: 800; }
.ecs-hero { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; padding: 0 16px 16px; }
.ecs-hero div { background: #fafbfa; border: 1px solid #eef3f0; border-radius: 12px; padding: 14px 16px; }
.ecs-hero span { display: block; font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #6b8179; }
.ecs-hero b { display: block; margin-top: 6px; min-height: 1.2em; font-size: 22px; font-weight: 800; }
.ecs-hero small { display: block; margin-top: 4px; color: #5b6f68; }
.ecs-empty { margin: 0; padding: 22px 16px 18px; text-align: center; color: #6b8179; font-size: 13px; }
.ecs-form { display: flex; flex-wrap: wrap; gap: 8px; align-items: flex-end; margin: 0 0 12px; }
.ecs-form input { height: 34px; border: 1px solid #E5E7EB; border-radius: 8px; padding: 0 10px; color: #363F48; }
.ecs-unit label { display: flex; flex-direction: column; gap: 4px; min-width: 160px; font-size: 10px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: #6B7280; }
.ecs-unit label input { font: inherit; font-size: 13px; font-weight: 650; letter-spacing: 0; text-transform: none; }
.ecs-metrics { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; margin-top: 12px; }
.ecs-metrics button { text-align: left; background: #fff; border: 1px solid #e4ece8; border-radius: 12px; padding: 12px 14px; }
.ecs-metrics button.on { border-color: #e8061c; box-shadow: none; }
.ecs-metrics span { display: block; font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #6b8179; }
.ecs-metrics b { display: block; margin-top: 4px; font-size: 22px; }
.ecs-switch { display: flex; background: #fff; border: 1px solid #d5e0db; border-radius: 10px; overflow: hidden; }
.ecs-switch button { border: 0; background: transparent; height: 32px; padding: 0 12px; font: inherit; font-size: 12px; font-weight: 700; color: #3d524c; cursor: pointer; }
.ecs-switch button.on { background: #0F2924; color: #fff; }
.ecs-plant-new { border-style: dashed; background: transparent; }
.ecs-plant-model { background: #f3faf8; border-color: #55A797; }
.ecs-hint { margin: 12px 0 0; color: #5b6f68; font-size: 13px; }
.ecs-board { position: relative; margin-top: 12px; min-height: 420px; border-radius: 14px; background-color: #f7f9fa; background-image: radial-gradient(#d5e0db 1px, transparent 1px); background-size: 22px 22px; }
.ecs-free { position: absolute; display: flex; flex-direction: column; gap: 4px; box-sizing: border-box; padding: 10px 12px 12px; background: #fff; border: 1px solid #e4ece8; border-radius: 12px; box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04); }
.ecs-free.on { border-color: #e8061c; box-shadow: 0 0 0 2px rgba(232, 6, 28, 0.16); }
.ecs-free header { cursor: grab; font-size: 10px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: #3F8A7B; }
.ecs-free input { border: 0; background: transparent; font: inherit; font-weight: 750; font-size: 15px; color: #1a2421; width: 100%; padding: 0; }
.ecs-free b { min-height: 1.2em; font-size: 20px; font-weight: 800; }
.ecs-free small { color: #5b6f68; font-size: 12px; }
.ecs-x { position: absolute; top: 6px; right: 8px; border: 0; background: transparent; color: #6b8179; font-size: 16px; cursor: pointer; }
.ecs-free i { position: absolute; right: 4px; bottom: 4px; width: 12px; height: 12px; cursor: nwse-resize; border-right: 2px solid #55A797; border-bottom: 2px solid #55A797; }
.ecs-dash { color: #1a2421; width: 100%; }
.ecs-work { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 14px; align-items: start; }
.ecs-work.ecs-view { grid-template-columns: minmax(0, 1fr); }
.ecs-sample { margin: 0 0 10px; font-size: 12px; color: #6b8179; }
.ecs-view .ecs-hero, .ecs-view .ecs-fig, .ecs-view .ecs-state { cursor: default; }
.ecs-sheet { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: 28px; gap: 0; margin-top: 12px; align-items: stretch; }
.ecs-sheet.ecs-dev { min-height: 980px; background-color: #F4F5F7; background-image: linear-gradient(to right, rgba(54, 63, 72, 0.12) 1px, transparent 1px), linear-gradient(to bottom, rgba(54, 63, 72, 0.12) 1px, transparent 1px); background-size: calc(100% / 12) 28px; }
.ecs-ortho { margin: 10px 0 0; color: #6b7280; font-size: 12px; }
.ecs-dev .ecs-group h2,
.ecs-dev .ecs-trend-head { cursor: grab; user-select: none; touch-action: none; }
.ecs-dev .ecs-group.ecs-moving h2,
.ecs-dev .ecs-group.ecs-moving .ecs-trend-head { cursor: grabbing; }
.ecs-dev .ecs-trend-head button { cursor: pointer; touch-action: auto; }
.ecs-op { position: absolute; left: 50%; top: 0; transform: translateX(-50%); display: inline-flex; align-items: center; height: 26px; margin: 0; padding: 0 12px; border: 0; border-radius: 999px; background: #F3F4F6; color: #6B7280; font: inherit; font-size: 12px; font-weight: 700; line-height: 1; letter-spacing: 0; cursor: pointer; white-space: nowrap; }
.ecs-mt-live .ecs-gen-id .ecs-op { display: none; }
.ecs-op b { font-weight: 700; }
.ecs-op:hover { filter: brightness(0.97); }
@media (max-width: 980px) {
  .ecs-gen-id { padding-top: 34px; }
}
.ecs-op.is-ok { background: #E7F6EF; color: #157A45; }
.ecs-op.is-warn { background: #FFF6DE; color: #9A6B00; }
.ecs-op.is-bad { background: #FEECEF; color: #c70417; }
.ecs-op.is-mute { background: #F3F4F6; color: #6B7280; }
.ecs-op-modal .modal-h { box-shadow: none; background: #fff; }
.ecs-op-modal .modal-t { color: #1A2330; }
.ecs-op-modal.is-ok .modal-t { color: #157A45; }
.ecs-op-modal.is-warn .modal-t { color: #9A6B00; }
.ecs-op-modal.is-bad .modal-t { color: #c70417; }
.ecs-op-lead { margin: 0; font-size: 14px; line-height: 1.45; color: #363F48; }
.ecs-op-facts { display: grid; gap: 0; margin: 14px 0 0; }
.ecs-op-facts div { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 8px 0; border-top: 1px solid #EEF1F4; }
.ecs-op-facts dt { font-size: 12px; font-weight: 650; color: #6B7280; }
.ecs-op-facts dd { margin: 0; font-size: 13px; font-weight: 750; font-variant-numeric: tabular-nums; color: #1A2330; }
.modal-x { border: 0; font: inherit; font-size: 18px; line-height: 1; }
.ecs-group { position: relative; margin: 4px; background: #fff; border: 1px solid #E5E7EB; border-radius: 14px; overflow: hidden; }
.ecs-group h2 { margin: 0; min-height: 40px; display: flex; align-items: center; gap: 8px; padding: 0 12px 0 16px; border-bottom: 1px solid #E5E7EB; color: #363F48; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; }
.ecs-group h2 svg { width: 18px; height: 18px; flex: none; color: #e8061c; }
.ecs-grip { position: absolute; z-index: 2; right: 6px; bottom: 6px; width: 18px; height: 18px; padding: 0; border: 0; background: transparent; cursor: nwse-resize; touch-action: none; }
.ecs-grip::before { content: ""; position: absolute; right: 1px; bottom: 1px; width: 8px; height: 8px; border-right: 2px solid #e8061c; border-bottom: 2px solid #e8061c; }
.ecs-s1 .ecs-hero { padding: 10px 14px 8px; }
.ecs-s1 .ecs-hero b { font-size: 26px; }
.ecs-s1 .ecs-fig b, .ecs-s1 .ecs-state b { font-size: 15px; }
.ecs-s4 .ecs-hero { padding: 20px 18px 14px; }
.ecs-s4 .ecs-hero b { font-size: 46px; }
.ecs-s4 .ecs-fig b { font-size: 22px; }
.ecs-s4 .ecs-fig, .ecs-s4 .ecs-state { padding: 16px 16px 18px; }
.ecs-trend-tools { display: flex; align-items: center; gap: 8px; }
.ecs-figs, .ecs-states { display: grid; border-top: 1px solid #E5E7EB; }
.ecs-fig, .ecs-state { padding: 12px 14px 14px; border-right: 1px solid #E5E7EB; }
.ecs-group.span { grid-column: 1 / -1; }
.ecs-hero, .ecs-fig, .ecs-state { border: 0; background: transparent; text-align: left; font: inherit; color: inherit; cursor: pointer; }
.ecs-hero { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px 12px; }
.ecs-hero .ecs-name { display: inline-flex; align-items: center; gap: 8px; min-width: 0; }
.ecs-hero span { font-size: 12px; font-weight: 650; letter-spacing: 0; text-transform: none; color: #5b6f68; }
.ecs-hero b { font-size: 34px; font-weight: 800; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; line-height: 1; }
.ecs-wide .ecs-hero { justify-content: flex-start; gap: 18px; }
.ecs-wide .ecs-hero b { font-size: 36px; }
.ecs-mark { display: block; width: 18px; height: 18px; flex: none; color: #e8061c; }
.ecs-hero .ecs-mark { width: 20px; height: 20px; }
.ecs-fig:has(.ecs-mark), .ecs-state:has(.ecs-mark) { display: grid; grid-template-columns: 18px minmax(0, 1fr); column-gap: 8px; align-items: start; }
.ecs-fig .ecs-mark, .ecs-state .ecs-mark { grid-row: 1 / span 2; margin-top: 1px; }
.ecs-hero b i, .ecs-fig b i, .ecs-state b i { margin-left: 4px; font-style: normal; font-size: 13px; font-weight: 700; color: #6b8179; }
.ecs-figs, .ecs-states { display: grid; border-top: 1px solid #E5E7EB; }
.ecs-group h2 + .ecs-states, .ecs-group h2 + .ecs-figs { border-top: 0; }
.ecs-fig, .ecs-state { padding: 12px 14px 14px; border-right: 1px solid #E5E7EB; }
.ecs-figs .ecs-fig:last-child, .ecs-states .ecs-state:last-child { border-right: 0; }
.ecs-fig span, .ecs-state span { display: block; font-size: 11px; font-weight: 650; color: #5b6f68; }
.ecs-fig b, .ecs-state b { display: block; margin-top: 4px; min-height: 1.15em; font-size: 18px; font-weight: 800; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.ecs-state b { font-size: 15px; letter-spacing: 0; }
.ecs-hero.on, .ecs-fig.on, .ecs-state.on { background: #FEECEF; box-shadow: none; }
@media (max-width: 980px) { .ecs-group.span { grid-column: auto; } }
.ecs-drawer { position: sticky; top: 8px; background: #fff; border: 1px solid #E5E7EB; border-radius: 14px; padding: 14px 14px 16px; box-shadow: none; }
.ecs-drawer-idle { background: transparent; border: 0; box-shadow: none; padding: 4px 2px; }
.ecs-drawer-idle .ecs-hint { margin: 0; color: #6B7280; font-size: 13px; line-height: 1.45; }
.ecs-drawer header { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.ecs-drawer header span { font-size: 10px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: #3F8A7B; }
.ecs-drawer header button { border: 0; background: transparent; color: #6b8179; font: inherit; font-size: 12px; cursor: pointer; }
.ecs-drawer > strong { display: block; margin: 4px 0 8px; font-size: 16px; }
.ecs-drawer label { display: block; margin: 10px 0 4px; font-size: 10px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: #6b8179; }
.ecs-drawer input, .ecs-drawer select { width: 100%; height: 34px; border: 1px solid #d5e0db; border-radius: 8px; padding: 0 8px; font: inherit; background: #fff; }
.ecs-disc-hits { display: flex; flex-direction: column; gap: 4px; margin-top: 6px; }
.ecs-disc-hits p { margin: 0; font-size: 12px; line-height: 1.35; font-weight: 500; letter-spacing: 0; text-transform: none; color: #6B7280; }
.ecs-disc-hit { width: 100%; height: auto; min-height: 32px; margin: 0; padding: 6px 8px; border: 1px solid #d5e0db; border-radius: 8px; background: #fff; color: #1F262D; font: inherit; font-size: 13px; font-weight: 600; letter-spacing: 0; text-transform: none; text-align: left; cursor: pointer; }
.ecs-disc-hit.is-on { border-color: #e8061c; background: #fff5f6; }
.ecs-bind-math { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
.ecs-drawer select[data-bind="decode"] { font-size: 12px; }
.ecs-bind-math label { margin-top: 10px; }
.ecs-bind-math input { margin-top: 4px; }
.ecs-raw-preview { margin: 8px 0 0; color: #4b5c56; font-size: 12px; line-height: 1.45; white-space: pre-line; }
.ecs-form select { height: 32px; border: 1px solid #d5e0db; border-radius: 8px; padding: 0 8px; font: inherit; background: #fff; }
.ecs-trend-card { margin-top: 0; }
.ecs-trend-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-right: 12px; border-bottom: 1px solid #E5E7EB; }
.ecs-trend-head h2 { border-bottom: 0; }
.ecs-trend-bar { display: inline-flex; gap: 0; padding: 3px; border: 1px solid #E5E7EB; border-radius: 999px; background: #F3F4F6; }
.ecs-trend-bar button { height: 26px; padding: 0 12px; border-radius: 999px; border: 0; background: transparent; font: inherit; font-size: 12px; font-weight: 700; color: #6B7280; cursor: pointer; }
.ecs-trend-bar button.on { background: #111318; color: #fff; border-color: transparent; }
.ecs-trend { min-height: 180px; }
.ecs-trend-edit { margin: 8px 0 12px; padding: 10px 12px; border: 1px dashed #D1D5DB; border-radius: 10px; background: #F8FAFC; }
.ecs-trend-edit .ecs-mt-sub { margin: 0 0 8px; }
.ecs-trend-edit-list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 4px; }
.ecs-trend-edit-list li { display: flex; align-items: center; gap: 6px; min-height: 32px; padding: 4px 8px; border: 1px solid #E5E7EB; border-radius: 8px; background: #fff; }
.ecs-trend-edit-list li.is-empty { color: #9CA3AF; font-size: 12px; font-weight: 550; border-style: dashed; }
.ecs-trend-edit-list b { flex: 1; min-width: 0; font-size: 12.5px; font-weight: 650; color: #111318; }
.ecs-trend-edit-list button { width: 28px; height: 28px; border: 0; border-radius: 6px; background: #F3F4F6; color: #4B5563; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.ecs-trend-edit-list button:disabled { opacity: 0.35; cursor: default; }
.ecs-trend-edit-list button:not(:disabled):hover { background: #E5E7EB; color: #111318; }
.ecs-trend-edit-list [data-trend-del]:not(:disabled):hover { background: #FDE7E8; color: #e8061c; }
.ecs-trend-edit select { width: 100%; height: 34px; margin-top: 8px; border: 1px solid #E5E7EB; border-radius: 8px; background: #fff; padding: 0 10px; font: inherit; font-size: 13px; }
.ecs-trend-edit-empty { margin: 8px 0 0; font-size: 12px; color: #9CA3AF; }
.ecs-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 12px 16px 0; }
.ecs-chips button { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 10px; border-radius: 999px; border: 1px solid #d5e0db; background: #fff; font: inherit; font-size: 12px; font-weight: 650; color: #3d524c; cursor: pointer; }
.ecs-chips button.on { border-color: #2D6B5E; background: #f3faf8; color: #1a2421; }
.ecs-chips i { width: 8px; height: 8px; border-radius: 2px; display: inline-block; }
.ecs-plot { padding: 8px 16px 16px; cursor: crosshair; }
.ecs-plot svg { display: block; width: 100%; height: auto; }
.ecs-plot text { font-family: "DM Sans", sans-serif; }
.ecs-read { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin: 4px 16px 14px; padding-top: 10px; border-top: 1px solid #E5E7EB; }
.ecs-read-when { display: flex; flex-direction: column; min-width: 88px; }
.ecs-read-when span, .ecs-read div span { font-size: 11px; color: #6b8179; }
.ecs-read-when b { font-size: 16px; font-variant-numeric: tabular-nums; }
.ecs-read div { display: flex; align-items: center; gap: 8px; color: #6b7280; }
.ecs-read div.on { color: #1F2937; }
.ecs-read div i { width: 8px; height: 8px; border-radius: 2px; display: inline-block; flex: none; }
.ecs-read div span { color: #1F2937; }
.ecs-read div b { margin-left: auto; font-variant-numeric: tabular-nums; font-size: 13px; font-weight: 750; color: #1F2937; }
.ecs-read div b em { margin-left: 3px; font-style: normal; font-weight: 650; color: #6b7280; }
.ecs-trend-empty { margin: 28px 8px; text-align: center; color: #6b8179; font-size: 13px; }
.ecs-legend { display: flex; flex-wrap: wrap; gap: 10px 16px; list-style: none; margin: 8px 4px 0; padding: 0; }
.ecs-legend li { display: flex; align-items: center; gap: 6px; font-size: 12px; color: #3d524c; }
.ecs-legend i { width: 8px; height: 8px; border-radius: 99px; display: inline-block; }
.ecs-legend b { font-variant-numeric: tabular-nums; }
.ecs-drawer .btn-ghost { margin-left: 8px; }
.ecs-mask { margin-top: 14px; padding-top: 12px; border-top: 1px solid #E5E7EB; }
.ecs-drawer label.ecs-mask-check { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; text-transform: none; letter-spacing: 0; font-size: 13px; font-weight: 650; color: #363F48; }
.ecs-drawer label.ecs-mask-check input { width: 16px; height: 16px; }
.ecs-ops { display: flex; flex-direction: column; gap: 12px; }
.ecs-ops-id { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ecs-ops-id strong { display: block; font-size: 28px; letter-spacing: -0.03em; line-height: 1.1; color: #1F2937; }
.ecs-ops-id span { display: block; margin-top: 2px; color: #6b7280; font-size: 13px; }
.ecs-ops-top { display: grid; grid-template-columns: minmax(220px, 1.05fr) minmax(280px, 1.3fr) minmax(220px, 0.85fr); gap: 12px; align-items: stretch; }
.ecs-ops-bot { display: grid; grid-template-columns: minmax(240px, 0.9fr) minmax(320px, 1.35fr) minmax(220px, 0.85fr); gap: 12px; align-items: stretch; }
.ecs-ops-card { background: #fff; border: 1px solid #E5E7EB; border-radius: 16px; padding: 14px 16px 16px; min-width: 0; }
.ecs-ops-card h2, .ecs-ops-trend .ecs-trend-head h2 { margin: 0 0 10px; min-height: 0; padding: 0; border: 0; font-size: 14px; font-weight: 750; letter-spacing: 0; text-transform: none; color: #1F2937; }
.ecs-ops-trend .ecs-trend-head { padding-right: 0; margin-bottom: 4px; }
.ecs-ops .ecs-trend-bar button.on { background: #E7F6EF; color: #157A45; border-color: #E7F6EF; }
.ecs-ops-health-body { display: flex; align-items: center; gap: 18px; }
.ecs-score-flag { margin-bottom: 10px; }
.ecs-ring { position: relative; width: 148px; height: 148px; flex: none; }
.ecs-ring svg { display: block; width: 100%; height: 100%; transform: rotate(-90deg); }
.ecs-ring .track { fill: none; stroke: #E8ECF0; stroke-width: 10; }
.ecs-ring .val { fill: none; stroke: var(--ring, #1F9A6A); stroke-width: 10; stroke-linecap: round; }
.ecs-ring div { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.ecs-ring b { font-size: 28px; letter-spacing: -0.03em; line-height: 1; color: #1F2937; }
.ecs-ring span { margin-top: 4px; font-size: 11px; color: #6b7280; }
.ecs-bars { list-style: none; margin: 0; padding: 0; flex: 1; display: flex; flex-direction: column; gap: 9px; }
.ecs-bars li { display: grid; grid-template-columns: 88px minmax(0, 1fr) 36px; align-items: center; gap: 8px; color: #5c6b66; font-size: 12px; }
.ecs-bars i { display: block; height: 6px; border-radius: 99px; background: #E8ECF0; overflow: hidden; }
.ecs-bars b { display: block; height: 100%; border-radius: 99px; background: #1F9A6A; }
.ecs-bars em { font-style: normal; font-weight: 700; color: #1F2937; text-align: right; }
.ecs-factor { margin: 14px 0 0; padding-top: 10px; border-top: 1px solid #F0F2F4; }
.ecs-factor span { display: block; font-size: 11px; color: #8b949e; }
.ecs-factor strong { display: block; margin-top: 2px; font-size: 13px; color: #1F2937; }
.ecs-ops-kpis { display: flex; flex-direction: column; gap: 10px; }
.ecs-kpi { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; gap: 10px; align-items: center; flex: 1; background: #fff; border: 1px solid #E5E7EB; border-radius: 16px; padding: 12px 14px; }
.ecs-kpi-ico { width: 36px; height: 36px; border-radius: 12px; background: #F8F1F1; display: flex; align-items: center; justify-content: center; }
.ecs-kpi div > span { display: block; font-size: 12px; color: #6b7280; }
.ecs-kpi b { display: block; margin-top: 2px; font-size: 26px; letter-spacing: -0.03em; line-height: 1.05; color: #1F2937; }
.ecs-kpi b i { margin-left: 3px; font-style: normal; font-size: 13px; font-weight: 700; color: #6b7280; }
.ecs-kpi small { display: block; margin-top: 3px; color: #6b7280; font-size: 12px; }
.ecs-st { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 999px; font-style: normal; font-size: 11px; font-weight: 750; white-space: nowrap; }
.ecs-st.ok { background: #E5F6EE; color: #157A45; }
.ecs-st.warn { background: #FFF4D6; color: #9A6B00; }
.ecs-st.bad { background: #FDE8EA; color: #C62828; }
.ecs-st.mute { background: #F3F4F6; color: #6b7280; }
.ecs-cond { width: 100%; border-collapse: collapse; }
.ecs-cond th { text-align: left; font-size: 11px; font-weight: 650; color: #8b949e; padding: 4px 8px 8px 0; }
.ecs-cond td { padding: 9px 8px 9px 0; border-top: 1px solid #F0F2F4; font-size: 13px; color: #1F2937; }
.ecs-cond td:nth-child(2) { font-weight: 750; font-variant-numeric: tabular-nums; }
.ecs-events { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.ecs-events li { display: flex; gap: 10px; align-items: flex-start; }
.ecs-events i { width: 8px; height: 8px; margin-top: 5px; border-radius: 99px; background: #1F9A6A; flex: none; }
.ecs-events li.warn i { background: #E0A106; }
.ecs-events li.bad i { background: #e8061c; }
.ecs-events li.mute i { background: #D1D5DB; }
.ecs-events strong { display: block; font-size: 13px; font-weight: 700; color: #1F2937; }
.ecs-events span { display: block; margin-top: 2px; font-size: 12px; color: #6b7280; }
.ecs-ops .ecs-legend { margin: 0 0 4px; }
.ecs-gen { display: flex; flex-direction: column; gap: 8px; }
.ecs-mt-board > .ecs-gen.is-mt { gap: 14px; }
.ecs-mt-live { font-size: 13px; }
.ecs-mt-live .ecs-gen-id { margin-bottom: 8px; align-items: center; }
.ecs-mt-live .ecs-gen-meta strong { font-size: 18px; font-weight: 750; color: #111318; }
.ecs-mt-live .ecs-gen-meta span { font-size: 12px; color: #6B7280; }
.ecs-unit-pick { display: flex; align-items: center; gap: 10px; margin: 0; }
.ecs-unit-pick > span { flex: none; font-size: 10px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: #6B7280; }
.ecs-arch { display: flex; gap: 6px; flex-wrap: wrap; }
.ecs-arch button { height: 32px; padding: 0 10px; border: 1px solid #E5E7EB; background: #fff; border-radius: 8px; font-size: 12px; font-weight: 650; color: #374151; cursor: pointer; }
.ecs-arch button.on { border-color: #e8061c; background: #FEECEF; color: #e8061c; }
.ecs-unit-select { width: auto; min-width: 220px; max-width: 320px; }
.ecs-mt-live .ecs-gen-tools .ecs-unit-select { min-width: 240px; }
.ecs-mt-live .ecs-gen-tools .ecs-unit-select .ecs-gen-pick-btn { min-width: 0; height: 32px; }
.ecs-mt-live .ecs-gen-menu { top: calc(100% + 8px); min-width: 100%; }
.ecs-mt-live .ecs-gen-menu button { text-align: left; padding: 10px 12px; }
.ecs-mt-live .ecs-gen-menu button:hover,
.ecs-mt-live .ecs-gen-menu button.on { background: #FEECEF; color: #e8061c; }
.ecs-mt-board { display: flex; flex-direction: column; gap: 14px; }
.ecs-mt-pair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(380px, 400px); gap: 14px; align-items: stretch; }
.ecs-mt-board .ecs-gen-out,
.ecs-mt-board .ecs-log,
.ecs-mt-board .ecs-trend-card { background: #fff; border: 1px solid #E5E7EB; border-radius: 10px; padding: 14px 16px; }
.ecs-mt-board .ecs-gen-out h2,
.ecs-mt-board .ecs-log h2,
.ecs-mt-board .ecs-trend-card .ecs-trend-head h2,
.ecs-mt-board .ecs-build-head .ecs-panel-title { margin: 0 0 12px; min-height: 0; padding: 0; border: 0; font-size: 11px; letter-spacing: 0.08em; font-weight: 800; text-transform: uppercase; color: #111318; }
.ecs-mt-board .ecs-build-head { margin: 0 0 12px; }
.ecs-mt-board .ecs-build-head .ecs-panel-title { flex: 1; margin: 0; border-bottom: 1px solid #E5E7EB; }
.ecs-mt-alert, .ecs-mt-status { width: 100%; }
.ecs-mt-status { padding: 12px 16px 10px; }
.ecs-mt-status > h2,
.ecs-mt-status .ecs-build-head { margin-bottom: 8px; }
.ecs-mt-alert { display: flex; align-items: center; gap: 10px; width: 100%; margin: 0; padding: 8px 14px; border: 1px solid #F7C9CB; border-radius: 10px; background: #fff linear-gradient(90deg, #FDECEC, #fff 42%); color: #111318; font: inherit; text-align: left; cursor: pointer; }
.ecs-mt-alert i { width: 28px; height: 28px; border-radius: 7px; background: #E3262D; position: relative; }
.ecs-mt-alert i::before { content: "!"; position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-size: 15px; font-weight: 800; font-style: normal; }
.ecs-mt-alert em { display: inline-block; margin: 0; padding: 3px 8px; border: 1px solid #F7C9CB; border-radius: 4px; background: #FDECEC; color: #E3262D; font-size: 10px; font-style: normal; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; white-space: nowrap; }
.ecs-mt-alert strong { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13.5px; font-weight: 600; letter-spacing: 0; line-height: 1.3; color: #374151; }
.ecs-mt-alert strong b { font-weight: 750; color: #111318; }
.ecs-mt-alert-pct { font-size: 20px; font-weight: 800; letter-spacing: -0.03em; line-height: 1; font-variant-numeric: tabular-nums; color: #E3262D; white-space: nowrap; }
.ecs-mt-alert.is-warn { border-color: #F3D69A; background: #fff linear-gradient(90deg, #FFF4DD, #fff 45%); }
.ecs-mt-alert.is-warn i { background: #D98A00; }
.ecs-mt-alert.is-warn em { color: #D98A00; background: #FFF4DD; border-color: #F3D69A; }
.ecs-mt-alert.is-warn .ecs-mt-alert-pct { color: #D98A00; }
.ecs-mt-alert.is-ok { border-color: #E5E7EB; background: #fff linear-gradient(90deg, #E8F6ED, #fff 45%); }
.ecs-mt-alert.is-ok i { background: #16803C; }
.ecs-mt-alert.is-ok em { color: #16803C; background: #E8F6ED; border-color: #CDEBD9; }
.ecs-mt-alert.is-ok .ecs-mt-alert-pct { color: #16803C; }
.ecs-mt-alert.is-mute { border-color: #E5E7EB; background: #fff; }
.ecs-mt-alert.is-mute i { background: #9CA3AF; }
.ecs-mt-alert.is-mute em { color: #6B7280; background: #F3F4F6; border-color: #E5E7EB; }
.ecs-mt-alert.is-mute .ecs-mt-alert-pct { color: #6B7280; }
.ecs-mt-main, .ecs-mt-rail { display: flex; flex-direction: column; gap: 14px; min-width: 0; min-height: 0; }
.ecs-mt-main > .ecs-gen-out, .ecs-mt-main > .ecs-demand-card, .ecs-mt-main > .ecs-trend-card { flex: 1; }
.ecs-mt-pair.is-top .ecs-mt-main > .ecs-mt-phase.is-currents { flex: 1; display: flex; flex-direction: column; justify-content: center; }
.ecs-mt-pair.is-top .ecs-mt-rail > .ecs-gen-out { flex: 1 1 0; display: flex; flex-direction: column; justify-content: center; }
.ecs-mt-pair.is-bot .ecs-mt-main > .ecs-trend-card { display: flex; flex-direction: column; min-height: 0; overflow: visible; }
.ecs-mt-pair.is-bot .ecs-trend { flex: 1; min-height: 180px; }
.ecs-mt-pair.is-bot .ecs-mt-rail > .ecs-gen-out { flex: none; }
.ecs-mt-pair.is-bot .ecs-log { margin-top: 0; flex: 1; display: flex; flex-direction: column; min-height: 260px; }
.ecs-mt-rail .ecs-log .ecs-mt-sub { margin: -6px 0 10px; }
.ecs-mt-rail [data-log-list] { flex: 1; min-height: 0; overflow: auto; }
.ecs-mt-mets { display: grid; }
.ecs-mt-status .ecs-mt-mets {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  max-width: none;
}
.ecs-mt-status .ecs-mt-met {
  flex: 1 1 0;
  min-width: 132px;
  align-items: flex-start;
  gap: 10px;
  padding: 2px 16px;
}
.ecs-mt-status .ecs-mt-met:first-child { padding-left: 2px; }
.ecs-mt-status .ecs-mt-lbl {
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #6B7280;
  white-space: normal;
}
.ecs-mt-status .ecs-mt-met .ecs-mark {
  width: 28px;
  height: 28px;
  margin-top: 1px;
  color: #9CA3AF;
}
.ecs-mt-status .ecs-mt-met.is-ok .ecs-mark,
.ecs-mt-status .ecs-mt-met.is-open .ecs-mark,
.ecs-mt-status .ecs-mt-met.is-remote .ecs-mark { color: #16803C; }
.ecs-mt-status .ecs-mt-met.is-warn .ecs-mark,
.ecs-mt-status .ecs-mt-met.is-local .ecs-mark { color: #D98A00; }
.ecs-mt-status .ecs-mt-met.is-bad .ecs-mark,
.ecs-mt-status .ecs-mt-met.is-closed .ecs-mark { color: #E3262D; }
.ecs-mt-status .ecs-mt-met.is-analog .ecs-mark { color: #e8061c; }
.ecs-mt-status .ecs-mt-met.is-empty .ecs-mark,
.ecs-mt-status .ecs-mt-met.is-mute .ecs-mark { color: #9CA3AF; }
.ecs-mt-status .ecs-mt-met.is-empty .ecs-mt-stv,
.ecs-mt-status .ecs-mt-met.is-empty .ecs-mt-val { color: #9CA3AF; font-weight: 650; }
.ecs-mt-mets.is-status { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ecs-mt-mets.is-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.ecs-mt-mets.is-5 .ecs-mt-met:nth-child(5n+1) { border-left: 0; padding-left: 2px; }
.ecs-mt-mets.is-2 { grid-template-columns: 1fr 1fr; row-gap: 12px; column-gap: 8px; }
.ecs-mt-mets.is-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ecs-mt-mets.is-3 .ecs-mt-met:nth-child(3n+1) { border-left: 0; padding-left: 2px; }
.ecs-mt-phase.is-currents .ecs-mt-val { font-size: 20px; }
.ecs-mt-mets.is-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ecs-mt-mets.is-foot { grid-template-columns: repeat(auto-fit, minmax(140px, max-content)); margin-top: 2px; padding-top: 10px; border-top: 1px solid #E5E7EB; justify-content: start; }
.ecs-mt-mets.is-foot .ecs-mt-met.is-off { display: none; }
.ecs-mt-mets.is-foot .ecs-mt-met.is-mute .ecs-mark,
.ecs-mt-mets.is-foot .ecs-mt-met.is-mute .ecs-mt-val { color: #9CA3AF; }
.ecs-mt-mets.is-foot .ecs-mt-met.is-mute .ecs-mt-val small { color: #9CA3AF; }
.ecs-mt-mets.is-foot .ecs-mt-met.is-warn .ecs-mark,
.ecs-mt-mets.is-foot .ecs-mt-met.is-warn .ecs-mt-val { color: #B45309; }
.ecs-mt-mets.is-inline { display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px 28px; margin-top: auto; padding-top: 12px; border-top: 1px solid #E5E7EB; }
.ecs-mt-mets.is-inline .ecs-mt-met { display: flex; align-items: baseline; gap: 8px; padding: 0; border: 0; min-width: 0; }
.ecs-mt-mets.is-inline .ecs-mt-met > div { display: flex; align-items: baseline; gap: 8px; min-width: 0; }
.ecs-mt-mets.is-inline .ecs-mt-lbl,
.ecs-mt-mets.is-inline .ecs-mt-val { margin: 0; white-space: nowrap; }
.ecs-mt-mets.is-inline .ecs-mt-val { font-size: 15px; }
.ecs-mt-phase { display: flex; flex-direction: column; min-height: 0; }
.ecs-mt-phase .ecs-mt-table { flex: 1; }
.ecs-mt-band { margin-top: auto; padding-top: 12px; border-top: 1px solid #E5E7EB; }
.ecs-mt-band h3 { margin: 0 0 10px; font-size: 11px; letter-spacing: 0.08em; font-weight: 800; text-transform: uppercase; color: #111318; }
.ecs-mt-inds { display: grid; grid-template-columns: repeat(auto-fit, minmax(132px, 1fr)); align-items: start; gap: 12px 16px; }
.ecs-mt-ind { display: flex; align-items: flex-start; gap: 8px; min-width: 0; padding: 0; border: 0; background: transparent; font: inherit; color: inherit; text-align: left; }
button.ecs-mt-ind { cursor: pointer; }
button.ecs-mt-ind.on { outline: 2px solid #e8061c; outline-offset: 2px; }
.ecs-mt-ind .ecs-mark { width: 15px; height: 15px; margin-top: 1px; color: #e8061c; flex: none; }
.ecs-mt-ind .ecs-mt-lbl { font-size: 11px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: #6B7280; line-height: 1.3; white-space: normal; }
.ecs-mt-ind .ecs-mt-val { margin-top: 3px; font-size: 16px; }
.ecs-mt-ind.is-empty .ecs-mt-val { color: #9CA3AF; font-weight: 650; }
.ecs-mt-met { display: flex; gap: 8px; padding: 2px 10px; border-left: 1px solid #EEF0F3; min-width: 0; }
button.ecs-mt-met { margin: 0; border-top: 0; border-right: 0; border-bottom: 0; background: transparent; font: inherit; color: inherit; text-align: left; cursor: pointer; }
button.ecs-mt-met.on, .ecs-mt-table td.num.on { outline: 2px solid #e8061c; outline-offset: -2px; }
.ecs-mt-table td[data-open] { cursor: pointer; }
.ecs-mt-met:first-child, .ecs-mt-mets.is-2 .ecs-mt-met:nth-child(odd), .ecs-mt-mets.is-4 .ecs-mt-met:nth-child(4n+1) { border-left: 0; padding-left: 2px; }
.ecs-mt-met .ecs-mark { width: 16px; height: 16px; margin-top: 2px; color: #e8061c; flex: none; }
.ecs-mt-met > div { min-width: 0; }
.ecs-mt-lbl { font-size: 12px; font-weight: 600; color: #374151; white-space: normal; overflow: hidden; line-height: 1.25; }
.ecs-mt-val { margin-top: 2px; font-size: 17px; font-weight: 700; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; color: #111318; white-space: nowrap; }
.ecs-mt-val small { margin-left: 3px; font-size: 11px; font-weight: 600; letter-spacing: 0; color: #6B7280; }
.ecs-mt-val .ecs-qta-bit { display: inline; }
.ecs-mt-stv { display: flex; align-items: center; gap: 8px; margin-top: 3px; font-size: 16px; font-weight: 700; color: #111318; }
.ecs-mt-stv i { width: 9px; height: 9px; border-radius: 50%; background: #D1D5DB; flex: none; }
.ecs-mt-stv.is-ok i,
.ecs-mt-stv.is-open i,
.ecs-mt-stv.is-remote i { background: #16803C; }
.ecs-mt-stv.is-ok,
.ecs-mt-stv.is-open,
.ecs-mt-stv.is-remote { color: #16803C; }
.ecs-mt-stv.is-warn i,
.ecs-mt-stv.is-local i { background: #D98A00; }
.ecs-mt-stv.is-warn,
.ecs-mt-stv.is-local { color: #B45309; }
.ecs-mt-stv.is-bad i, .ecs-mt-stv.is-closed i { background: #E3262D; }
.ecs-mt-stv.is-bad, .ecs-mt-stv.is-closed { color: #E3262D; }
.ecs-mt-stv.is-mute { color: #6B7280; }
.ecs-mt-fault .ecs-mt-val { font-size: 22px; }
.ecs-mt-fault + .ecs-mt-mets { margin-top: 10px; padding-top: 10px; border-top: 1px solid #EEF0F3; }
.ecs-mt-qrow { padding: 8px 0; border-bottom: 1px solid #EEF0F3; }
.ecs-mt-qrow:first-of-type { padding-top: 0; }
.ecs-mt-qrow:last-child { border-bottom: 0; padding-bottom: 0; }
.ecs-mt-qtop { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 6px; }
.ecs-mt-qtop span { font-size: 12px; font-weight: 600; color: #374151; }
.ecs-mt-qtop b { font-size: 15px; font-weight: 700; font-variant-numeric: tabular-nums; color: #111318; }
.ecs-mt-qtop small { margin-left: 3px; font-size: 11px; font-weight: 600; color: #A3A8B3; }
.ecs-mt-side .ecs-mt-qtop button { border: 0; background: transparent; padding: 0; font: inherit; color: inherit; cursor: pointer; }
.ecs-mt-energy .ecs-e-now,
.ecs-mt-energy .ecs-e-month,
.ecs-mt-energy .ecs-e-peak-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.ecs-mt-energy .ecs-e-now { padding-bottom: 12px; border-bottom: 1px solid #EEF0F3; }
.ecs-mt-energy .ecs-e-today,
.ecs-mt-energy .ecs-e-side,
.ecs-mt-energy .ecs-e-month > div:first-child,
.ecs-mt-energy .ecs-e-peak-top { min-width: 0; }
.ecs-mt-energy .ecs-e-now span,
.ecs-mt-energy .ecs-e-month span,
.ecs-mt-energy .ecs-e-peak span { display: block; font-size: 10px; font-weight: 750; letter-spacing: 0.07em; text-transform: uppercase; color: #6B7280; line-height: 1.3; }
.ecs-mt-energy .ecs-e-today b { display: block; margin-top: 2px; font-size: 30px; font-weight: 800; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; color: #111318; line-height: 1; white-space: nowrap; }
.ecs-mt-energy .ecs-e-today b span { display: inline; font-size: inherit; font-weight: inherit; letter-spacing: inherit; text-transform: none; color: inherit; }
.ecs-mt-energy .ecs-e-side { text-align: right; }
.ecs-mt-energy .ecs-e-side b,
.ecs-mt-energy .ecs-e-month b,
.ecs-mt-energy .ecs-e-peak b { display: block; margin-top: 2px; font-size: 16px; font-weight: 750; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; color: #111318; line-height: 1.1; white-space: nowrap; }
.ecs-mt-energy .ecs-e-side b span,
.ecs-mt-energy .ecs-e-month b span,
.ecs-mt-energy .ecs-e-peak b span { display: inline; font-size: inherit; font-weight: inherit; letter-spacing: inherit; text-transform: none; color: inherit; }
.ecs-mt-energy small { margin-left: 3px; font-size: 11px; font-weight: 650; color: #6B7280; }
.ecs-mt-energy b.is-empty { font-weight: 650; color: #9CA3AF; }
.ecs-mt-energy .ecs-e-month { display: block; margin-top: 12px; }
.ecs-mt-energy .ecs-e-share { margin-top: 8px; }
.ecs-mt-energy .ecs-e-share em { display: block; margin: 5px 0 0; font-size: 11px; font-style: normal; font-weight: 650; color: #6B7280; }
.ecs-mt-energy .ecs-e-peak { margin-top: 14px; padding-top: 12px; border-top: 1px solid #EEF0F3; }
.ecs-mt-energy .ecs-e-peak-top { display: block; }
.ecs-mt-energy .ecs-e-peak b { margin-top: 4px; font-size: 26px; font-weight: 800; letter-spacing: -0.03em; }
.ecs-mt-energy .ecs-e-track { position: relative; height: 8px; margin-top: 10px; border-radius: 99px; background: #ECEEF1; overflow: hidden; }
.ecs-mt-energy .ecs-e-track.is-thin { height: 4px; margin-top: 0; }
.ecs-mt-energy .ecs-e-zones { position: absolute; inset: 0; background: linear-gradient(90deg, transparent 0 80%, #FBE3B0 80% 95%, #F7C9CB 95% 100%); }
.ecs-mt-energy .ecs-e-track i { position: relative; z-index: 1; display: block; height: 100%; width: 0; border-radius: inherit; background: #16803C; }
.ecs-mt-energy .ecs-e-share .ecs-e-track i { background: #111318; }
.ecs-mt-energy .ecs-e-foot { display: flex; justify-content: space-between; gap: 8px; margin-top: 6px; }
.ecs-mt-energy .ecs-e-foot span { font-size: 11px; font-weight: 650; letter-spacing: 0; text-transform: none; color: #6B7280; }
.ecs-mt-energy .ecs-e-peak.is-ok b,
.ecs-mt-energy .ecs-e-peak.is-ok .ecs-e-track i { color: #16803C; }
.ecs-mt-energy .ecs-e-peak.is-ok .ecs-e-track i { background: #16803C; }
.ecs-mt-energy .ecs-e-peak.is-warn b { color: #D98A00; }
.ecs-mt-energy .ecs-e-peak.is-warn .ecs-e-track i { background: #D98A00; }
.ecs-mt-energy .ecs-e-peak.is-hot b,
.ecs-mt-energy .ecs-e-peak.is-over b { color: #E3262D; }
.ecs-mt-energy .ecs-e-peak.is-hot .ecs-e-track i,
.ecs-mt-energy .ecs-e-peak.is-over .ecs-e-track i { background: #E3262D; }
.ecs-mt-energy .ecs-mt-e-factor { margin: 10px 0 0; font-size: 11px; font-weight: 650; color: #6B7280; }
.ecs-mt-energy .ecs-mt-e-note { margin: 8px 0 0; font-size: 12px; font-weight: 550; color: #6B7280; line-height: 1.35; }
.ecs-mt-qbar { height: 4px; background: #ECEEF1; border-radius: 2px; position: relative; overflow: hidden; }
.ecs-mt-qbar i { position: absolute; inset: 0 auto 0 0; background: #16803C; border-radius: 2px; }
.ecs-mt-sub { margin: -6px 0 12px; font-size: 12px; font-weight: 500; color: #6B7280; }
.ecs-mt-table { overflow-x: auto; }
.ecs-mt-phase table { width: 100%; border-collapse: collapse; }
.ecs-mt-phase th { font-size: 12px; font-weight: 600; letter-spacing: 0; text-transform: none; color: #374151; text-align: right; padding: 0 10px 8px; border-bottom: 1px solid #E5E7EB; white-space: nowrap; line-height: 1.25; }
.ecs-mt-phase th span { display: inline-flex; align-items: center; justify-content: flex-end; gap: 6px; white-space: nowrap; }
.ecs-mt-phase th .ecs-mark { width: 15px; height: 15px; color: #e8061c; }
.ecs-mt-phase th:first-child, .ecs-mt-phase td:first-child { text-align: left; padding-left: 2px; width: 60px; }
.ecs-mt-phase td { padding: 10px 12px; text-align: right; border-bottom: 1px solid #EEF0F3; font-size: 16px; font-weight: 700; font-variant-numeric: tabular-nums; color: #111318; white-space: nowrap; }
.ecs-mt-phase tr:last-child td { border-bottom: 0; }
.ecs-mt-phase tbody tr:hover td { background: #FAFAFB; }
.ecs-mt-phase td small { font-size: 11px; font-weight: 600; color: #6B7280; margin-left: 3px; }
.ecs-mt-phase td em { font-style: normal; font-size: 11px; font-weight: 700; color: #A3A8B3; margin-right: 6px; }
.ecs-mt-ph { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: #111318; }
.ecs-mt-ph i { width: 8px; height: 8px; border-radius: 2px; flex: none; }
.ecs-mt-board .ecs-trend-card { margin-top: 0; overflow: hidden; }
.ecs-mt-board .ecs-trend-head { display: flex; align-items: center; justify-content: flex-start; flex-wrap: wrap; gap: 10px 14px; min-height: 0; min-width: 0; padding: 0; border: 0; margin-bottom: 2px; }
.ecs-mt-board .ecs-trend-card .ecs-trend-head h2 { margin: 0; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ecs-mt-board .ecs-trend-bar { display: inline-flex; flex: none; margin-left: auto; gap: 0; padding: 3px; border: 1px solid #E5E7EB; border-radius: 999px; background: #F3F4F6; }
.ecs-mt-board .ecs-trend-bar button { height: 26px; padding: 0 12px; border: 0; border-radius: 999px; background: transparent; font-size: 12px; font-weight: 700; color: #6B7280; }
.ecs-mt-board .ecs-trend-bar button.on { background: #111318; color: #fff; border-color: transparent; }
.ecs-mt-board .ecs-ups-tabs { display: flex; gap: 18px; margin: 8px 0 0; padding: 0 2px; border-bottom: 1px solid #EEF0F3; }
.ecs-mt-board .ecs-ups-tabs button { border: 0; background: none; padding: 0 0 8px; margin: 0 0 -1px; font: inherit; font-size: 13px; font-weight: 700; color: #A3A8B3; cursor: pointer; border-bottom: 2px solid transparent; }
.ecs-mt-board .ecs-ups-tabs button.on { color: #111318; border-bottom-color: #111318; }
.ecs-mt-board .ecs-trend[data-toggle] .ecs-chips { display: flex; flex-wrap: wrap; gap: 6px 14px; padding: 10px 2px 8px; overflow: visible; }
.ecs-mt-board .ecs-trend[data-toggle] .ecs-chips button { display: inline-flex; align-items: center; gap: 6px; height: auto; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; font-size: 12.5px; font-weight: 700; color: #C5CCD3; }
.ecs-mt-board .ecs-trend[data-toggle] .ecs-chips button i { width: 8px; height: 8px; border-radius: 2px; background: currentColor; opacity: 0.45; }
.ecs-mt-board .ecs-trend[data-toggle] .ecs-chips button.on { background: transparent; color: var(--swatch, #111318); border: 0; font-weight: 750; }
.ecs-mt-board .ecs-trend[data-toggle] .ecs-chips button.on i { background: var(--swatch, #111318); opacity: 1; }
.ecs-mt-board .ecs-plot { padding: 4px 0 10px; }
.ecs-mt-board .ecs-log-empty { margin: 0; font-size: 13px; color: #6B7280; }
@media (max-width: 1360px) {
  .ecs-mt-pair { grid-template-columns: 1fr; }
  .ecs-mt-pair.is-top .ecs-mt-rail { display: grid; grid-template-columns: 1fr 1fr; }
  .ecs-mt-pair.is-top .ecs-mt-rail > .ecs-gen-out:last-child { grid-column: 1 / -1; }
  .ecs-mt-pair.is-bot .ecs-log { min-height: 220px; }
}
@media (max-width: 1100px) {
  .ecs-mt-pair.is-top .ecs-mt-rail { grid-template-columns: 1fr; }
  .ecs-mt-mets.is-status { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 10px; }
  .ecs-mt-status .ecs-mt-met { min-width: 46%; padding: 8px 12px 8px 2px; border-left: 0; }
  .ecs-demand.is-hero .ecs-demand-kpis { grid-template-columns: 1fr 1fr; }
  .ecs-demand.is-hero .ecs-demand-kpis article:first-child { grid-column: 1 / -1; border-bottom: 1px solid #EEF0F3; padding-bottom: 8px; margin-bottom: 8px; }
  .ecs-mt-board .ecs-trend-bar { margin-left: 0; }
}
.ecs-gen-id { position: relative; display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; min-height: 32px; width: 100%; margin-bottom: 6px; }
.ecs-gen-tools { display: flex; align-items: center; justify-content: flex-end; gap: 12px; margin-left: 0; }
.ecs-gen-tools .ecs-sub-pick { margin: 0; }
.ecs-gen-tools .ecs-sub-pick select { appearance: none; height: 32px; min-width: 196px; padding: 0 32px 0 12px; border: 0; border-radius: 8px; background: #e8061c url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 10px center / 14px; color: #fff; font-size: 13px; font-weight: 600; cursor: pointer; }
.ecs-gen-tools .ecs-sub-pick select:hover { background-color: #c70417; }
.ecs-gen-tools .ecs-sub-pick select option { color: #1A2330; background: #fff; }
.ecs-gen-read { display: flex; align-items: center; min-width: 0; }
.ecs-gen-meta { min-width: 0; }
.ecs-gen-meta strong { display: block; font-size: 17px; font-weight: 800; letter-spacing: 0; line-height: 1.15; color: #363F48; white-space: nowrap; }
.ecs-gen-meta span { display: block; margin-top: 2px; font-size: 13px; font-weight: 400; line-height: 1.25; color: #6B7280; }
.ecs-gen-pick { position: relative; flex: none; width: 220px; }
.ecs-gen-pick-btn { position: relative; display: flex; align-items: center; justify-content: flex-start; box-sizing: border-box; width: 100%; height: 32px; margin: 0; padding: 0 28px 0 12px; border: 0; border-radius: 8px; background: #e8061c; color: #fff; font: inherit; font-size: 13px; font-weight: 600; line-height: normal; cursor: pointer; }
.ecs-gen-pick-btn span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; line-height: 1.45; text-align: left; }
.ecs-gen-pick-btn:hover { background: #c70417; }
.ecs-gen-pick-btn svg { position: absolute; right: 10px; top: 50%; width: 14px; height: 14px; margin-top: -7px; stroke: currentColor; fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.ecs-gen-tools .ecs-gen-pick.ecs-unit-select { width: 240px; min-width: 240px; max-width: none; margin-left: auto; }
.ecs-gen-tools .ecs-unit-select .ecs-gen-pick-btn { width: 100%; min-width: 0; height: 32px; justify-content: flex-start; padding: 0 22px 0 0; }
.ecs-gen-tools .ecs-unit-select .ecs-gen-pick-btn span { text-align: left; }
.ecs-gen-menu { position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 30; margin: 0; padding: 4px; background: #fff; border: 1px solid #E5E7EB; border-radius: 10px; box-shadow: 0 10px 28px rgba(54, 63, 72, 0.14); }
.ecs-gen-menu button { display: block; box-sizing: border-box; width: 100%; margin: 0; padding: 8px 10px; border: 0; border-radius: 7px; background: transparent; color: #363F48; font: inherit; font-size: 13px; font-weight: 500; line-height: 1.45; text-align: left; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; cursor: pointer; }
.ecs-gen-menu button:hover { background: #FEECEF; }
.ecs-gen-menu button.on { background: #FEECEF; color: #e8061c; font-weight: 600; }
.ecs-gen-pick.ecs-unit-select { width: auto; min-width: 0; max-width: 280px; }
.ecs-unit-select .ecs-gen-pick-btn {
  height: 32px;
  padding: 0 22px 0 0;
  border: 0;
  border-radius: 0;
  border-bottom: 1px solid #D5D8DE;
  background: transparent;
  color: #363F48;
  box-shadow: none;
  font-weight: 650;
}
.ecs-unit-select .ecs-gen-pick-btn:hover,
.ecs-unit-select .ecs-gen-pick-btn[aria-expanded="true"] { background: transparent; color: #111318; border-bottom-color: #111318; box-shadow: none; }
.ecs-unit-select .ecs-gen-menu { top: calc(100% + 4px); left: 0; right: 0; width: 100%; min-width: 0; max-width: none; padding: 4px 0; border: 1px solid #E5E7EB; border-radius: 8px; background: #fff; box-shadow: 0 8px 16px rgba(54, 63, 72, 0.08); }
.ecs-unit-select .ecs-gen-menu button { display: block; height: 32px; padding: 0 12px; border: 0; border-radius: 0; background: transparent; color: #363F48; font-size: 13px; font-weight: 650; line-height: 32px; box-shadow: none; }
.ecs-unit-select .ecs-gen-menu button:hover { background: #F3F4F6; color: #111318; box-shadow: none; }
.ecs-unit-select .ecs-gen-menu button.on { background: #F3F4F6; color: #111318; font-weight: 650; box-shadow: none; }
.ecs-mt-live .ecs-unit-select .ecs-gen-menu button:hover,
.ecs-mt-live .ecs-unit-select .ecs-gen-menu button.on { background: #F3F4F6; color: #111318; box-shadow: none; }
.ecs-gen-menu-split { height: 1px; margin: 4px 8px; background: #EEF0F3; }
.ecs-trend[data-toggle] .ecs-chips { gap: 6px 16px; padding: 10px 2px 2px; }
.ecs-trend[data-toggle] .ecs-chips button { display: inline-flex; align-items: center; gap: 6px; height: auto; padding: 0; border: 0; border-radius: 0; background: transparent; color: #C5CCD3; box-shadow: none; font-size: 12.5px; font-weight: 700; }
.ecs-trend[data-toggle] .ecs-chips button i { width: 8px; height: 8px; border-radius: 2px; background: currentColor; opacity: 0.45; }
.ecs-trend[data-toggle] .ecs-chips button.on { background: transparent; color: var(--swatch, #111318); border: 0; box-shadow: none; font-weight: 750; }
.ecs-trend[data-toggle] .ecs-chips button.on i { background: var(--swatch, #111318); opacity: 1; }
.ecs-gen-hero { background: #fff; border: 1px solid #E5E7EB; border-radius: 16px; overflow: hidden; }
.ecs-gen-photo { display: block; width: 100%; height: 232px; object-fit: contain; object-position: center; background: #101216; }
.ecs-gen-status { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); border-top: 1px solid #E5E7EB; }
.ecs-gen-status .ecs-gen-lamp { border: 0; border-radius: 0; border-right: 1px solid #E5E7EB; padding: 10px 12px; background: #fff; }
.ecs-gen-status .ecs-gen-lamp:last-child { border-right: 0; }
.ecs-fuel-track { height: 8px; margin: 2px 12px 4px; border-radius: 99px; background: #F4F5F7; overflow: hidden; }
.ecs-fuel-track i { display: block; height: 100%; width: 0; background: #C4A35A; }
.ecs-fuel-track.bad i { background: #e8061c; }
.ecs-fuel-track.warn i { background: #E0A106; }
.ecs-gen-prots { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; border: 1px solid #E5E7EB; border-radius: 12px; overflow: hidden; }
.ecs-gen-prots .ecs-gen-lamp { border: 0; border-radius: 0; border-right: 1px solid #E5E7EB; border-bottom: 1px solid #E5E7EB; background: #fff; padding: 8px 10px; }
.ecs-gen-svg { display: block; width: 100%; height: auto; }
.ecs-tank, .ecs-gen-lamp, .ecs-gen-meter { border: 0; background: transparent; font: inherit; color: inherit; text-align: left; }
.ecs-tank { display: flex; flex-direction: column; align-items: center; gap: 8px; cursor: default; }
.ecs-dev .ecs-tank, .ecs-work:not(.ecs-view) .ecs-tank, .ecs-work:not(.ecs-view) .ecs-gen-lamp, .ecs-work:not(.ecs-view) .ecs-gen-meter { cursor: pointer; }
.ecs-tank span, .ecs-gen-lamp span, .ecs-gen-meter span { font-size: 11px; font-weight: 650; color: #6b7280; }
.ecs-tank-body { position: relative; width: 54px; height: 168px; border: 2px solid #C5CCD3; border-radius: 8px 8px 12px 12px; background: #F4F5F7; overflow: hidden; }
.ecs-tank-body i { position: absolute; left: 0; right: 0; bottom: 0; background: #C4A35A; }
.ecs-tank.bad .ecs-tank-body i { background: #e8061c; }
.ecs-tank.warn .ecs-tank-body i { background: #E0A106; }
.ecs-tank.ok .ecs-tank-body i { background: #C4A35A; }
.ecs-tank b { font-size: 14px; font-variant-numeric: tabular-nums; color: #1F2937; }
.ecs-gen-lamps { display: flex; flex-direction: column; gap: 8px; }
.ecs-gen-lamp { display: grid; grid-template-columns: 12px 1fr; column-gap: 8px; align-items: center; padding: 8px 10px; border: 1px solid #E5E7EB; border-radius: 12px; background: #fff; }
.ecs-gen-lamp i { width: 10px; height: 10px; border-radius: 99px; background: #D1D5DB; grid-row: 1 / span 2; }
.ecs-gen-lamp i.ok,
.ecs-gen-lamp i.open,
.ecs-gen-lamp i.remote { background: #1F9A6A; }
.ecs-gen-lamp i.warn,
.ecs-gen-lamp i.local { background: #E0A106; }
.ecs-gen-lamp i.bad,
.ecs-gen-lamp i.closed { background: #E3262D; }
.ecs-gen-lamp b { font-size: 13px; color: #1F2937; }
.ecs-gen-lamp.on, .ecs-gen-meter.on, .ecs-tank.on { box-shadow: none; }
.ecs-demand-card { padding: 8px 12px 8px; }
.ecs-demand-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.ecs-demand-head h2 { margin: 0; }
.ecs-demand-head p { margin: 1px 0 0; font-size: 12px; font-weight: 500; letter-spacing: 0; text-transform: none; color: #6B7280; }
.ecs-demand-tools { display: flex; align-items: center; gap: 12px; flex: none; }
.ecs-demand-drop { border: 0; background: none; padding: 0; font: inherit; font-size: 12px; font-weight: 650; color: #8A94A0; cursor: pointer; }
.ecs-demand-span { display: flex; gap: 16px; }
.ecs-demand-span button { margin: 0; padding: 0 0 3px; border: 0; border-bottom: 2px solid transparent; background: none; font: inherit; font-size: 12px; font-weight: 650; color: #8A94A0; cursor: pointer; }
.ecs-demand-span button.on { color: #1A2330; border-bottom-color: #1A2330; }
.ecs-demand-setup { display: flex; flex-wrap: wrap; gap: 8px 16px; margin: 0 0 8px; }
.ecs-demand.is-hero .ecs-demand-setup { margin: 0 0 14px; padding: 10px 12px; border: 1px dashed #D7DCE3; border-radius: 8px; background: #F8FAFC; }
.ecs-demand-setup label { display: flex; flex-direction: column; gap: 3px; font-size: 10px; font-weight: 750; letter-spacing: 0.06em; text-transform: uppercase; color: #8A94A0; }
.ecs-demand-setup input { height: 28px; width: 148px; border: 1px solid #E5E7EB; border-radius: 6px; padding: 0 8px; font: inherit; font-size: 13px; font-weight: 650; letter-spacing: 0; text-transform: none; color: #1A2330; background: #fff; }
.ecs-demand-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px 20px; }
.ecs-demand-kpis.is-short { grid-template-columns: repeat(2, minmax(160px, 280px)); }
.ecs-demand-kpis article { min-width: 0; }
.ecs-demand-kpis span { display: block; margin-bottom: 2px; font-size: 10px; font-weight: 750; letter-spacing: 0.08em; text-transform: uppercase; color: #8A94A0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ecs-demand-kpis [data-demand-max-label] { white-space: normal; overflow: visible; text-overflow: unset; line-height: 1.25; }
.ecs-demand-kpis strong { display: block; font-size: 18px; font-weight: 750; line-height: 1.1; letter-spacing: 0; font-variant-numeric: tabular-nums; color: #1A2330; white-space: nowrap; }
.ecs-demand-kpis article:first-child strong { color: #1A2330; font-size: 20px; }
.ecs-demand-kpis small { display: block; margin-top: 1px; font-size: 11px; font-weight: 600; color: #6B7280; }
.ecs-demand-val { display: block; margin: 0; padding: 0; border: 0; background: none; font: inherit; text-align: left; }
button.ecs-demand-val { cursor: pointer; }
button.ecs-demand-val.on strong { outline: 2px solid #e8061c; outline-offset: 2px; }
.ecs-demand-meter { margin-top: 8px; }
.ecs-demand-meter > div:first-child { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 6px; }
.ecs-demand-meter span { font-size: 12.5px; font-weight: 650; font-variant-numeric: tabular-nums; color: #4B5563; }
.ecs-demand-meter b { font-size: 13px; font-weight: 750; font-variant-numeric: tabular-nums; }
.ecs-demand-track { position: relative; height: 6px; border-radius: 99px; background: #E6EDF5; overflow: hidden; }
.ecs-demand-zones { position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(90deg, transparent 0 80%, #F3E2B8 80% 95%, #F6D5D8 95% 100%); }
.ecs-demand-track i { position: relative; z-index: 1; display: block; height: 100%; width: 0; border-radius: inherit; background: #1F8A5B; }
.ecs-demand-scale { display: flex; justify-content: space-between; margin-top: 3px; font-size: 9px; font-weight: 650; color: #8A94A0; }
.ecs-demand.is-ok .ecs-demand-track i, .ecs-demand.is-ok:not(.is-hero) .ecs-demand-kpis article:last-child strong, .ecs-demand.is-ok .ecs-demand-meter b { color: #1F8A5B; }
.ecs-demand.is-ok .ecs-demand-track i { background: #1F8A5B; }
.ecs-demand.is-warn .ecs-demand-track i, .ecs-demand.is-warn:not(.is-hero) .ecs-demand-kpis article:last-child strong, .ecs-demand.is-warn .ecs-demand-meter b { color: #C49214; }
.ecs-demand.is-warn .ecs-demand-track i { background: #C49214; }
.ecs-demand.is-hot .ecs-demand-track i, .ecs-demand.is-hot:not(.is-hero) .ecs-demand-kpis article:last-child strong, .ecs-demand.is-hot .ecs-demand-meter b { color: #D14343; }
.ecs-demand.is-hot .ecs-demand-track i { background: #D14343; }
.ecs-demand.is-over .ecs-demand-track i, .ecs-demand.is-over:not(.is-hero) .ecs-demand-kpis article:last-child strong, .ecs-demand.is-over .ecs-demand-meter b { color: #B42318; }
.ecs-demand.is-over .ecs-demand-track i { background: #B42318; }
.ecs-demand.is-hot .ecs-demand-kpis article:first-child strong, .ecs-demand.is-over .ecs-demand-kpis article:first-child strong { color: #1A2330; }
.ecs-demand.is-hero { box-shadow: none; }
.ecs-demand.is-hero .ecs-demand-head { align-items: center; margin-bottom: 12px; min-height: 20px; }
.ecs-demand.is-hero .ecs-demand-head h2 { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 11px; letter-spacing: 0.08em; }
.ecs-demand.is-hero .ecs-demand-head p { margin-top: 3px; font-size: 12px; }
.ecs-demand.is-hero .ecs-demand-span { gap: 16px; }
.ecs-demand.is-hero .ecs-demand-span button { font-size: 13px; font-weight: 600; color: #A3A8B3; }
.ecs-demand.is-hero .ecs-demand-span button.on { color: #111318; border-bottom-color: #111318; }
.ecs-demand-state { margin-left: 8px; font-size: 12px; font-style: normal; font-weight: 650; letter-spacing: 0; text-transform: none; color: #6B7280; }
.ecs-demand.is-hot .ecs-demand-state, .ecs-demand.is-over .ecs-demand-state { color: #c70417; }
.ecs-demand.is-warn .ecs-demand-state { color: #9A6B00; }
.ecs-demand.is-ok .ecs-demand-state { color: #157A45; }
.ecs-demand.is-hero .ecs-demand-kpis { grid-template-columns: 1.3fr repeat(3, minmax(0, 1fr)); align-items: end; gap: 0; margin-bottom: 6px; }
.ecs-demand.is-hero .ecs-demand-kpis article { padding: 0 14px; border-left: 1px solid #EEF0F3; }
.ecs-demand.is-hero .ecs-demand-kpis article:first-child { border-left: 0; padding-left: 2px; }
.ecs-demand.is-hero .ecs-demand-kpis span { font-size: 11px; letter-spacing: 0.08em; color: #6B7280; }
.ecs-demand.is-hero .ecs-demand-kpis article:first-child strong { font-size: 34px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.05; white-space: nowrap; }
.ecs-demand.is-hero .ecs-demand-kpis article:first-child strong small { display: inline; margin: 0 0 0 4px; font-size: 14px; font-weight: 600; letter-spacing: 0; color: #6B7280; }
.ecs-demand.is-hero .ecs-demand-kpis strong { font-size: 18px; font-weight: 700; }
.ecs-demand.is-hero .ecs-demand-kpis small { font-size: 11px; color: #6B7280; }
.ecs-demand.is-hero.is-hot .is-pct strong, .ecs-demand.is-hero.is-over .is-pct strong { color: #E3262D; }
.ecs-demand.is-hero.is-warn .is-pct strong { color: #D98A00; }
.ecs-demand.is-hero.is-ok .is-pct strong { color: #16803C; }
.ecs-demand.is-hero .ecs-demand-meter { margin-top: 16px; }
.ecs-demand.is-hero .ecs-demand-track { height: 6px; overflow: visible; border-radius: 3px; background: #ECEEF1; }
.ecs-demand.is-hero .ecs-demand-zones { background: linear-gradient(90deg, transparent 0 80%, #FBE3B0 80% 95%, #F7C9CB 95% 100%); }
.ecs-demand.is-hero .ecs-demand-now { position: absolute; z-index: 2; top: -4px; bottom: -4px; width: 2px; background: #E3262D; }
.ecs-demand.is-hero.is-warn .ecs-demand-now { background: #D98A00; }
.ecs-demand.is-hero.is-ok .ecs-demand-now { background: #16803C; }
.ecs-demand.is-hero .ecs-demand-now span { position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%); padding: 1px 6px; border-radius: 4px; background: #E3262D; color: #fff; font-size: 9.5px; font-weight: 700; white-space: nowrap; }
.ecs-demand.is-hero.is-warn .ecs-demand-now span { background: #D98A00; }
.ecs-demand.is-hero.is-ok .ecs-demand-now span { background: #16803C; }
.ecs-demand.is-hero .ecs-demand-now span::after { content: ""; position: absolute; top: 100%; left: 50%; margin-left: -3px; border: 3px solid transparent; border-top-color: #E3262D; }
.ecs-demand.is-hero.is-warn .ecs-demand-now span::after { border-top-color: #D98A00; }
.ecs-demand.is-hero.is-ok .ecs-demand-now span::after { border-top-color: #16803C; }
.ecs-demand.is-hero .ecs-demand-scale { position: relative; height: 16px; margin-top: 6px; font-size: 11px; font-weight: 600; color: #6B7280; }
.ecs-demand-card:has(.is-hero) { padding: 14px 16px; }
.ecs-demand.is-hero .ecs-demand-meta { gap: 22px; margin-top: 10px; padding-top: 12px; border-top-color: #EEF0F3; }
.ecs-demand.is-hero .ecs-demand-meta span { font-size: 11px; letter-spacing: 0.08em; }
.ecs-demand.is-hero .ecs-demand-meta b { font-size: 13px; margin-left: 6px; }
.ecs-demand-chart { position: relative; width: 100%; margin-top: 14px; min-height: 0; }
.ecs-mt-pair.is-top .ecs-demand-card { display: flex; flex-direction: column; }
.ecs-mt-pair.is-top .ecs-demand.is-hero { flex: 1; display: flex; flex-direction: column; min-height: 0; }
.ecs-mt-pair.is-top .ecs-demand-chart { flex: 1 1 auto; min-height: 120px; }
.ecs-demand-chart svg { display: block; width: 100%; }
.ecs-demand-tip { position: absolute; z-index: 3; pointer-events: none; transform: translate(-50%, -112%); background: #1F2329; color: #fff; border-radius: 6px; padding: 8px 10px; font-size: 12px; line-height: 1.45; white-space: nowrap; box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18); }
.ecs-demand-tip::after { content: ""; position: absolute; top: 100%; left: 50%; margin-left: -4px; border: 4px solid transparent; border-top-color: #1F2329; }
.ecs-demand-tip span { display: block; color: #A9AEB9; font-size: 11px; }
.ecs-demand-tip b { display: block; margin-top: 2px; font-size: 13px; }
.ecs-demand-leg { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 8px; font-size: 12px; font-weight: 600; color: #6B7280; }
.ecs-demand-leg span { display: inline-flex; align-items: center; gap: 5px; }
.ecs-demand-leg i { width: 9px; height: 9px; border-radius: 2px; display: inline-block; }
.ecs-demand-leg i.ok { background: #16803C; }
.ecs-demand-leg i.warn { background: #D98A00; }
.ecs-demand-leg i.hot { background: #E3262D; }
.ecs-demand-leg i.lim { height: 0; width: 14px; border-top: 1.5px dashed #E3262D; border-radius: 0; background: none; }
.ecs-demand-meta { display: flex; flex-wrap: wrap; gap: 4px 18px; margin-top: 8px; padding-top: 6px; border-top: 1px solid #EEF1F4; }
.ecs-demand-meta div { display: flex; align-items: baseline; gap: 6px; }
.ecs-demand-meta span { font-size: 10px; font-weight: 750; letter-spacing: 0.06em; text-transform: uppercase; color: #8A94A0; }
.ecs-demand-meta b { font-size: 12px; font-weight: 700; font-variant-numeric: tabular-nums; color: #1A2330; }
@media (max-width: 980px) {
  .ecs-demand-kpis, .ecs-demand-kpis.is-short { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ecs-demand-meta { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .ecs-demand-head { flex-direction: column; }
  .ecs-demand-kpis, .ecs-demand-kpis.is-short { grid-template-columns: 1fr; }
}
.ecs-log { margin-top: 8px; background: #fff; border: 1px solid #E5E7EB; border-radius: 16px; padding: 8px 12px 4px; }
.ecs-log h2 { margin: 0 0 4px; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: #363F48; }
.ecs-log-row { display: grid; grid-template-columns: 4px 56px minmax(0, 1fr); gap: 10px; align-items: center; width: 100%; min-height: 36px; margin: 0; padding: 0; border: 0; border-top: 1px solid #F3F4F6; background: none; font: inherit; text-align: left; cursor: pointer; }
.ecs-log-row:first-child { border-top: 0; }
.ecs-log-row:hover { background: #FAFAFB; }
.ecs-log-row i { display: block; width: 4px; height: 18px; border-radius: 2px; background: #D1D5DB; }
.ecs-log-row.bad i { background: #e8061c; }
.ecs-log-row.warn i { background: #E0A106; }
.ecs-log-row.ok i { background: #1F9A6A; }
.ecs-log-row time { font-variant-numeric: tabular-nums; font-weight: 750; font-size: 13px; color: #363F48; }
.ecs-log-row span { font-size: 13.5px; font-weight: 650; color: #1F2937; }
.ecs-log-empty { margin: 8px 0 10px; color: #6B7280; font-size: 13px; }
.ecs-gen-out { background: #fff; border: 1px solid #E5E7EB; border-radius: 12px; padding: 8px 12px 6px; }
.ecs-gen-out h2 { margin: 0 0 2px; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: #363F48; }
.ecs-work.ecs-build { grid-template-columns: 188px minmax(0, 1fr) 280px; }
.ecs-work.ecs-build.ecs-phase-identity,
.ecs-work.ecs-build.ecs-phase-publish { grid-template-columns: minmax(0, 1fr); }
.ecs-work.ecs-build.ecs-phase-layout { grid-template-columns: 188px minmax(0, 1fr); }
.ecs-work.ecs-build.ecs-phase-bind { grid-template-columns: minmax(0, 1fr) 280px; }
.ecs-work.ecs-build.ecs-mt-live { grid-template-columns: 188px minmax(0, 1fr); align-items: start; gap: 10px; }
.ecs-work.ecs-build.ecs-mt-live.ecs-phase-identity,
.ecs-work.ecs-build.ecs-mt-live.ecs-phase-publish { grid-template-columns: minmax(0, 1fr); }
.ecs-work.ecs-build.ecs-mt-live.ecs-phase-layout { grid-template-columns: 188px minmax(0, 1fr); }
.ecs-work.ecs-build.ecs-mt-live.ecs-phase-bind,
.ecs-work.ecs-build.ecs-mt-live.ecs-phase-bind.is-bind { grid-template-columns: minmax(0, 1fr) 280px; }
.ecs-work.ecs-build.ecs-mt-live.is-bind { grid-template-columns: 188px minmax(0, 1fr) 280px; }
.ecs-work.ecs-build.ecs-mt-live:not(.is-bind) .ecs-drawer { display: none; }
.ecs-work.ecs-build.ecs-phase-bind .ecs-drawer { display: block; }
.ecs-work.ecs-build.ecs-phase-bind .ecs-cut,
.ecs-work.ecs-build.ecs-phase-bind .ecs-cut-card { display: none; }
.ecs-work.ecs-build.ecs-mt-live .ecs-stage { min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.ecs-work.ecs-build.ecs-mt-live .ecs-gen-edit { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 8px 12px; margin: 0; min-height: 0; }
.ecs-work.ecs-build.ecs-mt-live .ecs-gen-edit .ecs-form { flex: 1 1 520px; margin: 0; display: grid; grid-template-columns: 72px minmax(140px, 200px) minmax(160px, 1fr) auto; gap: 8px; align-items: end; }
.ecs-work.ecs-build.ecs-mt-live .ecs-gen-edit .ecs-form label { min-width: 0; }
.ecs-work.ecs-build.ecs-mt-live .ecs-gen-edit .ecs-form input { width: 100%; }
.ecs-work.ecs-build.ecs-mt-live .ecs-gen-edit .ecs-gen-tools { margin: 0; }
.ecs-work.ecs-build.ecs-mt-live .ecs-mt-board,
.ecs-work.ecs-build.ecs-mt-live .ecs-mt-board > .ecs-gen.is-mt { gap: 10px; }
.ecs-work.ecs-build.ecs-mt-live .ecs-mt-pair { grid-template-columns: minmax(0, 1fr) minmax(240px, 32%); gap: 10px; align-items: start; }
.ecs-work.ecs-build.ecs-mt-live .ecs-mt-pair.is-top { align-items: stretch; }
.ecs-work.ecs-build.ecs-mt-live .ecs-mt-main,
.ecs-work.ecs-build.ecs-mt-live .ecs-mt-rail { gap: 10px; }
.ecs-work.ecs-build.ecs-mt-live .ecs-mt-main > .ecs-gen-out,
.ecs-work.ecs-build.ecs-mt-live .ecs-mt-main > .ecs-demand-card,
.ecs-work.ecs-build.ecs-mt-live .ecs-mt-main > .ecs-trend-card { flex: none; }
.ecs-work.ecs-build.ecs-mt-live .ecs-mt-pair.is-top .ecs-mt-main > .ecs-demand-card { flex: 1; }
.ecs-work.ecs-build.ecs-mt-live .ecs-mt-pair.is-bot { align-items: stretch; }
.ecs-work.ecs-build.ecs-mt-live .ecs-mt-pair.is-bot .ecs-mt-main > .ecs-mt-phase { flex: 1; }
.ecs-work.ecs-build.ecs-mt-live .ecs-mt-pair.is-bot .ecs-log { min-height: 0; flex: 1; }
.ecs-work.ecs-build.ecs-mt-live .ecs-mt-mets.is-status { max-width: 880px; }
.ecs-work.ecs-build.ecs-mt-live .ecs-mt-phase table { width: auto; min-width: 100%; }
.ecs-work.ecs-build.ecs-mt-live .ecs-mt-phase th:not(:first-child),
.ecs-work.ecs-build.ecs-mt-live .ecs-mt-phase td.num { width: 1%; }
.ecs-work.ecs-build.ecs-mt-live .ecs-demand-chart { min-height: 0; }
.ecs-work.ecs-build.ecs-mt-live .ecs-mt-pair.is-top .ecs-demand-chart { min-height: 112px; }
.ecs-work.ecs-build.ecs-mt-live .ecs-demand.is-hero .ecs-demand-kpis { gap: 0 4px; }
.ecs-work.ecs-build.ecs-mt-live .ecs-demand.is-hero .ecs-demand-kpis article { padding: 0 10px; }
.ecs-work.ecs-build.ecs-mt-live .ecs-demand.is-hero .ecs-demand-kpis article:first-child strong { font-size: 28px; }
.ecs-work.ecs-build.ecs-mt-live .ecs-demand.is-hero .ecs-demand-setup { margin: 0 0 10px; padding: 8px 10px; }
.ecs-work.ecs-build.ecs-mt-live .ecs-lib { padding: 10px; }
.ecs-work.ecs-build.ecs-mt-live .ecs-lib-item { padding: 6px 8px; margin-bottom: 4px; }
.ecs-work.ecs-build.ecs-mt-live .ecs-lib-item small { font-size: 10px; }
.ecs-build-head { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; cursor: grab; }
.ecs-work.ecs-build .ecs-gen-out { position: relative; cursor: grab; }
.ecs-work.ecs-build .ecs-subslot { cursor: grab; }
.ecs-work.ecs-build .ecs-gen-out input,
.ecs-work.ecs-build .ecs-subslot input { cursor: text; }
.ecs-work.ecs-build .ecs-subtools button,
.ecs-work.ecs-build .ecs-build-head button { cursor: pointer; }
.ecs-empty-slot { margin: 0 0 8px; font-size: 12px; color: #6B7280; }
.ecs-sub-name { height: 26px; min-width: 0; flex: 1; border: 1px solid #E5E7EB; border-radius: 6px; padding: 0 8px; font: inherit; font-size: 12px; color: #363F48; }
.ecs-drop-line { position: fixed; z-index: 80; background: #e8061c; border-radius: 99px; pointer-events: none; }
.ecs-lib { position: sticky; top: 8px; max-height: calc(100vh - 24px); overflow: auto; background: #fff; border: 1px solid #E5E7EB; border-radius: 12px; padding: 10px 8px; }
.ecs-lib p { margin: 0 0 8px; font-size: 12px; line-height: 1.45; color: #6B7280; }
.ecs-lib h3 { margin: 10px 6px 4px; font-size: 10px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: #9CA3AF; }
.ecs-lib h3:first-child { margin-top: 0; }
.ecs-lib-item { display: block; width: 100%; margin: 0; padding: 6px 8px; border: 0; border-radius: 8px; background: transparent; text-align: left; cursor: grab; font: inherit; }
.ecs-lib-item:hover { background: #F8FAF9; }
.ecs-lib-item b { display: block; font-size: 12.5px; font-weight: 650; color: #363F48; }
.ecs-lib-item small { display: block; margin-top: 1px; font-size: 11px; font-weight: 500; color: #9CA3AF; }
.ecs-lib-item.is-on { cursor: default; }
.ecs-lib-item.is-on:hover { background: transparent; }
.ecs-lib-item.is-on b, .ecs-lib-item.is-on small { color: #C4C9CE; }
.ecs-lib-sub { border-left: 0; }
.ecs-drag { cursor: grab; }
.ecs-gen-out.ecs-drop, .ecs-subslot.ecs-drop, .ecs-gen.ecs-drop { outline: 2px solid #e8061c; outline-offset: -2px; }
.ecs-subslot { position: relative; }
.ecs-span-grip { position: absolute; top: 0; right: 0; bottom: 0; width: 12px; cursor: ew-resize; z-index: 3; }
.ecs-span-grip::after { content: ""; position: absolute; top: 12px; bottom: 12px; left: 4px; width: 3px; border-radius: 99px; background: #E5E7EB; }
.ecs-span-grip:hover::after { background: #e8061c; }
.ecs-build-head .ecs-panel-title { flex: 1; min-width: 0; height: 28px; margin: 0; padding: 0; border: 0; border-bottom: 1px solid #E5E7EB; border-radius: 0; background: transparent; font: inherit; font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #363F48; }
.ecs-build-head select, .ecs-build-head button, .ecs-subtools button { height: 26px; margin: 0; padding: 0 8px; border: 1px solid #E5E7EB; border-radius: 6px; background: #fff; color: #363F48; font: inherit; font-size: 11px; font-weight: 600; cursor: pointer; }
.ecs-build-head button:hover, .ecs-subtools button:hover { border-color: #e8061c; color: #e8061c; }
.ecs-subslot { min-width: 0; display: flex; flex-direction: column; }
.ecs-subslot .ecs-gen-meter { flex: 1; }
.ecs-subtools { display: flex; gap: 4px; padding: 0 8px 8px; }
.ecs-gen-sub { margin: 2px 12px 0; font-size: 11px; font-weight: 650; color: #8b949e; }
.ecs-gen-meters + .ecs-gen-sub { margin-top: 2px; padding-top: 8px; border-top: 1px solid #F0F2F4; }
.ecs-gen-meters { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ecs-gen-volts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ecs-gen-amps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ecs-gen-freq { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ecs-gen-energy { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ecs-gen-state { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ecs-gen-alarms { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ecs-gen-motor { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ecs-gen-fuel { grid-template-columns: 1fr; }
.ecs-gen-row { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.75fr); gap: 12px; }
.ecs-gen-volts .ecs-gen-meter:nth-child(3n),
.ecs-gen-amps .ecs-gen-meter:nth-child(3n),
.ecs-gen-energy .ecs-gen-meter:nth-child(3n),
.ecs-gen-state .ecs-gen-meter:nth-child(3n),
.ecs-gen-freq .ecs-gen-meter:nth-child(2n),
.ecs-gen-motor .ecs-gen-meter:nth-child(3n) { border-right: 0; }
.ecs-gen-meter:has(.ecs-mark) { display: grid; grid-template-columns: 18px minmax(0, 1fr); column-gap: 8px; align-items: start; }
.ecs-gen-meter .ecs-mark { grid-row: 1 / span 2; margin-top: 2px; }
.ecs-gen-alarms .ecs-gen-meter b { font-size: 18px; line-height: 1.2; letter-spacing: -0.02em; }
.ecs-gen-alarms .ecs-gen-meter b.bad { color: #e8061c; }
.ecs-gen-alarms .ecs-gen-meter b.warn { color: #9A6B00; }
.ecs-gen-alarms .ecs-gen-meter:nth-child(4n) { border-right: 0; }
.ecs-chips button:not(.on) { color: #8b949e; }
.ecs-chips button:not(.on) i { opacity: 0.35; }
.ecs-gen-split { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(260px, 0.8fr); gap: 12px; }
.ecs-gen-state .ecs-gen-meter b { font-size: 18px; line-height: 1.2; letter-spacing: -0.02em; }
.ecs-gen-lamps .ecs-gen-lamp { padding: 6px 8px; }
.ecs-gen-meter { padding: 4px 10px; border-right: 1px solid #E5E7EB; }
.ecs-gen-meter:last-child { border-right: 0; }
.ecs-gen-meter b { display: block; margin-top: 1px; font-size: 20px; letter-spacing: -0.03em; line-height: 1.05; font-variant-numeric: tabular-nums; color: #1F2937; }
.ecs-gen-meter b i { margin-left: 3px; font-style: normal; font-size: 13px; font-weight: 700; color: #6b7280; }
.ecs-gen + .ecs-trend-card { margin-top: 8px; }
@media (max-width: 1100px) {
  .ecs-gen-meter b { font-size: 17px; }
}
@media (max-width: 1100px) {
  .ecs-gen-status { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ecs-gen-prots { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ecs-gen-photo { height: 168px; }
  .ecs-gen-motor, .ecs-gen-meters, .ecs-gen-elec { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ecs-gen-row, .ecs-gen-split { grid-template-columns: 1fr; }
  .ecs-gen-meter { border-right: 0; border-bottom: 1px solid #E5E7EB; }
}
@media (max-width: 980px) { .ecs-work, .ecs-work.ecs-build, .ecs-work.ecs-build.ecs-mt-live, .ecs-work.ecs-build.ecs-mt-live.is-bind { grid-template-columns: 1fr; } .ecs-drawer { position: static; } .ecs-work.ecs-build.ecs-mt-live:not(.is-bind) .ecs-drawer { display: none; } }
@media (max-width: 1520px) {
  .ecs-work.ecs-build.ecs-mt-live .ecs-mt-pair { grid-template-columns: 1fr; }
  .ecs-work.ecs-build.ecs-mt-live .ecs-mt-pair.is-top .ecs-mt-rail { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .ecs-work.ecs-build.ecs-mt-live .ecs-mt-pair.is-top .ecs-mt-rail > .ecs-gen-out:last-child { grid-column: 1 / -1; }
  .ecs-work.ecs-build.ecs-mt-live .ecs-gen-edit .ecs-form { grid-template-columns: 72px minmax(0, 1fr) minmax(0, 1.2fr) auto; }
}
.ecs-tf-board .ecs-tf-status .ecs-mt-mets { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.ecs-tf-board .ecs-tf-status .ecs-mark { width: 18px; height: 18px; color: #e8061c; }
.ecs-tf-board .ecs-mt-pair.is-top { grid-template-columns: minmax(0, 1fr) 320px; }
.ecs-tf-board .ecs-mt-pair.is-bot { grid-template-columns: minmax(0, 1fr) 320px; }
.ecs-tf-board .ecs-mt-pair.is-top .ecs-mt-rail { display: flex; flex-direction: column; }
.ecs-tf-board .ecs-mt-pair.is-top .ecs-mt-rail > .ecs-gen-out { flex: none; justify-content: flex-start; }
.ecs-tf-board .ecs-mt-pair.is-top .ecs-mt-rail > .ecs-gen-out:last-child { grid-column: auto; }
.ecs-tf-cap { font-size: 11px; letter-spacing: 0.08em; font-weight: 700; text-transform: uppercase; color: #6B7280; }
.ecs-tf-coils { display: grid; gap: 0; }
.ecs-tf-coils.is-3 { grid-template-columns: 1fr 1fr 1fr; }
.ecs-tf-coils.is-4 { grid-template-columns: 1fr 1fr 1fr 1fr; }
.ecs-tf-coils.is-2,
.ecs-tf-coils.is-1 { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }
.ecs-tf-coil { min-width: 0; padding: 2px 18px 0; border-left: 1px solid #EEF0F3; background: transparent; font: inherit; color: inherit; text-align: left; }
.ecs-tf-coil:first-child { border-left: 0; padding-left: 2px; }
button.ecs-tf-coil { cursor: pointer; }
button.ecs-tf-coil.on { outline: 2px solid #e8061c; outline-offset: 2px; }
.ecs-tf-coil-h { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: #111318; }
.ecs-tf-coil-h i { width: 9px; height: 9px; border-radius: 2px; flex: none; }
.ecs-tf-coil-h em { margin-left: auto; font-style: normal; font-size: 9px; font-weight: 800; letter-spacing: 0.06em; color: #E3262D; border: 1px solid #F7C9CB; background: #FDECEC; border-radius: 3px; padding: 1px 5px; }
.ecs-tf-coil-v { font-size: 34px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; margin-top: 4px; font-variant-numeric: tabular-nums; }
.ecs-tf-coil-v small { margin-left: 3px; font-size: 14px; font-weight: 600; color: #6B7280; letter-spacing: 0; }
.ecs-tf-coil.is-amb .ecs-tf-coil-v { color: #6B7280; }
.ecs-tf-spark { position: relative; height: 54px; margin: 6px 0 8px; }
.ecs-tf-spark svg { display: block; width: 100%; height: 54px; }
.ecs-tf-tip { position: absolute; z-index: 4; pointer-events: none; transform: translate(-50%, -110%); background: #1F2329; color: #fff; border-radius: 6px; padding: 6px 8px; font-size: 11px; line-height: 1.35; white-space: nowrap; box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18); }
.ecs-tf-tip[hidden] { display: none; }
.ecs-tf-tip span { display: block; color: #A9AEB9; font-size: 10px; }
.ecs-tf-tip b { display: block; font-size: 12px; font-weight: 700; }
.ecs-tf-tip::after { content: ""; position: absolute; top: 100%; left: 50%; margin-left: -4px; border: 4px solid transparent; border-top-color: #1F2329; }
.ecs-tf-coil-f { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding-top: 8px; border-top: 1px solid #EEF0F3; }
.ecs-tf-coil-f span { display: block; font-size: 10px; font-weight: 600; color: #6B7280; }
.ecs-tf-coil-f b { font-size: 12px; font-weight: 700; color: #111318; font-variant-numeric: tabular-nums; }
.ecs-tf-plate { display: grid; gap: 0; margin: 0; }
.ecs-tf-plate div,
.ecs-tf-fanrow { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 8px 0; border-top: 1px solid #EEF0F3; font-size: 12px; background: transparent; font: inherit; color: inherit; width: 100%; text-align: left; }
.ecs-tf-plate div:first-child,
.ecs-tf-fanrow:first-child { border-top: 0; padding-top: 0; }
button.ecs-tf-fanrow { margin: 0; border: 0; border-top: 1px solid #EEF0F3; border-radius: 0; cursor: pointer; }
button.ecs-tf-fanrow:first-child { border-top: 0; }
button.ecs-tf-fanrow.on { outline: 2px solid #e8061c; outline-offset: 2px; }
.ecs-tf-fanrow { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; }
.ecs-tf-fanic { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: #EEF0F3; color: #9CA3AF; }
.ecs-tf-fanic svg { width: 18px; height: 18px; transform-box: fill-box; transform-origin: center; }
.ecs-tf-fanic.is-ok { background: #E7F6EE; color: #16803C; }
.ecs-tf-fanic.is-ok svg { animation: ecs-tf-spin 1.4s linear infinite; }
.ecs-tf-fanic.is-off { background: #F3F4F6; color: #C3C7CE; }
.ecs-tf-fanrow.is-ok dd { color: #16803C; }
.ecs-tf-fanrow.is-off dd { color: #6B7280; font-weight: 650; }
@keyframes ecs-tf-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .ecs-tf-fanic.is-ok svg { animation: none; } }
.ecs-tf-plate dt,
.ecs-tf-fanrow dt { color: #6B7280; font-weight: 500; }
.ecs-tf-plate dd,
.ecs-tf-fanrow dd { display: inline-flex; align-items: center; justify-content: flex-end; gap: 6px; font-weight: 700; color: #111318; text-align: right; margin: 0; }
.ecs-tf-ident { display: flex; flex-direction: column; }
.ecs-tf-ident .ecs-tf-plate { flex: none; }
.ecs-tf-ident dd { flex: 1; min-width: 0; }
.ecs-tf-plate input,
.ecs-tf-plate select { width: 100%; max-width: 100%; margin: 0; border: 1px solid #E5E7EB; border-radius: 6px; background: #fff; padding: 4px 8px; font: inherit; font-size: 12px; font-weight: 650; text-align: right; color: #111318; }
.ecs-tf-plate input::placeholder { color: #C3C7CE; font-weight: 500; }
.ecs-gen.is-tf { gap: 14px; }
.ecs-tf-cols { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 14px; align-items: stretch; }
.ecs-tf-col { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.ecs-tf-col > .ecs-gen-out,
.ecs-tf-col > .ecs-trend-card,
.ecs-tf-col > .ecs-log { width: 100%; }
.ecs-tf-col.is-main > .ecs-trend-card { flex: 1 1 auto; display: flex; flex-direction: column; min-height: 220px; }
.ecs-tf-col.is-main .ecs-trend { flex: 1 1 auto; min-height: 180px; }
.ecs-tf-col.is-side > .ecs-log { flex: 1 1 auto; display: flex; flex-direction: column; min-height: 0; }
.ecs-tf-board .ecs-mt-pair.is-bot .ecs-log,
.ecs-work.ecs-build.ecs-mt-live .ecs-tf-board .ecs-mt-pair.is-bot .ecs-log {
  flex: 0 0 auto;
  min-height: 0;
  align-self: flex-start;
  width: 100%;
}
.ecs-tf-board .ecs-log [data-log-list] { flex: none; }
.ecs-tf-ld-top { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 28px; align-items: end; }
.ecs-tf-ld-side { min-width: 0; }
.ecs-tf-ld-hero { display: block; width: 100%; background: none; border: 0; padding: 0; font: inherit; color: inherit; text-align: left; }
button.ecs-tf-ld-hero { cursor: pointer; }
button.ecs-tf-ld-hero.on { outline: 2px solid #e8061c; outline-offset: 2px; }
.ecs-tf-ld-big { font-size: 42px; font-weight: 800; letter-spacing: -0.03em; line-height: 1; margin-top: 4px; font-variant-numeric: tabular-nums; }
.ecs-tf-ld-big small { margin-left: 3px; font-size: 16px; font-weight: 600; color: #6B7280; letter-spacing: 0; }
.ecs-tf-ld-note { display: block; margin-top: 6px; padding: 0; border: 0; background: none; font: inherit; font-size: 13px; font-weight: 650; color: #6B7280; text-align: left; }
button.ecs-tf-ld-note { cursor: pointer; }
button.ecs-tf-ld-note.on { outline: 2px solid #e8061c; outline-offset: 2px; }
.ecs-tf-ld-meter { min-width: 0; padding-bottom: 2px; }
.ecs-tf-load .ecs-mt-table { margin-top: 14px; padding-top: 14px; border-top: 1px solid #EEF0F3; overflow-x: auto; }
.ecs-tf-load table { width: 100%; border-collapse: collapse; }
.ecs-tf-load th { font-size: 12px; font-weight: 600; color: #374151; text-align: right; padding: 0 12px 8px; border-bottom: 1px solid #E5E7EB; white-space: nowrap; }
.ecs-tf-load th span { display: inline-flex; align-items: center; justify-content: flex-end; gap: 6px; }
.ecs-tf-load th .ecs-mark { width: 14px; height: 14px; color: #e8061c; }
.ecs-tf-load th:first-child,
.ecs-tf-load td:first-child { text-align: left; padding-left: 2px; width: 64px; }
.ecs-tf-load td { padding: 10px 12px; text-align: right; border-bottom: 1px solid #EEF0F3; font-size: 15px; font-weight: 700; font-variant-numeric: tabular-nums; color: #111318; white-space: nowrap; }
.ecs-tf-load tr:last-child td { border-bottom: 0; }
.ecs-tf-load tbody tr:hover td { background: #FAFAFB; }
.ecs-tf-load td small { font-size: 11px; font-weight: 600; color: #6B7280; margin-left: 2px; }
.ecs-tf-load td em { font-style: normal; font-size: 11px; font-weight: 700; color: #9CA3AF; margin-right: 6px; }
.ecs-tf-load .ecs-mt-mets.is-foot { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 2px; padding-top: 12px; border-top: 1px solid #E5E7EB; justify-content: stretch; }
.ecs-tf-cur { display: inline-flex; align-items: center; justify-content: flex-end; gap: 10px; border: 0; background: none; padding: 0; font: inherit; color: inherit; }
button.ecs-tf-cur { cursor: pointer; }
.ecs-tf-mini { position: relative; width: 72px; height: 4px; border-radius: 2px; background: #ECEEF1; overflow: hidden; }
.ecs-tf-mini b { position: absolute; inset: 0 auto 0 0; border-radius: 2px; }
.ecs-tf-ldm-track { position: relative; height: 10px; border-radius: 5px; overflow: hidden; background: #ECEEF1; }
.ecs-tf-ldm-z { position: absolute; top: 0; bottom: 0; left: 80%; right: 0; background: #FBE6BD; }
.ecs-tf-ldm-track i { position: absolute; inset: 0 auto 0 0; background: #1F2329; border-radius: 5px; }
.ecs-tf-ldm-ticks { display: flex; justify-content: space-between; margin-top: 7px; font-size: 11px; font-weight: 600; color: #9CA3AF; }
@media (max-width: 1180px) {
  .ecs-tf-board .ecs-tf-status .ecs-mt-mets { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 10px; }
  .ecs-tf-cols { grid-template-columns: 1fr; }
  .ecs-tf-coils.is-4,
  .ecs-tf-coils.is-3 { grid-template-columns: 1fr 1fr 1fr; }
  .ecs-tf-coil:nth-child(odd) { border-left: 0; padding-left: 2px; }
  .ecs-tf-ld-top { grid-template-columns: 1fr; gap: 16px; }
  .ecs-ups-scheme { grid-template-columns: 1fr; grid-template-areas: "in" "unit" "bat" "out"; row-gap: 10px; }
  .ecs-ups-wire, .ecs-ups-byp { display: none; }
  .ecs-ups-board .ecs-tf-cols,
  .ecs-ups-split { grid-template-columns: 1fr; }
  .ecs-ups-bits { grid-template-columns: 1fr; }
}
.ecs-gen.is-ups { gap: 14px; }
.ecs-ups-board .ecs-tf-cols { grid-template-columns: minmax(0, 1fr) 340px; align-items: stretch; }
.ecs-ups-board .ecs-tf-col.is-main > .ecs-ups-load,
.ecs-ups-board .ecs-tf-col.is-side > .ecs-gen-out { flex: 1 1 auto; }
.ecs-ups-split { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 14px; align-items: start; position: relative; }
.ecs-ups-split > .ecs-trend-card { grid-column: 1; grid-row: 1; width: 100%; margin: 0; align-self: start; overflow: visible; }
.ecs-ups-split > .ecs-log { position: absolute; grid-column: 2; grid-row: 1; top: 0; right: 0; bottom: 0; left: 0; width: auto; height: auto; margin: 0; min-height: 0; display: flex; flex-direction: column; overflow: hidden; box-sizing: border-box; }
.ecs-ups-board .ecs-ups-split > .ecs-log [data-log-list] { flex: 1 1 auto; min-height: 0; overflow: auto; }
.ecs-ups-board .ecs-ups-tabs { flex-wrap: wrap; row-gap: 0; }
.ecs-ups-bits { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; align-items: stretch; }
.ecs-ups-bits.is-one { grid-template-columns: 1fr; }
.ecs-ups-bits > .ecs-gen-out { min-width: 0; }
@media (max-width: 1180px) {
  .ecs-ups-board .ecs-tf-cols,
  .ecs-ups-split,
  .ecs-ups-bits { grid-template-columns: 1fr; }
  .ecs-ups-split > .ecs-trend-card,
  .ecs-ups-split > .ecs-log { grid-column: 1; grid-row: auto; }
  .ecs-ups-split > .ecs-log { position: static; height: auto; inset: auto; overflow: visible; }
}
.ecs-ups-board .ecs-tf-col.is-side > .ecs-log { flex: 1 1 auto; min-height: 0; margin-top: 0; }
.ecs-ups-head { display: flex; align-items: center; gap: 16px; margin: 0 0 8px; }
.ecs-ups-head h2 { margin: 0; }
.ecs-ups-status { display: flex; flex-wrap: wrap; gap: 14px 18px; margin-left: auto; }
.ecs-ups-lamp { display: inline-flex; align-items: center; gap: 6px; border: 0; background: none; padding: 0; font: inherit; color: #6B7280; font-size: 12px; font-weight: 650; }
button.ecs-ups-lamp { cursor: pointer; }
.ecs-ups-lamp i { width: 7px; height: 7px; border-radius: 50%; }
.ecs-ups-lamp b { color: #111318; font-weight: 750; }
.ecs-ups-age { font-size: 12px; font-weight: 650; color: #9CA3AF; font-variant-numeric: tabular-nums; }
/* Nobreak: faixa de leituras + unifilar (rede → retificador/inversor → carga, bypass por cima, bateria por baixo).
   Cor só para estado anormal; valor normal fica em preto. */
.ecs-ups-board .ecs-gen-out { box-sizing: border-box; min-width: 0; }
/* Resumo em card próprio, acima do unifilar. */
.ecs-ups-summary { padding: 6px 4px; }
.ecs-ups-kpis { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin: 0; }
.ecs-ups-kpi { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border: 0; border-left: 1px solid #E5E7EB; background: none; font: inherit; color: inherit; text-align: left; min-width: 0; }
.ecs-ups-kpi:first-child { border-left: 0; }
button.ecs-ups-kpi { cursor: pointer; }
/* Bolha do ícone na cor do estado; neutra quando a leitura não tem faixa de alerta. */
.ecs-ups-kico { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #F3F4F6; color: #374151; }
.ecs-ups-board .ecs-ups-kico .ecs-mark { width: 22px; height: 22px; margin: 0; color: inherit; }
.ecs-ups-kico.is-ok { background: #E7F6EE; color: #16803C; }
.ecs-ups-kico.is-warn { background: #FEF3DC; color: #B45309; }
.ecs-ups-kico.is-bad { background: #FDE7E8; color: #C8102E; }
.ecs-ups-ktxt { display: flex; flex-direction: column; gap: 2px; flex: 1 1 auto; min-width: 0; }
.ecs-ups-ktxt > span { font-size: 11px; font-weight: 600; color: #6B7280; }
.ecs-ups-ktxt > b { display: flex; align-items: baseline; font-size: 24px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; font-variant-numeric: tabular-nums; color: #111318; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ecs-ups-ktxt > b small { margin-left: 3px; font-size: 13px; font-weight: 600; color: #6B7280; letter-spacing: 0; }
.ecs-ups-ktxt > b .ecs-ups-cell { display: inline; }
.ecs-ups-ktxt > b.is-warn { color: #B45309; }
.ecs-ups-ktxt > b.is-bad { color: #C8102E; }
.ecs-ups-ktxt > em { font-style: normal; font-size: 12px; font-weight: 500; color: #6B7280; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-variant-numeric: tabular-nums; }
.ecs-ups-kbar { position: relative; width: 100%; height: 4px; margin-top: 6px; border-radius: 2px; background: #EEF0F3; overflow: hidden; }
.ecs-ups-kbar i { position: absolute; left: 0; top: 0; bottom: 0; width: 0; max-width: 100%; border-radius: 2px; background: #374151; }
.ecs-ups-kbar.is-none { visibility: hidden; }
.ecs-ups-kbar.is-ok i { background: #2E9B62; }
.ecs-ups-kbar.is-warn i { background: #E0A106; }
.ecs-ups-kbar.is-bad i { background: #C8102E; }
.ecs-ups-tag { margin-left: 6px; font-style: normal; font-size: 11px; font-weight: 600; letter-spacing: 0; text-transform: none; color: #6B7280; }
.ecs-ups-tag.is-warn { color: #B45309; }
.ecs-ups-tag.is-bad { color: #C8102E; }
.ecs-gmg-head .ecs-ups-tag { margin-left: auto; font-size: 12px; }
.ecs-ups-scheme { display: grid; grid-template-columns: minmax(0, 1fr) 64px minmax(0, 1fr) 64px minmax(0, 1fr); grid-template-rows: 30px auto 24px auto; grid-template-areas: "byp byp byp byp byp" "in la unit lb out" ". . stem . ." ". . bat . ."; align-items: center; margin: 24px 0 6px; }
.ecs-ups-in { grid-area: in; }
.ecs-ups-la { grid-area: la; }
.ecs-ups-unit { grid-area: unit; }
.ecs-ups-lb { grid-area: lb; }
.ecs-ups-out { grid-area: out; }
.ecs-ups-bank { grid-area: bat; }
.ecs-ups-box { box-sizing: border-box; align-self: stretch; display: flex; flex-direction: column; justify-content: center; min-height: 112px; border: 1px solid #D5D9DF; border-radius: 8px; background: #fff; padding: 12px 14px; text-align: center; min-width: 0; }
.ecs-ups-box.is-off .ecs-ups-big { color: #9CA3AF; }
.ecs-ups-unit { border-color: #9CA3AF; }
.ecs-ups-stages { display: flex; justify-content: center; gap: 14px; margin-top: 8px; }
.ecs-ups-stages span { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 600; color: #9CA3AF; }
.ecs-ups-stages i { width: 7px; height: 7px; border-radius: 50%; background: #D5D9DF; }
.ecs-ups-stages .is-on { color: #374151; }
.ecs-ups-stages .is-on i { background: #2E9B62; }
.ecs-ups-flow .ecs-ups-big.is-ok { color: #111318; }
.ecs-ups-flow .ecs-ups-big.is-warn { color: #B45309; }
.ecs-ups-flow .ecs-ups-big.is-bad { color: #C8102E; }
.ecs-ups-sub > .ecs-ups-cell { display: inline; }
.ecs-ups-sub > span { margin: 0 5px; color: #C3C7CE; }
.ecs-ups-sub small { margin-left: 2px; }
.ecs-ups-big .ecs-ups-cell { display: inline; }
/* Condutores: cinza sem fluxo, verde com fluxo pelo inversor, âmbar por bypass ou bateria. */
.ecs-ups-wire { position: relative; height: 2px; background: #C3C7CE; }
.ecs-ups-wire.is-on { background: #2E9B62; }
.ecs-ups-wire.is-warn { background: #E0A106; }
.ecs-ups-wire::after { content: ""; position: absolute; right: -1px; top: 50%; transform: translateY(-50%); border-left: 7px solid; border-left-color: inherit; border-top: 4px solid transparent; border-bottom: 4px solid transparent; }
.ecs-ups-la::after, .ecs-ups-lb::after { border-left-color: #C3C7CE; }
.ecs-ups-la.is-on::after, .ecs-ups-lb.is-on::after { border-left-color: #2E9B62; }
.ecs-ups-stem { grid-area: stem; justify-self: center; width: 2px; height: 100%; }
.ecs-ups-stem::after { display: none; }
.ecs-ups-byp { grid-area: byp; align-self: stretch; position: relative; margin: 0 calc((100% - 128px) / 6); border: 1px solid #C3C7CE; border-bottom: 0; border-radius: 6px 6px 0 0; }
.ecs-ups-byp.is-on { border-color: #E0A106; border-width: 2px; border-bottom: 0; }
.ecs-ups-byp span { position: absolute; left: 50%; top: 0; transform: translate(-50%, -50%); padding: 0 8px; background: #fff; font-size: 11px; font-weight: 600; color: #6B7280; white-space: nowrap; font-variant-numeric: tabular-nums; }
.ecs-ups-byp.is-on span { color: #B45309; }
.ecs-ups-byp.is-off span { color: #C8102E; }
@media (max-width: 1180px) {
  .ecs-ups-kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ecs-ups-kpi:nth-child(3n+1) { border-left: 0; }
  .ecs-ups-kpi:nth-child(n+4) { border-top: 1px solid #E5E7EB; }
  .ecs-ups-scheme { grid-template-columns: 1fr; grid-template-rows: none; grid-template-areas: "in" "unit" "bat" "out"; row-gap: 10px; }
  .ecs-ups-wire, .ecs-ups-byp { display: none; }
}
/* Situação e alarmes: célula compacta (rótulo em cima, valor embaixo). Normal fica discreto; só o estado ativo ganha cor. */
.ecs-ups-inds { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 8px; }
.ecs-ups-ind { display: grid; grid-template-columns: 20px minmax(0, 1fr); grid-template-areas: "ico lbl" "ico val"; align-items: center; column-gap: 12px; row-gap: 3px; padding: 9px 14px; border: 0; border-top: 1px solid #EEF0F3; border-left: 1px solid #EEF0F3; background: none; font: inherit; color: #6B7280; text-align: left; min-width: 0; }
.ecs-ups-ind:nth-child(-n+4) { border-top: 0; }
.ecs-ups-ind:nth-child(4n+1) { border-left: 0; padding-left: 0; }
button.ecs-ups-ind { cursor: pointer; }
.ecs-ups-ind .ecs-mark { grid-area: ico; width: 20px; height: 20px; color: #8E95A1; }
.ecs-ups-ind.is-ok .ecs-mark { color: #2E9B62; }
.ecs-ups-ind.is-warn .ecs-mark { color: #B45309; }
.ecs-ups-ind.is-bad .ecs-mark { color: #C8102E; }
.ecs-ups-ind span { grid-area: lbl; font-size: 11px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ecs-ups-ind b { grid-area: val; font-size: 14px; font-weight: 700; color: #111318; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ecs-ups-ind.is-warn b { color: #B45309; }
.ecs-ups-ind.is-bad b { color: #C8102E; }
.ecs-ups-ind.is-mute b { color: #A3A8B3; font-weight: 500; }
.ecs-gmg-head .ecs-ups-tag.is-title { margin-left: 0; font-size: 12px; }
/* Título tem margem inferior: alinhar pela linha de base, não pelo centro. */
.ecs-ups-board .ecs-gmg-head { align-items: baseline; }
.ecs-gmg-head .ecs-ups-tag.is-title::before { content: "·"; margin-right: 6px; color: #C3C7CE; }
/* Tela larga: os 8 itens numa linha só. */
@media (min-width: 1600px) {
  .ecs-ups-inds { grid-template-columns: repeat(8, minmax(0, 1fr)); }
  .ecs-ups-ind:nth-child(n) { border-top: 0; border-left: 1px solid #EEF0F3; padding-left: 14px; }
  .ecs-ups-ind:nth-child(8n+1) { border-left: 0; padding-left: 0; }
  .ecs-ups-ind:nth-child(n+9) { border-top: 1px solid #EEF0F3; }
}
@media (max-width: 1180px) {
  .ecs-ups-inds { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ecs-ups-ind:nth-child(n) { border-top: 1px solid #EEF0F3; border-left: 1px solid #EEF0F3; padding-left: 14px; }
  .ecs-ups-ind:nth-child(-n+2) { border-top: 0; }
  .ecs-ups-ind:nth-child(2n+1) { border-left: 0; padding-left: 0; }
}
@media (max-width: 640px) {
  .ecs-ups-inds { grid-template-columns: 1fr; }
  .ecs-ups-ind:nth-child(n) { border-left: 0; padding-left: 0; border-top: 1px solid #EEF0F3; }
  .ecs-ups-ind:first-child { border-top: 0; }
  .ecs-ups-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* Bypass: tabela por fase. */
.ecs-ups-mini { width: 100%; margin-top: 6px; border-collapse: collapse; font-size: 12px; font-variant-numeric: tabular-nums; }
.ecs-ups-mini th { padding: 4px 0 6px; font-size: 11px; font-weight: 600; color: #9CA3AF; text-align: right; }
.ecs-ups-mini th:first-child, .ecs-ups-mini td:first-child { text-align: left; }
.ecs-ups-mini td { padding: 8px 0; border-top: 1px solid #EEF0F3; font-weight: 700; color: #111318; text-align: right; }
.ecs-ups-mini small, .ecs-ups-minifoot small, .ecs-tf-plate dd small { margin-left: 2px; font-size: 11px; font-weight: 600; color: #6B7280; }
.ecs-ups-minifoot { display: flex; justify-content: space-between; padding: 8px 0 4px; border-top: 1px solid #EEF0F3; font-size: 12px; color: #6B7280; }
.ecs-ups-minifoot b { color: #111318; font-variant-numeric: tabular-nums; }
/* Valor dentro de uma linha de placa não é outra linha da placa. */
.ecs-tf-plate dd > div.ecs-ups-cell { display: inline; width: auto; padding: 0; border: 0; }
.ecs-ups-load .ecs-tf-ld-big.is-warn { color: #B45309; }
.ecs-ups-load .ecs-tf-ld-big.is-bad { color: #C8102E; }
.ecs-ups-load .ecs-tf-ldm-track i.is-warn { background: #E0A106; }
.ecs-ups-load .ecs-tf-ldm-track i.is-bad { background: #C8102E; }
.ecs-ups-ldm-warn { position: absolute; top: 0; bottom: 0; left: 75%; width: 1px; background: #9CA3AF; z-index: 1; }
.ecs-ups-boxin { display: block; width: 100%; border: 0; background: none; padding: 0; font: inherit; color: inherit; text-align: center; }
button.ecs-ups-boxin { cursor: pointer; }
.ecs-ups-cap { margin-bottom: 4px; font-size: 11px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: #6B7280; }
.ecs-ups-big { margin-top: 0; font-size: 32px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.05; font-variant-numeric: tabular-nums; color: #111318; }
.ecs-ups-big small { margin-left: 3px; font-size: 13px; font-weight: 650; color: #6B7280; letter-spacing: 0; }
.ecs-ups-big.is-ok { color: #16803C; }
.ecs-ups-big.is-warn { color: #C48A12; }
.ecs-ups-big.is-bad { color: #e8061c; }
.ecs-ups-name { font-size: 18px; font-weight: 800; letter-spacing: -0.02em; color: #111318; line-height: 1.15; }
.ecs-ups-sub { margin-top: 4px; font-size: 12px; font-weight: 650; color: #6B7280; font-variant-numeric: tabular-nums; }
.ecs-ups-ph { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 14px; margin-top: 8px; }
.ecs-ups-chip { display: inline-flex; align-items: center; gap: 5px; border: 0; background: none; padding: 0; font: inherit; font-size: 13px; font-weight: 750; color: #111318; font-variant-numeric: tabular-nums; }
button.ecs-ups-chip { cursor: pointer; }
.ecs-ups-chip i { width: 8px; height: 8px; border-radius: 2px; }
.ecs-ups-cell { border: 0; background: none; padding: 0; font: inherit; color: inherit; font-variant-numeric: tabular-nums; }
button.ecs-ups-cell { cursor: pointer; }
.ecs-ups-load .ecs-tf-ld-top { grid-template-columns: 200px minmax(0, 1fr); gap: 28px; align-items: end; margin-bottom: 14px; padding-bottom: 16px; border-bottom: 1px solid #EEF0F3; }
.ecs-ups-load .ecs-tf-ldm-z { display: none; }
.ecs-ups-load .ecs-tf-ldm-track { height: 8px; border-radius: 2px; }
.ecs-ups-load .ecs-tf-ldm-track i { background: #374151; border-radius: 2px; }
/* Fase estreita e as demais colunas iguais; valor com largura fixa para as barras começarem no mesmo x. */
.ecs-ups-load .ecs-mt-table table { width: 100%; table-layout: fixed; }
.ecs-ups-load .ecs-mt-table th:first-child,
.ecs-ups-load .ecs-mt-table td:first-child { width: 80px; }
.ecs-ups-load .ecs-mt-table th:not(:first-child),
.ecs-ups-load .ecs-mt-table td:not(:first-child) { text-align: center; }
.ecs-ups-load .ecs-mt-table th span { justify-content: center; }
.ecs-ups-load .ecs-tf-cur { display: flex; width: 100%; justify-content: center; gap: 12px; }
.ecs-ups-load .ecs-tf-mini { flex: 0 1 160px; width: auto; }
.ecs-ups-load .ecs-tf-cur > span:last-child { flex: none; min-width: 64px; text-align: right; }
.ecs-ups-tabs { display: flex; gap: 16px; margin: 2px 0 4px; border-bottom: 1px solid #EEF0F3; }
.ecs-ups-tabs button { border: 0; background: none; padding: 2px 0 8px; margin-bottom: -1px; font: inherit; font-size: 13px; font-weight: 650; color: #A3A8B3; cursor: pointer; border-bottom: 2px solid transparent; }
.ecs-ups-tabs button.on { color: #111318; border-bottom-color: #111318; }
.ecs-gmg-stack { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.ecs-gmg-split { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 14px; align-items: start; margin-top: 14px; position: relative; }
.ecs-gmg-split > .ecs-gmg-out { grid-column: 1; grid-row: 1; align-self: start; }
.ecs-gmg-split > .ecs-tf-ident { grid-column: 2; grid-row: 1; align-self: stretch; }
.ecs-gmg-split > .ecs-gmg-side { grid-column: 2; grid-row: 1; display: flex; flex-direction: column; align-self: stretch; min-height: 0; }
.ecs-gmg-split > .ecs-gmg-side:empty { display: none; }
.ecs-gmg-split > .ecs-trend-card { grid-column: 1 / -1; grid-row: 2; width: 100%; margin: 0; align-self: start; }
.ecs-work.ecs-build .ecs-gmg-side > .ecs-log.ecs-box,
.ecs-gmg-split > .ecs-gmg-side > .ecs-log { flex: 1 1 auto; align-self: stretch; height: auto; min-height: 0; margin: 0; display: flex; flex-direction: column; overflow: hidden; box-sizing: border-box; }
.ecs-gmg-board .ecs-gmg-side > .ecs-log [data-log-list] { flex: 1 1 auto; min-height: 0; overflow: auto; }
.ecs-gmg-board .ecs-ups-tabs { flex-wrap: wrap; row-gap: 0; }
.ecs-gmg-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ecs-gmg-head { display: flex; align-items: center; gap: 12px; }
.ecs-gmg-head h2 { margin: 0; }
.ecs-gmg-note { margin-left: auto; font-size: 11px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: #374151; background: #F3F4F6; border-radius: 999px; padding: 4px 9px; }
.ecs-gmg-status { margin-left: auto; }
.ecs-gmg-state { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); }
.ecs-gmg-kpi .ecs-mark,
.ecs-gmg-cap .ecs-mark,
.ecs-gmg-facts .ecs-mark { margin-top: 1px; color: #e8061c; }
.ecs-gmg-kpi { display: flex; gap: 10px; align-items: flex-start; min-width: 0; padding: 6px 14px; border-left: 1px solid #EEF0F3; background: none; border-top: 0; border-right: 0; border-bottom: 0; font: inherit; color: inherit; text-align: left; }
.ecs-gmg-kpi:first-child { border-left: 0; padding-left: 2px; }
button.ecs-gmg-kpi { cursor: pointer; }
.ecs-gmg-lbl { font-size: 11px; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; color: #6B7280; }
.ecs-gmg-val { display: flex; align-items: center; gap: 7px; margin-top: 4px; color: #111318; font-size: 16px; font-weight: 800; letter-spacing: -0.02em; }
.ecs-gmg-val b { font-weight: 800; }
.ecs-gmg-val i { width: 8px; height: 8px; border-radius: 50%; background: #9CA3AF; flex: none; }
.ecs-gmg-val.is-ok,
.ecs-gmg-val.is-open,
.ecs-gmg-val.is-remote { color: #16803C; }
.ecs-gmg-val.is-ok i,
.ecs-gmg-val.is-open i,
.ecs-gmg-val.is-remote i { background: #16803C; }
.ecs-gmg-val.is-warn,
.ecs-gmg-val.is-local { color: #C48A12; }
.ecs-gmg-val.is-warn i,
.ecs-gmg-val.is-local i { background: #E0A106; }
.ecs-gmg-val.is-bad,
.ecs-gmg-val.is-closed { color: #E3262D; }
.ecs-gmg-val.is-bad i,
.ecs-gmg-val.is-closed i { background: #E3262D; }
.ecs-gmg-flow { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 16px 4px 4px; text-align: center; }
.ecs-gmg-rail { position: absolute; left: 16.6%; right: 16.6%; top: 6px; height: 2px; background: #8E97A3; }
.ecs-gmg-rail i { position: absolute; top: -4px; width: 0; height: 0; border-left: 7px solid #8E97A3; border-top: 5px solid transparent; border-bottom: 5px solid transparent; }
.ecs-gmg-rail .c1 { left: 25%; }
.ecs-gmg-rail .c2 { left: 75%; }
.ecs-gmg-st { position: relative; min-width: 0; padding: 0 8px; }
.ecs-gmg-stin { display: block; width: 100%; border: 0; background: none; padding: 0; font: inherit; color: inherit; text-align: center; }
button.ecs-gmg-stin, button.ecs-gmg-tilein { cursor: pointer; }
.ecs-gmg-tile[data-gmg-chart] { cursor: pointer; }
.ecs-gmg-dot { display: block; width: 14px; height: 14px; margin: 0 auto 12px; border-radius: 50%; background: #C3C7CE; box-shadow: 0 0 0 4px #fff; }
.ecs-gmg-st.is-on .ecs-gmg-dot { background: #1F2329; }
.ecs-gmg-st.is-live .ecs-gmg-dot { background: #16803C; }
.ecs-gmg-bus .ecs-ups-sub { color: #374151; font-size: 13px; font-weight: 700; }
.ecs-gmg-bus .ecs-ups-lamp.is-ok b { color: #16803C; }
.ecs-gmg-bus .ecs-ups-lamp.is-bad b { color: #e8061c; }
.ecs-gmg-big { font-size: 32px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.05; color: #111318; font-variant-numeric: tabular-nums; }
.ecs-gmg-big small { margin-left: 3px; font-size: 14px; font-weight: 700; color: #6B7280; }
.ecs-gmg-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ecs-gen.is-bt .ecs-gmg-tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ecs-gmg-tile { min-width: 0; padding: 2px 16px 0; border-left: 1px solid #EEF0F3; }
.ecs-gmg-tile:first-child { border-left: 0; padding-left: 2px; }
.ecs-gmg-tilein { display: block; width: 100%; border: 0; background: none; padding: 0; font: inherit; color: inherit; text-align: left; }
.ecs-gmg-cap { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; color: #111318; }
.ecs-gmg-idle { height: 54px; margin: 8px 0; display: grid; place-items: center; background: #F7F8FA; border-radius: 6px; font-size: 13px; font-weight: 800; color: #111318; }
.ecs-gmg-foot { display: flex; justify-content: space-between; gap: 8px; padding-top: 8px; border-top: 1px solid #EEF0F3; }
.ecs-gmg-foot span { display: block; font-size: 11px; font-weight: 700; letter-spacing: 0.03em; text-transform: uppercase; color: #6B7280; }
.ecs-gmg-foot b, .ecs-gmg-foot em { font-size: 13px; font-weight: 800; color: #111318; font-style: normal; }
.ecs-gmg-foot em.is-ok { color: #16803C; }
.ecs-gmg-foot em.is-bad { color: #e8061c; }
.ecs-gmg-facts .ecs-tf-plate dt { display: inline-flex; align-items: center; gap: 8px; color: #374151; font-weight: 700; }
.ecs-gmg-facts .ecs-tf-plate dd,
.ecs-gmg-board .ecs-tf-ident dd { font-size: 15px; font-weight: 800; color: #111318; }
.ecs-gmg-out .ecs-mt-val,
.ecs-gmg-out td { color: #111318; }
.ecs-gmg-out th .ecs-mark { width: 16px; height: 16px; }
.ecs-gmg-motor { margin-top: 14px; }
@media (max-width: 1180px) {
  .ecs-gmg-split { grid-template-columns: 1fr; }
  .ecs-gmg-split > .ecs-gmg-out,
  .ecs-gmg-split > .ecs-tf-ident,
  .ecs-gmg-split > .ecs-gmg-side,
  .ecs-gmg-split > .ecs-trend-card { grid-column: 1; grid-row: auto; }
  .ecs-gmg-split > .ecs-gmg-side { min-height: 0; }
  .ecs-work.ecs-build .ecs-gmg-side > .ecs-log.ecs-box,
  .ecs-gmg-split > .ecs-gmg-side > .ecs-log { height: auto; overflow: visible; }
  .ecs-gmg-tiles, .ecs-gmg-pair { grid-template-columns: 1fr; }
  .ecs-gmg-state { grid-template-columns: 1fr 1fr 1fr; row-gap: 10px; }
  .ecs-gmg-tile { border-left: 0; padding: 12px 0 0; border-top: 1px solid #EEF0F3; }
  .ecs-gmg-tile:first-child { border-top: 0; padding-top: 0; }
}
.ecs-bt-top, .ecs-bt-mid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; align-items: stretch; }
.ecs-bt-mid { margin-top: 14px; }
.ecs-bt-mid.is-one { grid-template-columns: 1fr; }
.ecs-bt-top > .ecs-gen-out, .ecs-bt-mid > .ecs-gen-out, .ecs-gen.is-bt > .ecs-bt-phase, .ecs-gen.is-bt > .ecs-bt-summary { min-width: 0; }
.ecs-gen.is-bt > .ecs-bt-phase { margin-top: 14px; }
.ecs-gen.is-bt .ecs-ups-kpis { grid-template-columns: repeat(5, minmax(0, 1fr)); margin: 6px -8px 0; }
.ecs-gen.is-bt .ecs-ups-kico .ecs-mark { width: 22px; height: 22px; margin: 0; color: inherit; }
.ecs-gen.is-bt .ecs-ups-ktxt > em { white-space: normal; }
.ecs-bt-phases { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 0; margin-top: 6px; }
.ecs-bt-ph { min-width: 0; padding: 4px 18px 2px; border-left: 1px solid #EEF0F3; }
.ecs-bt-ph:first-child { border-left: 0; padding-left: 2px; }
.ecs-bt-ph-h { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 800; color: #111318; }
.ecs-bt-ph-h i { width: 9px; height: 9px; border-radius: 2px; flex: none; }
.ecs-bt-ph-i { display: block; width: 100%; margin-top: 4px; border: 0; background: none; padding: 0; font: inherit; text-align: left; font-size: 34px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; color: #111318; font-variant-numeric: tabular-nums; }
.ecs-bt-ph-i small { margin-left: 3px; font-size: 14px; font-weight: 600; color: #6B7280; letter-spacing: 0; }
.ecs-bt-ph-bar { position: relative; height: 6px; margin: 10px 0 6px; border-radius: 3px; background: #ECEEF1; overflow: hidden; }
.ecs-bt-ph-bar b { position: absolute; inset: 0 auto 0 0; border-radius: 3px; }
.ecs-bt-ph-note { font-size: 11px; font-weight: 650; color: #6B7280; margin-bottom: 10px; }
.ecs-bt-ph-dl { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 14px; margin: 0; padding-top: 10px; border-top: 1px solid #EEF0F3; }
.ecs-bt-ph-dl dt { font-size: 10px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: #6B7280; }
.ecs-bt-ph-dl dd { margin: 0; font-size: 15px; font-weight: 800; font-variant-numeric: tabular-nums; color: #111318; }
.ecs-bt-ph-dl dd small { margin-left: 2px; font-size: 11px; font-weight: 700; color: #6B7280; }
.ecs-bt-ph-dl .ecs-ups-cell { border: 0; background: none; padding: 0; font: inherit; color: inherit; }
.ecs-bt-qual { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 14px; padding-top: 12px; border-top: 1px solid #E5E7EB; }
.ecs-bt-qual-i span { display: block; font-size: 10px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: #6B7280; }
.ecs-bt-qual-i b { font-size: 16px; font-weight: 800; color: #111318; font-variant-numeric: tabular-nums; }
.ecs-bt-qual-i b small { margin-left: 3px; font-size: 12px; font-weight: 700; color: #6B7280; }
.ecs-bt-qual-i b.is-ok { color: #16803C; }
.ecs-bt-qual-i b.is-warn { color: #B45309; }
.ecs-bt-qual-i b.is-bad { color: #C8102E; }
.ecs-bt-tri { margin-top: 14px; padding-top: 12px; border-top: 1px solid #E5E7EB; }
.ecs-bt-tri-h { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 6px; font-size: 10px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: #6B7280; }
.ecs-bt-tri-pages { display: flex; align-items: center; gap: 2px; }
.ecs-bt-tri-pages button { margin: 0; border: 0; border-bottom: 2px solid transparent; background: none; padding: 4px 10px; font: inherit; font-size: 12px; font-weight: 650; letter-spacing: 0; text-transform: none; color: #9CA3AF; cursor: pointer; }
.ecs-bt-tri-pages button.is-page { color: #111318; border-bottom-color: #111318; }
.ecs-bt-tri-pages .ecs-bt-tri-step { font-size: 18px; line-height: 1; padding: 2px 8px; border-bottom: 0; color: #6B7280; }
.ecs-bt-tri-pages .ecs-bt-tri-step:hover { color: #111318; }
.ecs-bt-tri-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; }
.ecs-bt-tri-grid[hidden] { display: none !important; }
.ecs-bt-tri-i { display: flex; align-items: center; gap: 12px; min-width: 0; border: 0; border-left: 1px solid #EEF0F3; background: none; padding: 8px 14px; margin: 0; text-align: left; font: inherit; color: inherit; }
.ecs-bt-tri-i:first-child { border-left: 0; padding-left: 2px; }
button.ecs-bt-tri-i { cursor: pointer; }
.ecs-bt-tri-i .ecs-ups-kico { width: 36px; height: 36px; }
.ecs-bt-tri-i .ecs-ups-kico .ecs-mark { width: 18px; height: 18px; margin: 0; }
.ecs-bt-tri-txt { min-width: 0; }
.ecs-bt-tri-txt span { display: block; font-size: 10px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: #6B7280; }
.ecs-bt-tri-txt b { font-size: 18px; font-weight: 800; color: #111318; font-variant-numeric: tabular-nums; }
.ecs-bt-tri-txt b small { margin-left: 3px; font-size: 12px; font-weight: 700; color: #6B7280; }
.ecs-bt-tri-txt b.is-ok { color: #16803C; }
.ecs-bt-tri-txt b.is-warn { color: #B45309; }
.ecs-bt-tri-txt b.is-bad { color: #C8102E; }
.ecs-bt-load { margin: 8px 0 14px; padding-bottom: 14px; border-bottom: 1px solid #EEF0F3; }
.ecs-bt-load-big { font-size: 42px; font-weight: 800; letter-spacing: -0.03em; line-height: 1; margin: 4px 0 10px; font-variant-numeric: tabular-nums; color: #111318; }
.ecs-bt-load-big small { margin-left: 3px; font-size: 16px; font-weight: 600; color: #6B7280; }
.ecs-bt-load-big.is-ok { color: #16803C; }
.ecs-bt-load-big.is-warn { color: #B45309; }
.ecs-bt-load-big.is-bad { color: #C8102E; }
.ecs-bt-meta { margin-left: auto; display: flex; align-items: center; gap: 14px; font-size: 12px; font-weight: 650; color: #6B7280; }
.ecs-bt-meta b { color: #111318; font-weight: 800; }
.ecs-bt-meter { display: inline-flex; align-items: center; gap: 6px; border: 0; background: none; padding: 0; font: inherit; color: #6B7280; font-weight: 650; }
button.ecs-bt-meter { cursor: pointer; }
.ecs-bt-meter b { display: inline-flex; align-items: center; gap: 6px; color: #111318; font-weight: 800; }
.ecs-bt-meter b.is-ok { color: #16803C; }
.ecs-bt-meter i { width: 7px; height: 7px; border-radius: 50%; background: #16803C; }
.ecs-bt-nom { margin-left: auto; font-size: 13px; font-weight: 750; letter-spacing: 0; text-transform: none; color: #6B7280; font-variant-numeric: tabular-nums; }
.ecs-bt-nom input { width: 72px; border: 0; border-bottom: 1px solid #E5E7EB; background: transparent; font: inherit; font-weight: 750; color: #111318; text-align: right; }
.ecs-bt-brk-st { display: flex; align-items: center; padding: 6px 0 14px; margin-bottom: 2px; border-bottom: 1px solid #EEF0F3; }
.ecs-bt-brkin { display: flex; align-items: center; gap: 14px; border: 0; background: none; padding: 0; font: inherit; color: inherit; text-align: left; }
button.ecs-bt-brkin { cursor: pointer; }
.ecs-bt-sym { width: 32px; height: 50px; flex: none; }
.ecs-bt-sym line { stroke: #e8061c; stroke-width: 2.6; fill: none; stroke-linecap: round; }
.ecs-bt-sym circle { stroke: none; fill: #e8061c; }
.ecs-bt-brk-v { display: flex; align-items: center; gap: 8px; font-size: 28px; font-weight: 800; letter-spacing: -0.03em; color: #111318; }
.ecs-bt-brk-v i { width: 10px; height: 10px; border-radius: 50%; background: #C3C7CE; }
.ecs-bt-brk-v.is-ok { color: #16803C; }
.ecs-bt-brk-v.is-ok i { background: #16803C; }
.ecs-bt-brk-v.is-off { color: #111318; }
.ecs-bt-brk-v.is-off i { background: #111318; }
.ecs-bt-chip { display: inline-flex; align-items: center; gap: 6px; border: 0; background: none; padding: 0; font: inherit; font-size: 13px; font-weight: 800; color: #111318; }
button.ecs-bt-chip { cursor: pointer; }
.ecs-bt-chip i { width: 8px; height: 8px; border-radius: 50%; background: #111318; }
.ecs-bt-chip.is-ok { color: #16803C; }
.ecs-bt-chip.is-ok i { background: #16803C; }
.ecs-bt-chip.is-bad { color: #e8061c; }
.ecs-bt-chip.is-bad i { background: #e8061c; }
.ecs-bt-board .ecs-bt-phase .ecs-tf-mini { width: 88px; height: 6px; }
.ecs-bt-board .ecs-ups-cell em { margin-right: 6px; font-style: normal; font-size: 10px; font-weight: 800; letter-spacing: 0.04em; color: #9CA3AF; }
.ecs-bt-en { display: flex; flex-direction: column; }
.ecs-bt-en-now, .ecs-bt-en-month { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.ecs-bt-en-now { margin: 4px 0 12px; padding-bottom: 12px; border-bottom: 1px solid #EEF0F3; }
.ecs-bt-en-today span, .ecs-bt-en-month span, .ecs-bt-en-cmp span { display: block; font-size: 10px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: #6B7280; }
.ecs-bt-en-today b { display: block; margin-top: 4px; font-size: 32px; font-weight: 800; letter-spacing: -0.03em; line-height: 1; font-variant-numeric: tabular-nums; color: #111318; }
.ecs-bt-en-today b span, .ecs-bt-en-month b span { display: inline; font-size: inherit; font-weight: inherit; letter-spacing: inherit; text-transform: none; color: inherit; }
.ecs-bt-en-today small, .ecs-bt-en-month small { margin-left: 3px; font-size: 13px; font-weight: 650; color: #6B7280; }
.ecs-bt-en-month b { display: block; margin-top: 2px; font-size: 20px; font-weight: 800; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; color: #111318; }
.ecs-bt-en-cmp { text-align: right; flex: none; }
.ecs-bt-en-cmp b { display: block; margin-top: 4px; font-size: 16px; font-weight: 800; color: #111318; font-variant-numeric: tabular-nums; }
.ecs-bt-en-cmp b.is-up { color: #B45309; }
.ecs-bt-en-cmp b.is-down { color: #16803C; }
.ecs-bt-en-today b.is-empty, .ecs-bt-en-month b.is-empty, .ecs-bt-en-cmp b.is-empty { color: #9CA3AF; font-weight: 650; }
.ecs-bt-bars { position: relative; flex: 1 1 auto; min-height: 88px; height: 96px; margin: 8px 0 2px; cursor: pointer; }
.ecs-bt-bars svg { display: block; width: 100%; height: 96px; }
.ecs-bt-en-tip { position: absolute; z-index: 4; top: 0; pointer-events: none; transform: translate(-50%, -112%); background: #1F2329; color: #fff; border-radius: 6px; padding: 7px 10px; font-size: 12px; line-height: 1.35; white-space: nowrap; box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18); }
.ecs-bt-en-tip[hidden] { display: none; }
.ecs-bt-en-tip span { display: block; color: #A9AEB9; font-size: 10px; font-weight: 650; text-transform: capitalize; letter-spacing: 0; }
.ecs-bt-en-tip b { display: block; margin-top: 1px; font-size: 13px; font-weight: 800; }
.ecs-bt-en-tip em { display: block; margin-top: 2px; font-style: normal; font-size: 11px; font-weight: 700; color: #D1D5DB; }
.ecs-bt-en-tip em.is-up { color: #FBBF24; }
.ecs-bt-en-tip em.is-down { color: #6EE7B7; }
.ecs-bt-en-tip::after { content: ""; position: absolute; top: 100%; left: 50%; margin-left: -4px; border: 4px solid transparent; border-top-color: #1F2329; }
.ecs-bt-en-foot { flex: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 6px; padding-top: 10px; border-top: 1px solid #EEF0F3; }
.ecs-bt-en-foot > div, .ecs-bt-en-foot > div:first-child { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 0; border: 0; }
.ecs-bt-en-foot dt { font-size: 10px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: #6B7280; }
.ecs-bt-en-foot dd { font-size: 13px; font-weight: 800; justify-content: flex-start; }
.ecs-bt-board [data-gmg-chart] { cursor: pointer; }
.ecs-bt-board [data-gmg-chart]:hover { color: #111318; }
.ecs-bt-en-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; margin-top: 8px; padding-top: 12px; border-top: 1px solid #EEF0F3; }
.ecs-bt-en-grid span { display: block; font-size: 11px; font-weight: 700; letter-spacing: 0.03em; text-transform: uppercase; color: #6B7280; }
.ecs-bt-en-grid b { font-size: 15px; font-weight: 800; color: #111318; }
.ecs-bt-en-grid small { margin-left: 3px; font-size: 11px; font-weight: 700; color: #6B7280; }
.ecs-bt-split { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 14px; align-items: start; margin-top: 14px; position: relative; }
.ecs-bt-split > .ecs-trend-card { grid-column: 1; grid-row: 1; width: 100%; margin: 0; align-self: start; }
.ecs-bt-split > .ecs-log { position: absolute; grid-column: 2; grid-row: 1; top: 0; right: 0; bottom: 0; left: 0; width: auto; height: auto; margin: 0; min-height: 0; display: flex; flex-direction: column; overflow: hidden; box-sizing: border-box; }
.ecs-bt-board .ecs-bt-split > .ecs-log [data-log-list] { flex: 1 1 auto; min-height: 0; overflow: auto; }
.ecs-bt-board .ecs-ups-tabs { flex-wrap: wrap; row-gap: 0; }
.ecs-bt-board .ecs-gmg-note input[data-plate],
.ecs-bt-board .ecs-gmg-foot input[data-plate],
.ecs-bt-board .ecs-bt-meta input[data-plate] { width: 108px; border: 0; border-bottom: 1px solid #E5E7EB; background: transparent; font: inherit; font-weight: 800; color: #111318; }
.ecs-bt-title { field-sizing: content; width: auto; min-width: 4ch; max-width: 100%; border: 0; border-radius: 0; background: transparent; box-shadow: none; padding: 0; margin: 0; font: inherit; font-weight: inherit; letter-spacing: inherit; text-transform: inherit; color: inherit; }
.ecs-bt-title:focus { outline: none; box-shadow: inset 0 -1px 0 #e8061c; }
.ecs-hit { position: relative; }
.ecs-work.ecs-build .ecs-box { position: relative; }
.ecs-resize { position: absolute; z-index: 6; right: 0; bottom: 0; width: 16px; height: 16px; cursor: nwse-resize; }
.ecs-resize::before { content: ""; position: absolute; right: 3px; bottom: 3px; width: 7px; height: 7px; border-right: 2px solid #111318; border-bottom: 2px solid #111318; }
.ecs-resize:hover::before { border-color: #e8061c; }
.ecs-cut { position: absolute; z-index: 4; top: -4px; right: -4px; width: 16px; height: 16px; border-radius: 50%; background: #111318; color: #fff; font-size: 12px; line-height: 14px; text-align: center; cursor: pointer; }
.ecs-cut-card { margin-left: auto; border: 0; background: transparent; color: #9CA3AF; font: inherit; font-size: 11px; font-weight: 700; letter-spacing: 0; text-transform: none; cursor: pointer; }
.ecs-cut-card:hover { color: #e8061c; }
.ecs-bt-board button.ecs-mt-val,
.ecs-bt-board button.ecs-ups-cell,
.ecs-bt-board button.ecs-gmg-tilein,
.ecs-bt-board button.ecs-bt-ph-i { border: 0; background: none; padding: 0; color: inherit; cursor: pointer; }
.ecs-bt-board .ecs-gen-out button.on,
.ecs-bt-board .ecs-bt-phase button.on { outline: 2px solid #e8061c; outline-offset: 2px; border-radius: 4px; }
@media (max-width: 1180px) {
  .ecs-bt-top, .ecs-bt-mid, .ecs-bt-split, .ecs-gen.is-bt .ecs-ups-kpis { grid-template-columns: 1fr 1fr; }
  .ecs-bt-phases { grid-template-columns: 1fr; }
  .ecs-bt-ph { border-left: 0; padding: 14px 0 0; border-top: 1px solid #EEF0F3; }
  .ecs-bt-ph:first-child { border-top: 0; padding-top: 0; }
  .ecs-bt-qual { grid-template-columns: 1fr; }
  .ecs-bt-tri-grid { grid-template-columns: 1fr 1fr; }
  .ecs-bt-split > .ecs-trend-card,
  .ecs-bt-split > .ecs-log { grid-column: 1; grid-row: auto; }
  .ecs-bt-split > .ecs-log { position: static; height: auto; inset: auto; overflow: visible; }
  .ecs-bt-board .ecs-gmg-tiles { grid-template-columns: 1fr 1fr; }
}
.ecs-qta-id .ecs-gen-meta strong { font-size: 18px; letter-spacing: -0.02em; }
.ecs-qta-mid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 14px; align-items: stretch; margin-top: 14px; }
.ecs-qta-mid:not(:has(.ecs-qta-tests)) { grid-template-columns: minmax(0, 1fr); }
.ecs-qta-mid > .ecs-gen-out { min-width: 0; height: 100%; }
.ecs-qta-meta { margin-left: auto; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.ecs-qta-meta b { color: inherit; font-weight: 800; }
.ecs-qta-chip {
  display: inline-flex;
  flex-direction: row;
  align-items: baseline;
  gap: 7px;
  padding: 0;
  border: 0;
  background: none;
  color: #111318;
  font: inherit;
  line-height: 1;
}
.ecs-qta-chip > span:first-child {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9CA3AF;
}
.ecs-qta-chip .ecs-qta-bit,
.ecs-qta-chip b {
  display: inline;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-transform: none;
  color: #111318;
}
.ecs-qta-chip.is-ok .ecs-qta-bit,
.ecs-qta-chip.is-ok b { color: #16803C; }
.ecs-qta-chip.is-mute .ecs-qta-bit,
.ecs-qta-chip.is-mute b { color: #9CA3AF; }
.ecs-qta-mode, .ecs-qta-src { display: inline-flex; align-items: center; gap: 7px; min-height: 32px; padding: 0 11px; border: 1px solid #E6E8EC; border-radius: 999px; background: #fff; color: #111318; font: inherit; font-size: 13px; font-weight: 750; letter-spacing: -0.01em; line-height: 1; }
.ecs-qta-mode > span { font-size: 10px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #9CA3AF; }
.ecs-qta-mode .ecs-qta-bit, .ecs-qta-src b { font-size: 13px; font-weight: 800; letter-spacing: 0.01em; text-transform: uppercase; color: #111318; }
button.ecs-qta-mode, button.ecs-qta-src, button.ecs-qta-bit, button.ecs-qta-big, button.ecs-qta-chip { cursor: pointer; }
.ecs-qta-src i { width: 7px; height: 7px; border-radius: 50%; background: #C3C7CE; flex: none; box-shadow: none; }
.ecs-qta-src.is-ok i { background: #16803C; box-shadow: none; }
.ecs-qta-src.is-warn i { background: #D97706; box-shadow: none; }
.ecs-qta-tx { position: relative; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); margin: 8px 0 4px; text-align: center; }
.ecs-qta-rail { position: absolute; left: 10%; right: 10%; top: 20px; height: 1px; pointer-events: none; }
.ecs-qta-rail i { position: absolute; top: 0; height: 1px; width: 50%; background: #E6E8EC; }
.ecs-qta-rail i:first-child { left: 0; }
.ecs-qta-rail i:last-child { left: 50%; }
.ecs-qta-rail i.is-on { background: #16803C; height: 2px; top: -0.5px; }
.ecs-qta-dwell {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 10px 0 0;
  font-size: 12px;
  font-weight: 650;
  color: #6B7280;
  line-height: 1.35;
}
.ecs-qta-dwell[data-qta-chart] { cursor: pointer; }
.ecs-qta-dwell .ecs-mark { width: 14px; height: 14px; color: #6B7280; flex: none; }
.ecs-qta-dwell .ecs-qta-bit { display: inline; font-weight: 800; color: #111318; font-variant-numeric: tabular-nums; }
.ecs-qta-n[data-qta-chart],
.ecs-qta-src-card [data-qta-chart] { cursor: pointer; }
.ecs-qta-n { position: relative; min-width: 0; padding: 0 8px; }
.ecs-qta-n > i { display: block; width: 14px; height: 14px; margin: 0 auto 14px; border-radius: 50%; background: #C3C7CE; box-shadow: 0 0 0 4px #fff; position: relative; }
.ecs-qta-n.is-on > i { background: #16803C; }
.ecs-qta-n.is-ico > i { display: none; }
.ecs-qta-n-ico {
  display: block;
  width: 42px;
  height: 42px;
  margin: 0 auto 12px;
  color: #8B909A;
  position: relative;
  z-index: 1;
}
.ecs-qta-n-ico .ecs-qta-ico-svg { width: 42px; height: 42px; display: block; overflow: visible; }
.ecs-qta-n.is-on .ecs-qta-n-ico { color: #16803C; }
.ecs-qta-n.is-sw { padding-top: 14px; }
.ecs-qta-n.is-sw > i { margin: 0 auto 26px; border-radius: 3px; background: #fff; box-shadow: 0 0 0 4px #fff, inset 0 0 0 2px #C3C7CE; }
.ecs-qta-n.is-sw.is-on > i { background: #e8061c; box-shadow: 0 0 0 4px #fff; }
.ecs-qta-n.is-sw .ecs-qta-big { font-size: 18px; letter-spacing: -0.03em; }
.ecs-qta-n.is-on .ecs-qta-big { color: #111318; }
.ecs-qta-big.is-ok,
.ecs-qta-n.is-on .ecs-qta-big.is-ok { color: #16803C; }
.ecs-qta-big.is-idle { color: #9CA3AF; }
.ecs-qta-sub { display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; column-gap: 0; row-gap: 2px; min-height: 16px; margin-top: 5px; font-size: 11px; font-weight: 650; line-height: 1.3; color: #6B7280; }
.ecs-qta-sub em { font-style: normal; font-weight: 700; color: #9CA3AF; margin-right: 3px; }
.ecs-qta-sub small { margin-left: 1px; font-size: 10px; font-weight: 650; color: #9CA3AF; }
.ecs-qta-sub .is-on em,
.ecs-qta-sub .ecs-qta-bit.is-on { color: #16803C; font-weight: 700; }
.ecs-qta-sub .ecs-qta-bit { display: inline; width: auto; }
.ecs-qta-dotsep { margin: 0 4px; color: #C3C7CE; }
.ecs-qta-scheme {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 48px minmax(160px, 1.1fr) 48px minmax(0, 1fr);
  grid-template-rows: auto 28px auto;
  grid-template-areas: "s1 w1 sw w2 s2" ". . st . ." ". ld ld ld .";
  align-items: stretch;
  margin: 8px 0 4px;
}
.ecs-qta-s1 { grid-area: s1; }
.ecs-qta-w1 { grid-area: w1; }
.ecs-qta-sw { grid-area: sw; }
.ecs-qta-w2 { grid-area: w2; }
.ecs-qta-ld { grid-area: ld; }
.ecs-qta-st { grid-area: st; }
.ecs-qta-s2 { grid-area: s2; }
.ecs-qta-box {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 118px;
  min-width: 0;
  padding: 12px 14px;
  border: 1px solid #D5D9DF;
  border-radius: 10px;
  background: #fff;
}
.ecs-qta-box.is-grid.is-live { border-color: #2E9B62; }
.ecs-qta-box.is-gen.is-live { border-color: #E0A106; }
.ecs-qta-box.is-load.is-live { border-color: #111318; }
.ecs-qta-box.is-run { animation: none; }
.ecs-qta-box.is-off { background: #FAFBFC; }
.ecs-qta-box.is-off .ecs-qta-boxv { color: #9CA3AF; }
.ecs-qta-sw { border-width: 1px; border-color: #111318; background: #F7F8FA; min-height: 132px; }
.ecs-qta-sw.is-grid { border-color: #2E9B62; background: #F3FAF6; }
.ecs-qta-sw.is-gen { border-color: #E0A106; background: #FFF8EB; }
.ecs-qta-sw .ecs-qta-boxv { margin-top: 10px; font-size: inherit; font-weight: inherit; letter-spacing: 0; }
.ecs-qta-boxh {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #6B7280;
}
.ecs-qta-boxh .ecs-mark { width: 16px; height: 16px; color: #111318; flex: none; }
.ecs-qta-boxh > span:first-of-type { color: #111318; }
.ecs-qta-boxv {
  margin-top: 8px;
  font-size: 26px;
  font-weight: 750;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: #111318;
  font-variant-numeric: tabular-nums;
}
.ecs-qta-boxv small { margin-left: 3px; font-size: 13px; font-weight: 650; color: #6B7280; letter-spacing: 0; }
.ecs-qta-boxv .ecs-qta-bit { display: inline; border: 0; background: none; padding: 0; font: inherit; color: inherit; }
.ecs-qta-boxm { margin-top: 6px; font-size: 12px; font-weight: 650; color: #6B7280; }
.ecs-qta-s1, .ecs-qta-s2, .ecs-qta-sw, .ecs-qta-ld { justify-content: flex-start; }
.ecs-qta-chart {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin-left: 2px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #6B7280;
  cursor: pointer;
}
.ecs-qta-chart svg { width: 16px; height: 16px; display: block; }
.ecs-qta-chart:hover { background: #EEF0F3; color: #111318; }
.ecs-qta-share {
  display: flex;
  height: 6px;
  margin-top: 10px;
  border-radius: 99px;
  overflow: hidden;
  background: #E6E8EC;
}
.ecs-qta-share i { display: block; height: 100%; }
.ecs-qta-share .is-grid { background: #2E9B62; }
.ecs-qta-share .is-gen { background: #E0A106; }
.ecs-qta-durs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 8px;
}
.ecs-qta-durs span {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 15px;
  font-weight: 750;
  color: #111318;
  font-variant-numeric: tabular-nums;
}
.ecs-qta-durs .ecs-qta-bit { display: inline; border: 0; background: none; padding: 0; font: inherit; color: inherit; }
.ecs-qta-durs small {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #6B7280;
}
.ecs-qta-sw-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 10px;
  font-size: 13px;
  font-weight: 700;
  color: #111318;
  font-variant-numeric: tabular-nums;
}
.ecs-qta-sw-facts > span {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.ecs-qta-sw-facts small {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #6B7280;
}
.ecs-qta-sw-facts .ecs-qta-bit { border: 0; background: none; padding: 0; font: inherit; color: inherit; }
.ecs-qta-sw-facts .is-ok { color: #16803C; }
.ecs-qta-sw-facts .is-warn { color: #B45309; }
.ecs-qta-modal-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 8px 20px;
  margin: 0 0 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid #EEF0F3;
}
.ecs-qta-modal-facts div { margin: 0; }
.ecs-qta-modal-facts dt {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: #6B7280;
}
.ecs-qta-modal-facts dd { margin: 2px 0 0; font-size: 15px; font-weight: 700; color: #111318; }
.ecs-qta-modal-kpis {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 0 0 10px;
}
.ecs-qta-modal-kpis span {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: #6B7280;
}
.ecs-qta-modal-kpis b {
  display: block;
  margin-top: 2px;
  font-size: 18px;
  font-weight: 750;
  letter-spacing: -0.02em;
  color: #111318;
  font-variant-numeric: tabular-nums;
}
.ecs-qta-modal-note {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 650;
  color: #374151;
}
.ecs-qta-modal .ecs-qta-share { margin: 0 0 16px; height: 4px; }
.ecs-qta-modal-seg { margin-bottom: 10px; }
.ecs-qta-modal-chart { position: relative; height: 280px; }
.ecs-qta-modal-empty { margin: 24px 0 0; text-align: center; color: #7b868f; font-size: 13px; }
.ecs-qta-lanes { display: flex; flex-direction: column; gap: 10px; }
.ecs-qta-lane {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
}
.ecs-qta-lane > span { font-size: 12px; font-weight: 650; color: #6B7280; }
.ecs-qta-lane-track {
  position: relative;
  height: 18px;
  border-radius: 4px;
  background: #F3F4F6;
  overflow: hidden;
}
.ecs-qta-lane-track i {
  position: absolute;
  top: 0;
  bottom: 0;
  border-radius: 4px;
}
.ecs-qta-lane.is-grid .ecs-qta-lane-track i { background: #2E9B62; }
.ecs-qta-lane.is-gen .ecs-qta-lane-track i { background: #E0A106; }
.ecs-qta-lane-x {
  display: flex;
  justify-content: space-between;
  margin: 6px 0 0 82px;
  font-size: 11px;
  color: #9CA3AF;
  font-variant-numeric: tabular-nums;
}
.ecs-qta-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  margin-top: 6px;
}
.ecs-qta-stats .ecs-qta-stat {
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 13px;
  font-weight: 750;
  color: #111318;
  font-variant-numeric: tabular-nums;
}
.ecs-qta-stats .ecs-qta-stat .ecs-qta-bit {
  display: inline;
  border: 0;
  background: none;
  padding: 0;
  font: inherit;
  color: inherit;
}
.ecs-qta-stats .ecs-qta-stat small {
  margin-left: 2px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #6B7280;
}
.ecs-qta-amps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  margin-top: 8px;
}
.ecs-qta-amp {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto auto;
  align-items: baseline;
  gap: 2px 4px;
  min-width: 0;
  padding: 6px 8px;
  border-radius: 6px;
  background: #F4F5F7;
  font-size: 13px;
  font-weight: 750;
  color: #9CA3AF;
  font-variant-numeric: tabular-nums;
}
.ecs-qta-amp.is-on { background: #EEF6F1; color: #111318; }
.ecs-qta-scheme[data-qta-path="gen"] .ecs-qta-amp.is-on { background: #FFF6E4; }
.ecs-qta-amp em {
  grid-column: 1 / -1;
  width: auto;
  font-style: normal;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #9CA3AF;
}
.ecs-qta-amp .ecs-qta-bit {
  grid-column: 1;
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  border: 0;
  background: none;
  padding: 0;
  font: inherit;
  color: inherit;
  text-align: left;
}
.ecs-qta-amp small {
  grid-column: 2;
  font-size: 10px;
  font-weight: 700;
  color: #6B7280;
}
.ecs-qta-ld.is-off .ecs-qta-stat,
.ecs-qta-ld.is-off .ecs-qta-amp { color: #9CA3AF; }
.ecs-qta-ld.is-off .ecs-qta-amp { background: #F7F8FA; }
.ecs-qta-boxm .is-ok { color: #16803C; }
.ecs-qta-boxm .is-warn { color: #B45309; }
.ecs-qta-tag {
  margin-left: auto;
  font-style: normal;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #9CA3AF;
}
.ecs-qta-tag.is-ok { color: #16803C; }
.ecs-qta-tag.is-warn { color: #B45309; }
.ecs-qta-tag .ecs-qta-bit { border: 0; background: none; padding: 0; font: inherit; color: inherit; }
.ecs-qta-phs { display: flex; gap: 8px; flex-wrap: wrap; }
.ecs-qta-ph {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border: 0;
  background: none;
  padding: 0;
  font: inherit;
  font-size: 11px;
  font-weight: 750;
  color: #9CA3AF;
}
.ecs-qta-ph i { width: 7px; height: 7px; border-radius: 50%; background: #D5D9E0; }
.ecs-qta-ph.is-on { color: #16803C; }
.ecs-qta-ph.is-on i { background: #16803C; }
.ecs-qta-s2 .ecs-qta-ph.is-on { color: #B45309; }
.ecs-qta-s2 .ecs-qta-ph.is-on i { background: #E0A106; }
.ecs-qta-cam {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4px;
  width: 100%;
  padding: 2px;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-align: left;
}
.ecs-qta-seat {
  position: relative;
  z-index: 1;
  display: block;
  padding: 10px 4px;
  border-radius: 8px;
  text-align: center;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #9CA3AF;
  transition: color 0.35s ease;
}
.ecs-qta-seat.is-on { color: #111318; }
.ecs-qta-blade {
  position: absolute;
  z-index: 0;
  top: 2px;
  bottom: 2px;
  left: 2px;
  width: calc((100% - 8px) / 3);
  border-radius: 8px;
  background: #EEF0F3;
  transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1), background 0.3s ease;
}
.ecs-qta-scheme[data-qta-path="grid"] .ecs-qta-blade {
  transform: translateX(0);
  background: #E8F6ED;
}
.ecs-qta-scheme[data-qta-path="zero"] .ecs-qta-blade {
  transform: translateX(calc(100% + 4px));
}
.ecs-qta-scheme[data-qta-path="gen"] .ecs-qta-blade {
  transform: translateX(calc(200% + 8px));
  background: #FFF4D6;
}
.ecs-qta-scheme[data-qta-path="unk"] .ecs-qta-blade {
  transform: translateX(calc(100% + 4px));
  opacity: 0.4;
}
.ecs-qta-wire { position: relative; background: #E6E8EC; overflow: visible; }
.ecs-qta-wire.is-h {
  align-self: start;
  width: 100%;
  height: 3px;
  margin-top: 54px;
  border-radius: 2px;
}
.ecs-qta-wire.is-v {
  justify-self: center;
  width: 3px;
  height: 100%;
  border-radius: 2px;
}
.ecs-qta-wire > i { display: none; }
.ecs-qta-wire.is-on.is-ok { background: #2E9B62; color: #2E9B62; }
.ecs-qta-wire.is-on.is-warn { background: #E0A106; color: #E0A106; }
.ecs-qta-wire.is-on > i { display: none; }
.ecs-qta-wire.is-h.is-on::after {
  content: "";
  position: absolute;
  right: -1px;
  top: 50%;
  transform: translateY(-50%);
  border-left: 5px solid currentColor;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  color: inherit;
}
.ecs-qta-w2.is-on::after {
  left: -1px;
  right: auto;
  border-left: 0;
  border-right: 5px solid currentColor;
}
.ecs-qta-st.is-on::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -1px;
  transform: translateX(-50%);
  border-top: 5px solid currentColor;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  color: inherit;
}
.ecs-qta-scheme[data-qta-path="grid"] .ecs-qta-ld.is-live { border-color: #2E9B62; background: #F7FCF8; }
.ecs-qta-scheme[data-qta-path="gen"] .ecs-qta-ld.is-live { border-color: #E0A106; background: #FFFCF3; }
.ecs-qta-now {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 8px;
  background: #F3FAF6;
  color: #166534;
  font-size: 13px;
  font-weight: 700;
}
.ecs-qta-now .ecs-mark { width: 16px; flex: none; }
.ecs-qta-now b { font-weight: 800; }
.ecs-qta-now .ecs-qta-bit { border: 0; background: none; padding: 0; font: inherit; color: inherit; }
.ecs-qta-cap { margin-bottom: 4px; font-size: 10px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: #6B7280; }
.ecs-qta-big { display: block; border: 0; background: none; padding: 0; width: 100%; font-size: 24px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; color: #6B7280; font-variant-numeric: tabular-nums; }
.ecs-qta-big small, .ecs-qta-kpi small, .ecs-qta-avg small { margin-left: 3px; font-size: 12px; font-weight: 650; color: #6B7280; letter-spacing: 0; }
.ecs-qta-bit { border: 0; background: none; padding: 0; color: inherit; font: inherit; font-weight: inherit; }
@media (max-width: 1180px) {
  .ecs-qta-scheme {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    grid-template-areas: "s1" "sw" "s2" "ld";
    gap: 10px;
  }
  .ecs-qta-wire { display: none; }
}
.ecs-qta-stp { margin-top: 18px; padding-top: 14px; border-top: 1px solid #EEF0F3; }
.ecs-qta-stp-h { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 10px; font-size: 10px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: #6B7280; }
.ecs-qta-stp-h span:last-child { font-weight: 650; letter-spacing: 0; text-transform: none; color: #A3A8B3; }
.ecs-qta-step { display: inline-flex; width: 14px; height: 14px; margin-left: 6px; vertical-align: -2px; }
.ecs-qta-stp ol { list-style: none; display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); margin: 0; padding: 0; position: relative; }
.ecs-qta-stp ol::before { content: ""; position: absolute; left: 5.5%; right: 5.5%; top: 4px; height: 1px; background: #E1E4E9; }
.ecs-qta-stp li { text-align: center; position: relative; }
.ecs-qta-stp li i { display: block; width: 9px; height: 9px; margin: 0 auto 8px; border-radius: 50%; background: #D5D9E0; box-shadow: 0 0 0 3px #fff; position: relative; }
.ecs-qta-stp li b { display: block; font-size: 11px; font-weight: 700; color: #A3A8B3; letter-spacing: 0; text-transform: none; }
.ecs-qta-stp li span { display: block; font-size: 10px; font-weight: 650; color: #A3A8B3; margin-top: 2px; }
.ecs-qta-alarms { margin: 0 0 10px; font-size: 13px; font-weight: 700; line-height: 1.35; color: #6B7280; }
.ecs-qta-alarms.is-on { color: #9a3412; }
.ecs-qta-stp ol.is-times li b { color: #374151; }
.ecs-qta-stp ol.is-times li span {
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
  white-space: nowrap;
  color: #111318;
  font-weight: 800;
}
.ecs-qta-stp ol.is-times li span .ecs-qta-bit,
.ecs-qta-stp ol.is-times li span button {
  display: inline;
  width: auto;
}
.ecs-qta-stp ol.is-times li span small {
  display: inline;
  margin-left: 2px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  color: #6B7280;
  white-space: nowrap;
}
.ecs-qta-stp li.is-now i { background: #16803C; box-shadow: 0 0 0 3px #fff, 0 0 0 6px #E8F6ED; }
.ecs-qta-stp li.is-now b { color: #111318; }
.ecs-qta-period { margin-top: 14px; padding: 12px 16px 14px; }
.ecs-qta-period .ecs-gmg-head { margin-bottom: 8px; }
.ecs-qta-period .ecs-trend-bar { margin-left: auto; }
.ecs-qta-period [data-qta-period] { min-height: 72px; }
.ecs-qta-period .ecs-qta-lanes { position: relative; }
.ecs-qta-period .ecs-qta-lane-track { cursor: crosshair; }
.ecs-qta-caret {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1px;
  background: #111318;
  pointer-events: none;
  z-index: 2;
}
.ecs-qta-board .ecs-gmg-head h2 { margin: 0; }
.ecs-qta-board .ecs-log .ecs-mt-sub { display: none; }
.ecs-qta-board .ecs-mt-table table { width: 100%; border-collapse: collapse; }
.ecs-qta-board .ecs-mt-table th { font-size: 12px; font-weight: 650; letter-spacing: 0; text-transform: none; color: #374151; text-align: right; padding: 0 14px 8px; border-bottom: 1px solid #E5E7EB; white-space: nowrap; }
.ecs-qta-board .ecs-mt-table th span { display: inline-flex; align-items: center; justify-content: flex-end; gap: 6px; }
.ecs-qta-board .ecs-mt-table th .ecs-mark { width: 14px; height: 14px; color: #e8061c; }
.ecs-qta-board .ecs-mt-table th:first-child,
.ecs-qta-board .ecs-mt-table td:first-child { text-align: left; padding-left: 2px; width: 72px; }
.ecs-qta-board .ecs-mt-table td { padding: 11px 14px; text-align: right; border-bottom: 1px solid #EEF0F3; font-size: 15px; font-weight: 800; font-variant-numeric: tabular-nums; color: #111318; white-space: nowrap; }
.ecs-qta-board .ecs-mt-table tr:last-child td { border-bottom: 0; }
.ecs-qta-board .ecs-mt-table tbody tr:hover td { background: #FAFAFB; }
.ecs-qta-board .ecs-mt-table td small { font-size: 11px; font-weight: 650; color: #6B7280; margin-left: 3px; }
.ecs-qta-board .ecs-mt-table td em { font-style: normal; font-size: 11px; font-weight: 800; letter-spacing: 0.04em; color: #A3A8B3; margin-right: 6px; }
.ecs-qta-board .ecs-ups-cell { display: inline; width: auto; font: inherit; font-weight: 800; font-variant-numeric: tabular-nums; }
.ecs-qta-src-card .ecs-mt-table td em { display: block; margin: 0 0 1px; }
.ecs-qta-src-card .ecs-mt-val { white-space: nowrap; }
.ecs-qta-src-card .ecs-mt-val .ecs-qta-bit { display: inline; }
.ecs-qta-src-card .ecs-mt-table { overflow-x: auto; }
.ecs-qta-src-card .ecs-qta-frow .ecs-qta-bit { display: inline; font: inherit; font-weight: 800; }
.ecs-qta-src-card .ecs-qta-frow td small { margin-left: 3px; }
.ecs-qta-src-card .ecs-qta-load .ecs-mt-mets.is-foot {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  justify-content: stretch;
}
.ecs-qta-src-card .ecs-qta-load .ecs-mt-mets.is-foot.is-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.ecs-qta-src-card .ecs-qta-load .ecs-mt-mets.is-foot + .ecs-mt-mets.is-foot {
  margin-top: 0;
  padding-top: 10px;
  border-top: 0;
}
.ecs-qta-board .ecs-mt-table td.is-idle,
.ecs-qta-board .ecs-mt-val.is-idle { color: #6B7280; }
.ecs-qta-board .ecs-mt-val { font-size: 16px; font-weight: 800; font-variant-numeric: tabular-nums; }
.ecs-qta-tests { display: flex; flex-direction: column; }
.ecs-qta-next { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; padding-bottom: 12px; margin-bottom: 4px; border-bottom: 1px solid #EEF0F3; }
.ecs-qta-when { margin-top: 2px; font-size: 20px; font-weight: 800; letter-spacing: -0.02em; color: #111318; }
.ecs-qta-kind { margin-top: 2px; font-size: 11px; font-weight: 650; color: #6B7280; }
.ecs-qta-avg { text-align: right; }
.ecs-qta-avg span { display: block; font-size: 10px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: #6B7280; }
.ecs-qta-avg .ecs-qta-bit { font-size: 17px; font-weight: 800; color: #111318; font-variant-numeric: tabular-nums; }
.ecs-qta-tlist { list-style: none; margin: 0; padding: 0; flex: 1; display: flex; flex-direction: column; justify-content: space-between; }
.ecs-qta-tlist li { display: grid; grid-template-columns: 44px 1fr auto 10px; gap: 10px; align-items: center; padding: 7px 0; border-top: 1px solid #EEF0F3; font-size: 12px; }
.ecs-qta-tlist li:first-child { border-top: 0; }
.ecs-qta-tlist time { color: #6B7280; font-weight: 700; font-variant-numeric: tabular-nums; }
.ecs-qta-tlist span { color: #374151; font-weight: 650; }
.ecs-qta-tlist b { font-weight: 800; }
.ecs-qta-tlist i { width: 7px; height: 7px; border-radius: 50%; background: #16803C; }
.ecs-qta-tlist li.is-empty, .ecs-qta-board td.is-empty { color: #6B7280; font-weight: 650; }
.ecs-qta-split { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 14px; align-items: start; margin-top: 14px; position: relative; }
.ecs-qta-split > .ecs-qta-main { grid-column: 1; grid-row: 1; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.ecs-qta-split > .ecs-log { position: absolute; grid-column: 2; grid-row: 1; top: 0; right: 0; bottom: 0; left: 0; width: auto; height: auto; margin: 0; min-height: 0; display: flex; flex-direction: column; overflow: hidden; box-sizing: border-box; }
.ecs-qta-board .ecs-qta-split > .ecs-log [data-log-list] { flex: 1 1 auto; min-height: 0; overflow: auto; }
.ecs-qta-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-bottom: 14px; row-gap: 14px; }
.ecs-qta-kpis > div { display: flex; gap: 8px; align-items: flex-start; padding: 0 14px; border-left: 1px solid #EEF0F3; }
.ecs-qta-kpis > div:first-child,
.ecs-qta-kpis > div:nth-child(4n+1) { border-left: 0; padding-left: 2px; }
.ecs-qta-kpis .ecs-mark { width: 16px; height: 16px; margin-top: 1px; color: #e8061c; flex: none; }
.ecs-qta-kpi { margin-top: 3px; font-size: 20px; font-weight: 800; letter-spacing: -0.02em; color: #111318; font-variant-numeric: tabular-nums; }
.ecs-qta-event {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  padding: 12px 14px;
  border: 1px solid #E6E8EC;
  border-radius: 10px;
  background: #FAFBFC;
}
.ecs-qta-event .ecs-mark { width: 20px; height: 20px; color: #6B7280; flex: none; }
.ecs-qta-event span {
  display: block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6B7280;
}
.ecs-qta-events { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 10px; margin: 0 0 14px; }
.ecs-qta-events .ecs-qta-event { margin: 0; }
.ecs-qta-event em {
  display: block;
  margin-top: 1px;
  font-style: normal;
  font-size: 11px;
  font-weight: 650;
  color: #9CA3AF;
}
.ecs-qta-event b { display: block; margin-top: 2px; font-size: 16px; font-weight: 750; color: #111318; }
.ecs-qta-event.is-warn { background: #FFF8EB; border-color: #F1D48A; }
.ecs-qta-event.is-warn .ecs-mark, .ecs-qta-event.is-warn b { color: #B45309; }
.ecs-qta-event.is-ok { background: #F3FAF6; border-color: #B7E0C6; }
.ecs-qta-event .ecs-qta-bit { border: 0; background: none; padding: 0; font: inherit; color: inherit; }
.ecs-qta-ledgers { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ecs-qta-ledger {
  min-width: 0;
  padding: 16px 18px 14px;
  border: 1px solid #E6E8EC;
  border-radius: 12px;
  background: #fff;
  border-top-width: 3px;
}
.ecs-qta-ledger.is-grid { border-top-color: #2E9B62; }
.ecs-qta-ledger.is-gen { border-top-color: #E0A106; }
.ecs-qta-ledger.is-live.is-grid { box-shadow: 0 0 0 1px rgba(46, 155, 98, 0.28); }
.ecs-qta-ledger.is-live.is-gen { box-shadow: 0 0 0 1px rgba(224, 161, 6, 0.35); }
.ecs-qta-ledh { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.ecs-qta-ledh .ecs-mark { width: 18px; height: 18px; color: #111318; flex: none; }
.ecs-qta-ledh h3 {
  margin: 0;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #111318;
}
.ecs-qta-nowpill {
  margin-left: auto;
  font-style: normal;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #16803C;
}
.ecs-qta-ledger.is-gen .ecs-qta-nowpill { color: #B45309; }
.ecs-qta-hours {
  font-size: 32px;
  font-weight: 750;
  letter-spacing: -0.04em;
  line-height: 1.05;
  color: #111318;
  font-variant-numeric: tabular-nums;
}
.ecs-qta-hours .ecs-qta-bit { border: 0; background: none; padding: 0; font: inherit; color: inherit; }
.ecs-qta-hours small { margin-left: 2px; font-size: 14px; font-weight: 650; color: #6B7280; letter-spacing: 0; }
.ecs-qta-hours-l { margin-top: 4px; font-size: 12px; font-weight: 650; color: #6B7280; }
.ecs-qta-ledger .ecs-qta-share { height: 3px; margin-top: 12px; border-radius: 0; background: #EEF0F3; overflow: hidden; }
.ecs-qta-ledger.is-grid .ecs-qta-share i { display: block; height: 100%; background: #16803C; border-radius: 0; }
.ecs-qta-ledger.is-gen .ecs-qta-share i { display: block; height: 100%; background: #C48400; border-radius: 0; }
.ecs-qta-sharecap { margin-top: 6px; font-size: 12px; font-weight: 650; color: #6B7280; }
.ecs-qta-ledger .ecs-qta-stat {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid #EEF0F3;
  font-size: 13px;
  color: #6B7280;
}
.ecs-qta-ledger .ecs-qta-stat .ecs-mark { width: 15px; height: 15px; color: #9CA3AF; flex: none; }
.ecs-qta-ledger .ecs-qta-stat span { font-weight: 650; }
.ecs-qta-ledger .ecs-qta-stat b { margin-left: auto; font-weight: 750; color: #111318; font-variant-numeric: tabular-nums; }
.ecs-qta-ledger .ecs-qta-stat .ecs-qta-bit { border: 0; background: none; padding: 0; font: inherit; color: inherit; }
.ecs-qta-ledger .ecs-qta-stat small { margin-left: 3px; font-size: 11px; font-weight: 650; color: #6B7280; }
@media (max-width: 1180px) {
  .ecs-qta-events, .ecs-qta-ledgers { grid-template-columns: 1fr; }
}
.ecs-qta-leg { display: flex; gap: 18px; flex-wrap: wrap; align-items: center; margin: 2px 0 12px; font-size: 12px; font-weight: 700; color: #374151; }
.ecs-qta-leg span { display: inline-flex; align-items: center; gap: 6px; }
.ecs-qta-leg .ecs-mark { width: 16px; height: 16px; color: #e8061c; flex: none; }
.ecs-qta-hist .ecs-mt-table th,
.ecs-qta-hist .ecs-mt-table td { font-size: 13px; font-weight: 750; }
.ecs-qta-hist .ecs-mt-table th:nth-child(2),
.ecs-qta-hist .ecs-mt-table td:nth-child(2) { text-align: left; font-weight: 700; }
.ecs-qta-hist .ecs-mt-table th:first-child,
.ecs-qta-hist .ecs-mt-table td:first-child { width: auto; }
.ecs-qta-trend { margin: 6px 0 14px; }
.ecs-qta-trend .ecs-gmg-head { margin-bottom: 2px; }
.ecs-qta-trend .ecs-trend-bar { margin-left: auto; }
.ecs-qta-hist .ecs-plot { cursor: crosshair; }
.ecs-qta-tl { position: relative; margin: 4px 0 14px; }
.ecs-qta-track { position: relative; height: 28px; }
.ecs-qta-track::before { content: ""; position: absolute; left: 0; right: 0; top: 16px; height: 12px; border-radius: 2px; background: #ECEEF1; }
.ecs-qta-hit { position: absolute; top: 0; height: 28px; margin: 0; padding: 0; border: 0; background: none; cursor: crosshair; }
.ecs-qta-hit span { position: absolute; top: 0; left: 50%; transform: translateX(-50%); font-size: 11px; font-weight: 800; color: #374151; white-space: nowrap; pointer-events: none; }
.ecs-qta-hit i { position: absolute; left: 0; right: 0; top: 16px; height: 12px; background: #111318; pointer-events: none; }
.ecs-qta-hit:hover i { background: #e8061c; }
.ecs-qta-dots { position: relative; height: 14px; }
.ecs-qta-dot { position: absolute; top: 0; width: 14px; height: 14px; margin: 0 0 0 -7px; padding: 0; border: 0; background: none; cursor: crosshair; }
.ecs-qta-dot i { display: block; width: 6px; height: 6px; margin: 4px auto 0; border-radius: 50%; background: #C3C7CE; pointer-events: none; }
.ecs-qta-dot:hover i { background: #e8061c; }
.ecs-qta-tip { position: absolute; z-index: 6; width: 268px; padding: 12px 14px; border: 1px solid #E6E8EC; border-radius: 12px; background: #fff; box-shadow: 0 12px 32px rgba(17, 19, 24, 0.12); pointer-events: none; }
.ecs-qta-tip::before { content: ""; position: absolute; top: -5px; left: var(--caret, 24px); width: 10px; height: 10px; background: #fff; border-left: 1px solid #E6E8EC; border-top: 1px solid #E6E8EC; transform: translateX(-50%) rotate(45deg); }
.ecs-qta-tip-h b { display: block; font-size: 11px; font-weight: 700; letter-spacing: 0.02em; color: #6B7280; font-variant-numeric: tabular-nums; }
.ecs-qta-tip-h strong { display: block; margin-top: 2px; font-size: 15px; font-weight: 800; letter-spacing: -0.02em; color: #111318; }
.ecs-qta-tip-rail { margin-top: 10px; padding-top: 4px; border-top: 1px solid #EEF0F3; }
.ecs-qta-tip-ev { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 8px 0 2px; position: relative; }
.ecs-qta-tip-ev + .ecs-qta-tip-ev { padding-top: 12px; }
.ecs-qta-tip-ev + .ecs-qta-tip-ev::before { content: ""; position: absolute; left: 10px; top: 0; width: 1px; height: 12px; background: #E5E7EB; }
.ecs-qta-tip-ev i { width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid currentColor; display: grid; place-items: center; position: relative; background: #fff; }
.ecs-qta-tip-ev.is-stop { color: #e8061c; }
.ecs-qta-tip-ev.is-back { color: #16803C; }
.ecs-qta-tip-ev.is-end { color: #6B7280; }
.ecs-qta-tip-ev i::after { content: ""; width: 4px; height: 7px; margin-top: -2px; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: rotate(45deg); }
.ecs-qta-tip-ev span { display: block; font-size: 10px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: #6B7280; }
.ecs-qta-tip-ev b { display: block; margin-top: 1px; font-size: 14px; font-weight: 800; letter-spacing: -0.02em; color: #111318; font-variant-numeric: tabular-nums; }
.ecs-qta-tip-meta { text-align: right; }
.ecs-qta-tip-meta b { color: #111318; }
.ecs-qta-scale { display: flex; justify-content: space-between; margin-top: 2px; font-size: 11px; font-weight: 650; color: #9CA3AF; font-variant-numeric: tabular-nums; }
.ecs-qta-board .ecs-qta-hist .ecs-trend-bar { margin-left: auto; }
.ecs-qta-board button[data-open].on { outline: 2px solid #e8061c; outline-offset: 2px; border-radius: 4px; }
.ecs-qta-board .ecs-mt-table td.is-l { text-align: left; }
.ecs-qta-board input[data-plate] { width: 92px; border: 0; border-bottom: 1px solid #E5E7EB; background: transparent; font: inherit; font-weight: 700; color: #111318; text-align: center; }
@media (max-width: 1180px) {
  .ecs-qta-mid, .ecs-qta-split, .ecs-qta-kpis, .ecs-qta-books { grid-template-columns: 1fr; }
  .ecs-qta-kpis > div { border-left: 0; padding-left: 2px; }
  .ecs-qta-book + .ecs-qta-book { border-left: 0; border-top: 1px solid #EEF0F3; margin-top: 14px; padding: 14px 2px 2px; }
  .ecs-qta-split > .ecs-qta-main,
  .ecs-qta-split > .ecs-log { grid-column: 1; grid-row: auto; }
  .ecs-qta-split > .ecs-log { position: static; height: auto; inset: auto; overflow: visible; }
  .ecs-qta-stp ol { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 12px; }
  .ecs-qta-stp ol::before { display: none; }
  .ecs-qta-tx { grid-auto-flow: row; row-gap: 16px; text-align: left; }
  .ecs-qta-rail, .ecs-qta-n > i, .ecs-qta-n-ico { display: none; }
}
.ecs-hy-board .ecs-gmg-head, .ecs-hy-board .ecs-trend-head { display: flex; align-items: center; gap: 10px; }
.ecs-hy-board .ecs-gmg-head h2, .ecs-hy-board .ecs-trend-head h2 { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 15px; font-weight: 800; letter-spacing: -0.02em; color: #111318; }
.ecs-hy-plant { padding: 14px 16px 16px; }
.ecs-hy-rgrid { display: grid; grid-template-columns: minmax(0, 1fr) 148px minmax(0, 1fr); align-items: stretch; }
.ecs-hy-rc { background: #fff; border: 1px solid #d3ecf0; border-radius: 10px; padding: 16px 18px 12px; min-width: 0; display: flex; flex-direction: column; }
.ecs-hy-rc-h { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.ecs-hy-rc-h .sp { flex: 1; }
.ecs-hy-ic { width: 32px; height: 32px; border-radius: 8px; background: #e8f6f8; color: #0e6f7e; display: grid; place-items: center; flex: none; }
.ecs-hy-ic svg { width: 17px; height: 17px; }
.ecs-hy-rc-h b { display: block; margin-top: 1px; font-size: 14px; font-weight: 800; color: #111318; }
.ecs-hy-cap2 { font-size: 8.5px; letter-spacing: 0.14em; font-weight: 700; color: #6b7280; text-transform: uppercase; }
.ecs-hy-pill { font-size: 10px; font-weight: 700; padding: 3px 9px; border-radius: 999px; display: inline-flex; align-items: center; gap: 6px; background: #e7f6ec; color: #1f8a4c; }
.ecs-hy-pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.ecs-hy-pill.is-off { background: #f1f2f4; color: #6b7280; }
.ecs-hy-rb { display: grid; grid-template-columns: 128px minmax(0, 1fr); gap: 22px; flex: 1; }
.ecs-hy-rb.is-gauge { grid-template-columns: 210px minmax(0, 1fr); align-items: center; }
.ecs-hy-plant .ecs-hy-svg svg { display: block; width: 128px; height: 250px; }
.ecs-hy-rb.is-gauge .ecs-hy-svg svg, .ecs-hy-mano { width: 210px; height: 206px; }
.ecs-hy-rr { display: flex; flex-direction: column; min-width: 0; }
.ecs-hy-rc, .ecs-hy-flow, .ecs-hy-run, .ecs-hy-days { position: relative; }
.ecs-hy-big { position: relative; display: flex; align-items: baseline; margin-top: 4px; border: 0; background: transparent; padding: 0; font: inherit; color: #0e6f7e; line-height: 1; cursor: pointer; }
.ecs-hy-big b { font-size: 64px; font-weight: 800; letter-spacing: -0.04em; color: #0e6f7e; line-height: 1; }
.ecs-hy-big small { font-size: 26px; font-weight: 800; margin-left: 2px; color: #0e6f7e; }
.ecs-hy-rb.is-gauge .ecs-hy-big small { font-size: 22px; margin-left: 6px; }
.ecs-hy-big b.is-idle, .ecs-hy-big b.is-idle + small { color: #9CA3AF; }
.ecs-hy-plant .ecs-hy-vol { margin: 10px 0 0; font-size: 13px; font-weight: 500; color: #6b7280; }
.ecs-hy-plant .ecs-hy-vol b { color: #111318; font-weight: 800; }
.ecs-hy-trd { display: flex; align-items: center; gap: 8px; margin-top: 12px; font-size: 11px; color: #6b7280; font-weight: 500; }
.ecs-hy-tchip { font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 5px; background: #e7f6ec; color: #1f8a4c; }
.ecs-hy-tchip.is-st { background: #f1f2f4; color: #374151; }
.ecs-hy-spts { margin-top: 10px; font-size: 11px; line-height: 1.45; color: #6b7280; }
.ecs-hy-spts b { color: #374151; font-weight: 700; }
.ecs-hy-gb { margin-top: 18px; background: #f7f8f9; border: 1px solid #e5e7eb; border-radius: 8px; padding: 12px 14px; }
.ecs-hy-gb .ecs-hy-cap2 { display: flex; align-items: center; gap: 6px; }
.ecs-hy-gb .ecs-hy-cap2 svg { width: 12px; height: 12px; }
.ecs-hy-gb .v { margin-top: 6px; font-size: 22px; font-weight: 800; letter-spacing: -0.01em; color: #111318; font-variant-numeric: tabular-nums; }
.ecs-hy-gb .s { margin-top: 2px; font-size: 10.5px; color: #6b7280; }
.ecs-hy-flow { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center; }
.ecs-hy-fps { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.ecs-hy-fp { position: relative; width: 44px; height: 44px; border-radius: 50%; background: #F1F2F4; color: #9CA3AF; display: grid; place-items: center; }
.ecs-hy-fp i { display: grid; place-items: center; width: 22px; height: 22px; }
.ecs-hy-fp svg { display: block; width: 22px; height: 22px; }
.ecs-hy-fp b { position: absolute; right: -14px; top: 50%; transform: translateY(-50%); font-size: 10px; font-weight: 800; color: #9CA3AF; }
.ecs-hy-fp.is-on { background: #16803C; color: #fff; }
.ecs-hy-fp.is-on i { animation: ecs-tf-spin 1s linear infinite; }
.ecs-hy-fp.is-on b { color: #16803C; }
.ecs-hy-fp.is-warn { background: #D98A00; color: #fff; }
.ecs-hy-fp.is-warn i { animation: ecs-tf-spin 1s linear infinite; }
.ecs-hy-fp.is-warn b { color: #D98A00; }
.ecs-hy-fp.is-bad { background: #FDECEC; color: #e8061c; }
.ecs-hy-fp.is-bad b { color: #e8061c; }
.ecs-hy-kgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 18px; padding-top: 16px; border-top: 1px solid #d3ecf0; }
.ecs-hy-kgrid button { border: 0; background: transparent; padding: 0; font: inherit; color: inherit; text-align: left; cursor: pointer; }
.ecs-hy-board .ecs-hy-kgrid button.on { outline: 2px solid #e8061c; outline-offset: 3px; border-radius: 4px; }
.ecs-hy-use { margin-top: 14px; }
.ecs-hy-use .ecs-hy-kgrid { margin-top: 8px; padding-top: 0; border-top: 0; }
.ecs-hy-use .ecs-trend-head { margin-top: 6px; }
.ecs-hy-usesvg { display: block; width: 100%; height: auto; cursor: crosshair; }
.ecs-hy-usesvg rect { cursor: crosshair; }
.ecs-hy-usesvg rect:hover { opacity: 0.82; }
.ecs-hy-kgrid .kv { margin-top: 6px; font-size: 24px; font-weight: 800; letter-spacing: -0.02em; color: #111318; font-variant-numeric: tabular-nums; }
.ecs-hy-kgrid .kv small { margin-left: 3px; font-size: 12px; font-weight: 600; color: #6b7280; }
.ecs-hy-kgrid .kv.is-tl { color: #0e6f7e; }
.ecs-hy-kgrid .hint { margin-top: 2px; font-size: 10px; font-weight: 500; color: #6b7280; }
.ecs-hy-plant-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }
.ecs-hy-vessel { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 12px; align-items: center; min-width: 0; }
.ecs-hy-svg svg { display: block; width: 100%; height: 220px; }
.ecs-hy-live { margin-left: auto; font-size: 13px; font-weight: 700; color: #374151; }
.ecs-hy-facts { list-style: none; margin: 12px 0 0; padding: 10px 0 0; border-top: 1px solid #EEF0F3; display: grid; gap: 6px; max-width: 240px; }
.ecs-gen.is-fuel { display: flex; flex-direction: column; gap: 14px; }
.ecs-fuel-alert { display: flex; align-items: flex-start; gap: 10px; width: 100%; margin: 0; padding: 10px 14px; border: 1px solid #F7C9CB; border-radius: 10px; background: #fff; color: #111318; cursor: default; }
.ecs-fuel-alert i { width: 28px; height: 28px; border-radius: 7px; background: #E3262D; position: relative; flex: none; margin-top: 1px; }
.ecs-fuel-alert i::before { content: "!"; position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-size: 15px; font-weight: 800; font-style: normal; }
.ecs-fuel-alert em { display: inline-block; margin: 2px 0 0; padding: 3px 8px; border: 1px solid #F7C9CB; border-radius: 4px; background: #FDECEC; color: #E3262D; font-size: 10px; font-style: normal; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; white-space: nowrap; flex: none; }
.ecs-fuel-alert strong { flex: 1; min-width: 0; font-size: 13.5px; font-weight: 600; line-height: 1.3; color: #374151; }
.ecs-fuel-alert-list { display: flex; flex-wrap: wrap; gap: 6px; flex: 1; min-width: 0; align-items: center; }
.ecs-fuel-alert-list b { display: inline-flex; align-items: center; padding: 4px 9px; border-radius: 6px; background: #FDECEC; color: #9B1C1C; font-size: 12.5px; font-weight: 650; line-height: 1.35; }
.ecs-fuel-alert-list b.is-attn { background: #FFF4DD; color: #92400E; }
.ecs-fuel-alert.is-warn { border-color: #F3D69A; }
.ecs-fuel-alert.is-warn i { background: #D98A00; }
.ecs-fuel-alert.is-warn em { color: #D98A00; background: #FFF4DD; border-color: #F3D69A; }
.ecs-fuel-alert.is-ok, .ecs-fuel-alert.is-mute { align-items: center; border-color: #E5E7EB; }
.ecs-fuel-alert.is-ok { background: #fff; }
.ecs-fuel-alert.is-ok i { background: #16803C; }
.ecs-fuel-alert.is-ok i::before { content: ""; width: 7px; height: 11px; margin: 6px auto 0; border-right: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(45deg); position: static; }
.ecs-fuel-alert.is-ok em { color: #16803C; background: #E8F6ED; border-color: #CDEBD9; }
.ecs-fuel-alert.is-mute i { background: #9CA3AF; }
.ecs-fuel-alert.is-mute i::before { content: ""; }
.ecs-fuel-alert.is-mute em { color: #6B7280; background: #F3F4F6; border-color: #E5E7EB; }
.ecs-fuel-scheme { display: grid; grid-template-columns: minmax(0, 1fr) 64px minmax(0, 1fr) 64px minmax(0, 1fr); grid-template-rows: 30px auto; grid-template-areas: "byp byp byp byp byp" "in la unit lb out"; align-items: center; margin: 24px 0 6px; }
.ecs-fuel-tank { display: flex; align-items: center; justify-content: center; gap: 18px; }
.ecs-fuel-tank svg { display: block; width: 78px; height: 152px; flex: none; }
.ecs-fuel-tank > div { min-width: 0; }
.ecs-fuel-pumps { display: flex; justify-content: center; align-items: flex-start; gap: 28px; margin-top: 8px; }
.ecs-fuel-pump { display: flex; flex-direction: column; align-items: center; gap: 2px; min-width: 76px; border: 0; background: transparent; padding: 0; font: inherit; color: inherit; cursor: pointer; }
.ecs-fuel-unit { width: 92px; height: 62px; border-radius: 14px; background: #F1F2F4; color: #4B5563; display: grid; place-items: center; overflow: hidden; }
.ecs-fuel-unit svg { display: block; width: 78px; height: 50px; overflow: visible; }
.ecs-fuel-unit.is-on { background: #16803C; color: #fff; }
.ecs-fuel-unit.is-bad { background: #e8061c; color: #fff; }
.ecs-fuel-imp { transform-origin: 29px 27px; transform-box: view-box; }
.ecs-fuel-unit.is-on .ecs-fuel-imp { animation: ecs-tf-spin 1.1s linear infinite; }
.ecs-fuel-pump b { margin-top: 4px; font-size: 13px; font-weight: 750; color: #111318; }
.ecs-fuel-pump em { font-style: normal; font-size: 12px; font-weight: 650; color: #9CA3AF; line-height: 1.2; white-space: nowrap; }
.ecs-fuel-pump em.is-ok { color: #16803C; }
.ecs-fuel-pump em.is-warn { color: #B45309; }
.ecs-fuel-pump em.is-bad, .ecs-fuel-al { font-style: normal; font-size: 12px; font-weight: 650; color: #C8102E; line-height: 1.2; }
.ecs-fuel-pump-modal .ecs-qta-modal-kpis b.is-man { color: #C8102E; }
.ecs-fuel-pump-modal .ecs-qta-lane { grid-template-columns: 64px minmax(0, 1fr); }
.ecs-fuel-pump-modal .ecs-qta-lane-x { margin-left: 74px; }
.ecs-fuel-al-slot { display: block; height: 15px; }
.ecs-fuel-inds { display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); gap: 1px; background: #EEF0F3; margin-top: 8px; }
.ecs-fuel-inds .ecs-ups-ind,
.ecs-fuel-inds .ecs-ups-ind:nth-child(n) {
  margin: 0;
  border: 0;
  padding: 10px 12px;
  background: #fff;
  align-items: center;
}
.ecs-fuel-inds .ecs-ups-ind span {
  white-space: normal;
  line-height: 1.25;
  min-height: 2.5em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ecs-fuel-inds.is-alm { --cols: 5; }
.ecs-fuel-inds.is-pro { --cols: 6; }
.ecs-fuel-sit { display: flex; flex-direction: column; margin-top: 4px; }
.ecs-fuel-sit-row { min-width: 0; padding: 8px 0 2px; }
.ecs-fuel-sit-row + .ecs-fuel-sit-row { border-top: 1px solid #EEF0F3; }
.ecs-fuel-sit-row h3 { margin: 0 0 2px; font-size: 10px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: #9CA3AF; }
.ecs-fuel-sit-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ecs-fuel-sit-grid:has(> :nth-child(2):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ecs-fuel-sit-grid .ecs-ups-ind,
.ecs-fuel-sit-grid .ecs-ups-ind:nth-child(n) { margin: 0; border: 0; border-left: 1px solid #EEF0F3; padding: 8px 12px; background: transparent; }
.ecs-fuel-sit-grid > :first-child { border-left: 0; padding-left: 0; }
.ecs-gen.is-fuel .ecs-ups-ind.is-ok .ecs-mark { color: #16803C; }
.ecs-gen.is-fuel .ecs-ups-ind.is-ok b { color: #16803C; }
.ecs-gen.is-fuel .ecs-ups-ind.is-shut .ecs-mark { color: #C2410C; }
.ecs-gen.is-fuel .ecs-ups-ind.is-shut b { color: #C2410C; font-weight: 700; }
.ecs-fuel-al.is-ok { color: #16803C; }
.ecs-hy-facts li { display: flex; justify-content: space-between; gap: 16px; font-size: 13px; font-weight: 650; color: #6B7280; }
.ecs-hy-facts b { font-weight: 750; color: #111318; font-variant-numeric: tabular-nums; }
.ecs-hy-facts li.is-alarm b { color: #e8061c; }
.ecs-hy-kicker { font-size: 10px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #9CA3AF; }
.ecs-hy-vessel h3 { margin: 2px 0 4px; font-size: 18px; font-weight: 800; letter-spacing: -0.02em; color: #111318; }
.ecs-hy-vessel .ecs-hy-fig b { font-size: 56px; }
.ecs-hy-krow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 16px; padding-top: 12px; border-top: 1px solid #EEF0F3; }
.ecs-hy-krow span { display: block; font-size: 10px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: #9CA3AF; }
.ecs-hy-krow b { font-size: 22px; font-weight: 800; letter-spacing: -0.03em; color: #111318; font-variant-numeric: tabular-nums; }
.ecs-hy-krow small { margin-left: 4px; font-size: 12px; font-weight: 700; color: #6B7280; }
.ecs-hy-opx { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.8fr); gap: 12px; margin-top: 14px; overflow: visible; }
.ecs-hy-opx .ecs-hy-run, .ecs-hy-days { position: relative; margin: 0; padding: 12px; border-radius: 10px; background: #F7F8FA; overflow: visible; }
.ecs-hy-daysvg { display: block; width: 100%; height: auto; }
.ecs-hy-bar { height: 6px; margin: 8px 0 4px; border-radius: 99px; background: #E6E8EC; overflow: hidden; }
.ecs-hy-bar i { display: block; height: 100%; }
.ecs-hy-tanks { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 14px; }
.ecs-gen.is-recalque .ecs-hy-tanks { grid-template-columns: 1fr 1fr 0.78fr; }
.ecs-hy-tank-body { display: flex; align-items: center; gap: 18px; min-height: 168px; padding: 6px 4px 8px; }
.ecs-hy-col { position: relative; width: 28px; height: 148px; border-radius: 8px; background: #F3F4F6; overflow: hidden; flex: none; }
.ecs-hy-col > i { position: absolute; left: 0; right: 0; bottom: 0; background: #111318; }
.ecs-hy-col em { position: absolute; left: 0; right: 0; z-index: 1; height: 0; border-top: 2px solid #e8061c; }
.ecs-hy-fig { display: inline-flex; align-items: baseline; gap: 6px; border: 0; background: transparent; padding: 0; font: inherit; color: inherit; cursor: pointer; }
.ecs-hy-fig b { font-size: 40px; font-weight: 750; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; color: #111318; line-height: 1; }
.ecs-hy-fig b.is-idle { color: #9CA3AF; }
.ecs-hy-fig small { font-size: 13px; font-weight: 700; color: #6B7280; }
.ecs-hy-board button.ecs-hy-fig.on { outline: 2px solid #e8061c; outline-offset: 3px; border-radius: 4px; }
.ecs-hy-note { margin: 6px 0 0; font-size: 12px; font-weight: 650; color: #6B7280; }
.ecs-hy-sp { display: flex; gap: 18px; margin: 2px 2px 8px; padding-top: 8px; border-top: 1px solid #EEF0F3; }
.ecs-hy-sp span { display: block; font-size: 10px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #9CA3AF; }
.ecs-hy-sp b { display: block; margin-top: 2px; font-size: 14px; font-weight: 800; color: #111318; font-variant-numeric: tabular-nums; }
.ecs-hy-fleet, .ecs-hy-run { margin-top: 14px; }
.ecs-hy-fleet .ecs-cut-card, .ecs-hy-run .ecs-cut-card, .ecs-hy-tank .ecs-cut-card { margin-left: 8px; }
.ecs-hy-add { margin-left: auto; height: 32px; padding: 0 12px; border: 1px solid #E6E8EC; border-radius: 999px; background: #fff; font: inherit; font-size: 12px; font-weight: 750; color: #111318; cursor: pointer; }
.ecs-hy-pumps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 12px; }
.ecs-hy-pump { position: relative; min-width: 0; padding: 14px 14px 12px; border-radius: 10px; background: #F7F8FA; }
.ecs-hy-pump header { display: flex; align-items: center; gap: 8px; }
.ecs-hy-pump header i { width: 8px; height: 8px; border-radius: 2px; flex: none; }
.ecs-hy-pump header b { flex: 1; min-width: 0; font-size: 15px; font-weight: 800; color: #111318; }
.ecs-hy-pump header em { font-style: normal; font-size: 12px; font-weight: 750; color: #6B7280; white-space: nowrap; }
.ecs-hy-pump header em.is-on { color: #16803C; }
.ecs-hy-pump header em.is-bad { color: #e8061c; }
.ecs-hy-pump .ecs-cut { margin-left: 0; }
.ecs-hy-runhit { position: relative; border: 0; background: transparent; padding: 0; font: inherit; color: inherit; cursor: pointer; }
.ecs-hy-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; margin-top: 12px; }
.ecs-hy-stats.is-foot { margin-top: 0; padding-top: 2px; }
.ecs-hy-stat { position: relative; display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 4px; min-width: 0; border: 0; background: transparent; padding: 0; font: inherit; color: inherit; text-align: left; cursor: pointer; }
.ecs-hy-stat span { flex: 1 1 100%; font-size: 10px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: #9CA3AF; }
.ecs-hy-stat b { font-size: 22px; font-weight: 800; letter-spacing: -0.03em; color: #111318; font-variant-numeric: tabular-nums; line-height: 1.1; }
.ecs-hy-stat small { font-size: 12px; font-weight: 700; color: #6B7280; }
.ecs-hy-stat b.is-idle, .ecs-hy-stat b.is-idle + small { color: #9CA3AF; }
.ecs-hy-stats.is-foot .ecs-hy-stat b { font-size: 16px; }
.ecs-hy-board button.ecs-hy-stat.on { outline: 2px solid #e8061c; outline-offset: 3px; border-radius: 4px; }
.ecs-hy-state { margin: 8px 0 2px; font-size: 11px; font-weight: 750; letter-spacing: 0.06em; text-transform: uppercase; color: #6B7280; }
.ecs-hy-state.is-on { color: #16803C; }
.ecs-hy-state.is-bad { color: #e8061c; }
.ecs-hy-pair { display: flex; gap: 16px; }
.ecs-hy-pair .ecs-hy-fig b { font-size: 26px; }
.ecs-hy-pump footer { display: flex; gap: 14px; margin-top: 8px; }
.ecs-hy-pump footer .ecs-hy-fig b { font-size: 14px; }
.ecs-hy-board .ecs-chips { display: flex; flex-wrap: wrap; gap: 6px 16px; padding: 10px 2px 2px; }
.ecs-hy-board .ecs-chips button { display: inline-flex; align-items: center; gap: 6px; border: 0; background: transparent; padding: 0; font: inherit; font-size: 12.5px; font-weight: 700; color: #C5CCD3; cursor: pointer; }
.ecs-hy-board .ecs-chips button i { width: 8px; height: 8px; border-radius: 2px; background: currentColor; opacity: 0.45; }
.ecs-hy-board .ecs-chips button.on { color: var(--swatch, #111318); font-weight: 750; }
.ecs-hy-board .ecs-chips button.on i { background: var(--swatch, #111318); opacity: 1; }
.ecs-hy-sum { margin: 2px 0 0; font-size: 13px; font-weight: 700; color: #6B7280; }
.ecs-hy-lanes { position: relative; display: flex; flex-direction: column; gap: 8px; margin-top: 8px; }
.ecs-hy-lane { position: relative; height: 20px; border-radius: 4px; background: #F3F4F6; }
.ecs-hy-lane.is-off { display: none; }
.ecs-hy-lane i { position: absolute; top: 0; height: 20px; border-radius: 3px; cursor: crosshair; }
.ecs-hy-lane i:hover { filter: brightness(0.88); }
.ecs-hy-axis { display: flex; justify-content: space-between; margin-top: 6px; font-size: 11px; font-weight: 650; color: #9CA3AF; font-variant-numeric: tabular-nums; }
.ecs-hy-foot { margin-top: 12px; }
.ecs-hy-foot > span { font-size: 10px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #9CA3AF; }
.ecs-hy-splitbar { display: flex; height: 6px; margin: 6px 0; border-radius: 99px; overflow: hidden; background: #F3F4F6; }
.ecs-hy-splitbar b { display: block; height: 100%; }
.ecs-hy-foot small { font-size: 12px; font-weight: 650; color: #6B7280; }
.ecs-hy-daysvg { cursor: crosshair; }
.ecs-hy-daysvg rect { cursor: crosshair; }
.ecs-hy-daysvg rect:hover { opacity: 0.82; }
.ecs-hy-fields { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 12px; }
.ecs-hy-fields label { display: flex; flex-direction: column; gap: 4px; }
.ecs-hy-fields span { font-size: 10px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: #9CA3AF; }
.ecs-hy-fields input { height: 32px; border: 1px solid #E6E8EC; border-radius: 8px; padding: 0 8px; background: #fff; font: inherit; font-size: 13px; font-weight: 650; color: #111318; }
.ecs-hy-restore { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.ecs-hy-restore button { height: 32px; padding: 0 12px; border: 1px solid #E6E8EC; border-radius: 999px; background: #fff; font: inherit; font-size: 12px; font-weight: 750; color: #111318; cursor: pointer; }
.ecs-hy-split { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 14px; align-items: stretch; margin-top: 14px; }
.ecs-hy-split > .ecs-log { margin: 0; }
@media (max-width: 1180px) {
  .ecs-hy-tanks, .ecs-gen.is-recalque .ecs-hy-tanks, .ecs-hy-split, .ecs-hy-plant-grid, .ecs-hy-opx, .ecs-hy-krow, .ecs-hy-rgrid { grid-template-columns: 1fr; }
  .ecs-hy-flow { flex-direction: row; justify-content: flex-start; padding: 8px 0; }
  .ecs-hy-fps { flex-direction: row; }
  .ecs-hy-kgrid { grid-template-columns: 1fr 1fr; row-gap: 14px; }
  .ecs-hy-pumps { grid-template-columns: 1fr 1fr; }
  .ecs-hy-fields { grid-template-columns: 1fr 1fr; }
  .ecs-fuel-scheme { grid-template-columns: 1fr; grid-template-rows: none; grid-template-areas: "in" "unit" "out"; row-gap: 10px; margin-top: 8px; }
  .ecs-gen.is-fuel .ecs-ups-wire, .ecs-gen.is-fuel .ecs-ups-byp { display: none; }
  .ecs-fuel-inds.is-alm { --cols: 4; }
  .ecs-fuel-inds.is-pro { --cols: 3; }
}
@media (max-width: 720px) {
  .ecs-fuel-inds.is-alm, .ecs-fuel-inds.is-pro { --cols: 2; }
  .ecs-fuel-sit-grid, .ecs-fuel-sit-grid:has(> :nth-child(2):last-child) { grid-template-columns: 1fr; }
  .ecs-fuel-sit-grid .ecs-ups-ind { border-left: 0; border-top: 1px solid #EEF0F3; padding-left: 0; }
  .ecs-fuel-sit-grid > :first-child { border-top: 0; }
}