body{
    line-height: 1.15;
    font-size: 0.5rem;
    margin: 0;
    padding: 0;
    background-repeat: no-repeat;
    background-position: 0 0 / cover;
    background-color: #101129;
}
*{
    margin: 0;
    padding: 0;
    font-weight: normal;
}
ul{
    list-style: none;
}
a{
    text-decoration: none;
}
.viewport {
    /* 限定大小 */
    min-width: 1024px;
    max-width: 1920px;
    min-height: 780px;
    margin: 0 auto;
    background: url(../images/logo.png) no-repeat 0 0 / contain;
    display: flex;
    padding: 3.667rem 0.833rem 0;
}
.column{
    flex: 3;
    position: relative;
}
.column:nth-child(2){
    flex: 4;
    margin: 1.333rem 0.833rem 0;
}
.panel {
    /* 边框 */
    box-sizing: border-box;
    border: 2px solid red;
    border-image: url(../images/border.png) 51 38 21 132;
    border-width: 2.125rem 1.583rem 0.875rem 5.5rem;
    position: relative;
    margin-bottom: 0.833rem;
}
.panel .inner {
    /* 装内容 */
    /* height: 60px; */
    position: absolute;
    top: -2.125rem;
    right: -1.583rem;
    bottom: -0.875rem;
    left: -5.5rem;
    padding: 1rem 1.5rem;
}
.panel h3{
    font-size: 0.833rem;
    color: #fff;
}
/* 概览区域 */
.overview{
    height: 4.583rem;
  }
  .overview .inner{
    display: flex;
    justify-content: space-between;
  }
  .overview h4{
    font-size: 1.167rem;
    padding-left: 0.2rem;
    color: #fff;
    margin-bottom: 0.333rem
  }
  .overview span{
    font-size: 0.667rem;
    color: #4c9bfd;
}
/* 监控 */
.monitor{
	height: 20rem;
  }
  .monitor .inner{
	padding: 1rem 0;
	display: flex;
	flex-direction: column;
  }
  .monitor .tabs{
	padding: 0 1.5rem;
	margin-bottom: 0.75rem;
  }
  .monitor .tabs a{
	color: #1950c4;
	font-size: 0.75rem;
	padding: 0 1.125rem;
  }
  
  .monitor .tabs a:first-child{
	border-right: 0.083rem solid #00f2f1;
	padding-left: 0;
  }
  
  .monitor .tabs a.active{
	color: #fff;
  }
  .monitor .content{
	flex: 1;
	display: none;
	position: relative;
  }
  .monitor .head{
	background: rgba(255, 255, 255, 0.1);
	font-size: 0.583rem;
	padding: 0.5rem 1.5rem;
	color: #68d8fe;
	display: flex;
	justify-content: space-between;
	line-height: 1.05;
  }
  .monitor .col:nth-child(1) {
	width: 3.2rem;
  }
  .monitor .col:nth-child(2) {
	width: 8.4rem;
	/* 不换行  一行省略*/
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
  }
  .monitor .col:nth-child(3) {
	width: 3.2rem;
  }
  .monitor .marquee-view{
  position: absolute;
  top: 1.6rem;
  bottom: 0; 
  width: 100%; 
  overflow: hidden;
}

.monitor .row{
  line-height: 1.05;
  padding: 0.5rem 1.5rem;
  color: #61a8ff;
  font-size: 0.5rem;
  position: relative;
  display: flex;
  justify-content: space-between;
}
.monitor .row:hover{
  color:#68d8ff;
  background: rgba(255, 255, 255, 0.1);
}
.monitor .row:hover .icon-dot{
  opacity: 1;
}

