/* ============ 管理端浅色主题 ============ */
* {
  box-sizing: border-box;
}

html,
body,
#app {
  height: 100%;
  margin: 0;
}

body {
  font-family: 'Helvetica Neue', Helvetica, 'PingFang SC', 'Microsoft YaHei', Arial, sans-serif;
  background: #f0f2f5;
}

.app-aside {
  background: #001529;
}

.app-aside .el-menu {
  border-right: none;
}

.app-aside .el-menu {
  max-height: calc(100vh - 60px);
  overflow-y: auto;
}

.app-aside .el-menu::-webkit-scrollbar {
  width: 4px;
}

.app-aside .el-menu::-webkit-scrollbar-thumb {
  background: #1f3a5f;
  border-radius: 2px;
}

.app-logo {
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 1px;
  background: #002140;
}

.app-header {
  background: #fff;
  display: flex;
  align-items: center;
  padding: 0 16px;
  box-shadow: 0 1px 4px rgba(0, 21, 41, .08);
  z-index: 9;
}

.app-header .sys-name {
  font-size: 16px;
  font-weight: 600;
  color: #001529;
  margin-right: 16px;
}

.app-main {
  padding: 14px 16px;
  overflow: auto;
}

.app-main :has(.detail-page) > :not(.detail-page, :has(.detail-page), .el-overlay, .el-popper) {
  display: none;
}

.app-page-tabs {
  flex: 0 0 auto;
  min-width: 0;
  padding: 7px 16px;
  background: #fff;
  border-bottom: 1px solid #dce3ea;
  overflow-x: auto;
}

.app-page-tabs ul {
  display: flex;
  gap: 6px;
  list-style: none;
  padding: 0;
  margin: 0;
  width: max-content;
  font-size: 13px;
}

.app-page-tabs li {
  display: flex;
  align-items: center;
  border: 1px solid #dce3ea;
  border-radius: 3px;
  color: #475569;
}

.app-page-tabs li.is-active {
  background: #eef6ff;
  border-color: var(--el-color-primary);
  color: #185a9d;
}

.app-page-tabs a {
  padding: 5px 8px;
  color: inherit;
  text-decoration: none;
}

.app-page-tabs button {
  margin-right: 3px;
  padding: 2px 5px;
  border: 0;
  border-radius: 3px;
  color: inherit;
  background: transparent;
  cursor: pointer;
}

.app-page-tabs button:hover { background: #e2e8f0; }

.import-guide {
  margin-bottom: 16px;
  padding: 12px 16px;
  background: #f5f8fc;
  border: 1px solid #dce6f3;
  border-radius: 4px;
  color: #334155;
  line-height: 1.65;
}

.import-guide ol { margin: 6px 0 0; padding-left: 22px; }
.import-preview-table { margin-top: 12px; }
.import-row-errors { margin: 0; padding-left: 17px; white-space: normal; overflow-wrap: anywhere; }
.import-row-errors li + li { margin-top: 4px; }
.import-dialog .el-dialog__body { max-height: calc(100dvh - 160px); overflow-y: auto; }
.import-file-picker { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; width: 100%; min-width: 0; }
.import-file-name { min-width: 0; max-width: 100%; overflow-wrap: anywhere; line-height: 1.5; }

.detail-page-header {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}

.detail-page-header [role="heading"] {
  font-size: 18px;
  font-weight: 600;
}

.detail-page-subject {
  color: #475569;
  overflow-wrap: anywhere;
}

.detail-page-body {
  min-width: 0;
  padding: 16px;
  background: #fff;
  border: 1px solid var(--el-border-color-light);
  border-radius: 4px;
}

.page-card {
  margin-bottom: 12px;
}

.page-title-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.page-title-row h3 {
  margin: 0;
  font-size: 17px;
}

.page-desc {
  color: #909399;
  font-size: 12px;
  margin: -6px 0 10px;
}

.filter-form .el-form-item {
  /* margin-bottom: 8px;
  margin-right: 12px; */
}

.toolbar-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 4px 0 10px;
}

.pagination-row {
  display: flex;
  justify-content: flex-end;
  margin-top: 10px;
}

.mark {
  background: #ffe58f;
  padding: 0 1px;
  border-radius: 2px;
}

.link-like {
  color: #409eff;
  cursor: pointer;
  text-decoration: none;
}

.link-like:hover {
  text-decoration: underline;
}

.demo-watermark {
  position: fixed;
  right: 24px;
  bottom: 20px;
  color: rgba(0, 0, 0, .08);
  font-size: 40px;
  font-weight: 700;
  pointer-events: none;
  z-index: 1;
}

.el-table .cell .el-tag {
  margin-right: 0;
}

.num-strong {
  font-weight: 600;
}

.num-danger {
  color: #f56c6c;
  font-weight: 600;
}


/* 工作台：三大模块入口 + 大面积资源地图 */
.app-main.app-main-home {
  padding: 0;
  overflow-x: hidden;
  overflow-y: auto;
}

.workbench-home {
  height: auto;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 14px 16px 16px;
  overflow: visible;
  background: #f3f6fa;
}

.workbench-top {
  flex: none;
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 88px;
}

.workbench-heading {
  flex: 0 0 220px;
  min-width: 190px;
}

.workbench-title {
  color: #1f2d3d;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: .5px;
}

.workbench-subtitle {
  color: #8492a6;
  font-size: 12px;
  margin-top: 7px;
  line-height: 1.5;
}

