/* Ebacos AMS simulator (AMS page): SVG screen 540 × 914 plus the bottom bar (540 × 58), scaled to its column.
   Colours and type copy the AMS screens. On the page it is a live preview; a click opens it in a panel. */
.ams-sim-wrap { display: grid; justify-items: center; gap: 14px; min-width: 0; }
.ams-sim { position: relative; width: min(100%, 470px); margin: 0 auto; border-radius: 18px; }
.ams-sim-note { display: flex; align-items: center; gap: 8px; margin: 0; font-size: .82rem; color: var(--muted); text-align: center; }
.ams-sim-note i { width: 8px; height: 8px; border-radius: 50%; background: #3FB950; box-shadow: 0 0 0 3px rgb(63 185 80 / .2); animation: hm-pulse 2s ease-in-out infinite; flex: none; }
@keyframes hm-pulse { 50% { box-shadow: 0 0 0 6px rgb(63 185 80 / 0); } }

.hmi-dev { display: block; border-radius: 18px; background: #111213; box-shadow: 0 0 0 1px rgb(var(--accent-rgb) / .5), 0 30px 70px rgba(0, 0, 0, .4);
  font-family: Arial, "Helvetica Neue", Helvetica, "Liberation Sans", sans-serif; user-select: none; -webkit-user-select: none; -webkit-tap-highlight-color: transparent; }
.hmi-view { display: block; }
.hmi-view > svg, .hmi-foot > svg { display: block; width: 100%; height: auto; }
.hmi-n { overflow: visible; }
.hmi-foot { position: relative; z-index: 1; margin-top: -1px; }
.hmi-dev text { text-anchor: middle; fill: #fff; font-size: 10px; }
.hmi-dev text.s { text-anchor: start; }
.hmi-dev text.e { text-anchor: end; }
.hmi-dev .bez { fill: #111213; }
.hmi-dev .scr-bg { fill: #000; }
.hmi-dev .h1 { font-size: 25px; }

/* Preview on the page: the whole screen is one button that opens the panel. */
.ams-sim:not(.is-big) { cursor: zoom-in; outline: none; }
.ams-sim:not(.is-big) .hmi-dev { pointer-events: none; }
.ams-sim:not(.is-big):focus-visible { box-shadow: 0 0 0 3px var(--bg, #0b0f14), 0 0 0 5px rgb(var(--accent-rgb)); }
.sim-hint { position: absolute; left: 50%; bottom: 8.6%; z-index: 2; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px 10px 13px; border-radius: 999px;
  background: rgb(10 12 16 / .84); color: #fff; font-size: .84rem; font-weight: 600; line-height: 1; white-space: nowrap; pointer-events: none;
  border: 1px solid rgb(var(--accent-rgb) / .75); box-shadow: 0 12px 30px rgb(0 0 0 / .45); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  opacity: 0; transform: translate(-50%, 8px); transition: opacity .2s ease, transform .2s ease; }
.sim-hint svg { width: 16px; height: 16px; fill: none; stroke: rgb(var(--accent-rgb)); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.ams-sim:not(.is-big):hover .sim-hint, .ams-sim:not(.is-big):focus-visible .sim-hint { opacity: 1; transform: translate(-50%, 0); }
@media (hover: none) { .ams-sim:not(.is-big) .sim-hint { opacity: 1; transform: translate(-50%, 0); } }
.ams-sim.is-big .sim-hint, .ams-sim-slot .sim-hint { display: none; }
.ams-sim-slot { pointer-events: none; }

/* The panel: full window, page blurred behind, the simulator as big as it is useful. */
html.sim-lock { overflow: hidden; }
.sim-dlg { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: transparent; color: #fff;
  overflow: hidden; overscroll-behavior: contain; }
.sim-dlg[open] { display: flex; flex-direction: column; }
.sim-dlg::backdrop { background: rgb(8 11 16 / .5); -webkit-backdrop-filter: blur(14px) saturate(1.1); backdrop-filter: blur(14px) saturate(1.1); }
.sim-dlg[open] { animation: sim-fade .25s ease; }
.sim-dlg[open]::backdrop { animation: sim-fade .25s ease; }
.sim-dlg[open] .ams-sim { animation: sim-pop .34s cubic-bezier(.2, .8, .2, 1); }
@keyframes sim-fade { from { opacity: 0; } }
@keyframes sim-pop { from { opacity: 0; transform: translateY(16px) scale(.97); } }
.sim-bar { position: relative; z-index: 5; flex: none; display: flex; align-items: center; gap: 8px; height: 60px; padding: 0 24px; box-sizing: border-box; }
.sim-title { display: inline-flex; align-items: center; gap: 9px; min-width: 0; margin-right: auto; padding: 8px 14px; border-radius: 999px; background: rgb(10 12 16 / .55);
  font-size: .9rem; font-weight: 600; letter-spacing: .01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-shadow: 0 1px 2px rgb(0 0 0 / .5); }
.sim-title i { flex: none; }
.sim-title i { width: 8px; height: 8px; border-radius: 50%; background: #3FB950; box-shadow: 0 0 0 3px rgb(63 185 80 / .25); animation: hm-pulse 2s ease-in-out infinite; }
.sim-zoom { display: inline-flex; gap: 8px; flex: none; }
.sim-zoom[hidden] { display: none; }
.sim-btn { flex: none; display: inline-grid; place-items: center; width: 42px; height: 42px; padding: 0; border-radius: 50%; cursor: pointer; color: #fff;
  background: rgb(18 20 24 / .7); border: 1px solid rgb(255 255 255 / .22); box-shadow: 0 6px 18px rgb(0 0 0 / .3); transition: background .15s, border-color .15s, opacity .15s; }
.sim-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.sim-btn:hover { background: rgb(40 44 50 / .85); border-color: rgb(255 255 255 / .4); }
.sim-btn:focus-visible { outline: 2px solid rgb(var(--accent-rgb)); outline-offset: 2px; }
.sim-btn:disabled { opacity: .35; cursor: default; }
.sim-x { background: rgb(var(--accent-rgb)); border-color: transparent; color: #111; }
.sim-x:hover { background: rgb(var(--accent-rgb)); border-color: #fff; }
.sim-stage { flex: 1 1 auto; min-height: 0; display: flex; padding: 0 24px 16px; box-sizing: border-box; }
.sim-stage > .ams-sim { margin: auto; flex: none; max-width: none; max-height: 100%; display: flex; flex-direction: column; }
/* Tips beside the screen (wide windows) or in a sheet behind the Tips button */
.sim-side { display: none; }
.sim-dlg.sides .sim-stage { display: grid; grid-template-columns: var(--side-w, 300px) auto var(--side-w, 300px); grid-template-rows: minmax(0, 1fr); justify-content: center; align-items: center; column-gap: 28px; }
.sim-dlg.sides .sim-stage > .ams-sim { grid-column: 2; grid-row: 1; margin: 0; align-self: center; }
.sim-dlg.sides .sim-side { display: grid; gap: 14px; align-content: center; max-height: 100%; overflow: auto; scrollbar-width: none; grid-row: 1; }
.sim-dlg.sides .sim-l { grid-column: 1; }
.sim-dlg.sides .sim-r { grid-column: 3; }
.sim-dlg.sides .sim-tip { display: none; }
.tip-card { padding: 20px 22px; border-radius: 16px; background: rgb(14 16 20 / .72); border: 1px solid rgb(255 255 255 / .1); box-shadow: 0 14px 40px rgb(0 0 0 / .3);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: #e8eaed; font-size: .92rem; line-height: 1.55; animation: sim-fade .3s ease; }
.tip-card h3 { margin: 0 0 10px; font-size: 1.02rem; font-weight: 700; color: #fff; letter-spacing: .005em; }
.tip-card p { margin: 0 0 10px; color: #c5cad1; }
.tip-card p:last-child { margin-bottom: 0; }
.tip-eye { display: block; margin-bottom: 6px; font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: rgb(var(--accent-rgb)); }
.tip-card ol { margin: 0; padding: 0; list-style: none; counter-reset: tip; display: grid; gap: 10px; }
.tip-card ol li { position: relative; padding-left: 34px; color: #d3d7dd; counter-increment: tip; }
.tip-card ol li::before { content: counter(tip); position: absolute; left: 0; top: 0; width: 23px; height: 23px; border-radius: 50%; display: grid; place-items: center;
  background: rgb(var(--accent-rgb) / .16); color: rgb(var(--accent-rgb)); font-size: .78rem; font-weight: 700; }
.tip-al ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 9px; }
.tip-al li { display: flex; gap: 10px; align-items: flex-start; font-size: .84rem; font-weight: 700; color: #fff; }
.tip-al li i { flex: none; width: 9px; height: 9px; margin-top: 5px; border-radius: 50%; background: #e5463b; box-shadow: 0 0 0 3px rgb(229 70 59 / .22); animation: hm-blink-dot 1s steps(1) infinite; }
.tip-al li.ack i { background: #e3b341; box-shadow: 0 0 0 3px rgb(227 179 65 / .2); animation: none; }
.tip-al li small { display: block; font-weight: 400; font-size: .76rem; color: #9aa1aa; }
.tip-al li.ok { font-weight: 400; color: #9fd8b0; }
@keyframes hm-blink-dot { 50% { opacity: .35; } }
.sim-sheet { position: fixed; left: 8px; right: 8px; bottom: 8px; z-index: 6; max-height: min(62vh, 560px); overflow: auto; display: grid; gap: 10px; padding: 10px;
  border-radius: 18px; background: rgb(8 10 14 / .9); border: 1px solid rgb(255 255 255 / .12); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 -10px 40px rgb(0 0 0 / .45); }
.sim-sheet[hidden] { display: none; }
.sim-sheet .tip-card { background: rgb(255 255 255 / .04); box-shadow: none; padding: 16px 18px; }
@media (min-width: 640px) { .sim-sheet { left: auto; right: 24px; bottom: 24px; width: 380px; } }
.sim-tip.on { background: rgb(var(--accent-rgb) / .25); border-color: rgb(var(--accent-rgb)); }
.ams-sim.is-big .hmi-dev { box-shadow: 0 0 0 1px rgb(var(--accent-rgb) / .55), 0 40px 90px rgba(0, 0, 0, .55); }
.ams-sim.is-big .hmi-dev { display: flex; flex-direction: column; min-height: 0; overflow: hidden; }
.ams-sim.is-big .hmi-view { flex: 0 1 auto; min-height: 0; overflow: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: rgb(255 255 255 / .3) transparent; }
.ams-sim.is-big .hmi-view > svg { width: var(--zw, 100%); max-width: none; }
.ams-sim.is-big .hmi-foot { flex: none; margin-top: 0; }
.ams-sim.is-big .hmi-foot::before { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 34px; background: linear-gradient(rgb(0 0 0 / 0), rgb(0 0 0 / .8)); opacity: 0; transition: opacity .2s; pointer-events: none; }
.ams-sim.is-big.more-b .hmi-foot::before { opacity: 1; }
@media (max-width: 639px) {
  .sim-bar { height: 56px; padding: 0 8px; }
  .sim-title { font-size: .8rem; padding: 7px 11px; }
  .sim-btn { width: 38px; height: 38px; }
  .sim-zoom { gap: 6px; }
  .sim-stage { padding: 0 8px 8px; }
}

/* Boxes, states, buttons */
.hmi-dev .bx { fill: #232323; }
.hmi-dev .st { fill: #404040; }
.hmi-dev .stt { fill: #ececec; }
.hmi-dev .stt.dim { fill: #b9b9b9; }
.hmi-dev .stt.warn { fill: #f0b43c; font-weight: 700; }
.hmi-dev .b { cursor: pointer; outline: none; }
.hmi-dev .b rect { fill: #000; stroke: #e6e6e6; stroke-width: 1.1; transition: fill .15s; }
.hmi-dev .b text { font-weight: 700; letter-spacing: .02em; }
@media (hover: hover) { .hmi-dev .b:hover rect { fill: #1d1d1d; } }
.hmi-dev .b:active rect { fill: #333; }
.hmi-dev .b.lit rect { fill: #e6e6e6; }
.hmi-dev .b.lit text { fill: #000; }
.hmi-dev .b:focus-visible rect, .hmi-dev .tab:focus-visible .tab-hit, .hmi-dev .alm:focus-visible .alm-bg { stroke: #2ea7ff; stroke-width: 1.6; }
.hmi-dev .p-t { font-size: 14.5px; }

/* PMS gauges, bars, readouts (ports of the canvas scripts), breakers */
.hmi-dev .g-disc { fill: url(#hmDisc); }
.hmi-dev .g-tr { fill: none; stroke: #1D252B; }
.hmi-dev .g-p { fill: none; stroke: #27A8D8; stroke-linecap: butt; transition: stroke-dashoffset .8s ease; }
.hmi-dev .g-z { fill: none; }
.hmi-dev .g-dot { transition: transform .8s ease; }
.hmi-dev .b-f { transform-box: fill-box; transform-origin: 50% 100%; transform: scaleY(0); transition: transform .7s ease; }
.hmi-dev .hm-v { fill: #E8E8E8; }
.hmi-dev .hm-v.al { fill: #E04A4A; }
.hmi-dev .r-th { transition: transform .7s ease; }
.hmi-dev .sw-in, .hmi-dev .sw-out { stroke: #d6d6d6; stroke-width: 5; transition: stroke .3s; }
.hmi-dev .live .sw-in, .hmi-dev .closed .sw-out { stroke: #00f000; }
.hmi-dev .sw-ring { fill: #000; stroke: #8c8c8c; stroke-width: 1.3; }
.hmi-dev .sw-c { fill: none; stroke: #e6e6e6; stroke-width: 1.5; transition: stroke .3s; }
.hmi-dev .closed .sw-c { stroke: #00f000; }
.hmi-dev .sw-p { fill: #f2f2f2; transition: fill .3s; }
.hmi-dev .closed .sw-p { fill: #00f000; }
.hmi-dev .sw-bl { stroke: #f2f2f2; stroke-width: 1.6; stroke-linecap: round; transform-box: fill-box; transform-origin: 0 50%; transform: rotate(-32deg); transition: transform .35s ease, stroke .3s; }
.hmi-dev .closed .sw-bl { stroke: #00f000; transform: rotate(0deg); }

/* Navigation */
.hmi-dev .sep { stroke: #4a4a4a; stroke-width: 1; }
.hmi-dev .n-lab { font-size: 7.5px; font-weight: 700; fill: #c3c9ce; }
.hmi-dev .n-big { font-size: 15px; font-weight: 700; }
.hmi-dev .n-sub { font-size: 6px; fill: #b0b6bc; }
.hmi-dev .n-pos { font-size: 11px; font-weight: 700; }
.hmi-dev .led { fill: #3fd27f; }
.hmi-dev .d-out, .hmi-dev .c-out { fill: none; stroke: #8d8d8d; stroke-width: 1; }
.hmi-dev .tk1 { stroke: #c9c9c9; stroke-width: .8; }
.hmi-dev .tk2 { stroke: #fff; stroke-width: 1.2; }
.hmi-dev .tk3 { stroke: #fff; stroke-width: 2.2; }
.hmi-dev .d-num { font-size: 8px; fill: #aab0b6; }
.hmi-dev .d-card { font-size: 11px; font-weight: 700; }
.hmi-dev .d-bold { font-size: 8.5px; font-weight: 700; }
.hmi-dev .d-in { fill: none; stroke: #4d4d4d; stroke-width: 1; }
.hmi-dev .d-title { font-size: 7px; font-weight: 700; fill: #bfc5cb; }
.hmi-dev .d-l { font-size: 7.5px; font-weight: 700; fill: #cfd4d9; }
.hmi-dev .d-v { font-size: 18px; font-weight: 700; }
.hmi-dev .d-g { font-size: 6.5px; font-weight: 700; fill: #3fd27f; }
.hmi-dev .d-u { font-size: 6.5px; fill: #cfd4d9; }
.hmi-dev .drop-r { fill: none; stroke: #e0453b; stroke-width: 1.6; }
.hmi-dev .drop-g { fill: none; stroke: #3fbf7f; stroke-width: 1.6; }
.hmi-dev .ptr-a { fill: #fff; }
.hmi-dev .ptr-b { fill: #b5b5b5; }
.hmi-dev .d-red { fill: none; stroke: #e0453b; stroke-width: 5; }
.hmi-dev .d-grn { fill: none; stroke: #3fbf7f; stroke-width: 5; }
.hmi-dev .n-lab2 { font-size: 6.5px; font-weight: 700; fill: #c3c9ce; }
.hmi-dev .n-v { font-size: 15px; font-weight: 700; }
.hmi-dev .n-v2 { font-size: 12px; font-weight: 700; }
.hmi-dev .n-red { font-size: 5.5px; font-weight: 700; fill: #e0453b; }
.hmi-dev .n-grn { font-size: 5.5px; font-weight: 700; fill: #3fd27f; }
.hmi-dev .sea { fill: none; stroke: #3a9fd6; stroke-width: 1.2; }
.hmi-dev .cone { fill: url(#hmCone); }
.hmi-dev .cone-e { fill: none; stroke: #5d6b72; stroke-width: .8; }
.hmi-dev .r-arc { fill: none; stroke: #9a9a9a; stroke-width: 1; }
.hmi-dev .r-num { font-size: 6px; fill: #aab0b6; }
.hmi-dev .mk.red { fill: #e0453b; }
.hmi-dev .mk.grn { fill: #3fbf7f; }
.hmi-dev .rot-bar { fill: none; stroke-width: 3; }
.hmi-dev .rot-bar.grn { stroke: #3fbf7f; }
.hmi-dev .rot-bar.red { stroke: #e0453b; }
.hmi-dev .c-num { font-size: 9px; fill: #b5bbc1; }
.hmi-dev .c-card { font-size: 14px; font-weight: 700; }
.hmi-dev .c-lub { fill: #fff; }
.hmi-dev .c-cog { fill: #2ea7ff; }
.hmi-dev .c-in { fill: #070707; stroke: #3a3a3a; stroke-width: 2; }
.hmi-dev .c-hd { font-size: 7.5px; font-weight: 700; fill: #bfc5cb; }
.hmi-dev .c-v { font-size: 28px; font-weight: 700; }
.hmi-dev .c-cogt { font-size: 8px; font-weight: 700; fill: #2ea7ff; }
.hmi-dev .c-div { fill: none; stroke: #4a4a4a; stroke-width: 1; }
.hmi-dev .h-arc { fill: none; stroke: #cfcfcf; stroke-width: 1.2; }
.hmi-dev .h-y { fill: none; stroke: #e3b341; stroke-width: 5; }
.hmi-dev .boat { transition: transform 1s ease; }
.hmi-dev .hull { fill: #3c4752; stroke: #c9d1d9; stroke-width: 1; }
.hmi-dev .mast { fill: none; stroke: #f0f0f0; stroke-width: 2.2; }
.hmi-dev .sail { fill: rgba(230, 235, 240, .9); stroke: #fff; stroke-width: .8; }
.hmi-dev .shroud { fill: none; stroke: #9aa4ad; stroke-width: .8; }
.hmi-dev .wl { fill: none; stroke: #3a9fd6; stroke-width: 1.4; }
.hmi-dev .ch-box { fill: none; stroke: #6a6a6a; stroke-width: 1; }
.hmi-dev .ch-grid { fill: none; stroke: #3c3c3c; stroke-width: 1; }
.hmi-dev .ch-g { fill: none; stroke: #3fbf7f; stroke-width: 1.2; }
.hmi-dev .ch-r { fill: none; stroke: #e0453b; stroke-width: 1.2; }

/* Refrigeration */
.hmi-dev .pn { fill: #000; stroke: #232323; stroke-width: 2; }
.hmi-dev .cd { fill: #232323; }
.hmi-dev .vb { fill: #000; }
.hmi-dev .ov .oc, .hmi-dev .ov .or, .hmi-dev .ov .ob { fill: none; stroke-width: 3.6; }
.hmi-dev .ov .oc { stroke: #45c8b8; }
.hmi-dev .ov .or { stroke: #d4605b; }
.hmi-dev .ov .ob { stroke: #1717c8; }
.hmi-dev .ov .oq { fill: #000; stroke: #f2f2f2; stroke-width: 2.6; }
.hmi-dev .ov .oth { stroke-width: 1.8; }
.hmi-dev .ov .od { stroke-dasharray: 5 3; }
.hmi-dev .ov .ow { fill: #f2f2f2; stroke: none; }
.hmi-dev .ov .oe { fill: #f7f7f7; }
.hmi-dev .ov .oE { font-size: 30px; fill: none; stroke: #a8a8a8; stroke-width: 1.5; }
.hmi-dev .ov .kc, .hmi-dev .ov .kb, .hmi-dev .ov .kr { fill: none; stroke-width: 3.2; }
.hmi-dev .ov .kc { stroke: #40c4b0; }
.hmi-dev .ov .kb { stroke: #0e4db6; }
.hmi-dev .ov .kr { stroke: #cc6461; }
.hmi-dev .ov .ofan { fill: none; stroke: #c4c4c4; stroke-width: 3.2; }
.hmi-dev .ov .ofb { fill: none; stroke: #c4c4c4; stroke-width: 2.8; }
.hmi-dev .ov .fh { fill: none; stroke: none; }
.hmi-dev .ov .ogl { stroke: #8a8a8a; stroke-width: 3; }
.hmi-dev .ov .ovt { font-size: 30px; fill: #e8e8e8; }
.hmi-dev .fanr { transform-box: fill-box; transform-origin: 50% 50%; }
.hmi-dev .running .fanr { animation: hm-spin 1.8s linear infinite; }
@keyframes hm-spin { to { transform: rotate(360deg); } }
.hmi-dev .t-lab { font-size: 6px; fill: #c3c9ce; }
.hmi-dev .t-box { fill: none; stroke: #e6e6e6; stroke-width: 1; }
.hmi-dev .t-hd { stroke: #e6e6e6; stroke-width: 1; }
.hmi-dev .t-name { font-size: 6.5px; font-weight: 700; }
.hmi-dev .al-row { font-size: 7px; fill: #ff6b63; }
.hmi-dev .al-row.ack { fill: #e5b53b; }

/* DC (drawn in the pixels of the real page, scaled) */
.hmi-dev .dc-bg { fill: #232323; }
.hmi-dev .dc-pn { fill: #000; }
.hmi-dev .dc-box { fill: none; stroke: #6d6d6d; stroke-width: 1; }
.hmi-dev .dc-grid { fill: none; stroke: #4c4c4c; stroke-width: 1; }
.hmi-dev .dc-tk { fill: none; stroke: #8c8c8c; stroke-width: 1; }
.hmi-dev .dc-al, .hmi-dev .dc-tl { font-size: 6.3px; fill: #8a8a8a; }
.hmi-dev .dc-ct { font-size: 6.8px; font-weight: 700; fill: #d0d0d0; }
.hmi-dev .dc-l0 { fill: none; stroke: #27A8D8; stroke-width: 1.4; }
.hmi-dev [data-c="vg"] { stroke: #3fbf7f; }
.hmi-dev .dc-l1 { fill: none; stroke: #e0453b; stroke-width: 1.4; }
.hmi-dev .dw { fill: none; stroke: #f2f2f2; stroke-width: 2.3; }
.hmi-dev .dwk { fill: #000; }
.hmi-dev .dwf { fill: #f2f2f2; }
.hmi-dev .dwt { stroke-width: 1.6; }
.hmi-dev .dwb { stroke-width: 2.6; }
.hmi-dev .dw.live { stroke: #16d916; }
.hmi-dev .dw { transition: stroke .3s; }
.hmi-dev .dc-sym { font-size: 10px; fill: #d0d0d0; }
.hmi-dev .dc-dcs { fill: none; stroke: #9a9a9a; stroke-width: 1; }
.hmi-dev .dc-ct2 { font-size: 10.6px; fill: #d8d8d8; }
.hmi-dev .dc-lab { font-size: 10.5px; fill: #d8d8d8; }
.hmi-dev .b.b2 rect { stroke: #6a6a6a; stroke-width: 1.2; }
.hmi-dev .dc-st { fill: #000; }
.hmi-dev .dc-stt { font-size: 9.5px; font-weight: 700; }
.hmi-dev .dc-stt.dim { fill: #8a8a8a; }

/* Bottom bar and alarm box */
.hmi-dev .nv-bg { fill: #000; }
.hmi-dev .tab { cursor: pointer; outline: none; }
.hmi-dev .tab-hit { fill: transparent; transition: fill .15s; }
@media (hover: hover) { .hmi-dev .tab:hover .tab-hit { fill: #171717; } .hmi-dev .tab.off:hover .tab-hit { fill: #101010; } }
.hmi-dev .tab.on .tab-hit { fill: #1b1b1b; }
.hmi-dev .tl { font-size: 8.5px; fill: #f0f0f0; }
.hmi-dev .tab-sep { stroke: #3a3a3a; stroke-width: 1; }
.hmi-dev .tab.off .tl { fill: #5f5f5f; }
.hmi-dev .tab-sep.grp { stroke: #8a8a8a; stroke-width: 1.4; }
.hmi-dev .alm { cursor: pointer; outline: none; }
.hmi-dev .alm-bg { fill: #000; }
.hmi-dev .alm-line { stroke: #f0f0f0; stroke-width: 2; }
.hmi-dev .al { font-size: 7.5px; font-weight: 700; }
.hmi-dev .alm-tri { fill: none; stroke: #6e1d1d; stroke-width: 2; stroke-linejoin: round; }
.hmi-dev .alm-ex { stroke: #6e1d1d; stroke-width: 2; stroke-linecap: round; }
.hmi-dev .alm.active .alm-tri { fill: #e5463b; stroke: #fff; animation: hm-blink 1s steps(1) infinite; }
.hmi-dev .alm.active .alm-ex { stroke: #fff; }
.hmi-dev .alm.acked .alm-tri, .hmi-dev .alm.acked .alm-ex { stroke: #e3b341; }
@keyframes hm-blink { 50% { fill: transparent; stroke: #e5463b; } }
/* Note for the screens that are not in this demo */
.sim-toast { position: absolute; left: 50%; bottom: calc(100% + 12px); z-index: 3; transform: translateX(-50%); width: max-content; max-width: calc(100% - 28px); box-sizing: border-box;
  display: grid; justify-items: center; gap: 5px; padding: 16px 20px 18px; border-radius: 14px; background: rgb(16 16 17 / .97); border: 1px solid #4d4d4d; color: #fff; text-align: center;
  font: 700 15px/1.3 Arial, "Helvetica Neue", Helvetica, sans-serif; box-shadow: 0 18px 44px rgb(0 0 0 / .55); animation: sim-note .25s ease; user-select: text; -webkit-user-select: text; }
.sim-toast[hidden] { display: none; }
.sim-toast.plain { border-color: rgb(227 179 65 / .7); }
.sim-toast.plain b { color: #f0c75e; }
.sim-toast span { font-weight: 400; font-size: 13px; color: #c9c9c9; }
.sim-toast-cta { margin-top: 9px; display: inline-flex; align-items: center; padding: 9px 18px; border-radius: 999px; background: rgb(var(--accent-rgb)); color: #111; font-size: 13.5px; font-weight: 700; text-decoration: none; }
.sim-toast-cta:hover { filter: brightness(1.08); }
.sim-toast-cta:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
@keyframes sim-note { from { opacity: 0; transform: translate(-50%, 8px); } }

@media (prefers-reduced-motion: reduce) { .hmi-dev *, .ams-sim-note i, .sim-title i, .sim-dlg, .sim-dlg::backdrop, .sim-dlg .ams-sim, .sim-hint, .sim-toast, .tip-card, .tip-al li i { animation: none !important; transition: none !important; } }
@media print { .ams-sim { display: none; } }