.monitor .icon-dot{
  position: absolute;
  left: 0.64rem;
  opacity: 0;
}
.monitor .marquee-view{
	position: absolute;
	top: 1.6rem;
	bottom: 0; 
	width: 100%; 
	overflow: hidden;
  }
  
  .monitor .row{
	line-height: 1.05;
	padding: 0.5rem 1.5rem;
	color: #61a8ff;
	font-size: 0.5rem;
	position: relative; 
	display: flex;
	justify-content: space-between;
  }
  .monitor .row:hover{
	color:#68d8ff;
	background: rgba(255, 255, 255, 0.1);
  }
  .monitor .row:hover .icon-dot{
	opacity: 1;
  }
  
  .monitor .icon-dot{
	position: absolute;
	left: 0.64rem;
	opacity: 0;
}
/* ------------------------------------------------------------动画 */
@keyframes row{
  0%{}
  100%{
    transform: translateY(-50%);
  }
}
/* 调用动画 */
.monitor .marquee {
  /* //infinite永久调用动画 */
  animation: row  10s linear infinite;
}
/*鼠标划入 停止动画  */
.monitor .marquee:hover {
  animation-play-state: paused;
}
/* 行数少时关闭滚动动画：静态展示，避免同一条记录反复滚动造成"重复显示"错觉 */
.monitor .marquee.no-anim {
  animation: none;
}
/* 点位 */
.point {
  height: 14.167rem;
}
.point .chart {
  display: flex;
  margin-top: 1rem;
  justify-content: space-between;
}
.point .pie {
  width: 13rem;
  height: 10rem;
  margin-left: -0.4rem;
}
.point .data {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 7rem;
  padding: 1.5rem 1.25rem;
  box-sizing: border-box;
  background-image: url(../images/rect.png);
  background-size: cover;
}
.point h4 {
  margin-bottom: 0.5rem;
  font-size: 1.167rem;
  color: #fff;
}
.point span {
  display: block;
  color: #4c9bfd;
  font-size: 0.667rem;
}
/* 地图  */
.map {
  height: 24.1rem;
  margin-bottom: 0.833rem;
  display: flex;
  flex-direction: column;
}
.map h3 {
  line-height: 1;
  padding: 0.667rem 0;
  margin: 0;
  font-size: 0.833rem;
  color: #fff;
}
.map .icon-cube {
  color: #68d8fe;
}
.map .chart {
  flex: 1;
  background-color: rgba(255, 255, 255, 0.05);
}
.map .geo {
  width: 100%;
  height: 100%;
}
/* 用户模块 */
.users {
  height: 14.167rem;
  display: flex;
}
.users .chart {
  display: flex;
  margin-top: 1rem;
}
.users .bar {
  width: 24.5rem;
  height: 10rem;
}
.users .data {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 7rem;
  padding: 1.5rem 1.25rem;
  box-sizing: border-box;
  background-image: url(../images/rect.png);
  background-size: cover;
}
.users h4 {
  margin-bottom: 0.5rem;
  font-size: 1.167rem;
  color: #fff;
}
.users span {
  display: block;
  color: #4c9bfd;
  font-size: 0.667rem;
}
.users span em {
  font-style: normal;
}
/* 出勤工时统计 7/30 天切换 */
.bar-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.bar-switch {
  display: flex;
  gap: 6px;
}
.bar-switch a {
  display: block;
  padding: 2px 12px;
  font-size: 0.583rem;
  color: #9fb3cc;
  background: rgba(8, 20, 52, .9);
  border: 1px solid rgba(30, 210, 255, .35);
  border-radius: 15px;
  cursor: pointer;
}
.bar-switch a.on {
  color: #fff;
  background: #1a4f9e;
  border-color: #1ed2ff;
}
/* 订单 */
.order {
  height: 6.167rem;
}
.order .filter {
  display: flex;
}
.order .filter a {
  display: block;
  height: 0.75rem;
  line-height: 1;
  padding: 0 0.75rem;
  color: #1950c4;
  font-size: 0.75rem;
  border-right: 0.083rem solid #00f2f1;
}
.order .filter a:first-child {
  padding-left: 0;
}
.order .filter a:last-child {
  border-right: none;
}
.order .filter a.active {
  color: #fff;
  font-size: 0.833rem;
}
.order .data {
  display: flex;
  margin-top: 0.833rem;
}
.order .item {
  width: 50%;
}
.order h4 {
  font-size: 1.167rem;
  color: #fff;
  margin-bottom: 0.417rem;
}
.order span {
  display: block;
  color: #4c9bfd;
  font-size: 0.667rem;
}
/* 销售区域 */
.sales {
  height: 10.333rem;
}
.sales .caption {
  display: flex;
  line-height: 1;
}
.sales h3 {
  height: 0.75rem;
  padding-right: 0.75rem;
  border-right: 0.083rem solid #00f2f1;
}
.sales a {
  padding: 0.167rem;
  font-size: 0.667rem;
  margin: -0.125rem 0 0 0.875rem;
  border-radius: 0.125rem;
  color: #0bace6;
}
.sales a.active {
  background-color: #4c9bfd;
  color: #fff;
}
.sales .inner {
  display: flex;
  flex-direction: column;
}
.sales .chart {
  flex: 1;
  padding-top: 0.6rem;
  position: relative;
}
.sales .label {
  position: absolute;
  left: 1.75rem;
  top: 0.75rem;
  color: #4996f5;
  font-size: 0.583rem;
}
.sales .line {
  width: 100%;
  height: 100%;
}
/* 渠道区块 */
.wrap {
  display: flex;
}
.channel,
.quarter {
  flex: 1;
  height: 9.667rem;
}
.channel {
  margin-right: 0.833rem;
}
.channel .data {
  overflow: hidden;
}
.channel .item {
  margin-top: 0.85rem;
}
.channel .item:first-child {
  float: left;
}
.channel .item:last-child {
  float: right;
}
.channel h4 {
  color: #fff;
  font-size: 1.333rem;
  margin-bottom: 0.2rem;
}
.channel small {
  font-size: 50%;
}
.channel span {
  display: block;
  color: #4c9bfd;
  font-size: 0.583rem;
}
/* 季度区块 */
.quarter .inner {
  display: flex;
  flex-direction: column;
  margin: 0 -0.25rem;
}
.quarter .chart {
  flex: 1;
  padding-top: 0.75rem;
}
.quarter .box {
  position: relative;
}
.quarter .label {
  transform: translate(-50%, -30%);
  color: #fff;
  font-size: 1.25rem;
  position: absolute;
  left: 50%;
  top: 50%;
}
.quarter .label small {
  font-size: 50%;
}
.quarter .gauge {
  height: 3.5rem;
}
.quarter .data {
  display: flex;
  justify-content: space-between;
}
.quarter .item {
  width: 50%;
}
.quarter h4 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 0.4rem;
}
.quarter span {
  display: block;
  width: 100%;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  color: #4c9bfd;
  font-size: 0.583rem;
}
/* 排行榜 */
.top {
  height: 11.8rem;
}
.top .inner {
  display: flex;
}
.top .all {
  display: flex;
  flex-direction: column;
  width: 7rem;
  color: #4c9bfd;
  font-size: 0.6rem;
  vertical-align: middle;
}
.top .all ul {
  padding-left: 0.5rem;
  margin-top: 0.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
}
.top .all li {
  overflow: hidden;
}
.top .all [class^="icon-"] {
  font-size: 1.5rem;
  vertical-align: middle;
  margin-right: 0.5rem;
}
.top .province {
  flex: 1;
  display: flex;
  flex-direction: column;
  color: #fff;
}
.top .province i {
  padding: 0 0.5rem;
  margin-top: 0.208rem;
  float: right;
  font-style: normal;
  font-size: 0.583rem;
  color: #0bace6;
}
.top .province s {
  display: inline-block;
  transform: scale(0.8);
  text-decoration: none;
}
.top .province .icon-up {
  color: #dc3c33;
}
.top .province .icon-down {
  color: #36be90;
}
.top .province .data {
  flex: 1;
  display: flex;
  margin-top: 0.6rem;
}
.top .province ul {
  flex: 1;
  line-height: 1;
  margin-bottom: 0.25rem;
}
.top .province ul li {
  display: flex;
  justify-content: space-between;
}
.top .province ul span {
  display: block;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.top .province ul.sup {
  font-size: 0.583rem;
}
.top .province ul.sup li {
  color: #4995f4;
  padding: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.top .province ul.sup li .nm { flex: none; width: 2.8rem; }
.top .province ul.sup li .bar { flex: 1; height: 0.3rem; background: rgba(76, 155, 253, 0.15); border-radius: 0.15rem; overflow: hidden; }
.top .province ul.sup li .bar i { display: block; height: 100%; background: linear-gradient(90deg, #4995f4, #0bace6); border-radius: 0.15rem; }
.top .province ul.sup li .hr { flex: none; width: 3.4rem; text-align: right; }
.top .province ul.sup li.active {
  color: #a3c6f2;
  background-color: rgba(10, 67, 188, 0.2);
}
.top .province ul.sub {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  font-size: 0.5rem;
  background-color: rgba(10, 67, 188, 0.2);
}
.top .province ul.sub li {
  color: #52ffff;
  padding: 0.417rem 0.6rem;
}
.clock {
  position: absolute;
  top: -1.5rem;
  right: 1.667rem;
  font-size: 0.833rem;
  color: #0bace6;
}
.clock i {
  margin-right: 5px;
  font-size: 0.833rem;
}
@media screen and (max-width: 1600px) {
  .top span {
    transform: scale(0.9);
  }
  .top .province ul.sup li {
    padding: 0.4rem 0.5rem;
  }
  .top .province ul.sub li {
    padding: 0.23rem 0.5rem;
  }
  .quarter span {
    transform: scale(0.9);
  }
}

/* ===== 卓睿劳务 · 智能看板定制 ===== */
body {
  background-color: #081028;
}
.viewport {
  background: none;
  padding-top: 0.5rem;
}
.dash-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 1rem 0.25rem;
  position: relative;
}
.dash-header::after {
  content: '';
  position: absolute;
  left: 2%;
  right: 2%;
  bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #1ed2ff 20%, #1ed2ff 80%, transparent);
  opacity: .6;
}
.dh-title {
  text-align: center;
  flex: 1;
}
.dh-title h1 {
  font-size: 0.9rem;
  color: #fff;
  letter-spacing: 0.2rem;
  text-shadow: 0 0 12px rgba(30, 210, 255, .8);
  margin: 0;
}
.dh-title p {
  font-size: 0.4rem;
  color: #5a7dbf;
  letter-spacing: 0.35rem;
  margin: 0.1rem 0 0;
}
.dh-side {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 12rem;
}
.dh-side.right {
  justify-content: flex-end;
}
.dh-side a {
  color: #9fc6ff;
  font-size: 0.5rem;
  padding: 0.15rem 0.45rem;
  border: 1px solid rgba(30, 210, 255, 0.4);
  border-radius: 0.1rem;
  transition: .2s;
}
.dh-side a:hover {
  background: rgba(30, 210, 255, 0.15);
  color: #fff;
}
.dh-clock {
  color: #00ff9c;
  font-size: 0.75rem;
  font-weight: bold;
  text-shadow: 0 0 8px rgba(0, 255, 156, .6);
}
.dh-date {
  color: #9fc6ff;
  font-size: 0.5rem;
  margin-left: 0.4rem;
}

/* ===== 顶部标题栏：实时天气（红框位置，时钟/日期左侧） =====
   绝对定位，不占 flex 布局空间，标题居中与左右侧宽度完全不受影响。 */
.dh-weather {
    position: absolute;
    right: 13.5rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    display: flex;
    align-items: center;
    gap: .35rem;
    height: 1.7rem;
    padding: 0 .55rem;
    border: 1px solid rgba(30, 210, 255, .3);
    border-radius: .15rem;
    background: linear-gradient(90deg, rgba(8, 24, 64, .2), rgba(8, 24, 64, .8));
    box-shadow: inset 0 0 12px rgba(30, 210, 255, .08);
    color: #cfe6ff;
    font-size: .6rem;
    line-height: 1;
    white-space: nowrap;
    cursor: pointer;
    -webkit-user-select: none;
    user-select: none;
}
.dh-weather:hover {
    border-color: rgba(30, 210, 255, .75);
    background: linear-gradient(90deg, rgba(8, 24, 64, .4), rgba(8, 24, 64, .9));
}
.dhw-icon { display: inline-flex; width: 1.15rem; height: 1.15rem; flex: none; align-items: center; justify-content: center; }
.dhw-icon svg { display: block; width: 100%; height: 100%; }
.dhw-city { color: #9fc6ff; }
.dhw-desc { color: #cfe6ff; }
.dhw-temp { color: #ffb43c; font-size: .85rem; font-weight: bold; text-shadow: 0 0 8px rgba(255, 180, 60, .45); }
.dhw-extra, .dhw-time { color: #6f8bb0; font-size: .5rem; }
.dhw-time::before { content: '·'; margin-right: .35rem; color: #3a5a8c; }
.dh-weather.dhw-error .dhw-temp { color: #6f8bb0; text-shadow: none; }
/* 窄屏收紧，避免与居中标题重叠 */
@media screen and (max-width: 1400px) {
    .dh-weather { right: 12.2rem; }
    .dhw-extra { display: none; }
}
@media screen and (max-width: 1200px) {
    .dhw-time { display: none; }
}

/* 地图区域切换控件（左下角） */
.map { position: relative; }
.map-scope { position: absolute; left: 14px; bottom: 12px; z-index: 20; display: flex; align-items: center; gap: 6px; }
.map-scope a { display: block; padding: 3px 12px; font-size: 12px; color: #9fb3cc; background: rgba(12, 26, 69, .85); border: 1px solid rgba(30, 210, 255, .35); border-radius: 14px; }
.map-scope a.on { color: #fff; background: #1a4f9e; border-color: #1ed2ff; }
.map-scope select { background: rgba(12, 26, 69, .85); color: #c6d3e2; border: 1px solid rgba(30, 210, 255, .35); border-radius: 14px; font-size: 12px; padding: 3px 8px; outline: none; }
.map-scope select option { background: #0c1a45; }

/* 地图/照片切换 + 现场照片（全尺寸） */
.map { position: relative; }
.map .chart { position: relative; }
.map-switch { position: absolute; left: 14px; bottom: 12px; z-index: 40; display: flex; gap: 6px; }
.map-switch a { display: block; padding: 4px 16px; font-size: 12px; color: #9fb3cc; background: rgba(8, 20, 52, .9); border: 1px solid rgba(30, 210, 255, .35); border-radius: 15px; cursor: pointer; }
.map-switch a.on { color: #fff; background: #1a4f9e; border-color: #1ed2ff; }
.map-scope { position: absolute; left: 14px; bottom: 52px; z-index: 20; display: flex; align-items: center; gap: 6px; }
.map-scope a { display: block; padding: 3px 12px; font-size: 12px; color: #9fb3cc; background: rgba(8, 20, 52, .85); border: 1px solid rgba(30, 210, 255, .35); border-radius: 14px; }
.map-scope a.on { color: #fff; background: #1a4f9e; border-color: #1ed2ff; }
.map-scope select { background: rgba(8, 20, 52, .85); color: #c6d3e2; border: 1px solid rgba(30, 210, 255, .35); border-radius: 14px; font-size: 12px; padding: 3px 8px; outline: none; }
.map-scope select option { background: #0c1a45; }
.map-photo { position: absolute; inset: 0; z-index: 30; background: rgba(8, 20, 52, .96); border: 1px solid rgba(30, 210, 255, .35); border-radius: 8px; display: flex; flex-direction: column; padding: 10px 12px 12px; }
.map-photo .mp-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; flex: none; gap: 10px; }
.map-photo .mp-title { display: flex; align-items: baseline; gap: 8px; flex: none; }
.map-photo .mp-title b { color: #cfe6ff; font-size: 13px; }
.map-photo .mp-title span { color: #6f8bb0; font-size: 11px; }
.map-photo .mp-meta { display: flex; align-items: center; gap: 8px; min-width: 0; overflow: hidden; }
.map-photo .mp-meta span { color: #ffd649; font-size: 12px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.map-photo .mp-meta em { color: #6f8bb0; font-size: 11px; font-style: normal; flex: none; }
.map-photo .mp-main { flex: 1; min-height: 0; border-radius: 6px; overflow: hidden; background: #0a1836; }
.map-photo .mp-main img { width: 100%; height: 100%; object-fit: cover; display: block; transition: opacity .3s; }

.map-photo .mp-thumbs { display: flex; gap: 5px; flex: none; margin-left: 8.5rem; }
.map-photo .mp-thumbs i { flex: 1; height: 3px; border-radius: 2px; background: rgba(76, 155, 253, .25); cursor: pointer; }
.map-photo .mp-thumbs i.on { background: #1ed2ff; }

/* 照片全屏预览灯箱 */
.mp-lightbox { position: fixed; inset: 0; z-index: 9999; background: rgba(2, 8, 24, 0.96); display: none; flex-direction: column; }
.mp-lightbox.open { display: flex; }
.mp-lightbox .lb-img-wrap { flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center; padding: 46px 70px 12px; }
.mp-lightbox .lb-img-wrap img { max-width: 100%; max-height: 100%; object-fit: contain; transition: opacity .25s, transform .12s ease-out; transform-origin: center center; will-change: transform; }
.mp-lightbox .lb-zoom { color: #1ed2ff; font-size: 12px; font-style: normal; opacity: 0; transition: opacity .2s; min-width: 2.8rem; text-align: left; }
.mp-lightbox .lb-close { position: absolute; top: 14px; right: 18px; z-index: 10; width: 36px; height: 36px; border: 1px solid rgba(30, 210, 255, .4); border-radius: 50%; background: rgba(8, 20, 52, .8); color: #cfe6ff; font-size: 20px; line-height: 1; cursor: pointer; }
.mp-lightbox .lb-close:hover { background: #1a4f9e; color: #fff; }
.mp-lightbox .lb-arr { position: absolute; top: 50%; transform: translateY(-50%); z-index: 10; width: 44px; height: 44px; border: 1px solid rgba(30, 210, 255, .4); border-radius: 50%; background: rgba(8, 20, 52, .8); color: #cfe6ff; font-size: 26px; line-height: 1; cursor: pointer; }
.mp-lightbox .lb-arr:hover { background: #1a4f9e; color: #fff; }
.mp-lightbox .lb-arr.prev { left: 16px; }
.mp-lightbox .lb-arr.next { right: 16px; }
.mp-lightbox .lb-bar { flex: none; padding: 10px 24px 18px; }
.mp-lightbox .lb-info { display: flex; align-items: center; justify-content: center; gap: 12px; margin-bottom: 10px; }
.mp-lightbox .lb-info span { color: #ffd649; font-size: 15px; }
.mp-lightbox .lb-info em { color: #9fb3cc; font-size: 13px; font-style: normal; }
.mp-lightbox .lb-info i { color: #6f8bb0; font-size: 12px; font-style: normal; }
.mp-lightbox .lb-thumbs { display: flex; gap: 6px; justify-content: center; }
.mp-lightbox .lb-thumbs i { width: 2.2rem; height: 3px; border-radius: 2px; background: rgba(76, 155, 253, .25); cursor: pointer; }
.mp-lightbox .lb-thumbs i.on { background: #1ed2ff; }