.workbench-modules {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  min-width: 0;
}

.workbench-module {
  min-width: 0;
  height: 76px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 16px;
  border: 1px solid #e5ebf2;
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  transition: border-color .18s, box-shadow .18s, transform .18s;
}

.workbench-module:hover {
  border-color: #8ab9ee;
  box-shadow: 0 5px 16px rgba(35, 85, 140, .10);
  transform: translateY(-1px);
}

.module-icon {
  width: 42px;
  height: 42px;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  font-size: 21px;
}

.tone-blue .module-icon {
  color: #2878ca;
  background: #eaf4ff;
}

.tone-green .module-icon {
  color: #25966a;
  background: #e9f8f0;
}

.tone-orange .module-icon {
  color: #d8892b;
  background: #fff4e5;
}

.module-copy {
  min-width: 0;
  flex: 1;
}

.module-title {
  color: #26384b;
  font-size: 15px;
  font-weight: 650;
}

.module-desc {
  color: #9aa6b5;
  font-size: 11px;
  margin-top: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.module-arrow {
  color: #aab6c4;
  font-size: 16px;
  flex: none;
}

.workbench-map-panel {
  flex: none;
  width: 100%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #dfe7ef;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(31, 55, 80, .04);
}

.workbench-map-head {
  height: 48px;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 16px;
  border-bottom: 1px solid #edf1f5;
}

.map-head-title {
  color: #26384b;
  font-size: 15px;
  font-weight: 700;
}

.map-head-sub {
  color: #9aa6b5;
  font-size: 12px;
  margin-left: 12px;
}

.map-head-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.map-live {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #7d8b9b;
  font-size: 12px;
}

.map-live i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #37b879;
  box-shadow: 0 0 0 3px #e5f7ed;
}

.workbench-map {
  flex: none;
  width: 100%;
  position: relative;
  overflow: hidden;
  background: #e9f1f7;
}

.workbench-map-svg {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1240 / 760;
}

.workbench-station {
  cursor: pointer;
}

.workbench-station-label {
  fill: #244b68;
  font-size: 16px;
  font-weight: 600;
  paint-order: stroke;
  stroke: rgba(255, 255, 255, .88);
  stroke-width: 3px;
  stroke-linejoin: round;
}

.workbench-alert-pulse {
  transform-box: fill-box;
  transform-origin: center;
  animation: workbenchPulse 1.7s ease-out infinite;
}

@keyframes workbenchPulse {
  0% {
    opacity: .85;
    transform: scale(.65);
  }

  100% {
    opacity: 0;
    transform: scale(1.8);
  }
}

.workbench-map-legend {
  position: absolute;
  left: 16px;
  bottom: 14px;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 8px 12px;
  border: 1px solid rgba(214, 225, 235, .9);
  border-radius: 6px;
  background: rgba(255, 255, 255, .92);
  color: #65788a;
  font-size: 12px;
  box-shadow: 0 2px 8px rgba(25, 55, 85, .08);
}

.legend-point {
  width: 9px;
  height: 9px;
  display: inline-block;
  border-radius: 50%;
  margin-right: 5px;
}

.legend-point.normal {
  background: #12a9d5;
}

.legend-point.warning {
  background: #ed6262;
}

.legend-note {
  color: #a0acb8;
  padding-left: 8px;
  border-left: 1px solid #e2e8ef;
}

.workbench-map-pop {
  position: absolute;
  z-index: 5;
  width: 300px;
  padding: 12px;
  border: 1px solid #d9e5ef;
  border-radius: 7px;
  background: rgba(255, 255, 255, .97);
  box-shadow: 0 8px 24px rgba(22, 48, 75, .18);
  color: #33485d;
  pointer-events: none;
}

.map-pop-title {
  font-size: 14px;
  font-weight: 700;
  padding-bottom: 9px;
  border-bottom: 1px solid #edf1f5;
}

.map-pop-title span {
  float: right;
  color: #91a0af;
  font-size: 11px;
  font-weight: 400;
}

.map-pop-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px 6px;
  padding: 12px 0 8px;
}

.map-pop-grid div {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.map-pop-grid b {
  color: #2878ca;
  font-size: 17px;
}

.map-pop-grid b.is-warning {
  color: #e36b5d;
}

.map-pop-grid span {
  color: #8998a8;
  font-size: 11px;
}

.map-pop-foot {
  color: #a1adba;
  font-size: 10px;
  border-top: 1px solid #edf1f5;
  padding-top: 8px;
}

@media (max-width: 1100px) {
  .workbench-top {
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
  }

  .workbench-heading {
    flex-basis: auto;
  }

  .workbench-module {
    height: 68px;
    padding: 0 10px;
  }

  .module-desc {
    display: none;
  }
}

@media (max-width: 720px) {
  .workbench-home {
    overflow: visible;
  }

  .workbench-modules {
    grid-template-columns: 1fr;
  }

  .workbench-map-panel {
    min-height: 0;
  }

  .map-head-sub,
  .map-live {
    display: none;
  }
}



/* ============ P01 工作台 V2：综合指挥工作台视觉重构 ============ */
.app-main.app-main-home {
  padding: 0;
  overflow-x: hidden;
  overflow-y: auto;
  background: #f3f6fb;
}

.workbench-home.wb-redesign {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 20px 22px 26px;
  background: #f3f6fb;
  color: #1d2d40;
}

.wb-hero {
  position: relative;
  min-height: 142px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 30px;
  overflow: hidden;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(112deg, #102f54 0%, #164b78 54%, #17658b 100%);
  box-shadow: 0 8px 22px rgba(21, 61, 100, .13);
}

.wb-hero::before,
.wb-hero::after {
  content: '';
  position: absolute;
  border: 1px solid rgba(174, 218, 255, .13);
  border-radius: 50%;
  pointer-events: none;
}

.wb-hero::before {
  width: 360px;
  height: 360px;
  right: 7%;
  top: -220px;
}

.wb-hero::after {
  width: 260px;
  height: 260px;
  right: 14%;
  top: -150px;
}

.wb-hero-copy,
.wb-hero-actions {
  position: relative;
  z-index: 1;
}

.wb-eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #9bc5e7;
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 1.7px;
}

.wb-eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #6de0bd;
  box-shadow: 0 0 0 4px rgba(109, 224, 189, .13);
}

