/* Data Center: janela de graficos, tempo na sala, aba "Graficos" do foco e vista Containers. */
.dc-viewport [hidden], .gw [hidden] { display: none !important; }

/* ---- selo de tempo (AGORA / PREVIA / REPLAY) ---- */
.dc-timebadge { position: absolute; top: 8px; left: 8px; z-index: 3500; display: flex; align-items: center; flex-wrap: wrap; gap: 8px; max-width: calc(100% - 140px); padding: 5px 8px; border-radius: 8px; border: 2px solid #000; background: rgba(27, 40, 51, .94); box-shadow: inset 0 2px 0 rgba(255, 255, 255, .08), 0 3px 0 rgba(0, 0, 0, .3); color: #fff; }
.dc-timebadge { pointer-events: none; }
.dc-timebadge button { pointer-events: auto; }
.dc-timebadge strong { font: 700 20px/1 var(--dc-pixel, 'Pixelify Sans', monospace); letter-spacing: .5px; }
.dc-timebadge small { font: 400 11px 'Ubuntu', sans-serif; color: #c5d4df; }
.dc-timebadge .dc-tag { display: inline-flex; align-items: center; min-height: 24px; padding: 0 8px; border: 2px solid #000; border-radius: 5px; font: 700 13px var(--dc-pixel, 'Pixelify Sans', monospace); letter-spacing: .5px; color: #0e1a22; background: #39e07a; }
.dc-timebadge .dc-tag.is-preview { background: #8fd3ff; }
.dc-timebadge .dc-tag.is-replay { background: #ffc531; }
.dc-page .dc-timebadge button { min-height: 26px; padding: 0 10px; font: 700 12px 'Ubuntu', sans-serif; }
.dc-page .d3t.is-hot { filter: drop-shadow(0 0 5px #fff) drop-shadow(0 0 2px #fff); }

/* ---- botao e janela ---- */
.gw-open { position: absolute; left: 10px; bottom: 10px; z-index: 2000; display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px 0 10px !important; font: 700 15px var(--dc-pixel, 'Pixelify Sans', monospace) !important; color: #fff !important; background: #2f6f8f !important; text-shadow: 0 2px 0 #1b4a61; box-shadow: inset 0 -3px 0 #1b4a61, 0 3px 0 rgba(0, 0, 0, .35) !important; }
.gw { position: absolute; left: 12px; right: 12px; bottom: 0; z-index: 2500; display: flex; flex-direction: column; overflow: hidden; height: 62%; min-height: 62px; background: #17232d; border: 2px solid #000; border-bottom: 0; border-radius: 10px 10px 0 0; box-shadow: 0 0 0 2px #0b141a, 0 -10px 30px rgba(0, 0, 0, .5); color: #eef3f7; cursor: default; user-select: text; touch-action: pan-y; visibility: hidden; transform: translateY(104%); transition: transform .3s ease-in, visibility 0s linear .3s, height .26s ease-out; }
.gw.is-open { visibility: visible; transform: none; transition: transform .34s cubic-bezier(.2, .9, .25, 1.05), height .26s ease-out; }
.gw.is-dragging { transition: none; user-select: none; }
.gw *, .gw *::before, .gw *::after { box-sizing: border-box; }
.dc-page .gw button { font-family: 'Ubuntu', sans-serif; }
.dc-page .gw-handle { display: flex; align-items: center; justify-content: center; flex: none; width: 100%; height: 20px; padding: 0; border: 0; border-radius: 0; background: #2f6f8f; box-shadow: none; cursor: ns-resize; touch-action: none; }
.gw-handle span { width: 80px; height: 4px; background: repeating-linear-gradient(90deg, #fff 0 6px, transparent 6px 9px); }
.gw-head { flex: none; display: flex; align-items: center; flex-wrap: wrap; gap: 8px 10px; padding: 6px 12px; background: #2f718e; border-bottom: 2px solid #000; }
.gw-head svg { flex: none; }
.dc-page .gw-head h2 { margin: 0; font: 700 22px/1.2 var(--dc-pixel, 'Pixelify Sans', monospace); color: #fff; }
.gw-sub { flex: 1 1 200px; min-width: 0; margin: 0; font-size: 13px; color: #fff; }
.gw-views, .gw-sizes { display: flex; gap: 6px; }
.dc-page .gw-views button, .dc-page .gw-see { min-height: 30px; padding: 0 12px; font: 700 12px 'Ubuntu', sans-serif; color: #e8f3fa; background: #3d6f88; box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .25); }
.dc-page .gw-views button[aria-pressed='true'] { color: #111; background: #fff; box-shadow: inset 0 -3px 0 #1f7ad6; }
.dc-page .gw-views .gw-soon { color: #dbe8f0; background: transparent; border-style: dashed; box-shadow: none; cursor: not-allowed; }
.dc-page .gw-see { color: #fff; background: #3a8f1f; box-shadow: inset 0 -3px 0 #25610f; }
.dc-page .gw-sizes button { display: flex; align-items: flex-end; justify-content: center; width: 26px; height: 32px; padding: 0 0 5px; background: #3d6f88; }
.dc-page .gw-sizes button[aria-pressed='true'] { background: #fff; }
.gw-sizes i { display: block; width: 12px; background: #cfe8ff; border: 2px solid #000; }
.gw-sizes [aria-pressed='true'] i { background: #1f7ad6; }
.dc-page .gw-iconbtn { width: 32px; height: 32px; padding: 0; font: 700 20px/1 'Ubuntu', sans-serif; }
.dc-page .gw-iconbtn.is-close { color: #fff; background: #d63a3a; box-shadow: inset 0 -3px 0 #8d1f1f; }
.gw-body { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.gw-toolbar { flex: none; display: flex; flex-direction: column; gap: 6px; padding: 8px 14px; background: #14202a; border-bottom: 2px solid #000; }
.gw-trow { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.gw-chips { display: contents; }
.gw-tlab { margin: 0 2px 0 8px; font: 600 11px 'Ubuntu', sans-serif; letter-spacing: .6px; text-transform: uppercase; color: #a9bccb; }
.gw-tlab:first-child { margin-left: 0; }
.dc-page .gw-chip, .dc-page .gw-per { display: inline-flex; align-items: center; gap: 6px; min-height: 26px; padding: 0 9px 0 7px; font: 700 12px 'Ubuntu', sans-serif; color: #fff; background: #0e1a22; border-radius: 6px; box-shadow: inset 0 -2px 0 rgba(255, 255, 255, .07); }
.dc-page .gw-per { padding: 0 11px; font-family: var(--dc-pixel, 'Pixelify Sans', monospace); border-radius: 5px; }
.dc-page .gw-chip.is-mono { font-family: 'Ubuntu Mono', monospace; }
.dc-page .gw-chip[aria-pressed='true'] { color: #111; background: var(--c, #e9e9e9); box-shadow: 0 0 0 2px #fff; }
.dc-page .gw-chip.is-env[aria-pressed='true'] { color: #fff; background: #0e1a22; box-shadow: none; opacity: 1; }
.dc-page .gw-per[aria-pressed='true'] { color: #111; background: #fff; box-shadow: inset 0 -3px 0 #1f7ad6; }
.gw-sw { display: inline-block; flex: none; width: 10px; height: 10px; background: var(--c, #9fb0bf); border: 2px solid var(--c, #9fb0bf); }
.gw-sw.is-old { background: transparent; }
.gw-chip[aria-pressed='true']:not(.is-env) .gw-sw { border-color: #111; background: #111; }
.gw-chip[aria-pressed='true']:not(.is-env) .gw-sw.is-old { background: transparent; }
.gw-range { margin: 0 4px; font: 400 12px 'Ubuntu Mono', monospace; color: #b9c9d6; }
.dc-page .gw-refresh { min-height: 30px; padding: 0 14px; font: 700 13px 'Ubuntu', sans-serif; color: #fff; background: #3a8f1f; box-shadow: inset 0 -3px 0 #25610f; }
.gw-refresh span { font: 400 11px 'Ubuntu Mono', monospace; }
.gw-hl { flex: none; display: flex; align-items: center; gap: 10px; padding: 6px 14px; background: #101b24; border-bottom: 2px solid #000; min-width: 0; }
.gw-hl-title { flex: none; font: 700 14px var(--dc-pixel, 'Pixelify Sans', monospace); color: #ffc531; }
.gw-hl-per { flex: none; font-size: 12px; color: #b9c9d6; }
.gw-hl ul { display: flex; gap: 8px; margin: 0; padding: 0 0 2px; list-style: none; overflow-x: auto; min-width: 0; scrollbar-width: thin; scrollbar-color: #4b6a7f #14202a; }
.gw-hl li { flex: none; }
.dc-page .gw-hlbtn { display: inline-flex; align-items: center; gap: 7px; min-height: 30px; padding: 0 10px 0 6px; font: 500 12px/1.1 'Ubuntu', sans-serif; color: #e6eef5; white-space: nowrap; background: #0e1a22; border-left: 6px solid var(--c, #fff); border-radius: 5px; box-shadow: inset 0 -2px 0 rgba(255, 255, 255, .07); }
.dc-page .gw-hlbtn.is-on { box-shadow: 0 0 0 2px #fff; }
.gw-hl-none { margin: 0; font-size: 12px; color: #b9c9d6; }
.gw-modes { flex: none; display: flex; align-items: center; flex-wrap: wrap; gap: 8px; padding: 8px 14px 0; }
.gw-note { font-size: 12px; color: #b9c9d6; }
.gw-main { flex: 1; min-height: 0; overflow: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #4b6a7f #14202a; padding: 10px 14px 22px; }
.gw-warn { margin: 0 0 8px; padding: 8px 12px; border: 2px solid #000; border-radius: 6px; background: #4a3a10; color: #ffe8a3; font: 400 13px/1.4 'Ubuntu', sans-serif; }
.gw-warn .gw-refresh { margin-left: 8px; }
.gw-empty { margin: 8px 0; padding: 16px; border: 2px dashed #3b5a73; border-radius: 6px; font: 400 13px/1.4 'Ubuntu', sans-serif; color: #c9d6e0; }
.gw-v { display: contents; }
.gw-sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.dc-page .gw-fretry { min-height: 26px; padding: 0 10px; font: 700 12px 'Ubuntu', sans-serif; }

/* ---- paineis ---- */
.gw-panels { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-start; }
.gw-panel { flex: 1 1 410px; min-width: 0; display: flex; flex-direction: column; background: #1c262f; border: 2px solid #000; border-radius: 8px; box-shadow: inset 0 2px 0 rgba(255, 255, 255, .06); }
.gw-panel.is-wide { flex-basis: 840px; }
.gw-panel > header { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; padding: 6px 12px; background: #2f718e; border-radius: 6px 6px 0 0; }
.gw-panel h3 { margin: 0; font: 700 16px var(--dc-pixel, 'Pixelify Sans', monospace); color: #fff; }
.gw-panel > header span { font-size: 12px; color: #fff; }
.gw-cells { display: flex; flex-direction: column; gap: 4px; padding: 8px 10px 4px; }
.gw-cells.is-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 14px; }
.gw-chart-label { padding-left: 54px; font: 600 11px 'Ubuntu', sans-serif; letter-spacing: .5px; text-transform: uppercase; color: #a9bccb; }
.gw-chart { display: grid; grid-template-columns: 54px minmax(0, 1fr); grid-template-rows: var(--gh, 150px) 22px; border-radius: 4px; }
.gw-chart:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.gw-ylabs { grid-row: 1; grid-column: 1; position: relative; }
.gw-ylabs span { position: absolute; right: 6px; transform: translateY(-50%); white-space: nowrap; font: 400 11px 'Ubuntu Mono', monospace; color: #b3c3d0; }
.gw-plot { position: relative; cursor: crosshair; background: #0b141a; box-shadow: 0 0 0 2px #000; touch-action: pan-y; }
.gw-chart .gw-plot { grid-row: 1; grid-column: 2; }
.gw-plot svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: hidden; }
.gw-plot path { vector-effect: non-scaling-stroke; }
.gw-plot .gw-grid { stroke: #1f3140; stroke-width: 1; fill: none; }
.gw-plot .gw-day { stroke: #46708c; stroke-width: 1; fill: none; }
.gw-plot .gw-thr { stroke: #ffb020; stroke-width: 1.5; stroke-dasharray: 6 4; fill: none; }
.gw-plot .gw-area { stroke: none; }
.gw-plot path.is-dim { opacity: .18; }
.gw-plot path.is-hot { stroke-width: 3; }
.gw-thr-lab { position: absolute; right: 6px; z-index: 4; padding: 0 4px; font: 700 10px/14px 'Ubuntu Mono', monospace; color: #ffb020; background: rgba(11, 20, 26, .85); pointer-events: none; white-space: nowrap; }
.gw-cur { position: absolute; top: 0; bottom: 0; width: 0; border-left: 2px solid #fff; z-index: 6; pointer-events: none; }
.gw-spark .gw-cur { border-left-width: 1px; }
.gw-curlab { position: absolute; top: 2px; z-index: 7; margin-left: 4px; padding: 0 4px; border: 2px solid #000; background: #fff; color: #111; font: 700 11px/16px 'Ubuntu Mono', monospace; white-space: nowrap; pointer-events: none; }
.gw-curlab.is-left { transform: translateX(-100%); margin-left: -4px; }
.gw-tip { position: absolute; top: 24px; z-index: 8; min-width: 140px; max-width: 80%; margin-left: 8px; padding: 6px 8px; background: #0b141a; border: 2px solid #000; box-shadow: 0 0 0 1px #3b5a73; color: #e6eef5; font: 12px 'Ubuntu', sans-serif; pointer-events: none; }
.gw-tip.is-flip { margin-left: 0; margin-right: 8px; }
.gw-tip strong { font: 700 12px 'Ubuntu Mono', monospace; }
.gw-tip ul { display: grid; gap: 1px 14px; margin: 4px 0 0; padding: 0; list-style: none; }
.gw-tip ul.is-two { grid-template-columns: 1fr 1fr; }
.gw-tip li { display: flex; align-items: center; gap: 6px; white-space: nowrap; }
.gw-tip li i { flex: none; width: 10px; height: 4px; }
.gw-tip li b { margin-left: auto; font: 700 12px 'Ubuntu Mono', monospace; }
.gw-xlabs { grid-row: 2; grid-column: 2; position: relative; }
.gw-xlabs span { position: absolute; top: 3px; white-space: nowrap; font: 400 11px 'Ubuntu Mono', monospace; color: #b3c3d0; }
.gw-xlabs span.is-day { font-weight: 700; color: #cfe8ff; }
.gw-legend { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 4px; margin: 0; padding: 2px 10px 10px; list-style: none; }
.gw-legend.is-two { grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); }
.dc-page .gw-lg { display: flex; align-items: center; gap: 6px; width: 100%; min-height: 24px; padding: 0 6px; font: 500 12px 'Ubuntu', sans-serif; text-align: left; color: #e6eef5; background: #14202a; border-radius: 5px; box-shadow: none; }
.dc-page .gw-lg[aria-pressed='true'] { border-color: #fff; }
.gw-lg-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gw-lg b, .gw-lg small { font: 700 12px 'Ubuntu Mono', monospace; }
.gw-lg small { font-weight: 400; color: #b3c3d0; }
.gw-lsw { display: inline-block; flex: none; width: 18px; height: 0; border-top: 3px solid var(--c, #9fb0bf); }
.gw-lsw.is-dashed { border-top-style: dashed; }
.gw-lsw.is-dotted { border-top-style: dotted; }
.gw-uplist, .gw-stgrid { margin: 0; padding: 10px; list-style: none; }
.gw-uplist { display: flex; flex-direction: column; gap: 2px; }
.dc-page .gw-up { display: flex; align-items: center; gap: 8px; width: 100%; padding: 2px 4px; font: 500 12px 'Ubuntu', sans-serif; text-align: left; color: #e6eef5; background: transparent; border-color: transparent; box-shadow: none; }
.dc-page .gw-up.is-hot { border-color: var(--c, #fff); }
.gw-up-name { width: 86px; flex: none; }
.gw-up-bar { flex: 1; height: 10px; background: #0b141a; }
.gw-up-bar i { display: block; height: 100%; }
.gw-up b, .gw-up small { font: 700 12px 'Ubuntu Mono', monospace; }
.gw-up small { width: 42px; text-align: right; font-weight: 400; color: #b3c3d0; }
.gw-stgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); gap: 6px; }
.dc-page .gw-st { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; width: 100%; padding: 7px 9px; font: 700 12px 'Ubuntu', sans-serif; text-align: left; color: #0b141a; box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .25); }
.dc-page .gw-st.is-up { background: #39e07a; }
.dc-page .gw-st.is-down { background: #ff6b6b; }
.dc-page .gw-st.is-unknown { background: #b3c3d0; }
.dc-page .gw-st.is-off { opacity: .4; }
.dc-page .gw-st[aria-pressed='true'] { box-shadow: 0 0 0 3px #fff; }
.gw[data-hot] .gw-st:not(.is-hot), .gw[data-hot] .gw-up:not(.is-hot), .gw[data-hot] .gw-lg:not(.is-hot) { opacity: .5; }

/* ---- por maquina ---- */
.gw-mq { min-width: 900px; display: flex; flex-direction: column; gap: 6px; }
.gw-mqhead, .gw-mqrow { display: grid; grid-template-columns: 168px repeat(6, minmax(112px, 1fr)); gap: 8px; align-items: center; }
.gw-mqhead { position: sticky; top: -10px; z-index: 6; padding: 8px 8px 6px; background: #17232d; border-bottom: 2px solid #000; align-items: end; }
.gw-mqhead span { display: flex; flex-direction: column; }
.gw-mqhead b { font: 700 12px 'Ubuntu', sans-serif; color: #fff; }
.gw-mqhead small { font-size: 11px; color: #b3c3d0; }
.gw-mqgroup { margin: 8px 0 0; padding-bottom: 3px; border-bottom: 2px solid #2f6f8f; font: 600 14px var(--dc-pixel, 'Pixelify Sans', monospace); color: #9fd0ff; }
.gw-mqrow { padding: 5px 8px; background: #14202a; border: 2px solid #000; border-radius: 6px; cursor: pointer; }
.gw-mqrow:hover, .gw-mqrow.is-on { border-color: var(--c, #fff); }
.gw-mqrow.is-on { background: #24384a; }
.gw-mqrow.is-old { opacity: .88; }
.dc-page .gw-mqname { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; min-width: 0; padding: 2px 4px; font: 700 14px 'Ubuntu', sans-serif; text-align: left; color: #fff; background: transparent; border-color: transparent; box-shadow: none; }
.gw-mqid { display: inline-flex; align-items: center; gap: 7px; }
.gw-state { display: inline-flex; align-items: center; gap: 6px; font: 400 11px 'Ubuntu Mono', monospace; color: #c9d6e0; }
.gw-lamp { display: inline-block; width: 9px; height: 9px; border: 1.5px solid #000; }
.gw-lamp.is-up { background: #39e07a; }
.gw-lamp.is-down { background: #ff4d4d; }
.gw-lamp.is-unknown { background: #9aa5b1; }
.gw-mqcell { display: flex; flex-direction: column; gap: 3px; min-width: 0; padding: 4px 6px 5px; border: 2px solid transparent; border-radius: 5px; }
.gw-mqcell.is-alert { border-color: #ff4d4d; background: rgba(255, 77, 77, .24); }
.gw-mqcell.is-alert b { color: #ffc4c4; }
.gw-mqtop { display: flex; align-items: baseline; justify-content: space-between; gap: 6px; }
.gw-mqtop b { font: 700 14px 'Ubuntu Mono', monospace; color: #fff; }
.gw-mqtop small { font: 400 11px 'Ubuntu Mono', monospace; color: #b3c3d0; }
.gw-spark { height: 34px; cursor: crosshair; }
.gw-spark-max { position: absolute; width: 5px; height: 5px; border: 1px solid #000; background: #fff; pointer-events: none; }

/* ---- containers ---- */
.gw-ct { display: grid; grid-template-columns: minmax(280px, 500px) minmax(0, 1fr); gap: 12px; height: 100%; min-height: 0; }
.gw-main:has(.gw-ct) { overflow: hidden; padding-bottom: 12px; }
.gw-ct-list, .gw-ct-detail { min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #4b6a7f #14202a; }
.gw-ct-list ul { display: flex; flex-direction: column; gap: 6px; margin: 0; padding: 0 4px 0 0; list-style: none; }
.gw-ct-info { margin: 0 0 8px; font-size: 13px; color: #dbe6ee; }
.gw-ct-detail { display: flex; flex-direction: column; gap: 10px; }
.dc-page .gw-ctrow { display: flex; flex-direction: column; gap: 6px; width: 100%; padding: 7px 10px 8px; font-family: 'Ubuntu', sans-serif; text-align: left; color: #e6eef5; background: #14202a; border-left: 6px solid var(--c, #fff); border-radius: 6px; box-shadow: inset 0 2px 0 rgba(255, 255, 255, .05); }
.dc-page .gw-ctrow[aria-pressed='true'] { background: #24384a; border-color: #fff; border-left-color: var(--c, #fff); box-shadow: 0 0 0 2px #1f7ad6; }
.gw-ctrow.is-stopped { opacity: .85; }
.gw-cthead { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.gw-cthead strong { font: 700 15px var(--dc-pixel, 'Pixelify Sans', monospace); }
.gw-cthead em { font: 400 11px 'Ubuntu Mono', monospace; font-style: normal; color: #b3c3d0; }
.gw-cthost { margin-left: auto; font: 700 12px 'Ubuntu', sans-serif; }
.gw-pill { flex: none; padding: 0 7px; border: 2px solid #000; border-radius: 999px; background: #ffe2a6; color: #5c3900; font: 700 10px/1.6 'Ubuntu', sans-serif; white-space: nowrap; }
.gw-ctcols { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.gw-ctcols > span { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.gw-ctcols small { font: 400 11px 'Ubuntu Mono', monospace; color: #dbe6ee; }
.gw-ctcols .gw-spark { height: 26px; }
.gw-cdhead { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; padding: 8px 10px; background: #14202a; border: 2px solid #000; border-left: 6px solid var(--c, #fff); border-radius: 6px; }
.gw-cdhead strong { font: 700 18px var(--dc-pixel, 'Pixelify Sans', monospace); }
.gw-cdhead em { font: 400 12px 'Ubuntu Mono', monospace; font-style: normal; color: #b3c3d0; }

/* ---- foco: abas e graficos da VPS ---- */
.dc-tabs { display: flex; gap: 6px; padding: 8px 12px 0; background: #1c2831; border-bottom: 2px solid #2f718e; }
.dc-page .dc-tabs button { min-height: 32px; margin-bottom: -2px; padding: 0 16px; font: 700 13px 'Ubuntu', sans-serif; color: #c9d6e0; background: #2a3846; border-radius: 6px 6px 0 0; box-shadow: none; }
.dc-page .dc-tabs button[aria-pressed='true'] { color: #fff; background: #1c262f; border-bottom-color: #1c262f; }
.dc-panel-gfx { display: flex; flex-direction: column; gap: 14px; }
.dc-panel-gfx[hidden] { display: none; }
.dc-panel-scroll[hidden] { display: none; }
.gw-fline { margin: 0; font-size: 13px; color: #fff; }
.gw-fsub { margin: 0; font-size: 12px; color: #b9c9d6; }
.gw-fper { display: flex; gap: 6px; }
.dc-page .gw-fper button, .dc-page .gw-cmp { display: inline-flex; align-items: center; gap: 6px; min-height: 26px; padding: 0 10px; font: 700 12px 'Ubuntu', sans-serif; color: #fff; background: #2a3846; border-radius: 5px; box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .3); }
.dc-page .gw-fper button[aria-pressed='true'], .dc-page .gw-cmp[aria-pressed='true'] { background: #3b5a73; border-color: #fff; box-shadow: 0 0 0 2px #1f7ad6; }
.gw-cmpbar { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; }
.gw-cmpbar > span { font: 600 11px 'Ubuntu', sans-serif; letter-spacing: .6px; text-transform: uppercase; color: #a9bccb; }
.gw-cmpchips { display: flex; flex-wrap: wrap; gap: 6px; }
.gw-fblock h4 { margin: 0 0 4px !important; }
.gw-fblock .gw-chart { grid-template-columns: 46px minmax(0, 1fr); }
.gw-vals { display: flex; flex-direction: column; gap: 2px; margin: 4px 0 0; padding: 0; list-style: none; }
.gw-vals li { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 8px; font-size: 12px; color: #e6eef5; }
.gw-vals b { font: 700 12px 'Ubuntu Mono', monospace; }
.gw-vals small { font: 400 11px 'Ubuntu Mono', monospace; color: #b3c3d0; }
.dc-page button.dc-program { display: flex; flex-direction: column; align-items: stretch; gap: 4px; padding: 9px; text-align: left; font-weight: 400; background: var(--program); border-radius: 7px; box-shadow: inset 0 -3px 0 #0003; }
.dc-program-bar { display: block; }
.dc-page button.dc-program:hover { filter: brightness(1.08); }

@media (max-width: 900px) {
  .gw-ct { grid-template-columns: minmax(0, 1fr); height: auto; }
  .gw-main:has(.gw-ct) { overflow: auto; }
  .gw-ct-list, .gw-ct-detail { overflow: visible; }
}
@media (max-width: 700px) {
  .gw { left: 4px; right: 4px; }
  .gw-open { bottom: 8px; }
  .gw-head { gap: 4px 6px; padding: 4px 8px; }
  .gw-head > svg { display: none; }
  .dc-page .gw-head h2 { font-size: 16px; }
  .dc-page .gw-views button, .dc-page .gw-see { min-height: 28px; padding: 0 8px; font-size: 11px; }
  .dc-page .gw-sizes button { width: 22px; height: 28px; }
  .dc-page .gw-iconbtn { width: 28px; height: 28px; }
  .gw-sizes { margin-left: auto; }
  .gw-sub { display: none; }
  .gw-toolbar, .gw-hl, .gw-main { padding-left: 8px; padding-right: 8px; }
  .gw-hl-per { display: none; }
  .gw-body { overflow-y: auto; overscroll-behavior: contain; }
  .gw-main, .gw-main:has(.gw-ct) { flex: none; overflow-x: auto; overflow-y: visible; }
  .gw-panel, .gw-panel.is-wide { flex-basis: 100%; }
  .gw-cells.is-two { grid-template-columns: minmax(0, 1fr); }
  .gw-legend, .gw-legend.is-two { grid-template-columns: minmax(0, 1fr); }
  .dc-timebadge { max-width: calc(100% - 130px); }
  .dc-timebadge strong { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .gw, .gw.is-open { transition: none !important; }
}
