.cd .sy { display: flex; flex-direction: column; gap: 12px; }
.cd .sy-scope-pick {
  display: flex; flex-direction: column; gap: 0;
  position: relative;
  font-size: 11px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: #6b8179;
}
.cd .sy-scope-pick select {
  height: 32px; min-width: 200px; max-width: 280px;
  border-radius: 999px; border: 1.5px solid #d5e0db;
  background: #fff; color: #121614; padding: 0 28px 0 12px; font-weight: 700; font-size: 13px;
}
.cd .sy-scope-pick.on::before {
  content: '';
  position: absolute; left: 11px; top: 50%; transform: translateY(-50%);
  width: 7px; height: 7px; border-radius: 50%;
  background: #55A797;
  box-shadow: 0 0 0 3px rgba(85,167,151,.28);
  pointer-events: none; z-index: 1;
}
.cd .sy-scope-pick.on select {
  padding-left: 24px;
  border-color: #55A797;
  background: #e8f4f1;
  color: #0F2924;
  box-shadow: 0 0 0 3px rgba(85,167,151,.16);
}
.cd .sy-pill {
  display: inline-flex; align-items: center; height: 24px; padding: 0 10px;
  border-radius: 999px; border: 1px solid #d5e0db; background: #fff;
  font-size: 11px; font-weight: 800; color: #3d524c; white-space: nowrap;
}
.cd .sy-pill.ok { border-color: #55A797; background: #e8f4f1; color: #0F2924; }
.cd .sy-pill.on { border-color: #FFCC29; background: #fff8e1; color: #0F2924; }
.cd .sy-legend {
  display: flex; flex-wrap: wrap; gap: 10px 16px;
  margin: 0; padding: 6px 12px;
  border: 1px solid #d5e0db; border-radius: 8px; background: #f7faf9;
  font-size: 11px; font-weight: 700; color: #3d524c; flex: 0 0 auto;
}
.cd .sy-legend i {
  display: inline-block; width: 14px; height: 8px; border-radius: 2px;
  margin-right: 6px; vertical-align: middle;
}
.cd .sy-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 8px;
  align-items: stretch;
  flex: 1 1 auto;
  min-height: 0;
}
.cd .sy-shell > * { min-height: 0; }
.cd .sy-main {
  display: flex; flex-direction: column; gap: 8px;
  min-width: 0; min-height: 0;
}
.cd .sy-ed-bar {
  display: flex; align-items: center; gap: 8px;
  padding: 6px 10px; flex-wrap: nowrap;
  flex: 0 0 auto;
  overflow-x: auto; -webkit-overflow-scrolling: touch;
}
.cd .sy-ed-bar > .ecs-btn,
.cd .sy-ed-bar > .sy-pill,
.cd .sy-ed-bar > .sy-scope-pick {
  flex-shrink: 0;
  white-space: nowrap;
}
.cd .sy-ed-tools, .cd .sy-ed-meta { display: flex; align-items: center; gap: 6px; flex-wrap: nowrap; flex-shrink: 0; }
.cd .sy-ed-tools button, .cd .sy-ed-meta button {
  height: 30px; padding: 0 8px; border-radius: 7px;
  border: 1px solid #d5e0db; background: #fff; color: #1e293b;
  font-size: 12px; font-weight: 700; cursor: pointer;
  display: inline-flex; align-items: center; gap: 5px; white-space: nowrap;
}
.cd .sy-ed-tools button.on, .cd .sy-ed-tools button:hover,
.cd .sy-ed-meta button.on {
  border-color: #55A797; color: #0F2924; background: #e8f4f1;
}
.cd .sy-ed-tools button:disabled, .cd .sy-ed-meta button:disabled { opacity: .4; cursor: not-allowed; }
.cd .sy-ed-meta label {
  display: flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: #6b8179;
  white-space: nowrap;
}
.cd .sy-ed-meta select, .cd .sy-tone {
  height: 30px; border-radius: 7px; border: 1px solid #d5e0db;
  background: #fff; color: #121614; padding: 0 6px; font-weight: 700; font-size: 12px;
}
.cd .sy-born {
  display: inline-flex; gap: 4px; flex-shrink: 0;
}
.cd .sy-ed-meta .ecs-btn { height: 30px; }
.cd .sy-ed-meta .ecs-btn-primary {
  background: #55A797; border-color: #55A797; color: #fff;
}
.cd .sy-ed-meta .ecs-btn-primary:hover { background: #3F8A7B; border-color: #3F8A7B; color: #fff; }
.cd .sy-ed-sep { width: 1px; height: 20px; background: #d5e0db; flex-shrink: 0; }
.cd .sy-hint { margin: 0; font-size: 12px; font-weight: 650; color: #2D6B5E; flex: 0 0 auto; }
.cd .sy-libbar { flex: 0 0 auto; overflow: hidden; }
.cd .sy-ed-cats {
  display: flex; flex-wrap: nowrap; gap: 4px; padding: 6px 10px 4px;
  border-bottom: 1px solid #eef3f0;
  flex-shrink: 0;
  overflow-x: auto; -webkit-overflow-scrolling: touch;
}
.cd .sy-ed-cats button {
  height: 22px; padding: 0 8px; border-radius: 999px; border: 1px solid #d5e0db;
  background: #fff; color: #3d524c; font-size: 10.5px; font-weight: 700; cursor: pointer;
  white-space: nowrap; flex: 0 0 auto;
}
.cd .sy-ed-cats button.on, .cd .sy-ed-cats button:hover {
  border-color: #55A797; background: #e8f4f1; color: #0F2924;
}
.cd .sy-ed-libs {
  display: flex; flex-direction: row; gap: 6px; padding: 6px 10px 8px;
  overflow-x: auto;
}
.cd .sy-lib {
  display: flex; flex-direction: column; align-items: stretch; gap: 3px;
  width: 76px; flex: 0 0 76px; margin: 0; padding: 5px; border-radius: 8px;
  border: 1px solid #3a4a46; background: #0f1614; color: #e8f4f1;
  text-align: left; cursor: grab;
}
.cd .sy-lib:hover, .cd .sy-lib.on { border-color: #55A797; background: #141c1a; }
.cd .sy-lib-g {
  width: 100%; height: 36px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: #070b0a; border-radius: 6px;
}
.cd .sy-lib-g svg { width: 90%; height: 28px; display: block; }
.cd .sy-lib-n {
  font-size: 10px; font-weight: 700; line-height: 1.2; color: #c5d4cf;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.cd .sy-zoom { display: inline-flex; gap: 4px; }
.cd .sy-zoom button { min-width: 26px; padding: 0 6px; }
.cd .sy.maxed {
  position: fixed; inset: 0; z-index: 80; margin: 0;
  padding: 10px 12px; background: #e8eeeb; overflow: hidden;
  display: flex; flex-direction: column; gap: 8px;
}
.cd .sy.maxed .sy-hint { display: none; }
.cd .sy.maxed .sy-ed-bar,
.cd .sy.maxed .sy-legend { flex: 0 0 auto; }
.cd .sy.maxed .sy-shell {
  flex: 1 1 auto;
  min-height: 0;
  height: auto;
  align-items: stretch;
}
.cd .sy.maxed .sy-main { min-height: 0; height: 100%; overflow: hidden; }
.cd .sy.maxed .sy-libbar { flex: 0 0 auto; }
.cd .sy.maxed .sy-ed-stage { flex: 1 1 auto; min-height: 0; height: auto; }
.cd .sy.maxed .sy-ed-stage .sld-empty { min-height: 0; }
.cd .sy.maxed .sld-viewport { min-height: 0; height: 100%; }
.cd .sy.maxed .sy-insp { max-height: none; height: 100%; overflow: auto; }
.cd .sy-size { display: flex; align-items: center; gap: 6px; }
.cd .sy-size input, .cd .sy-size select { flex: 1; }
.cd .sy-size .ecs-btn { width: 32px; padding: 0; justify-content: center; }
.cd .sy-ed-stage {
  flex: 1 1 auto; min-height: 0; overflow: hidden; background: #0e1412;
  display: flex; flex-direction: column; position: relative;
}
.cd .sy-ed-stage .sld-empty { min-height: 0; flex: 1; }
.cd .sy-ed-stage .sld-viewport { flex: 1; min-height: 0; height: auto; }
.cd .sy-sec { padding: 4px 0 0; }
.cd .sy-sec h3 {
  margin: 12px 0 8px; font-size: 11px; font-weight: 800;
  letter-spacing: .08em; text-transform: uppercase; color: #6b8179;
}
.cd .sy-insp { min-height: 0; overflow: auto; }
.cd .sy-insp-body { padding: 0 16px 16px; }
.cd .sy-remote {
  display: flex; flex-wrap: wrap; align-items: flex-start; gap: 8px;
  margin: 4px 0 12px; padding: 10px 12px;
  border: 1px solid #c5d4ce; border-radius: 8px; background: #f4f8f6;
  cursor: pointer;
}
.cd .sy-remote input { width: auto; margin-top: 2px; accent-color: #3F8A7B; }
.cd .sy-remote span { font-size: 13px; font-weight: 800; color: #0F2924; }
.cd .sy-remote em {
  flex: 1 0 100%; font-style: normal; font-size: 11.5px; line-height: 1.4; color: #5a6f68;
}
.cd .sy-prev {
  height: 96px; margin-bottom: 12px; border-radius: 10px;
  background: #141c1a; border: 1px solid #2a3632;
  display: flex; align-items: center; justify-content: center;
}
.cd .sy-prev svg { width: 72px; height: 88px; display: block; }
.cd .sy-states {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
}
.cd .sy-state {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: 8px 6px; border-radius: 8px; background: #141c1a; border: 1px solid #2a3632;
  font-size: 10px; font-weight: 700; color: #c5d4cf; text-align: center;
}
.cd .sy-state svg { width: 40px; height: 48px; display: block; }
.cd .sy-sim-acts { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.cd .sy-sim-acts button {
  height: 32px; border-radius: 8px; border: 1px solid #d5e0db; background: #fff;
  font-size: 12px; font-weight: 700; cursor: pointer; color: #1e293b;
}
.cd .sy-sim-acts button.on { border-color: #55A797; background: #e8f4f1; color: #0F2924; }
.cd .sy-desc { margin: 0 0 12px; font-size: 12.5px; line-height: 1.45; color: #3d524c; }
.cd .sy-swatch { display: flex; flex-wrap: wrap; gap: 6px; }
.cd .sy-swatch button {
  width: 22px; height: 22px; padding: 2px; border-radius: 999px;
  border: 1px solid #c5d4ce; background: #fff; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.cd .sy-swatch button i {
  display: block; width: 14px; height: 14px; border-radius: 999px;
}
.cd .sy-swatch button.on { border-color: #0F2924; box-shadow: 0 0 0 1px #0F2924; }
.cd .sy-sheet-grid {
  display: grid; gap: 6px; margin-top: 4px;
}
.cd .sy-sheet-cell {
  display: flex; flex-direction: column; gap: 4px;
  padding: 6px; border-radius: 8px;
  border: 1px solid #d5e0db; background: #f7faf8;
}
.cd .sy-sheet-cell.var { background: #eef6f3; border-color: #c5d4ce; }
.cd .sy-sheet-cell select,
.cd .sy-sheet-cell input {
  width: 100%; height: 28px; padding: 0 6px;
  border-radius: 6px; border: 1px solid #c5d4ce; background: #fff;
  font-size: 11px; color: #1e293b;
}
.cd .sy-crud { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.cd .sy-crud .ecs-btn { width: auto; padding: 0 10px; }
.cd .sy-itemlist {
  list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px;
}
.cd .sy-itemlist li {
  display: flex; align-items: center; gap: 6px;
}
.cd .sy-itemlist li.on .sy-itemlist-pick { border-color: #55A797; background: #e8f4f1; }
.cd .sy-itemlist-pick {
  flex: 1; text-align: left; height: 32px; padding: 0 10px;
  border-radius: 8px; border: 1px solid #d5e0db; background: #fff;
  font-size: 12px; font-weight: 650; cursor: pointer; color: #1e293b;
}
.cd .sy-itemlist .ecs-btn { width: 32px; padding: 0; justify-content: center; flex-shrink: 0; }
.cd .sy-insp .chamado-field label { margin-bottom: 5px; }
@media (max-width: 1100px) {
  .cd .sy-shell { grid-template-columns: 1fr; }
  .cd .sy-insp { max-height: 280px; }
}

.sld-page {
  display: flex; flex-direction: column;
  min-height: calc(100vh - 80px); height: calc(100vh - 80px);
}
.sld-board {
  position: relative;
  flex: 1; min-height: 0;
  display: flex; flex-direction: column;
  border-radius: 14px; overflow: hidden;
  background: #0b1010; border: 1px solid #c5d4ce;
  user-select: none; -webkit-user-select: none;
}
.sld-board, .sld-board * {
  user-select: none !important; -webkit-user-select: none !important;
}
.sld-board:fullscreen, .sld-board:-webkit-full-screen {
  width: 100%; height: 100%; border-radius: 0; border: 0;
}
.sld-board input, .sld-board textarea, .sld-board select {
  user-select: text !important; -webkit-user-select: text !important;
}
.sld-chrome {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px;
  padding: 6px 12px;
  background: #fff; border-bottom: 1px solid #c5d4ce;
  flex-shrink: 0;
}
.sld-chrome-copy {
  display: flex; align-items: baseline; gap: 8px; min-width: 0;
}
.sld-chrome-copy strong {
  font-size: 14px; font-weight: 800; color: #121614; letter-spacing: -.02em;
  white-space: nowrap;
}
.sld-chrome-copy span {
  font-size: 12px; font-weight: 650; color: #5b6f68;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.sld-chrome-ctrls { display: flex; align-items: center; gap: 6px; }
.sld-clp {
  display: inline-flex; align-items: center; gap: 7px;
  height: 28px; padding: 0 10px 0 8px;
  border-radius: 8px; cursor: pointer;
  border: 1px solid #c5d4ce; background: #fff;
  font: inherit; font-size: 11px; font-weight: 800; color: #2D6B5E;
}
.sld-clp:hover { border-color: #55A797; }
.sld-clp.on { border-color: #55A797; background: #e8f4f1; }
.sld-clp.off { border-color: #e8b4b4; background: #fff7f7; color: #9b1c1c; }
.sld-clp b { font-weight: 800; letter-spacing: .02em; }
.sld-clp i {
  width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0;
  background: #55A797; box-shadow: 0 0 0 3px rgba(85,167,151,.22);
}
.sld-clp.off i { background: #dc2626; box-shadow: 0 0 0 3px rgba(220,38,38,.18); }
.sld-chrome-acts {
  display: flex; align-items: center; gap: 6px; margin-left: auto;
}
.sld-chrome-acts .ecs-btn { height: 28px; padding: 0 10px; }
.sld-chrome-acts button:not(.ecs-btn) {
  width: 28px; height: 28px; border-radius: 7px;
  border: 1px solid #c5d4ce; background: #fff; color: #2D6B5E; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
}
.sld-chrome-acts button:not(.ecs-btn):hover { border-color: #55A797; color: #121614; }
.sld-zoom {
  min-width: 40px; text-align: right;
  font-size: 11px; font-weight: 800; color: #5b6f68;
  font-variant-numeric: tabular-nums;
}
.sld-pick {
  height: 28px; border-radius: 7px; border: 1px solid #c5d4ce;
  background: #fff; color: #121614; padding: 0 8px; font-weight: 650; font-size: 12px;
}
.sld-board-f {
  display: flex; align-items: center; gap: 12px;
  padding: 4px 12px;
  border-top: 1px solid #c5d4ce;
  background: #fff;
  font-size: 11px; color: #6b8179;
  flex-shrink: 0;
}
.sld-ops-shell {
  position: relative;
  display: flex;
  flex: 1; min-height: 0;
}
.sld-ops {
  position: absolute; top: 10px; right: 10px; bottom: 10px;
  width: min(340px, 42vw); z-index: 20; overflow: auto;
  background: #141c1a; color: #c5d4cf;
  border: 1px solid #2a3632; border-radius: 12px;
  box-shadow: 0 12px 40px rgba(0,0,0,.4), 0 0 0 2px #FFCC29;
}
.sld-ops.maxed {
  position: fixed; inset: 16px; z-index: 40;
  width: auto; top: 16px; right: 16px; bottom: 16px;
  border-radius: 14px;
  box-shadow: 0 24px 64px rgba(0,0,0,.55), 0 0 0 2px #FFCC29;
}
.sld-ops-h {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 12px 16px 6px;
}
.sld-ops-h h2 { margin: 0; font-size: 15px; font-weight: 800; color: #e8f4f1; letter-spacing: .02em; }
.sld-ops-acts { display: flex; align-items: center; gap: 6px; }
.sld-ops-acts button {
  height: 28px; padding: 0 10px; border-radius: 7px;
  border: 1px solid #2a3632; background: transparent;
  color: #8aa39c; font-size: 11px; font-weight: 700; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
}
.sld-ops-acts button:hover { color: #e8f4f1; border-color: #55A797; }
.sld-ops-copy { margin: 0 16px 10px; font-size: 12px; line-height: 1.45; color: #8aa39c; }
.sld-ops-st {
  margin: 0 16px 12px; padding: 8px 12px; border-radius: 8px;
  font-size: 13px; font-weight: 800;
  background: rgba(255,255,255,.04); border: 1px solid #2a3632;
}
.sld-ops-st.ok { color: #8fd4c6; border-color: rgba(61,220,151,.35); background: rgba(61,220,151,.08); }
.sld-ops-st.warn { color: #f6c945; border-color: rgba(246,201,69,.35); background: rgba(246,201,69,.08); }
.sld-ops-st.off { color: #8aa39c; }
.sld-ops-analogs {
  margin: 0 16px 12px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
}
.sld-ops-analogs > div {
  padding: 8px 10px; border-radius: 8px;
  background: rgba(255,255,255,.04); border: 1px solid #2a3632;
  display: flex; flex-direction: column; gap: 2px;
}
.sld-ops-analogs span { font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #6b8179; }
.sld-ops-analogs b { font-size: 18px; font-weight: 800; color: #e8f4f1; letter-spacing: -.02em; }
.sld-ops-analogs small { font-size: 10px; color: #8aa39c; }
.sld-ops-vars { margin: 0 16px 12px; }
.sld-ops-vars-h {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  margin-bottom: 8px;
  font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #6b8179;
}
.sld-ops-vars-h span { display: inline-flex; align-items: center; gap: 8px; }
.sld-ops-vars-h em {
  font-style: normal; text-transform: none; letter-spacing: 0;
  padding: 2px 8px; border-radius: 999px; font-size: 10px;
}
.sld-ops-vars-h em.on { color: #aef0d2; background: rgba(61,220,151,.1); }
.sld-ops-vars-h em.off { color: #ffb3ba; background: rgba(255,93,108,.1); }
.sld-ops-vars-h button {
  height: 24px; padding: 0 8px; border-radius: 6px;
  border: 1px solid #2a3632; background: transparent;
  color: #55A797; font-size: 10px; font-weight: 800; cursor: pointer; text-transform: none; letter-spacing: 0;
}
.sld-ops-vars p { margin: 0; font-size: 12px; color: #8aa39c; line-height: 1.45; }
.sld-ops-vars ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.sld-ops-vars li {
  display: grid; grid-template-columns: 52px 1fr auto; gap: 8px; align-items: center;
  padding: 6px 8px; border-radius: 7px; background: rgba(255,255,255,.03); border: 1px solid #24302c;
  font-size: 11px;
}
.sld-ops-vars li em { font-style: normal; font-weight: 800; color: #55A797; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.sld-ops-vars li b { font-weight: 800; color: #e8f4f1; }
.sld-ops-vars li span { grid-column: 1 / -1; color: #8aa39c; font-size: 10.5px; }
.sld-ops-vars li i { font-style: normal; font-weight: 800; color: #e8c84a; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.sld-ops-trend { padding: 0 16px 16px; display: flex; flex-direction: column; gap: 10px; }
.sld-ops-per { display: flex; gap: 6px; }
.sld-ops-per button {
  height: 26px; padding: 0 10px; border-radius: 999px;
  border: 1px solid #2a3632; background: transparent; font-size: 11px; font-weight: 800; color: #8aa39c; cursor: pointer;
}
.sld-ops-per button.on { border-color: #55A797; background: rgba(85,167,151,.14); color: #e8f4f1; }
.sld-ops-chart { background: #0e1412; border: 1px solid #24302c; border-radius: 8px; padding: 8px 4px 4px; }
.sld-pick.dark {
  height: 28px; border-radius: 7px; border: 1px solid #2a3632;
  background: rgba(20, 28, 26, .82); color: #e8f4f1; padding: 0 8px; font-weight: 650; font-size: 12px;
}
.sld-viewport:not(.edit) .sld-node.cmd { cursor: pointer; }
.sld-viewport:not(.edit) .sld-node { cursor: default; }
.sld-viewport:not(.edit) .sld-node.conn,
.sld-viewport:not(.edit) .sld-plot-wires { pointer-events: none; }
.sld-tag {
  position: absolute; z-index: 1; pointer-events: none;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 11px; font-weight: 700; letter-spacing: 0;
  color: #fff; text-shadow: 0 1px 2px #000;
  white-space: nowrap;
  transform: translateY(-50%);
  user-select: none !important; -webkit-user-select: none !important;
}
.sld-anno {
  position: absolute; z-index: 4; pointer-events: none;
  display: flex; align-items: center;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  letter-spacing: .015em; line-height: 1;
  user-select: none !important; -webkit-user-select: none !important;
}
.sld-anno.muted { opacity: .38; }
.sld-sheet {
  position: absolute; z-index: 3; pointer-events: none;
  display: flex; flex-direction: column;
  overflow: hidden;
  background: rgba(12, 18, 17, .72);
  border: 1px solid rgba(85, 167, 151, .28);
  border-radius: 2px;
  box-shadow: inset 0 1px 0 rgba(232,244,241,.04);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  user-select: none !important; -webkit-user-select: none !important;
}
.sld-sheet::before {
  content: '';
  position: absolute; left: 0; right: 0; top: 0; height: 1px;
  background: rgba(85, 167, 151, .55);
  pointer-events: none;
}
.sld-sheet-h {
  flex: 0 0 auto;
  padding: 4px 7px 2px;
  font-size: 8px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: #6b8179;
  border-bottom: 1px solid rgba(85,167,151,.16);
}
.sld-sheet-b { flex: 1; min-height: 0; }
.sld-sheet table {
  width: 100%; height: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}
.sld-sheet td {
  padding: 2px 7px;
  border-bottom: 1px solid rgba(232,244,241,.05);
  border-right: 1px solid rgba(232,244,241,.05);
  vertical-align: middle;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.sld-sheet tr:last-child td { border-bottom: 0; }
.sld-sheet td:last-child { border-right: 0; }
.sld-sheet td.k {
  font-size: 9px; font-weight: 650; letter-spacing: .06em;
  text-transform: uppercase; color: #7a9088;
  width: 42%;
}
.sld-sheet td.v {
  text-align: right;
  font-variant-numeric: tabular-nums;
  color: #e8f4f1;
}
.sld-sheet td.v b {
  font-size: 11px; font-weight: 700; font-style: normal;
  font-family: ui-monospace, "Cascadia Mono", Consolas, monospace;
  letter-spacing: -.02em;
}
.sld-sheet td.v i {
  font-style: normal; font-size: 8px; font-weight: 650;
  color: #8aa39c; padding-left: 4px; letter-spacing: .04em;
}
.sld-sheet td[data-empty="1"].v b { color: #5a6e68; font-weight: 600; font-size: 9px; }
.sld-node.bus.hot .sld-draw { filter: drop-shadow(0 0 3px currentColor); }
.sld-node.ops-sel {
  outline: 1px solid rgba(232,244,241,.45);
  outline-offset: 2px;
}
.sld-stage {
  position: relative; flex: 1; min-height: 0; height: 100%;
  overflow: hidden;
  background: #0e1412;
  display: flex; flex-direction: column;
  user-select: none; -webkit-user-select: none;
}
.sld-stage .sld-viewport { flex: 1; min-height: 0; height: 100%; }
.sld-empty {
  min-height: 560px; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 10px; color: #8aa39c; text-align: center; padding: 32px;
}
.sld-board .sld-empty { min-height: 0; flex: 1; height: 100%; }
.sld-empty p { margin: 0; max-width: 420px; font-size: 13.5px; line-height: 1.5; }
.sld-viewport {
  position: relative; flex: 1; width: 100%; min-height: 0;
  overflow: hidden; touch-action: none; cursor: default;
  outline: none; user-select: none; -webkit-user-select: none;
  background-color: #0b1010;
}
.cd .sy-ed-stage .sld-viewport { min-height: 0; }
.sld-plot, .sld-plot text, .sld-draw, .sld-node, .sld-anno, .sld-sheet, .sld-sheet * {
  user-select: none !important; -webkit-user-select: none !important;
}
.sld-viewport.edit:focus { box-shadow: inset 0 0 0 1px rgba(85,167,151,.45); }
.sld-vp-grid {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  display: block; width: 100%; height: 100%; overflow: hidden;
}
.sld-plot { position: relative; z-index: 1; isolation: isolate; }
.sld-plot.edit { cursor: default; }
.cd .sy-ed-stage[data-tool="wire"] .sld-plot,
.cd .sy-ed-stage[data-tool="place"] .sld-plot { cursor: crosshair; }
.cd .sy-ed-stage[data-tool="move"] .sld-node { cursor: grab; }
.cd .sy-ed-stage[data-tool="select"] .sld-node { cursor: pointer; }
.sld-plot-wires { position: absolute; inset: 0; z-index: 2; pointer-events: none; overflow: visible; shape-rendering: geometricPrecision; }
.sld-plot-wires > svg { overflow: visible; pointer-events: none; }
.sld-plot.edit .sld-plot-wires { pointer-events: none; }
.sld-plot.edit .sld-wire-hit { pointer-events: stroke; cursor: pointer; }
.sld-node {
  position: absolute; z-index: 6; border: 0;
  background: rgba(0,0,0,0.001);
  padding: 0; cursor: pointer; color: #c5d4cf;
  box-sizing: border-box; overflow: visible;
  pointer-events: auto;
}
.sld-node::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background: transparent;
}
.sld-draw {
  position: absolute; z-index: 1; pointer-events: none; overflow: visible;
}
.sld-plot.edit .sld-node { cursor: grab; }
.sld-node.cmd:hover, .sld-node.on {
  outline: 2px solid #55A797;
  outline-offset: 2px;
  background: rgba(85,167,151,.12);
}
.sld-node svg { width: 100%; height: 100%; display: block; pointer-events: none; overflow: visible; }
.sld-handle {
  position: absolute; width: 14px; height: 14px; border-radius: 3px;
  background: #55A797; border: 2px solid #e8f4f1; z-index: 9;
  pointer-events: auto; box-sizing: border-box;
}
.sld-handle.east { cursor: ew-resize; }
.sld-handle.south { cursor: ns-resize; }
.sld-term {
  position: absolute; z-index: 2; width: 8px; height: 8px; border-radius: 50%;
  transform: translate(-50%, -50%); pointer-events: none;
  box-shadow: 0 0 0 1px rgba(232,244,241,.55);
}
.sld-viewport.hit-terms .sld-term {
  pointer-events: auto; cursor: crosshair; z-index: 4;
  width: 12px; height: 12px;
  box-shadow: 0 0 0 2px rgba(85,167,151,.55);
}
.sld-node.bus { z-index: 1; }

@media (max-width: 820px) {
  html, body { overflow-x: hidden; }
  .sld-ops {
    left: 8px; right: 8px; top: auto; bottom: 8px;
    width: auto; max-height: 46vh;
  }
  .se.cd-sld {
    height: calc(100dvh - 88px);
    max-height: calc(100dvh - 88px);
  }
  .sld-page {
    min-height: calc(100dvh - 64px);
    height: calc(100dvh - 64px);
  }
  .cd .sy-sheet-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .mn-card-h { gap: 8px; }
  .ecs-page-head { align-items: flex-start; }
  .gl-th-unidade-menu { min-width: min(280px, calc(100vw - 24px)); max-width: calc(100vw - 24px); }
}



.tmn-brval-host, .tmn-brval-host .cd { height:100%; min-height:0; display:flex; flex-direction:column; }
.tmn-brval-host .sy { flex:1; min-height:0; }
.tmn-brval-host .mn-card {
  background:#fff; border:1px solid #d5e0db; border-radius:10px;
}
.tmn-brval-host .mn-card-h {
  display:flex; align-items:center; justify-content:space-between;
  padding:10px 14px 0; gap:8px;
}
.tmn-brval-host .mn-card-h h2 {
  margin:0; font-size:13px; font-weight:800; color:#0F2924;
  letter-spacing:.02em;
}
.tmn-brval-host .ecs-btn {
  height:30px; padding:0 10px; border-radius:7px; border:1px solid #d5e0db;
  background:#fff; color:#1e293b; font-size:12px; font-weight:700; cursor:pointer;
  display:inline-flex; align-items:center; gap:5px; white-space:nowrap;
}
.tmn-brval-host .ecs-btn:disabled { opacity:.4; cursor:not-allowed; }
.tmn-brval-host .ecs-btn-primary { background:#55A797; border-color:#55A797; color:#fff; }
.tmn-brval-host .ecs-btn-primary:hover { background:#3F8A7B; border-color:#3F8A7B; color:#fff; }
.tmn-brval-host .chamado-field { margin:0 0 12px; }
.tmn-brval-host .chamado-field label {
  display:block; font-size:11px; font-weight:800; letter-spacing:.04em;
  text-transform:uppercase; color:#6b8179; margin-bottom:5px;
}
.tmn-brval-host .chamado-field input,
.tmn-brval-host .chamado-field select,
.tmn-brval-host .sy-size input {
  width:100%; height:32px; border-radius:7px; border:1px solid #d5e0db;
  background:#fff; color:#121614; padding:0 8px; font-weight:650; font-size:13px;
}
.tmn-brval-host .sld-viewport {
  flex:1; min-height:0; height:100%; position:relative; overflow:hidden; background:#0e1412;
}
.tmn-brval-host .sld-empty {
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  gap:12px; color:#c5d4cf; min-height:360px; padding:24px; text-align:center;
}
.tmn-brval-host .sld-empty p { margin:0; max-width:420px; line-height:1.45; }