.wb-hero h2 {
  margin: 10px 0 7px;
  color: #fff;
  font-size: 25px;
  font-weight: 700;
  letter-spacing: 1px;
}

.wb-hero p {
  margin: 0;
  color: #c1d9eb;
  font-size: 12px;
  letter-spacing: .2px;
}

.wb-hero-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  padding-right: 96px;
}

.wb-data-time {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: right;
}

.wb-data-time span {
  color: #9bc5e7;
  font-size: 11px;
}

.wb-data-time b {
  color: #eaf6ff;
  font-size: 13px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.wb-refresh {
  height: 34px;
  border-color: rgba(255, 255, 255, .35) !important;
  background: rgba(255, 255, 255, .1) !important;
  color: #fff !important;
}

.wb-refresh:hover {
  background: rgba(255, 255, 255, .2) !important;
  border-color: rgba(255, 255, 255, .65) !important;
}

.wb-hero-mark {
  position: absolute;
  right: 30px;
  top: 25px;
  width: 64px;
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(193, 225, 248, .25);
  border-radius: 8px;
  color: rgba(222, 242, 255, .3);
  font-size: 16px;
  line-height: 1.7;
  font-weight: 700;
  text-align: center;
  letter-spacing: 3px;
  transform: rotate(8deg);
}

.wb-error {
  margin: 0;
}

.wb-module-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.wb-module-card {
  position: relative;
  min-width: 0;
  padding: 16px 18px 17px;
  overflow: hidden;
  border: 1px solid #e4eaf2;
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  box-shadow: 0 2px 7px rgba(31, 57, 86, .035);
  transition: transform .18s, border-color .18s, box-shadow .18s;
}

.wb-module-card:hover {
  transform: translateY(-2px);
  border-color: #c6d8eb;
  box-shadow: 0 9px 22px rgba(31, 67, 105, .09);
}

.wb-module-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #7d8da0;
  font-size: 11px;
}

.wb-module-top small {
  color: #b0bdca;
  font-size: 10px;
  letter-spacing: 1px;
}

.wb-module-main {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: 13px;
}

.wb-module-icon {
  width: 48px;
  height: 48px;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  font-size: 23px;
}

.wb-module-copy {
  min-width: 0;
  flex: 1;
}

.wb-module-copy h3 {
  margin: 0;
  color: #24374c;
  font-size: 16px;
  font-weight: 700;
}

