.ch-header-controls { display: flex; align-items: center; gap: var(--space-3); flex-wrap: wrap; margin-left: auto; }
.ch-daterange { display: flex; align-items: center; gap: var(--space-3); }
.ch-header-controls input[type="date"] { width: 131px; }
.ch-header-controls input[type="month"] { width: 128px; }
.ch-sub-row { margin-bottom: var(--space-3); justify-content: flex-end; }
.ch-title-wrap { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ch-sub-info { font-size: var(--text-xs); color: var(--color-text-tertiary); font-variant-numeric: tabular-nums; }
.ch-row { display: flex; align-items: center; gap: var(--space-2); flex-wrap: wrap; }
.ch-label { font-size: var(--text-sm); color: var(--color-text-secondary); font-weight: var(--font-weight-medium); flex-shrink: 0; min-width: 44px; }
.ch-seg { display: inline-flex; border: 1px solid var(--color-border); border-radius: var(--radius-control); overflow: hidden; background: var(--color-bg); }
.ch-seg button { border: none; background: transparent; padding: 0 var(--space-3); min-height: var(--control-h); display: inline-flex; align-items: center; white-space: nowrap; font-size: var(--control-font); cursor: pointer; color: var(--color-text-secondary); font-family: var(--font); transition: background-color var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out); }
.ch-seg button + button { border-left: 1px solid var(--color-border); }
.ch-seg button:hover:not(.active):not(:disabled) { background: var(--color-surface-hover); color: var(--color-text-primary); }
.ch-seg button.active { background: var(--color-primary); color: var(--color-text-inverse); font-weight: var(--font-weight-medium); }
.ch-seg button:disabled { opacity: 0.4; cursor: default; }
.ch-seg button:focus-visible { outline: none; box-shadow: inset var(--focus-ring); }
.ch-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.ch-chip { display: inline-flex; align-items: center; gap: 5px; padding: 5px 12px; border: 1px solid var(--color-border); border-radius: var(--radius-pill); background: var(--color-surface); cursor: pointer; font-size: var(--text-sm); color: var(--color-text-secondary); font-family: var(--font); transition: background-color var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out); user-select: none; white-space: nowrap; }
.ch-chip .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--dot, var(--color-muted)); flex-shrink: 0; }
.ch-chip:hover { border-color: var(--color-border-hover); color: var(--color-text-primary); }
.ch-chip.active { border-color: var(--color-primary); background: var(--color-primary-light); color: var(--color-primary); font-weight: var(--font-weight-medium); }
.ch-chip:active { transform: scale(0.94); }
.ch-chip:focus-visible { outline: none; box-shadow: var(--focus-ring); }
.ch-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-3); margin-bottom: var(--space-3); }
.ch-cell { background: var(--gray-bg); border-radius: var(--radius-sm); padding: var(--space-2_5); border: 1px solid var(--color-border-light); min-width: 0; display: flex; flex-direction: column; }
.ch-cell-title { font-size: var(--text-base); font-weight: var(--font-weight-semibold); color: var(--color-text-primary); display: flex; justify-content: space-between; align-items: center; gap: var(--space-2); margin-bottom: var(--space-1); flex-wrap: wrap; }
.ch-cell-title .ch-sub { font-size: var(--text-xs); font-weight: var(--font-weight-regular); color: var(--color-text-secondary); }
.ch-tall-box { height: 430px; position: relative; background: var(--color-surface); border-radius: var(--radius-sm); border: 1px solid var(--color-border-light); padding: var(--space-1); margin-bottom: var(--space-3); min-width: 0; }
.ch-cell .chart-container { flex: 1; min-height: 250px; margin-bottom: 0; }
.ch-table-wrap { overflow-x: auto; border: 1px solid var(--color-border); border-radius: var(--radius-control); max-height: 420px; overflow-y: auto; }
#chHourlyTable { max-height: 78vh; }
#chHourlyPager { border-top: none; margin-top: var(--space-1); }
.ch-table-wrap thead th { position: sticky; top: 0; z-index: 2; }
.ch-mom-up { color: var(--color-danger); }
.ch-mom-down { color: var(--color-success); }
@media (max-width: 760px) {
  .ch-grid { grid-template-columns: minmax(0, 1fr); }
  .ch-tall-box { height: 320px; }
  .ch-cell .chart-container { min-height: 210px; }
  .ch-header-controls { gap: var(--space-2); margin-left: 0; justify-content: center; }
  .ch-daterange { display: flex; align-items: center; gap: var(--space-2); flex: 1 1 100%; justify-content: center; flex-wrap: wrap; }
  .ch-daterange input[type="date"] { flex: 0 0 auto; width: 131px; }
  .ch-daterange input[type="month"] { flex: 0 0 auto; width: 128px; }
  .ch-sub-row { justify-content: center; }
  .ch-sub-row .ch-label { width: 100%; text-align: center; }
}
.ch-type-chips { margin-bottom: var(--space-2); }
.ch-table-wrap .ch-hourly-table { width: max-content; min-width: 100%; }
.ch-hourly-table th, .ch-hourly-table td { white-space: nowrap; }
.ch-table-wrap .ch-hourly-table .col-date { position: sticky; left: 0; z-index: 1; background: var(--color-bg); color: var(--color-text-primary); font-weight: var(--font-weight-medium); box-shadow: inset -1px 0 0 var(--color-border-light); }
.ch-table-wrap .ch-hourly-table thead .col-date { z-index: 3; }
.ch-table-wrap .ch-hourly-table th:nth-child(2) { color: var(--color-text-primary); }
.ch-table-wrap .ch-hourly-table td:nth-child(2) { background: var(--color-surface-hover); color: var(--color-text-primary); font-weight: var(--font-weight-semibold); }
.ch-hourly-table tbody tr:not(.alt) td { background: transparent; }
.ch-hourly-table tbody tr.alt td { background: var(--color-row-alt); }
.ch-hourly-table tbody tr:hover td { background: color-mix(in srgb, var(--color-primary-light) 60%, transparent); }
.ch-table-wrap .ch-hourly-table tr:hover td.col-date { background: color-mix(in srgb, var(--color-primary-light) 60%, transparent); }
.ch-hourly-table tbody tr td.col-date.sat { background: linear-gradient(var(--color-weekend-sat), var(--color-weekend-sat)), var(--color-bg); }
.ch-hourly-table tbody tr td.col-date.sun { background: linear-gradient(var(--color-weekend-sun), var(--color-weekend-sun)), var(--color-bg); }
@media (max-width: 760px) {
  #chChips { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
  #chChips .ch-chip { width: 100%; justify-content: center; }
  .ch-hourly-wrap { max-height: 380px; }
  .ch-hourly-table { font-size: var(--text-xs); }
  #chHourlyChips { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
  #chHourlyChips .ch-chip { width: 100%; justify-content: center; }
  #chProfMonth { width: clamp(105px, 6vw + 78px, 110px) !important; }
}
@media (max-width: 760px) {
  #lhChips { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  #lhChips .ch-chip { width: 100%; justify-content: center; white-space: nowrap; font-size: var(--text-tiny); }
}
@media (max-width: 760px) {
  #lhProfMonth { width: clamp(105px, 6vw + 78px, 110px) !important; }
}
.ns-select { min-height: var(--control-h); padding: 0 var(--space-2); font-size: var(--control-font); font-family: var(--font); color: var(--color-text-primary); background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-control); cursor: pointer; }
.ns-select:focus-visible { outline: none; box-shadow: var(--focus-ring); }
.ns-grid { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: var(--space-3); margin-bottom: var(--space-3); }
.ns-side { display: flex; flex-direction: column; gap: var(--space-3); min-width: 0; }
.ns-side .ch-cell { flex: 1; min-height: 0; }
.ns-dist-box { height: 300px; position: relative; background: var(--color-surface); border-radius: var(--radius-sm); border: 1px solid var(--color-border-light); padding: var(--space-1); }
.ns-regions { display: flex; flex-direction: column; flex: 1; min-height: 0; justify-content: space-evenly; }
.ns-rrow { display: flex; align-items: center; gap: var(--space-2); padding: 5px 4px; border-radius: var(--radius-sm); cursor: pointer; }
.ns-rrow:hover { background: var(--color-surface-hover); }
.ns-rrow.active { background: var(--color-primary-light); }
.ns-rname { width: 42px; font-size: var(--text-sm); color: var(--color-text-secondary); flex-shrink: 0; }
.ns-rrow.active .ns-rname { color: var(--color-primary); font-weight: var(--font-weight-medium); }
.ns-rtrack { flex: 1; height: 8px; border-radius: var(--radius-pill); background: var(--gray-bg); overflow: hidden; }
.ns-rbar { height: 100%; border-radius: var(--radius-pill); background: var(--color-primary); opacity: .55; }
.ns-rrow.active .ns-rbar { opacity: 1; }
.ns-rval { width: 54px; text-align: right; font-size: var(--text-xs); color: var(--color-text-secondary); font-variant-numeric: tabular-nums; flex-shrink: 0; }
.ns-rrow.active .ns-rval { color: var(--color-text-primary); }
.ns-hourly-box { height: 360px; position: relative; background: var(--color-surface); border-radius: var(--radius-sm); border: 1px solid var(--color-border-light); padding: var(--space-1); margin-bottom: var(--space-2); min-width: 0; }
.ns-drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(420px, 92vw); background: var(--color-surface); border-left: 1px solid var(--color-border); box-shadow: -12px 0 32px var(--color-scrim-14); z-index: 120; transform: translateX(105%); transition: transform var(--dur-base) var(--ease-out); display: flex; flex-direction: column; overflow-y: auto; padding: var(--space-4); }
.ns-drawer.open { transform: translateX(0); }
.ns-drawer-mask { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: var(--color-scrim-28); z-index: 110; opacity: 0; pointer-events: none; transition: opacity var(--dur-base); }
.ns-drawer-mask.show { opacity: 1; pointer-events: auto; }
.ns-drawer-head { display: flex; align-items: center; gap: var(--space-2); margin-bottom: var(--space-3); }
.ns-drawer-title { flex: 1; min-width: 0; font-size: var(--text-lg); font-weight: var(--font-weight-semibold); color: var(--color-text-primary); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ns-drawer-date { font-size: var(--text-xs); font-weight: var(--font-weight-regular); color: var(--color-text-tertiary); font-variant-numeric: tabular-nums; }
.ns-icon-btn { border: 1px solid var(--color-border); background: var(--color-surface); border-radius: var(--radius-control); width: 30px; height: 30px; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; color: var(--color-text-secondary); font-size: 14px; flex-shrink: 0; }
.ns-icon-btn:hover { background: var(--color-surface-hover); color: var(--color-text-primary); }
.ns-icon-btn.starred { color: var(--color-star); border-color: var(--color-star); }
.ns-drawer-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-2); margin-bottom: var(--space-3); }
.ns-dk { background: var(--gray-bg); border: 1px solid var(--color-border-light); border-radius: var(--radius-sm); padding: var(--space-2); }
.ns-dk-l { font-size: var(--text-xs); color: var(--color-text-tertiary); }
.ns-dk-v { font-size: var(--text-base); font-weight: var(--font-weight-semibold); color: var(--color-text-primary); font-variant-numeric: tabular-nums; margin-top: 1px; }
.ns-dk-v .u { font-size: var(--text-xs); font-weight: var(--font-weight-regular); color: var(--color-text-tertiary); margin-left: 2px; }
.ns-drawer-block { margin-bottom: var(--space-3); }
.ns-d-chart { height: 190px; position: relative; background: var(--color-surface); border: 1px solid var(--color-border-light); border-radius: var(--radius-sm); padding: var(--space-1); }
.ns-drawer-actions { display: flex; gap: var(--space-2); margin-top: var(--space-1); }
.ns-rank-tools { display: flex; align-items: center; gap: var(--space-2); flex-wrap: wrap; margin-bottom: var(--space-2); }
.ns-rank-filter { width: 150px; min-height: var(--control-h); padding: 0 var(--space-2); font-size: var(--control-font); font-family: var(--font); color: var(--color-text-primary); background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-control); }
.ns-rank-filter:focus { outline: none; box-shadow: var(--focus-ring); }
.ns-rank-filter::placeholder { color: var(--color-text-tertiary); }
.ns-star-chip { display: inline-flex; align-items: center; gap: 4px; font-size: var(--text-sm); color: var(--color-text-secondary); cursor: pointer; white-space: nowrap; user-select: none; }
.ns-star-chip input { accent-color: var(--color-primary); margin: 0; }
.ns-rank-actions { display: flex; gap: var(--space-2); margin-left: auto; }
.ns-cmp-box { margin-bottom: var(--space-2); }
.ns-cmp-chart { height: 300px; position: relative; background: var(--color-surface); border: 1px solid var(--color-border-light); border-radius: var(--radius-sm); padding: var(--space-1); }
.ns-rank-table { max-height: none; overflow: visible; }
.ns-rank-scroll { max-height: 560px; overflow: auto; }
.ns-rank-table td.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ns-rank-table th.num { text-align: right; }
.ns-rank-table th.sortable { cursor: pointer; user-select: none; white-space: nowrap; }
.ns-rank-table th.sortable:hover { color: var(--color-primary); }
.ns-rank-table th.active { color: var(--color-primary); background: var(--color-primary-light); font-weight: var(--font-weight-semibold); }
.ns-rank-table td.col-active { background: var(--color-primary-light); font-weight: var(--font-weight-medium); }
#rhTableWrap table th:first-child,
#rhTableWrap table td:first-child {
  position: sticky; left: 0; z-index: 1;
  background: var(--color-bg);
  box-shadow: inset -1px 0 0 var(--color-border-light);
  width: 170px; max-width: 170px;
}
#rhTableWrap table th:first-child { z-index: 2; }
#rhTableWrap table tbody tr:hover th:first-child,
#rhTableWrap table tbody tr:hover td:first-child { background: color-mix(in srgb, var(--color-primary-light) 60%, transparent); }
.rh-l-ellipsis { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 138px; }
@media (max-width: 760px) {
  #rhTableWrap table th:first-child,
  #rhTableWrap table td:first-child { width: 130px; max-width: 130px; }
  .rh-l-ellipsis { max-width: 98px; }
}
table thead th.sortable { cursor: pointer; user-select: none; white-space: nowrap; }
table thead th.sortable:hover { color: var(--color-primary); }
table thead th.active { color: var(--color-primary); background: var(--color-primary-light); font-weight: var(--font-weight-semibold); }
table tbody td.col-active { background: var(--color-primary-light); font-weight: var(--font-weight-medium); }
.ch-table-wrap .ch-hourly-table td.col-active { background: var(--color-primary-light); font-weight: var(--font-weight-medium); }
.ns-rank-table .col-rk { color: var(--color-text-tertiary); font-variant-numeric: tabular-nums; white-space: nowrap; width: 44px; }
.ns-rank-node { color: var(--color-primary); cursor: pointer; max-width: 260px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ns-rank-node:hover { text-decoration: underline; }
.ns-rank-star { border: none; background: transparent; cursor: pointer; color: var(--color-text-tertiary); font-size: 15px; line-height: 1; padding: 0 3px; }
.ns-rank-star.on { color: var(--color-star); }
.ns-rank-star:focus-visible { outline: none; text-shadow: var(--focus-ring); }
.ns-rank-pager { display: flex; align-items: center; justify-content: center; gap: var(--space-2); padding: var(--space-2) 0; font-size: var(--text-sm); color: var(--color-text-secondary); border-top: 1px solid var(--color-border-light); }
@media (max-width: 760px) {
  .ns-grid { grid-template-columns: minmax(0, 1fr); }
  .ns-dist-box { height: 240px; }
  .ns-hourly-box { height: 280px; }
  .ns-rank-tools { justify-content: center; }
  .ns-rank-actions { margin-left: 0; }
  .ns-rank-filter { flex: 1 1 100%; width: 100%; }
  .ns-cmp-chart { height: 240px; }
  .ns-rank-scroll { max-height: 480px; }
  .ns-drawer-kpis { grid-template-columns: repeat(2, 1fr); }
}
.mt-vue-root, .mt-vue-chart { width: 100%; height: 100%; min-height: 240px; }
.mt-gantt { border: 1px solid var(--color-border-light); border-radius: var(--radius-sm); background: var(--color-surface); overflow: auto; max-height: 640px; margin-bottom: var(--space-3); -webkit-overflow-scrolling: touch; }
.mt-g-head { display: flex; position: sticky; top: 0; z-index: 5; background: var(--color-surface); border-bottom: 1px solid var(--color-border); width: max-content; min-width: 100%; }
.mt-g-corner { flex-shrink: 0; position: sticky; left: 0; z-index: 4; background: var(--color-surface); border-right: 1px solid var(--color-border-light); padding: 6px 10px; font-size: 11px; color: var(--color-text-secondary); font-weight: var(--font-weight-semibold); white-space: nowrap; }
.mt-g-scale { display: flex; position: relative; }
.mt-g-scale-seg { border-right: 1px solid var(--color-border-light); padding: 6px 6px; font-size: 10px; color: var(--color-text-secondary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; box-sizing: border-box; }
.mt-g-anchor-tag { position: absolute; top: 2px; transform: translateX(-50%); font-size: 9px; line-height: 1; color: var(--color-text-inverse); background: var(--orange); border-radius: 4px; padding: 2px 5px; white-space: nowrap; pointer-events: none; z-index: 2; }
.mt-g-body { position: relative; }
.mt-g-grid { position: absolute; top: 0; bottom: 0; pointer-events: none; z-index: 0; }
.mt-g-grid .vline { position: absolute; top: 0; bottom: 0; width: 0; border-left: 1px solid var(--color-border-light); }
.mt-g-vanchor { position: absolute; top: 0; bottom: 0; width: 0; border-left: 1px dashed var(--orange); opacity: .85; pointer-events: none; z-index: 2; }
.mt-g-row { display: flex; border-bottom: 1px solid var(--color-border-light); cursor: pointer; position: relative; width: max-content; min-width: 100%; }
.mt-g-row:hover { background: var(--color-surface-hover); }
.mt-g-name { flex-shrink: 0; position: sticky; left: 0; z-index: 3; background: var(--color-surface); border-right: 1px solid var(--color-border-light); padding: 4px 10px 4px 8px; }
.mt-g-row:hover .mt-g-name { background: var(--color-surface-hover); }
.mt-g-n1 { display: flex; align-items: center; gap: 5px; min-width: 0; }
.mt-g-dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.mt-g-unit { font-size: 12px; font-weight: var(--font-weight-medium); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; flex: 1; }
.mt-g-sd { font-size: 10px; color: var(--color-text-tertiary); flex-shrink: 0; font-variant-numeric: tabular-nums; }
.mt-g-n2 { font-size: 10px; color: var(--color-text-tertiary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 1px; }
.mt-g-track { position: relative; height: 34px; }
.mt-g-bar { position: absolute; top: 8px; height: 14px; border-radius: 7px; opacity: .92; z-index: 1; transition: opacity var(--dur-fast) var(--ease-out); }
.mt-g-row:hover .mt-g-bar { opacity: 1; }
.mt-g-bar.st-ongoing { background: var(--red); }
.mt-g-bar.st-upcoming { background: var(--blue); }
.mt-g-bar.st-ended { background: var(--color-disabled); }
.mt-g-clip { position: absolute; top: 5px; height: 20px; width: 0; border-left: 2px solid var(--color-text-secondary); opacity: .55; z-index: 2; }
.mt-g-dur { position: absolute; top: 23px; transform: translateX(-50%); font-size: 10px; line-height: 1; color: var(--color-text-secondary); white-space: nowrap; z-index: 1; font-variant-numeric: tabular-nums; }
.mt-g-empty { padding: 24px; text-align: center; color: var(--color-text-secondary); font-size: 13px; }
.mt-g-band { position: relative; z-index: 3; background: var(--color-primary-alpha-18); padding: 4px 12px; box-sizing: border-box; }
.mt-g-band-t { display: inline-block; position: sticky; left: 12px; font-size: 11px; font-weight: var(--font-weight-medium); color: var(--color-primary); }
.mt-g-segb { color: var(--color-primary); font-size: 10px; flex-shrink: 0; }
.mt-g-tip { position: fixed; z-index: 99990; display: none; background: var(--color-surface-inverse-alpha-96); color: var(--color-text-primary-inverse); border-radius: 10px; padding: 10px 14px; font-size: 12px; line-height: 1.6; pointer-events: none; box-shadow: 0 8px 28px var(--color-scrim-35); max-width: 340px; }
.mt-g-tip .t-plant { font-size: 13px; font-weight: 600; color: var(--color-text-inverse); }
.mt-g-tip .t-sub { color: var(--color-surface-inverse-fg-60); margin-bottom: 6px; }
.mt-g-tip .t-row { display: flex; gap: 12px; }
.mt-g-tip .t-k { color: var(--color-surface-inverse-fg-55); flex-shrink: 0; width: 44px; }
.mt-g-tip .t-v { font-variant-numeric: tabular-nums; }
.mt-g-tip .t-seg { margin-top: 2px; color: var(--color-surface-inverse-fg-85); white-space: nowrap; font-variant-numeric: tabular-nums; }
.mt-g-legend { display: inline-flex; align-items: center; gap: 10px; font-size: 11px; color: var(--color-text-secondary); }
.mt-g-legend .dot { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 4px; vertical-align: -1px; }
.mt-g-legend span[data-st] { cursor: pointer; opacity: .32; transition: opacity var(--dur-fast) var(--ease-out); user-select: none; }
.mt-g-legend span[data-st]:hover { opacity: .6; }
.mt-g-legend span[data-st].lg-on { opacity: 1; }
.mt-gstats { font-size: 12px; color: var(--color-text-secondary); margin: -2px 0 6px; }
.mt-gstats b { color: var(--color-text-primary); }
@media (max-width: 760px) {
  .mt-g-name { padding: 3px 6px 3px 6px; }
  .mt-g-unit { font-size: 11px; }
  .mt-g-sd { display: none; }   
  
  .mt-g-n2 { font-size: 10px; }
  .mt-g-track { height: 30px; }
  .mt-g-bar { top: 7px; height: 12px; }
  .mt-g-dur { top: 20px; font-size: 10px; }
  .mt-g-clip { top: 4px; height: 18px; }
  .mt-g-anchor-tag { font-size: 9px; padding: 1px 4px; }
  .mt-gstats { font-size: 11px; }
}
.wh-chart-wrap { position: relative; height: 260px; border: 1px solid var(--color-border-light); border-radius: var(--radius-sm); background: var(--color-surface); padding: 8px; box-sizing: border-box; margin-bottom: var(--space-3); }
.wh-chart-wrap .weather-empty { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.wh-table-wrap { max-height: 420px; overflow: auto; border: 1px solid var(--color-border-light); border-radius: var(--radius-sm); background: var(--color-surface); }
.wh-table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: var(--text-tiny); }
.wh-table th, .wh-table td { padding: 6px 9px; text-align: left; border-bottom: 1px solid var(--color-border-light); white-space: nowrap; }
.wh-table thead th { position: sticky; top: 0; background: var(--color-bg); z-index: 1; font-weight: var(--font-weight-semibold); color: var(--color-text-secondary); }
.wh-table th.sortable { cursor: pointer; user-select: none; }
.wh-table th.sortable:hover { color: var(--color-primary); }
.wh-table th.sortable.active { color: var(--color-primary); background: linear-gradient(var(--color-primary-soft), var(--color-primary-soft)) var(--color-bg); }
.wh-table tbody tr:hover td { background: color-mix(in srgb, var(--color-primary-light) 60%, transparent); }
.wh-table th .th-sort { font-size: 0.85em; margin-left: 3px; color: var(--color-primary); font-weight: var(--font-weight-semibold); }
.wh-pager, .ns-rank-pager { display: flex; align-items: center; justify-content: center; gap: 12px; }
@media (max-width: 480px) {
  .wh-chart-wrap { height: 200px; }
}
.rh-tbl{width:100%;border-collapse:collapse;font-size:12px;font-variant-numeric:tabular-nums}
.rh-tbl thead th{position:sticky;top:0;z-index:1;background:var(--color-bg);color:var(--color-text-secondary);font-weight:600;text-align:right;padding:8px 10px;white-space:nowrap;border-bottom:1px solid var(--color-border)}
.rh-tbl thead th.rh-l,.rh-tbl tbody td.rh-l{text-align:left}
.rh-tbl tbody td{padding:6px 10px;text-align:right;white-space:nowrap;border-bottom:1px solid var(--color-border-light);color:var(--color-text-primary)}
.rh-tbl tbody tr:hover td{background:color-mix(in srgb, var(--color-primary-light) 60%, transparent)}
.rh-tbl thead th .rh-unit{font-weight:400;color:var(--color-text-tertiary)}
.rh-flt-btn{margin-left:5px;border:1px solid var(--color-border);background:var(--color-surface);color:var(--color-text-secondary);border-radius:4px;font-size:10px;line-height:1;padding:2px 4px;cursor:pointer}
.rh-flt-btn:hover{border-color:var(--color-primary);color:var(--color-primary)}
.rh-flt-btn.on{background:var(--color-primary);border-color:var(--color-primary);color:var(--color-text-inverse)}
.rh-flt-panel{position:fixed;z-index:300;background:var(--color-surface);border:1px solid var(--color-border);border-radius:8px;box-shadow:0 8px 28px var(--shadow-black-18);padding:8px;min-width:180px;max-height:320px;overflow:auto;font-size:12px;box-sizing:border-box}
.rh-flt-panel label{display:flex;align-items:center;gap:6px;padding:4px 6px;border-radius:5px;cursor:pointer;white-space:nowrap;color:var(--color-text-primary)}
.rh-flt-panel label:hover{background:var(--color-primary-light)}
.rh-flt-panel .rh-flt-actions{display:flex;gap:6px;border-bottom:1px solid var(--color-border-light);padding:2px 6px 8px;margin-bottom:4px}
.rh-flt-panel .rh-flt-actions button{flex:1;border:1px solid var(--color-border);background:var(--color-surface);color:var(--color-text-secondary);border-radius:5px;font-size:11px;padding:3px 0;cursor:pointer}
.rh-flt-panel .rh-flt-actions button:hover{border-color:var(--color-primary);color:var(--color-primary)}
.rh-pager,.ns-rank-pager{display:flex;align-items:center;justify-content:center;gap:12px;padding:var(--space-2) 0;font-size:var(--text-sm);color:var(--color-text-secondary);border-top:1px solid var(--color-border-light)}
.rh-pg-info{font-size:11px}
#rhCards{grid-template-columns:repeat(2,1fr)}
.gm-page { min-height: 480px; padding: var(--space-5) var(--space-6); }
.gm-header { display: flex; align-items: center; gap: var(--space-2_5); margin-bottom: var(--space-3); flex-wrap: wrap; }
.gm-header h2 { margin: 0; font-size: var(--text-xl); font-weight: var(--font-weight-semibold); color: var(--color-text-primary); line-height: var(--leading-tight); }
.gm-sub { color: var(--color-text-tertiary); font-size: var(--text-xs); font-variant-numeric: tabular-nums; min-width: 0; }
.gm-status-pill { display: inline-flex; align-items: center; gap: 5px; padding: var(--space-1) var(--space-2_5); border-radius: var(--radius-pill); background: var(--color-bg-secondary); color: var(--color-text-tertiary); font-size: var(--text-xs); white-space: nowrap; }
.gm-status-pill i { width: 6px; height: 6px; border-radius: 50%; background: var(--color-success); flex-shrink: 0; }
.gm-header-actions { display: flex; gap: var(--space-2); margin-left: auto; }
.gm-kpis { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--space-2); margin-bottom: var(--space-3); }
.gm-kpi { display: flex; flex-direction: column; gap: var(--space-1); min-width: 0; text-align: left; padding: var(--space-2_5) var(--space-3); background: var(--color-surface); border: 1px solid var(--color-border-light); border-radius: var(--radius); box-shadow: var(--shadow); position: relative; overflow: hidden; font-family: var(--font); transition: box-shadow var(--dur-enter) var(--ease-out), transform var(--dur-enter) var(--ease-out), border-color var(--dur-enter) var(--ease-out); }
.gm-kpi:hover { box-shadow: var(--shadow-hover); border-color: var(--color-border-hover); }
.gm-kpi.clickable { cursor: pointer; }
.gm-kpi:not(.clickable) { cursor: default; }
.gm-kpi-label { color: var(--color-text-secondary); font-size: var(--text-xs); font-weight: var(--font-weight-medium); letter-spacing: .3px; white-space: nowrap; }
.gm-kpi-value { font-size: var(--text-xl); line-height: 1.1; font-weight: var(--font-weight-bold); color: var(--color-text-primary); letter-spacing: -.3px; font-variant-numeric: tabular-nums; }
.gm-kpi-value small { margin-left: 2px; font-size: var(--text-sm); color: var(--color-text-secondary); font-weight: var(--font-weight-medium); }
.gm-kpi-extra { display: none; }
.gm-toolbar { position: relative; display: flex; flex-direction: column; gap: var(--space-1_5); margin-bottom: var(--space-3); padding: var(--space-1_5) var(--space-2); border: 1px solid var(--color-border-light); border-radius: var(--radius-sm); background: var(--color-bg-secondary); }
.gm-toolbar-row { display: flex; align-items: center; gap: var(--space-1_5); flex-wrap: wrap; min-width: 0; }
.gm-filter-band.quiet .gm-chip:not(.on) { border-color: transparent; background: transparent; color: var(--color-text-tertiary); }
.gm-filter-band.quiet .gm-chip:hover { background: var(--color-surface); color: var(--color-text-primary); }
.gm-hint { color: var(--color-text-tertiary); font-size: var(--text-xs); }
.gm-seg { display: inline-flex; border: 1px solid var(--color-border); border-radius: var(--radius-control); overflow: hidden; background: var(--color-bg); }
.gm-seg button { display: inline-flex; align-items: center; height: var(--control-h-sm); padding: 0 var(--space-3); border: none; background: transparent; color: var(--color-text-secondary); font-family: var(--font); font-size: var(--control-font); white-space: nowrap; cursor: pointer; transition: background var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out); }
.gm-seg button + button { border-left: 1px solid var(--color-border); }
.gm-seg button:hover:not(.on) { background: var(--color-surface-hover); color: var(--color-text-primary); }
.gm-seg button.on { background: var(--color-primary); color: var(--color-text-inverse); font-weight: var(--font-weight-medium); }
.gm-search { flex: 1 1 160px; min-width: 130px; max-width: 320px; }
.gm-search input { width: 100%; height: var(--control-h-sm); padding: 0 var(--space-2_5); border: 1px solid var(--color-border); border-radius: var(--radius-control); background: var(--color-surface); color: var(--color-text-primary); font-family: var(--font); font-size: var(--control-font); outline: none; transition: border-color var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out); }
.gm-search input:focus { border-color: var(--color-primary); box-shadow: var(--focus-ring); }
.gm-chip { display: inline-flex; align-items: center; height: var(--control-h-sm); padding: 0 var(--space-3); border-radius: var(--radius-pill); border: 1px solid var(--color-border); background: var(--color-surface); color: var(--color-text-secondary); font-family: var(--font); font-size: var(--control-font); white-space: nowrap; cursor: pointer; transition: background var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out); }
.gm-chip:hover { border-color: var(--color-border-hover); color: var(--color-text-primary); }
.gm-chip.on { border-color: var(--color-primary); background: var(--color-primary-light); color: var(--color-primary); font-weight: var(--font-weight-medium); }
.gm-grow { flex: 1; }
.gm-mode-strip { display: flex; align-items: center; gap: var(--space-2); flex-wrap: wrap; margin-bottom: var(--space-3); }
.gm-mode-note { color: var(--color-text-tertiary); font-size: var(--text-xs); }
.gm-mode-bar { width: 110px; height: var(--space-2); border-radius: var(--radius-pill); border: 1px solid var(--color-border-light); }
.gm-workspace { display: grid; grid-template-columns: minmax(0, 1fr) var(--sidebar-width); gap: var(--space-3_5); align-items: stretch; transition: grid-template-columns var(--dur-enter) var(--ease-out); }
@media (min-width: 1025px) {
  .gm-workspace.side-collapsed { grid-template-columns: minmax(0, 1fr) 0; gap: 0; }
  .gm-workspace.side-collapsed .gm-side { display: none; }
  
  .gm-workspace.side-collapsed .gm-canvas-host {
    height: auto;
    aspect-ratio: 1777.7 / 1256.2;
    max-height: min(88vh, 1100px);
  }
}
.gm-map-card { min-width: 0; border: 1px solid var(--color-border-light); border-radius: var(--radius); background: var(--color-surface); box-shadow: var(--shadow); overflow: hidden; }
.gm-canvas-host { position: relative; height: clamp(540px, 72vh, 760px); min-width: 0; background: var(--color-surface); overflow: hidden; }
.gm-map-card:fullscreen { width: 100vw; height: 100vh; border: 0; border-radius: 0; }
.gm-map-card:fullscreen .gm-canvas-host { height: 100vh; }
.gm-canvas { display: block; width: 100%; height: 100%; cursor: grab; touch-action: none; }
.gm-canvas.gp-drag { cursor: grabbing; }
.gm-tooltip { position: absolute; z-index: 5; transform: translate(-50%, calc(-100% - 10px)); pointer-events: none; background: var(--color-surface-inverse); color: var(--color-text-primary-inverse); border-radius: var(--radius-xs); padding: var(--space-1) var(--space-2); font-size: var(--text-tiny); white-space: nowrap; }
.gm-tooltip.flipx { transform: translate(calc(-100% + 8px), calc(-100% - 10px)); }
.gm-tooltip.flipy { transform: translate(-50%, 10px); }
.gm-tooltip.flipx.flipy { transform: translate(calc(-100% + 8px), 10px); }
.gm-tooltip b { display: block; }
.gm-tooltip span { color: var(--color-surface-inverse-fg-85); font-size: var(--text-xs); }
.gm-tooltip em { font-style: normal; color: var(--color-surface-inverse-fg-85); opacity: .8; }
.gm-tooltip-nodata { color: var(--color-surface-inverse-fg-85); }
.gm-hud { position: absolute; left: var(--space-2_5); bottom: var(--space-2_5); background: var(--color-overlay-light); border: 1px solid var(--color-border-light); border-radius: var(--radius-control); padding: var(--space-1) var(--space-2_5); color: var(--color-text-tertiary); font-size: var(--text-xs); }
.gm-zoom { position: absolute; right: var(--space-2_5); bottom: var(--space-2_5); display: flex; flex-direction: column; gap: var(--space-1_5); }
.gm-zoom button { width: var(--control-h-sm); height: var(--control-h-sm); padding: 0; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--color-border); border-radius: var(--radius-control); background: var(--color-surface); color: var(--color-text-secondary); font-family: var(--font); font-size: var(--text-md); line-height: 1; cursor: pointer; transition: background var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out); }
.gm-zoom button:hover { background: var(--color-surface-hover); color: var(--color-text-primary); }
.gm-side { display: flex; flex-direction: column; min-width: 0; max-height: clamp(540px, 72vh, 760px); border: 1px solid var(--color-border-light); border-radius: var(--radius); background: var(--color-surface); box-shadow: var(--shadow); overflow: hidden; }
.gm-side-tabs { display: flex; flex: none; gap: var(--space-1); padding: var(--space-1_5); border-bottom: 1px solid var(--color-border-light); background: var(--color-bg-secondary); }
.gm-side-tabs button { flex: 1; height: var(--control-h-sm); border: 0; border-radius: var(--radius-2xs); background: transparent; color: var(--color-text-secondary); font-family: var(--font); font-size: var(--text-xs); cursor: pointer; transition: background var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out); }
.gm-side-tabs button.on { background: var(--color-primary-light); color: var(--color-primary); font-weight: var(--font-weight-semibold); }
.gm-side-close { position: absolute; right: var(--space-2); top: var(--space-2); z-index: 2; display: none; align-items: center; justify-content: center; width: var(--control-h-sm); height: var(--control-h-sm); padding: 0; border: 1px solid var(--color-border); border-radius: var(--radius-control); background: var(--color-surface); color: var(--color-text-secondary); font-family: var(--font); font-size: var(--text-md); line-height: 1; cursor: pointer; }
.gm-side-card { background: var(--gray-bg); border: 1px solid var(--color-border-light); border-radius: var(--radius-sm); padding: var(--space-2_5); }
.gm-side-scroll { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: var(--space-2_5); overflow-y: auto; padding: var(--space-2_5); }
.gm-card-head { display: flex; align-items: center; justify-content: space-between; gap: var(--space-2); color: var(--color-text-secondary); font-size: var(--text-xs); font-weight: var(--font-weight-bold); letter-spacing: .5px; margin-bottom: var(--space-2); }
.gm-station-name { font-size: var(--text-lg); font-weight: var(--font-weight-semibold); color: var(--color-text-primary); }
.gm-station-sub { color: var(--color-text-tertiary); font-size: var(--text-xs); margin-top: 2px; font-variant-numeric: tabular-nums; }
.gm-price-line { color: var(--color-primary); font-size: var(--text-3xl); font-weight: var(--font-weight-bold); letter-spacing: -.5px; line-height: 1.1; margin-top: var(--space-2); font-variant-numeric: tabular-nums; }
.gm-price-line small { color: var(--color-text-secondary); font-size: var(--text-sm); font-weight: var(--font-weight-medium); margin-left: 2px; }
.gm-kv-grid { display: grid; grid-template-columns: 1fr auto; gap: var(--space-1) var(--space-2); font-size: var(--text-xs); margin-top: var(--space-2); }
.gm-kv-grid span { color: var(--color-text-secondary); }
.gm-kv-grid b { font-weight: var(--font-weight-semibold); text-align: right; font-variant-numeric: tabular-nums; color: var(--color-text-primary); }
.gm-node-list { margin-top: var(--space-2_5); border-top: 1px solid var(--color-border-light); padding-top: var(--space-2); }
.gm-node-row { width: 100%; padding: var(--space-1) var(--space-1_5); display: flex; justify-content: space-between; border: 0; border-radius: var(--radius-2xs); background: transparent; color: var(--color-text-primary); font-family: var(--font); font-size: var(--text-xs); text-align: left; cursor: pointer; transition: background var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out); }
.gm-node-row:hover { color: var(--color-primary); background: var(--color-surface); }
.gm-node-row small { color: var(--color-text-tertiary); font-size: var(--text-xs); }
.gm-note { color: var(--color-text-tertiary); font-size: var(--text-xs); line-height: var(--leading-normal); margin-top: var(--space-1_5); }
.gm-link-btn { margin-top: var(--space-1_5); display: inline-flex; align-items: center; min-height: var(--control-h-sm); padding: 0 var(--space-3); font-family: var(--font); font-size: var(--text-sm); color: var(--color-primary); border: 1px solid var(--color-primary-alpha-30); background: var(--color-primary-soft); border-radius: var(--radius-control); cursor: pointer; transition: background var(--dur-fast) var(--ease-out); }
.gm-empty { color: var(--color-text-secondary); font-size: var(--text-xs); line-height: var(--leading-normal); }
.gm-heatbar { height: var(--space-2); border-radius: var(--radius-pill); border: 1px solid var(--color-border-light); margin-top: var(--space-2); }
.gm-health-actions { display: flex; flex-direction: column; margin-top: var(--space-2); border-top: 1px solid var(--color-border-light); }
.gm-health-actions button { display: flex; align-items: center; justify-content: space-between; gap: var(--space-2); width: 100%; min-height: var(--control-h-sm); padding: var(--space-1) 0; border: 0; border-bottom: 1px solid var(--color-border-light); background: transparent; color: var(--color-text-secondary); font-family: var(--font); font-size: var(--text-xs); text-align: left; cursor: pointer; transition: color var(--dur-fast) var(--ease-out); }
.gm-health-actions button:hover { color: var(--color-primary); }
.gm-health-actions b { font-variant-numeric: tabular-nums; color: var(--color-text-primary); }
.gm-legend-groups { flex: 1 1 auto; min-height: 0; overflow: auto; padding-right: 2px; }
.gm-legend-group { padding: var(--space-2) 0; border-bottom: 1px solid var(--color-border-light); }
.gm-legend-group:first-child { padding-top: 0; }
.gm-legend-group:last-child { border-bottom: 0; padding-bottom: 0; }
.gm-legend-group h4 { margin: 0 0 var(--space-1_5); color: var(--color-text-primary); font-size: var(--text-xs); font-weight: var(--font-weight-semibold); }
.gm-legend-row { display: grid; grid-template-columns: 28px minmax(0, 1fr); align-items: start; gap: var(--space-1_5); padding: 2px 0; color: var(--color-text-secondary); font-size: var(--text-xs); line-height: var(--leading-normal); }
.gm-legend-text { min-width: 0; word-break: break-word; }
.gm-legend-line, .gm-legend-fill { display: flex; align-items: center; justify-content: center; min-height: 14px; }
.gm-legend-line i { display: block; width: 24px; height: 3px; border-radius: 2px; }
.gm-legend-fill i { display: block; width: 14px; height: 14px; border: 1px solid var(--color-border-light); border-radius: 3px; }
.gm-legend-note-mark { width: 24px; height: 1px; margin-top: 7px; background: var(--color-border-hover); }
.gm-legend-glyph { display: flex; align-items: center; justify-content: center; min-height: 14px; }
.gm-legend-card { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; }
.gm-legend-glyph svg { display: block; overflow: hidden; }
.gm-legend-inline { display: inline-block; vertical-align: -3px; margin: 0 2px; overflow: hidden; }
.gm-legend-list { max-height: 180px; overflow: auto; }
.gm-legend-sw { width: 24px; flex: none; display: flex; gap: 2px; padding-top: 5px; }
.gm-legend-sw i { display: block; width: 10px; height: 3px; border-radius: 2px; }
.gm-dock { margin-top: var(--space-3); border: 1px solid var(--color-border-light); border-radius: var(--radius); background: var(--color-surface); box-shadow: var(--shadow); overflow: hidden; }
.gm-dock-head { display: flex; align-items: center; gap: var(--space-2); min-height: calc(var(--control-h-sm) + var(--space-3)); padding: var(--space-1_5) var(--space-2_5); border-bottom: 1px solid var(--color-border-light); }
.gm-dock.collapsed .gm-dock-head { border-bottom: 0; }
.gm-dock-tabs { display: flex; align-items: center; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.gm-dock-tabs::-webkit-scrollbar { display: none; }
.gm-dock-tabs button { display: inline-flex; align-items: center; gap: 5px; height: var(--control-h-sm); padding: 0 var(--space-2_5); border: 0; border-radius: var(--radius-2xs); background: transparent; color: var(--color-text-secondary); font-family: var(--font); font-size: var(--text-xs); white-space: nowrap; cursor: pointer; transition: background var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out); }
.gm-dock-tabs button.on { background: var(--color-primary-light); color: var(--color-primary); font-weight: var(--font-weight-semibold); }
.gm-dock-tabs button span { display: inline-flex; align-items: center; justify-content: center; min-width: 18px; height: 16px; padding: 0 4px; border-radius: var(--radius-pill); background: var(--color-bg-secondary); color: var(--color-text-tertiary); font-size: var(--text-2xs); font-variant-numeric: tabular-nums; }
.gm-dock-tabs button.on span { background: var(--color-surface); color: var(--color-primary); }
.gm-dock-toggle { display: inline-flex; align-items: center; justify-content: center; width: var(--control-h-sm); height: var(--control-h-sm); padding: 0; border: 1px solid var(--color-border); border-radius: var(--radius-control); background: var(--color-surface); color: var(--color-text-secondary); cursor: pointer; transition: background var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out); }
.gm-dock-toggle:hover { background: var(--color-surface-hover); color: var(--color-text-primary); }
.gm-dock.collapsed .gm-dock-toggle svg { transform: rotate(-90deg); }
.gm-dock-body { max-height: 380px; overflow: auto; }
.gm-dock-pane { min-width: 0; }
.gm-dock-pane-head { display: flex; align-items: center; gap: var(--space-2); min-height: var(--control-h); padding: var(--space-1_5) var(--space-2_5); border-bottom: 1px solid var(--color-border-light); }
.gm-structure-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-3); padding: var(--space-3); }
.gm-structure-cols h4 { margin: 0 0 var(--space-2); font-size: var(--text-xs); font-weight: var(--font-weight-semibold); color: var(--color-text-secondary); }
.gm-structure-scroll { overflow-x: auto; }
.gm-mini-table { min-width: 280px; border: 1px solid var(--color-border); border-radius: var(--radius-control); }
.gm-mini-table th, .gm-mini-table td { padding: var(--space-1) var(--space-1_5); font-size: var(--text-xs); }
.gm-anomaly-wrap { max-height: 260px; }
.gm-action-cell { color: var(--color-primary); }
.gm-table-wrap { max-height: 430px; overflow: auto; border: 1px solid var(--color-border); border-radius: var(--radius-control); }
.gm-table { width: 100%; border-collapse: separate; border-spacing: 0; }
.gm-table th { position: sticky; top: 0; z-index: 2; padding: var(--space-2) var(--space-2_5); background: var(--color-bg); color: var(--color-text-secondary); border-bottom: 1px solid var(--color-border); font-size: var(--text-xs); font-weight: var(--font-weight-semibold); letter-spacing: .3px; text-align: left; white-space: nowrap; }
.gm-table td { padding: var(--space-1_5) var(--space-2_5); border-bottom: 1px solid var(--color-border-light); font-size: var(--text-tiny); white-space: nowrap; }
.gm-table tr:hover td { background: color-mix(in srgb, var(--color-primary-light) 60%, transparent); cursor: pointer; }
.gm-table tr.active td { background: var(--color-primary-light); }
.gm-table td.num, .gm-table th.num { text-align: right; font-variant-numeric: tabular-nums; }
.gm-table-empty, .list-empty { color: var(--color-text-tertiary); text-align: center; padding: var(--space-5) 0 !important; }
.gm-pager, .ns-rank-pager { display: flex; align-items: center; justify-content: center; gap: var(--space-2); padding: var(--space-2) 0; color: var(--color-text-secondary); font-size: var(--text-sm); border-top: 1px solid var(--color-border-light); }
.gm-tag { display: inline-block; padding: 1px var(--space-1_5); border-radius: var(--radius-2xs); background: var(--color-primary-light); color: var(--color-primary); font-size: var(--text-xs); font-weight: var(--font-weight-semibold); letter-spacing: .2px; white-space: nowrap; }
.gm-tag.warn { background: var(--color-warning-light); color: var(--color-warning-ink); }
.gm-tag.core { background: var(--color-success-light); color: var(--color-success-ink); }
@media (max-width: 1024px) {
  .gm-page { padding: var(--space-4) var(--space-3_5); }
  .gm-header h2 { font-size: var(--text-lg); }
  .gm-kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .gm-workspace { grid-template-columns: 1fr; }
  .gm-side { position: fixed; z-index: var(--z-drawer); right: var(--space-3); top: calc(var(--header-height) + var(--space-3)); bottom: var(--space-3); width: min(360px, calc(100vw - var(--space-6))); max-height: none; padding: var(--space-2); border-radius: var(--radius); box-shadow: var(--shadow-lg); display: none; }
  .gm-side.open { display: flex; }
  .gm-side-close { display: inline-flex; }
  
  .gm-canvas-host {
    height: auto;
    aspect-ratio: 1777.7 / 1256.2;
    min-height: 200px;
    max-height: 620px;
  }
  .gm-structure-cols { grid-template-columns: 1fr; }
  .gm-dock-body { max-height: 360px; }
}
@media (max-width: 760px) {
  .gm-page { padding: var(--space-3_5) var(--space-2_5); }
  .gm-header { align-items: flex-start; }
  .gm-sub { display: none; }
  .gm-header-actions { width: 100%; margin-left: 0; justify-content: center; }
  .gm-mode-strip { align-items: flex-start; }
  .gm-dock-head { flex-wrap: wrap; }
  .gm-dock-head > .gm-note { display: none; }
  .gm-dock-tabs { flex: 1; }
  .gm-dock-pane-head { flex-wrap: wrap; }
  .gm-structure-cols { padding: var(--space-2_5); }
}
@media (max-width: 760px), (max-height: 560px) and (max-width: 1024px) {
  .gm-sub { display: none; }
  .gm-kpis {
    display: flex; flex-wrap: nowrap; gap: var(--space-2);
    overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch;
    margin: 0 calc(var(--space-2_5) * -1) var(--space-2);
    padding: 2px var(--space-2_5);
    scroll-snap-type: x proximity;
  }
  .gm-kpis::-webkit-scrollbar { display: none; }
  .gm-kpi { flex: 0 0 auto; min-width: 122px; padding: var(--space-2) var(--space-2_5); scroll-snap-align: start; }
  .gm-kpi-value { font-size: var(--text-lg); }
  .gm-toolbar-row { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .gm-toolbar-row::-webkit-scrollbar { display: none; }
  .gm-grow { display: none; }
  .gm-toolbar-extra { display: flex; align-items: center; gap: var(--space-1_5); flex: none; }
  .gm-toolbar-extra .gm-seg { flex: none; }
  .gm-search { flex: 0 0 146px; min-width: 146px; max-width: none; }
  .gm-toolbar-row > .gm-seg { flex: none; }
}
@media (hover: none) and (pointer: coarse) {
  .gm-zoom button { width: var(--btn-icon-sm); height: var(--btn-icon-sm); font-size: var(--text-lg); }
  .gm-seg button, .gm-chip, .gm-side-tabs button, .gm-dock-tabs button, .gm-side-close { min-height: var(--btn-icon-sm); }
  .gm-side-close, .gm-dock-toggle { width: var(--btn-icon-sm); height: var(--btn-icon-sm); }
}
@media (max-height: 560px) and (max-width: 1024px) {
  .gm-page { padding: var(--space-2) var(--space-2_5); }
  .gm-header { margin-bottom: var(--space-2); }
  .gm-kpis { margin-bottom: var(--space-2); }
  .gm-kpi { min-width: 110px; padding: var(--space-1_5) var(--space-2); }
  .gm-kpi-label { font-size: var(--text-2xs); }
  .gm-kpi-value { font-size: var(--text-md); }
  .gm-toolbar { margin-bottom: var(--space-2); }
  
  .gm-toolbar { flex-direction: row; align-items: flex-start; }
  .gm-toolbar > .gm-toolbar-row { flex: 1 1 0; min-width: 0; }
  .gm-canvas-host {
    aspect-ratio: auto;
    height: clamp(180px, 56vh, 320px);
    min-height: 0;
  }
}
.gas-page {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.gas-groups {
  display: flex;
  gap: var(--space-4);
  min-width: 0;
  align-items: flex-start;
}
.gas-groups-col {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.gas-table-wrap {
  max-height: none;
}
.gas-group {
  min-width: 0;
}
.gas-group-head {
  margin: 0 0 var(--space-1_5);
}
.gas-group-heading {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  flex-wrap: wrap;
  min-width: 0;
}
.gas-group-tag {
  flex: 0 0 auto;
  min-width: 40px;
  padding: 1px var(--space-1_5);
  border-radius: var(--radius-xs);
  font-size: var(--text-xs);
  font-weight: 600;
  text-align: center;
  color: var(--color-text-inverse);
  background: var(--color-gas-other);
}
.gas-group-tag[data-group="9E"] { background: var(--color-gas-9e); }
.gas-group-tag[data-group="9F"] { background: var(--color-gas-9f); }
.gas-group-tag[data-group="9H"] { background: var(--color-gas-9h); }
.gas-group-title {
  margin: 0;
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: 0;
}
.gas-group-count {
  font-size: var(--text-sm);
  font-weight: var(--font-weight-regular);
  color: var(--color-text-secondary);
}
.gas-group-avg {
  margin-left: auto;
  font-variant-numeric: tabular-nums;
}
.gas-group-avg b {
  color: var(--color-text-primary);
  font-weight: 600;
}
.gas-group-empty {
  margin: 0;
  padding: var(--space-5);
  text-align: center;
  font-size: var(--text-base);
  color: var(--color-text-tertiary);
}
.gas-table {
  
  min-width: 560px;
  font-variant-numeric: tabular-nums;
}
:root[data-density="compact"] .gas-table th {
  padding: var(--space-2) var(--space-2);
}
:root[data-density="compact"] .gas-table td {
  padding: var(--space-1_5) var(--space-2);
}
.gas-table tbody td {
  white-space: nowrap;
}
.gas-table .col-num {
  text-align: right;
}
.gas-table .col-strong {
  font-weight: 600;
}
.gas-row.is-missing {
  color: var(--color-text-tertiary);
}
.gas-table tbody tr.is-region-start td {
  border-top: 1px solid color-mix(in srgb, var(--color-text-secondary) 50%, transparent);
}
:root[data-density="compact"] .gas-table tbody tr.is-region-start td {
  padding-top: var(--space-2_5);
}
.gas-node-name {
  display: inline-block;
  max-width: 150px;
  overflow: hidden;
  text-overflow: ellipsis;
  vertical-align: bottom;
}
.gas-table .col-region {
  width: 40px;
}
.delta-up { color: var(--color-gas-delta-up); }
.delta-down { color: var(--color-gas-delta-down); }
.gas-modal-mask {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-5);
  background: var(--color-gas-mask);
}
.gas-modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-3);
  padding: var(--space-3_5) var(--space-4);
  border-bottom: 1px solid var(--color-border);
}
.gas-icon-btn {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: var(--radius-control);
  background: var(--color-bg);
  color: var(--color-text-secondary);
  font-size: var(--text-sm);
  cursor: pointer;
}
.gas-icon-btn:hover {
  background: var(--color-surface-hover);
  color: var(--color-text-primary);
}
.gas-modal {
  display: flex;
  flex-direction: column;
  width: min(720px, 100%);
  max-height: 88vh;
  border-radius: var(--radius-sm);
  background: var(--color-surface);
  box-shadow: var(--shadow-lg);
}
.gas-modal-body {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: var(--space-4);
}
.gas-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-3);
}
.gas-field {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  min-width: 0;
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
}
.gas-field > span {
  display: flex;
  align-items: center;
  gap: 2px;
}
.gas-field .req {
  color: var(--color-danger);
  font-style: normal;
}
.gas-field input,
.gas-field select {
  height: var(--control-h-sm);
  padding: 0 var(--space-2_5);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-control);
  background: var(--color-surface);
  color: var(--color-text-primary);
  font-size: var(--text-base);
  font-family: inherit;
  min-width: 0;
}
.gas-subinput {
  margin-top: 2px;
  font-size: var(--text-sm) !important;
}
.gas-field-wide {
  grid-column: 1 / -1;
}
.gas-field-check {
  flex-direction: row;
  align-items: center;
  gap: var(--space-2);
  align-self: end;
  min-height: var(--control-h-sm);
}
.gas-field-check input {
  width: 16px;
  height: 16px;
}
.gas-form-error {
  margin: var(--space-2_5) 0 0;
  font-size: var(--text-sm);
  color: var(--color-danger);
}
.gas-form-actions {
  display: flex;
  justify-content: flex-end;
  gap: var(--space-2);
  margin-top: var(--space-3);
}
.gas-config-list {
  margin-top: var(--space-5);
  padding-top: var(--space-3_5);
  border-top: 1px solid var(--color-border);
}
.gas-config-list h4 {
  margin: 0 0 var(--space-2);
  font-size: var(--text-md);
  font-weight: 600;
}
.gas-config-list ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.gas-config-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-1_5) 0;
  border-bottom: 1px solid var(--color-border);
  min-width: 0;
}
.gas-config-item.is-off {
  opacity: 0.55;
}
.gas-config-name {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: var(--text-base);
}
.gas-config-plant {
  flex: 0 0 auto;
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
}
.gas-config-actions {
  display: flex;
  gap: var(--space-1_5);
  flex: 0 0 auto;
}
.gas-mini-btn {
  min-height: var(--control-h-xs);
  padding: 0 var(--space-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-control);
  background: var(--color-surface);
  color: var(--color-text-primary);
  font-size: var(--text-sm);
  font-family: inherit;
  cursor: pointer;
}
.gas-mini-btn:hover {
  background: var(--color-surface-hover);
}
.gas-mini-btn:disabled {
  opacity: 0.4;
  cursor: default;
}
.gas-mini-btn.gas-move-btn {
  min-width: 26px;
  padding: 0 var(--space-1);
  text-align: center;
}
.gas-mini-btn.danger {
  color: var(--color-danger);
  border-color: var(--color-gas-danger-border);
}
@media (max-width: 1024px) {
  .gas-groups {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }
  .gas-groups-col {
    display: contents;
  }
  .gas-group[data-group="9E"] { order: 1; }
  .gas-group[data-group="9F"] { order: 2; }
  .gas-group[data-group="9H"] { order: 3; }
  .gas-table-wrap {
    max-height: max(420px, 64vh);
  }
}
@media (max-width: 768px) {
  .gas-form-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .gas-group-avg {
    margin-left: 0;
    flex-basis: 100%;
  }
}
.fx-page {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.fx-body {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.fx-kpis {
  margin-bottom: 0;
}
.fx-kpis .num small {
  font-size: 10px;
}
@media (max-width: 1024px) {
  .fx-kpis .num small { font-size: 9.5px; }
  
  .fx-kpis .num small {
    display: block;
    margin-left: 0;
    margin-top: 1px;
  }
}
@media (max-width: 560px) {
  .fx-kpis .num small { font-size: 9px; }
}
.stats-row.fx-kpis {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
@media (max-width: 1024px) {
  
  .stats-row.fx-kpis {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 560px) {
  
  .stats-row.fx-kpis {
    gap: var(--space-1_5);
  }
}
.fx-freq {
  display: inline-block;
  padding: 1px var(--space-2);
  border-radius: var(--radius-pill);
  font-size: var(--text-2xs);
  font-weight: var(--font-weight-semibold);
  background: var(--color-bg-secondary);
  color: var(--color-text-secondary);
  white-space: nowrap;
}
.fx-freq.daily {
  color: var(--color-text-primary);
}
.fx-freq.monthly {
  color: var(--color-text-secondary);
}
.ch-cell .chart-container.fx-chart {
  flex: 0 0 auto;
  height: 260px;
  min-height: 0;
}
.ch-cell .chart-container.fx-chart-tall {
  height: 300px;
}
.ch-cell.fx-hero .chart-container.fx-chart {
  height: 340px;
}
.ch-cell.fx-hero .chart-container.fx-chart-hero {
  height: 360px;
}
.fx-groups {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-3);
  
  margin-bottom: 0;
}
.fx-groups .ch-cell-title {
  align-items: flex-start;
}
.fx-groups .ch-cell-title .ch-sub {
  text-align: left;
}
.fx-groups .fx-cell .chart-container.fx-chart {
  margin-top: auto;
}
.fx-cell,
.fx-hero {
  min-width: 0;
}
.fx-table-wrap {
  
  max-height: none;
}
.fx-table {
  
  min-width: 960px;
  
  width: 100%;
  font-variant-numeric: tabular-nums;
}
.fx-table tbody td {
  white-space: nowrap;
}
:root[data-density="compact"] .fx-table th {
  padding: var(--space-2) var(--space-2);
}
:root[data-density="compact"] .fx-table td {
  padding: var(--space-1_5) var(--space-2);
}
.fx-col-idx {
  
  max-width: 180px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.fx-col-freq {
  width: 56px;
  white-space: nowrap;
}
.fx-col-status {
  min-width: 132px;
  white-space: normal;
}
.fx-idx-name {
  font-weight: var(--font-weight-semibold);
  color: var(--color-text-primary);
}
.fx-idx-unit {
  margin-left: var(--space-1);
  font-size: var(--text-2xs);
  color: var(--color-text-tertiary);
}
.fx-src-name {
  color: var(--color-text-secondary);
  
  display: inline-block;
  max-width: 145px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  vertical-align: bottom;
}
.fx-table .fx-ts-d {
  display: block;
}
.fx-table .fx-ts-t {
  display: block;
  font-size: var(--text-2xs);
  color: var(--color-text-tertiary);
}
.fx-src-tag {
  display: inline-block;
  margin-left: var(--space-1);
  padding: 1px var(--space-1_5);
  border-radius: var(--radius-2xs);
  font-size: var(--text-2xs);
  font-weight: var(--font-weight-semibold);
  background: var(--color-bg-secondary);
  color: var(--color-text-tertiary);
}
.fx-why {
  display: block;
  margin-top: 2px;
  font-size: var(--text-2xs);
  color: var(--color-text-tertiary);
  white-space: normal;
}
.fx-table tbody tr.fx-row-dim td {
  color: var(--color-text-tertiary);
}
.fx-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: var(--space-2) var(--space-4);
  padding-top: var(--space-2_5);
  border-top: 1px solid var(--color-border-light);
}
.fx-legend {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-3);
  font-size: var(--text-2xs);
  color: var(--color-text-tertiary);
}
.fx-legend .dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: var(--space-1);
  vertical-align: -1px;
  background: var(--color-disabled);
}
.fx-legend .dot.ok { background: var(--color-success-ink); }
.fx-legend .dot.lag { background: var(--color-warning-ink); }
.fx-legend .dot.err { background: var(--color-danger); }
.fx-warn {
  font-size: var(--text-2xs);
  color: var(--color-warning-ink);
  background: var(--color-warning-light);
  border-radius: var(--radius-2xs);
  padding: 1px var(--space-1_5);
}
@media (max-width: 1024px) {
  .ch-cell .chart-container.fx-chart { height: 230px; }
  .ch-cell.fx-hero .chart-container.fx-chart { height: 280px; }
  .ch-cell.fx-hero .chart-container.fx-chart-hero { height: 300px; }
  .ch-cell .chart-container.fx-chart-tall { height: 260px; }
  
  .fx-groups {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 768px) {
  .ch-cell .chart-container.fx-chart { height: 210px; }
  .ch-cell.fx-hero .chart-container.fx-chart { height: 250px; }
  .ch-cell.fx-hero .chart-container.fx-chart-hero { height: 270px; }
  .ch-cell .chart-container.fx-chart-tall { height: 230px; }
}
.dr-page {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.dr-body {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  min-width: 0;
}
.dr-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  min-width: 0;
  padding: var(--space-3) var(--space-3_5);
  background: var(--color-surface);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.dr-card-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: var(--space-2);
  min-width: 0;
}
.dr-card-title {
  margin: 0;
  font-size: var(--text-lg);
  font-weight: var(--font-weight-semibold);
  color: var(--color-text-primary);
}
.dr-card-range {
  margin-left: auto;
  font-size: var(--text-xs);
  color: var(--color-text-tertiary);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.dr-card .chart-container.dr-chart {
  position: relative;
  width: 100%;
  height: 360px;
  min-height: 0;
  flex: 0 0 auto;
  padding: 0;
}
.dr-card .chart-container.dr-chart .list-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  margin: 0;
}
.dr-cal {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  min-width: 0;
}
.dr-cal-grid {
  display: flex;
  flex-direction: column;
  gap: 2px;
  overflow-x: auto;
  min-width: 0;
}
.dr-cal-head,
.dr-cal-row {
  display: grid;
  grid-template-columns: 116px repeat(31, minmax(26px, 1fr));
  align-items: center;
  gap: 2px;
  min-width: 900px;
}
.dr-cal-dnum {
  text-align: center;
  font-size: var(--text-2xs);
  color: var(--color-text-tertiary);
  font-variant-numeric: tabular-nums;
}
.dr-cal-mlabel {
  display: flex;
  align-items: baseline;
  gap: var(--space-1);
  font-size: var(--text-2xs);
  color: var(--color-text-secondary);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.dr-cal-mavg {
  color: var(--color-text-tertiary);
}
.dr-cal-cell {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 22px;
  border-radius: 2px;
  background: var(--gray-bg);
  font-size: var(--text-2xs);
  font-variant-numeric: tabular-nums;
  color: var(--color-text-secondary);
  overflow: hidden;
}
i.dr-cal-cell {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
}
.dr-cal-pad {
  display: block;
  height: 22px;
  background: transparent;
}
.dr-cal-cell.lv0 {
  background: var(--color-bg-secondary);
  box-shadow: inset 0 0 0 1px var(--color-border-light);
  color: var(--color-text-tertiary);
}
.dr-cal-cell.lv1 {
  background: var(--color-primary-alpha-10);
  color: var(--color-text-primary);
}
.dr-cal-cell.lv2 {
  background: var(--color-primary-alpha-30);
  color: var(--color-text-primary);
}
.dr-cal-cell.lv3 {
  background: var(--color-primary-alpha-35);
  color: var(--color-text-primary);
}
.dr-cal-cell.lv4 {
  background: var(--color-primary);
  color: var(--color-surface);
}
.dr-cal-cell.is-linked {
  cursor: pointer;
}
.dr-cal-cell.is-linked:hover {
  outline: 2px solid var(--color-primary);
  outline-offset: 1px;
}
.dr-cal-foot {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-1) var(--space-4);
  font-size: var(--text-xs);
  color: var(--color-text-secondary);
  font-variant-numeric: tabular-nums;
}
.dr-cal-foot b {
  color: var(--color-text-primary);
  font-weight: var(--font-weight-semibold);
}
@media (max-width: 1024px) {
  .dr-card .chart-container.dr-chart {
    height: 340px;
  }
  .dr-cal-head,
  .dr-cal-row {
    grid-template-columns: 96px repeat(31, minmax(24px, 1fr));
    min-width: 820px;
  }
}
@media (max-width: 768px) {
  .dr-card .chart-container.dr-chart {
    height: 320px;
  }
  .dr-cal-head,
  .dr-cal-row {
    grid-template-columns: 78px repeat(31, minmax(20px, 1fr));
    min-width: 700px;
  }
  .dr-cal-cell,
  .dr-cal-pad {
    height: 18px;
  }
  .dr-cal-cell {
    font-size: var(--text-3xs, var(--text-2xs));
  }
}
.dr-decl-controls { display: flex; flex-wrap: wrap; gap: var(--space-2); margin: 0 0 var(--space-3); }
.dr-decl-controls .btn { min-height: 28px; padding: 2px var(--space-3); font-size: var(--text-sm); }
.dr-decl-note { margin: var(--space-2) 0 0; color: var(--color-text-secondary); font-size: var(--text-sm); }
.cea-page {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.cea-body {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.stats-row.cea-kpis {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 0;
}
.cea-kpis .num small {
  font-size: 10px;
}
.cea-charts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-3);
  margin-bottom: 0;
}
.cea-charts-stack {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-3);
  margin-bottom: 0;
}
.ch-cell .chart-container.cea-chart {
  flex: 0 0 auto;
  height: 300px;
  min-height: 0;
}
.cea-chart {
  width: 100%;
  height: 100%;
}
.ch-cell .chart-container.cea-chart.cea-chart-short {
  height: 260px;
}
.ch-cell .chart-container.cea-chart.cea-chart-tall {
  height: 360px;
}
.cea-cell {
  min-width: 0;
}
.cea-detail-wrap {
  max-height: 460px;
}
.cea-table {
  font-size: var(--text-xs);
}
@media (max-width: 1024px) {
  .cea-charts {
    grid-template-columns: minmax(0, 1fr);
  }
  .cea-kpis .num small {
    font-size: 9.5px;
  }
  .cea-detail-wrap {
    max-height: 520px;
  }
  .ch-cell .chart-container.cea-chart {
    height: 270px;
  }
  .ch-cell .chart-container.cea-chart.cea-chart-short {
    height: 240px;
  }
}
@media (max-width: 560px) {
  .stats-row.cea-kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-1_5);
  }
  .cea-kpis .num small {
    display: block;
    margin-left: 0;
    margin-top: 1px;
    font-size: 9px;
  }
  .ch-cell .chart-container.cea-chart,
  .ch-cell .chart-container.cea-chart.cea-chart-short {
    height: 240px;
  }
}