.wb-module-copy p {
  margin: 6px 0 0;
  color: #8c9aaa;
  font-size: 11px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.wb-module-go {
  width: 27px;
  height: 27px;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #9aabba;
  background: #f5f7fa;
  transition: all .18s;
}

.wb-module-card:hover .wb-module-go {
  color: #fff;
  background: #2878bd;
}

.wb-module-line {
  position: absolute;
  left: 18px;
  bottom: 0;
  width: 46px;
  height: 3px;
  border-radius: 3px 3px 0 0;
}

.wb-tone-blue .wb-module-icon {
  color: #2878bd;
  background: #eaf3fc;
}

.wb-tone-blue .wb-module-line {
  background: #3989c8;
}

.wb-tone-green .wb-module-icon {
  color: #26936e;
  background: #e8f6f0;
}

.wb-tone-green .wb-module-line {
  background: #35a77f;
}

.wb-tone-orange .wb-module-icon {
  color: #cf8732;
  background: #fff3e4;
}

.wb-tone-orange .wb-module-line {
  background: #dc9a48;
}

.wb-tone-purple .wb-module-icon {
  color: #8056c9;
  background: #f1eafe;
}

.wb-tone-purple .wb-module-line {
  background: #9b76df;
}

.wb-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.wb-kpi-card {
  min-width: 0;
  min-height: 86px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 16px;
  border: 1px solid #e7edf4;
  border-radius: 9px;
  background: #fff;
}

.wb-kpi-icon {
  width: 39px;
  height: 39px;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  font-size: 18px;
}

.wb-kpi-blue {
  color: #287fc0;
  background: #eaf4fc;
}

.wb-kpi-slate {
  color: #71869c;
  background: #eef2f6;
}

.wb-kpi-orange {
  color: #d38a36;
  background: #fff4e6;
}

.wb-kpi-green {
  color: #26966f;
  background: #eaf7f1;
}

.wb-kpi-card>div:nth-child(2) {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.wb-kpi-card span {
  color: #8291a1;
  font-size: 11px;
}

.wb-kpi-card b {
  color: #24384d;
  font-size: 23px;
  line-height: 1.1;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.wb-kpi-card small {
  align-self: flex-end;
  margin-left: auto;
  padding-bottom: 3px;
  color: #a5b0bc;
  font-size: 10px;
  white-space: nowrap;
}

.wb-map-panel,
.wb-panel {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #e4eaf1;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(31, 57, 86, .035);
}

.wb-section-head {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 15px 19px;
  border-bottom: 1px solid #edf1f5;
}

.wb-section-kicker {
  margin-bottom: 5px;
  color: #91a2b4;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.5px;
}

.wb-section-head h3 {
  margin: 0;
  color: #263a50;
  font-size: 16px;
  font-weight: 700;
}

.wb-section-head p {
  margin: 5px 0 0;
  color: #9aa7b5;
  font-size: 11px;
}

.wb-map-head-right {
  display: flex;
  align-items: center;
  gap: 15px;
}

.wb-map-count {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #7e8e9f;
  font-size: 11px;
  white-space: nowrap;
}

.wb-map-count i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #24a77b;
  box-shadow: 0 0 0 3px #e7f6ef;
}

.wb-map-canvas {
  border-radius: 0;
  border: 0;
  background: #e8f0f6;
}

.wb-map-canvas .workbench-map-svg {
  width: 100%;
  height: auto;
  aspect-ratio: 1240 / 760;
}

.wb-map-canvas .workbench-map-legend {
  left: 18px;
  bottom: 16px;
  border-radius: 7px;
}

.wb-map-canvas .workbench-map-pop {
  border-radius: 8px;
}

.wb-unlocated-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 19px 9px;
}

.wb-unlocated-head>div {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.wb-unlocated-head b {
  color: #34495e;
  font-size: 13px;
}

.wb-unlocated-head span {
  color: #a0acb8;
  font-size: 11px;
}

.wb-unlocated-head>span {
  color: #8b9aaa;
}

.wb-table {
  margin: 0 14px 14px;
  width: calc(100% - 28px) !important;
  --el-table-border-color: #edf1f5;
  --el-table-header-bg-color: #f7f9fb;
  --el-table-row-hover-bg-color: #f6faff;
}

.wb-table th.el-table__cell {
  color: #74869a;
  font-size: 11px;
  font-weight: 600;
}

.wb-table td.el-table__cell {
  color: #526579;
  font-size: 11px;
}

.wb-bottom-grid {
  display: grid;
  grid-template-columns: minmax(260px, .82fr) minmax(0, 1.5fr);
  gap: 16px;
}

.wb-section-head-compact {
  min-height: 67px;
  padding: 12px 17px;
}

.wb-section-head-compact h3 {
  font-size: 14px;
}

.wb-resource-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  padding: 4px 16px 12px;
}

.wb-resource-item {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 3px;
  border-bottom: 1px solid #f0f3f6;
}

.wb-resource-item span {
  color: #7f8f9f;
  font-size: 12px;
}

.wb-resource-item b {
  color: #2d4359;
  font-size: 17px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.wb-alert-table {
  margin-top: 2px;
}

.wb-report-strip {
  display: flex;
  align-items: stretch;
  gap: 0;
  padding: 12px 17px;
  border: 1px solid #e6ecf3;
  border-radius: 9px;
  background: #fff;
}

.wb-report-title {
  min-width: 135px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid #edf1f5;
}

.wb-report-title b {
  color: #40566b;
  font-size: 12px;
}

.wb-report-item {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 0 18px;
  border-right: 1px solid #f0f3f6;
}

.wb-report-item:last-child {
  border-right: 0;
}

.wb-report-item span {
  color: #98a5b2;
  font-size: 10px;
}

.wb-report-item b {
  color: #3b536a;
  font-size: 14px;
}

@media (max-width: 1100px) {
  .wb-module-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .workbench-home.wb-redesign {
    padding: 16px;
  }

  .wb-hero-actions {
    padding-right: 74px;
  }

  .wb-kpi-card {
    padding: 12px;
    gap: 9px;
  }

  .wb-kpi-card small {
    display: none;
  }

  .wb-bottom-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .workbench-home.wb-redesign {
    gap: 12px;
    padding: 12px;
  }

  .wb-hero {
    min-height: 0;
    align-items: flex-start;
    flex-direction: column;
    padding: 20px;
  }

  .wb-hero h2 {
    font-size: 21px;
  }

  .wb-hero p {
    max-width: 90%;
    line-height: 1.6;
  }

  .wb-hero-actions {
    width: 100%;
    justify-content: space-between;
    padding-right: 0;
  }

  .wb-data-time {
    text-align: left;
  }

  .wb-hero-mark {
    right: 18px;
    top: 18px;
    width: 48px;
    height: 64px;
    font-size: 12px;
  }

  .wb-module-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .wb-module-card {
    padding: 13px 15px 14px;
  }

  .wb-module-main {
    margin-top: 9px;
  }

  .wb-kpi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .wb-kpi-card {
    min-height: 76px;
    padding: 10px;
  }

  .wb-kpi-icon {
    width: 33px;
    height: 33px;
    font-size: 16px;
  }

  .wb-kpi-card b {
    font-size: 20px;
  }

  .wb-section-head {
    align-items: flex-start;
    flex-direction: column;
    padding: 13px 14px;
  }

  .wb-map-head-right {
    width: 100%;
    justify-content: space-between;
  }

  .wb-map-canvas .workbench-map-legend {
    left: 8px;
    bottom: 8px;
    padding: 6px 8px;
    font-size: 10px;
  }

  .wb-unlocated-head {
    align-items: flex-start;
    flex-direction: column;
    padding: 12px 14px 8px;
  }

  .wb-unlocated-head>div {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .wb-resource-grid {
    grid-template-columns: 1fr 1fr;
    padding: 3px 12px 10px;
  }

  .wb-report-strip {
    flex-wrap: wrap;
    gap: 10px 0;
  }

  .wb-report-title {
    width: 100%;
    min-height: 36px;
    border-right: 0;
    border-bottom: 1px solid #edf1f5;
  }

  .wb-report-item {
    width: 50%;
    min-height: 48px;
    padding: 5px 10px;
  }
}

/* ============ 应用内登录页 ============ */
.login-wrap {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(ellipse at 30% 20%, #0a2f66 0%, #051737 55%, #030b1e 100%);
  overflow: auto;
  position: relative;
}

.login-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(80, 160, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(80, 160, 255, .05) 1px, transparent 1px);
  background-size: 36px 36px;
}

.login-card {
  box-sizing: border-box;
  width: min(400px, 100%);
  margin: auto;
  background: rgba(10, 30, 64, .72);
  border: 1px solid rgba(80, 170, 255, .28);
  border-radius: 12px;
  padding: 40px 38px 26px;
  backdrop-filter: blur(6px);
  box-shadow: 0 12px 48px rgba(0, 0, 0, .45);
  position: relative;
  z-index: 1;
}

.login-card .logo {
  text-align: center;
  font-size: 38px;
}

.login-card .sys-name {
  text-align: center;
  color: #eaf4ff;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 1px;
  text-shadow: 0 0 14px rgba(90, 190, 255, .7);
  margin-top: 6px;
}

.login-card .sys-sub {
  text-align: center;
  color: #6ea8d8;
  font-size: 12px;
  margin: 6px 0 26px;
  letter-spacing: 2px;
}

.login-card .el-form-item {
  margin-bottom: 18px;
}

.login-card .el-form-item__label, .login-card .el-form p {
  color: #c5dcf5;
}

.login-card .login-err {
  margin-top: 14px;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 13px;
  background: rgba(255, 45, 45, .12);
  border: 1px solid rgba(255, 80, 80, .45);
  color: #ff9d9d;
}

.login-card .login-foot {
  margin-top: 18px;
  text-align: center;
  color: #31517a;
  font-size: 12px;
  letter-spacing: 1px;
}

.filter-card {
  margin-bottom: 12px;
}

.pager {
  display: flex;
  justify-content: flex-end;
  margin-top: 10px;
}

.num-warning {
  color: #e6a23c;
  font-weight: 600;
}

/* 表单分区 */
.form-section {
  margin: 6px 0 12px;
}

.form-section .el-divider__text {
  font-size: 13px;
  color: #303133;
  font-weight: 600;
}

/* ============ 大屏深色主题（15.1 节） ============ */
.screen-wrap {
  height: 100vh;
  background: radial-gradient(ellipse at center, #0a1f44 0%, #051129 70%, #030b1e 100%);
  color: #d7e7ff;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 10px 14px;
  font-size: 14px;
}

.screen-header {
  display: flex;
  align-items: center;
  height: 62px;
  position: relative;
  flex: none;
}

.screen-header .title-box {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
}

.screen-header .title-box .t1 {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 3px;
  background: linear-gradient(180deg, #ffffff, #7db9ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.screen-header .title-box .t2 {
  font-size: 12px;
  color: #6ea8d8;
  letter-spacing: 6px;
  margin-top: 2px;
}

.screen-header .side {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 420px;
}

.screen-header .side.right {
  margin-left: auto;
  justify-content: flex-end;
}

.screen-header .clock {
  font-family: 'DIN Alternate', Consolas, monospace;
  font-size: 15px;
  color: #9fd0ff;
}

.screen-module-strip {
  flex: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 2px 0 10px;
}

.screen-module-card {
  min-width: 0;
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border: 1px solid rgba(64, 158, 255, .32);
  border-radius: 6px;
  background: linear-gradient(135deg, rgba(20, 66, 125, .78), rgba(8, 31, 69, .72));
  cursor: pointer;
  transition: border-color .18s, transform .18s, box-shadow .18s;
}

.screen-module-card:hover {
  border-color: rgba(125, 185, 255, .85);
  transform: translateY(-1px);
  box-shadow: 0 5px 18px rgba(0, 0, 0, .22);
}

.screen-module-icon {
  width: 42px;
  height: 42px;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-size: 22px;
  background: rgba(64, 169, 255, .16);
  color: #72c5ff;
}

.screen-tone-green .screen-module-icon {
  color: #69f0ae;
  background: rgba(105, 240, 174, .13);
}

.screen-tone-orange .screen-module-icon {
  color: #ffce7a;
  background: rgba(255, 183, 77, .14);
}

.screen-tone-purple .screen-module-icon {
  color: #c5a5ff;
  background: rgba(160, 112, 255, .16);
}

.screen-module-main {
  min-width: 0;
  flex: 1;
}

.screen-module-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}

.screen-module-name {
  color: #e5f2ff;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.screen-module-action {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  color: #79baff;
  font-size: 11px;
  white-space: nowrap;
}

.screen-module-kpis {
  display: flex;
  align-items: center;
  gap: clamp(10px, 2vw, 28px);
  min-width: 0;
}

.screen-module-kpis>div {
  display: flex;
  align-items: baseline;
  gap: 5px;
  min-width: 0;
}

.screen-module-kpis b {
  color: #fff;
  font-family: 'DIN Alternate', Consolas, monospace;
  font-size: 18px;
  font-weight: 700;
}

.screen-module-kpis span {
  color: #8fb8e8;
  font-size: 11px;
  white-space: nowrap;
}

.screen-module-total {
  padding-right: clamp(8px, 1.4vw, 18px);
  border-right: 1px solid rgba(125, 185, 255, .22);
}

.screen-module-total b {
  color: #7ed6ff;
  font-size: 22px;
}

.screen-filter {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 40px;
  flex: none;
  padding: 0 6px;
  background: rgba(38, 90, 160, .18);
  border: 1px solid rgba(64, 158, 255, .25);
  border-radius: 4px;
}

.screen-filter .lbl {
  color: #7db9ff;
  font-size: 13px;
}

.stat-strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  margin: 10px 0;
  flex: none;
}

.stat-item {
  background: linear-gradient(180deg, rgba(30, 80, 150, .35), rgba(10, 40, 90, .25));
  border: 1px solid rgba(64, 158, 255, .35);
  border-radius: 4px;
  padding: 10px 14px;
  position: relative;
  overflow: hidden;
}

.stat-item::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 3px;
  height: 100%;
  background: #40a9ff;
  box-shadow: 0 0 8px #40a9ff;
}

.stat-item .s-label {
  font-size: 13px;
  color: #8fb8e8;
}

.stat-item .s-value {
  font-size: 26px;
  font-weight: 700;
  color: #fff;
  font-family: 'DIN Alternate', Consolas, monospace;
}

.stat-item .s-unit {
  font-size: 12px;
  color: #7db9ff;
  margin-left: 4px;
}

.stat-item .s-sub {
  font-size: 12px;
  color: #6ea8d8;
  margin-top: 2px;
}

.screen-body {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(220px, 18%) minmax(0, 1fr) minmax(220px, 18%);
  gap: 12px;
  min-height: 0;
}

.screen-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 0;
}

.panel {
  background: rgba(13, 42, 88, .45);
  border: 1px solid rgba(64, 158, 255, .28);
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.panel .p-title {
  flex: none;
  padding: 8px 12px;
  font-size: 14px;
  font-weight: 600;
  color: #cfe6ff;
  display: flex;
  align-items: center;
  gap: 8px;
}

.panel .p-title::before {
  content: '';
  width: 4px;
  height: 14px;
  background: #40a9ff;
  box-shadow: 0 0 6px #40a9ff;
}

.panel .p-body {
  flex: 1;
  padding: 6px 10px 10px;
  min-height: 0;
  overflow: auto;
}

.screen-chart-body {
  position: relative;
}

.screen-chart {
  width: 100%;
  height: 100%;
}

.screen-chart-empty {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6e91b8;
  font-size: 12px;
  pointer-events: none;
}

.map-box {
  position: relative;
  flex: 1;
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  border-color: rgba(64, 169, 255, .48);
  box-shadow: 0 0 22px rgba(20, 100, 190, .12);
}

.map-svg {
  flex: 1;
  width: 100%;
  min-width: 0;
  min-height: 0;
}

.amap-canvas {
  position: relative;
  flex: 1;
  width: 100%;
  min-width: 0;
  min-height: 360px;
  overflow: hidden;
  background: #f4f7fb;
  color-scheme: light;
  isolation: isolate;
}

/* 只设置高德地图自身容器尺寸，不能命中 Vue 的无资源提示层 */
.amap-canvas>.amap-container {
  width: 100%;
  height: 100%;
}

.amap-load-error {
  position: absolute;
  inset: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  color: #a6c9ee;
  background: rgba(5, 17, 41, .88);
  text-align: center;
}

.amap-resource-marker {
  display: flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  color: #eaf6ff;
  font-size: 12px;
  font-weight: 700;
  text-shadow: 0 1px 3px #062044, 0 0 5px #062044;
}

.amap-resource-marker i {
  display: block;
  width: 11px;
  height: 11px;
  border: 2px solid #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(19, 184, 223, .24), 0 0 10px rgba(0, 0, 0, .5);
}

.amap-resource-marker.is-alert i {
  box-shadow: 0 0 0 4px rgba(245, 108, 108, .28), 0 0 12px rgba(245, 108, 108, .8);
}

.amap-gate-marker {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #fff;
  border-radius: 4px;
  color: #442900;
  background: #ffce7a;
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 1px 6px rgba(0, 0, 0, .5);
}

.amap-info-card {
  min-width: 220px;
  color: #26384b;
  font-size: 12px;
}

.amap-info-card>b {
  color: #1768a8;
  font-size: 15px;
}

.amap-info-card p {
  margin: 7px 0;
  color: #687d90;
}

.amap-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px 12px;
  padding: 7px 0;
}

.amap-info-grid strong {
  margin-left: 4px;
  color: #1768a8;
}

.amap-info-grid strong.warn {
  color: #e45d5d;
}

.amap-info-card small {
  color: #9aa8b5;
}

.map-legend {
  flex: none;
  display: flex;
  gap: 16px;
  padding: 6px 12px;
  font-size: 12px;
  color: #8fb8e8;
}

.legend-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-right: 4px;
  vertical-align: middle;
}

.station-dot {
  cursor: pointer;
}

.station-label {
  font-size: 13px;
  fill: #cfe6ff;
}

.alert-ring {
  animation: ringPulse 1.6s ease-out infinite;
  transform-origin: center;
  transform-box: fill-box;
}

@keyframes ringPulse {
  0% {
    opacity: .9;
    transform: scale(1);
  }

  100% {
    opacity: 0;
    transform: scale(2.1);
  }
}

/* 站点悬浮卡（15.4 节） */
.hover-card {
  position: absolute;
  width: 400px;
  background: rgba(6, 25, 56, .96);
  border: 1px solid rgba(64, 158, 255, .5);
  border-radius: 6px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, .5);
  z-index: 30;
  font-size: 13px;
  color: #d7e7ff;
}

.hover-card .hc-head {
  padding: 10px 12px;
  border-bottom: 1px solid rgba(64, 158, 255, .25);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.hover-card .hc-head .name {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
}

.hover-card .hc-head .pos-tag {
  font-size: 12px;
  color: #7db9ff;
}

.hover-card .hc-meta {
  padding: 6px 12px;
  display: flex;
  gap: 18px;
  color: #8fb8e8;
  border-bottom: 1px dashed rgba(64, 158, 255, .2);
}

.hover-card .hc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 14px;
  padding: 8px 12px;
}

.hover-card .hc-grid .k {
  color: #8fb8e8;
}

.hover-card .hc-grid .v {
  color: #fff;
  font-family: Consolas, monospace;
}

.hover-card .hc-sec {
  padding: 6px 12px 0;
  color: #7db9ff;
  font-size: 12px;
}

.hover-card table {
  width: 100%;
  margin: 4px 12px 8px;
  width: calc(100% - 24px);
  border-collapse: collapse;
  font-size: 12px;
}

.hover-card th {
  color: #6ea8d8;
  text-align: left;
  font-weight: 400;
  padding: 3px 4px;
  border-bottom: 1px solid rgba(64, 158, 255, .2);
}

.hover-card td {
  color: #d7e7ff;
  padding: 3px 4px;
  border-bottom: 1px dashed rgba(64, 158, 255, .12);
}

.hover-card .hc-foot {
  padding: 6px 12px 10px;
  color: #6ea8d8;
  font-size: 12px;
  display: flex;
  justify-content: space-between;
}

.more-link {
  color: #40a9ff;
  cursor: pointer;
}

.screen-bottom {
  flex: none;
  display: grid;
  grid-template-columns: 1fr 23%;
  gap: 12px;
  height: 112px;
  margin-top: 10px;
}

@media (max-width: 1100px) {
  .screen-wrap {
    min-height: 100vh;
    height: auto;
    overflow: auto;
  }

  .screen-header .side {
    width: 32%;
  }

  .screen-module-strip {
    grid-template-columns: 1fr;
  }

  .screen-body {
    grid-template-columns: minmax(180px, 24%) minmax(0, 1fr) minmax(180px, 24%);
    min-height: 520px;
  }

  .screen-bottom {
    height: 130px;
  }
}

@media (max-width: 760px) {
  .screen-header {
    height: auto;
    min-height: 62px;
    flex-wrap: wrap;
    gap: 8px;
  }

  .screen-header .title-box {
    position: static;
    order: -1;
    width: 100%;
    transform: none;
  }

  .screen-header .side {
    width: auto;
  }

  .screen-header .side.right {
    margin-left: auto;
  }

  .screen-filter {
    height: auto;
    min-height: 40px;
    flex-wrap: wrap;
    padding: 8px;
  }

  .stat-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .screen-body {
    display: flex;
    flex-direction: column;
    min-height: 0;
  }

  .screen-col {
    min-height: 260px;
  }

  .map-box {
    min-height: 520px;
  }

  .screen-bottom {
    height: auto;
    grid-template-columns: 1fr;
  }

  .screen-bottom>.panel {
    min-height: 150px;
  }

  .screen-module-kpis {
    gap: 12px;
    flex-wrap: wrap;
  }
}

.dark-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}

.dark-table th {
  color: #6ea8d8;
  font-weight: 400;
  padding: 4px 6px;
  border-bottom: 1px solid rgba(64, 158, 255, .25);
  text-align: left;
  white-space: nowrap;
}

.dark-table td {
  color: #d7e7ff;
  padding: 5px 6px;
  border-bottom: 1px dashed rgba(64, 158, 255, .12);
  white-space: nowrap;
}

.dark-table .num {
  font-family: Consolas, monospace;
  color: #fff;
}

.mini-kpi {
  display: flex;
  justify-content: space-around;
  padding: 6px 0 10px;
}

.mini-kpi .m {
  text-align: center;
}

.mini-kpi .m .v {
  font-size: 22px;
  font-weight: 700;
  font-family: Consolas, monospace;
}

.mini-kpi .m .k {
  font-size: 12px;
  color: #8fb8e8;
}

.mini-kpi .m.warn .v {
  color: #ffb74d;
}

.mini-kpi .m.bad .v {
  color: #ff6d6d;
}

.mini-kpi .m.good .v {
  color: #69f0ae;
}

.el-message-box,
.el-dialog,
.el-drawer {
  --el-color-primary: #409eff;
}

.screen-wrap .el-select__wrapper {
  background: rgba(13, 42, 88, .6);
  box-shadow: 0 0 0 1px rgba(64, 158, 255, .4) inset;
  color: #d7e7ff;
}

.screen-wrap .el-select__placeholder {
  color: #8fb8e8;
}

/* 大屏暂未开放模块提示 */
.screen-notice-mask {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(1, 10, 28, .72);
  backdrop-filter: blur(5px);
}

.screen-notice-card {
  position: relative;
  width: min(390px, 100%);
  padding: 34px 30px 26px;
  overflow: hidden;
  text-align: center;
  color: #d9edff;
  background: linear-gradient(145deg, rgba(9, 35, 76, .98), rgba(4, 19, 48, .98));
  border: 1px solid rgba(64, 169, 255, .48);
  border-radius: 14px;
  box-shadow: 0 18px 60px rgba(0, 0, 0, .48), 0 0 28px rgba(31, 133, 220, .16);
}

.screen-notice-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 18%;
  width: 64%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #40d4ff, transparent);
}

.screen-notice-close {
  position: absolute;
  top: 10px;
  right: 13px;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: #80a9d0;
  background: transparent;
  font-size: 23px;
  line-height: 26px;
  cursor: pointer;
}

.screen-notice-close:hover {
  color: #fff;
  background: rgba(110, 168, 216, .14);
}

.screen-notice-icon {
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  border: 1px solid rgba(64, 212, 255, .55);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(64, 169, 255, .2), rgba(64, 169, 255, .04));
  box-shadow: 0 0 24px rgba(64, 169, 255, .16);
}

.screen-notice-icon span {
  width: 23px;
  height: 23px;
  border-radius: 50%;
  color: #06254a;
  background: #65d8ff;
  font: 700 16px/23px Arial, sans-serif;
}

.screen-notice-title {
  color: #f0f8ff;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 2px;
}

.screen-notice-desc {
  margin-top: 12px;
  color: #9fc5e9;
  font-size: 14px;
  letter-spacing: .3px;
}

.screen-notice-line {
  height: 1px;
  margin: 24px 0 18px;
  background: linear-gradient(90deg, transparent, rgba(64, 169, 255, .38), transparent);
}

.screen-notice-button {
  min-width: 126px;
  height: 36px;
  padding: 0 22px;
  border: 1px solid rgba(64, 212, 255, .65);
  border-radius: 18px;
  color: #eaf8ff;
  background: linear-gradient(90deg, rgba(23, 111, 184, .8), rgba(23, 153, 190, .8));
  font-size: 13px;
  letter-spacing: 1px;
  cursor: pointer;
  transition: .2s ease;
}

.screen-notice-button:hover {
  box-shadow: 0 0 18px rgba(64, 212, 255, .28);
  filter: brightness(1.12);
}

.screen-notice-fade-enter-active,
.screen-notice-fade-leave-active {
  transition: opacity .2s ease;
}

.screen-notice-fade-enter-active .screen-notice-card,
.screen-notice-fade-leave-active .screen-notice-card {
  transition: transform .2s ease;
}

.screen-notice-fade-enter-from,
.screen-notice-fade-leave-to {
  opacity: 0;
}

.screen-notice-fade-enter-from .screen-notice-card,
.screen-notice-fade-leave-to .screen-notice-card {
  transform: translateY(10px) scale(.97);
}




/* ---- 手机装备详情（8.6 节：375~430px 单列卡片） ---- */
.mobile-bg {
  min-height: 100vh;
  background: #e9edf3;
  padding: 12px 0 30px;
}

.mobile-wrap {
  max-width: 430px;
  margin: 0 auto;
  padding: 0 12px;
}

.mobile-banner {
  background: #fff7e6;
  color: #ad6800;
  border: 1px solid #ffe58f;
  border-radius: 6px;
  padding: 6px 10px;
  font-size: 12px;
  text-align: center;
  margin-bottom: 10px;
}

.m-card {
  background: #fff;
  border-radius: 10px;
  padding: 14px;
  margin-bottom: 10px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .05);
}

.m-sec-title {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
  color: #303133;
}

.m-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  padding: 6px 0;
  border-bottom: 1px dashed #f0f0f0;
}

.m-row:last-child {
  border-bottom: none;
}

.m-k {
  color: #909399;
  flex: none;
  margin-right: 12px;
}

.m-v {
  color: #303133;
  text-align: right;
  word-break: break-all;
}

.m-alert {
  background: #fff2f0;
  border: 1px solid #ffccc7;
  color: #cf1322;
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 13px;
  margin-bottom: 10px;
}

.m-doc {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid #f5f5f5;
  cursor: pointer;
}

.m-video {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  cursor: pointer;
}

.m-cover {
  width: 86px;
  height: 52px;
  background: linear-gradient(135deg, #1c2b3a, #2f4b68);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}


/* 护网门三页独立菜单：隐藏内容区页签头（由左侧菜单切换） */
.gates-standalone .el-tabs__header {
  display: none;
}


.card-pb-0 .el-card__body {
  padding-bottom: 0;
}

/* 应急预案智能问询嵌入页：隔离子应用样式，不影响现有台账页面。 */
.assistant-page{width:100%;height:calc(100vh - 150px);min-height:680px;overflow:hidden;border:1px solid var(--el-border-color-lighter,#263747);border-radius:12px;background:#0b0f14}
.assistant-page iframe{display:block;width:100%;height:100%;border:0;background:#0b0f14}
