﻿/* ============ 管理端覆盖样式 ============ */
@import url("../client/styles.css");

body { background: #eef1f7; }

/* 顶栏 */
.a-top {
  height: 52px; display: flex; align-items: center; gap: 14px; padding: 0 16px;
  background: #0d1626; color: #c8d3e8; border-bottom: 1px solid #1c2942; position: sticky; top: 0; z-index: 40;
}
.a-brand { display: flex; align-items: center; gap: 9px; font-weight: 700; color: #fff; font-size: 13.5px; letter-spacing: .3px; }
.a-brand .lg { width: 26px; height: 26px; border-radius: 7px; background: linear-gradient(135deg, #4a7dff, #1f4fd8); display: grid; place-items: center; font-size: 13px; }
.a-brand em { font-style: normal; font-weight: 500; font-size: 11px; color: #7f90ad; margin-left: 2px; }
.a-env { font-size: 10.5px; color: #f7c948; background: rgba(247, 201, 72, .12); border: 1px solid rgba(247, 201, 72, .3); padding: 1px 7px; border-radius: 20px; }
.a-search { width: 260px; height: 30px; background: #16223a; border: 1px solid #22304d; border-radius: 7px; display: flex; align-items: center; gap: 7px; padding: 0 10px; color: #6f7f9c; font-size: 12px; }
.a-top .right { margin-left: auto; display: flex; align-items: center; gap: 12px; font-size: 12px; color: #93a4c2; }
.a-top .right .dot-live { box-shadow: 0 0 0 3px rgba(6, 135, 91, .25); }
.a-me { display: flex; align-items: center; gap: 7px; }
.a-me .avatar { width: 26px; height: 26px; font-size: 11px; }

/* 框架 */
.a-shell { display: flex; min-height: calc(100vh - 52px); }
.a-side { width: 208px; flex: 0 0 208px; background: #0d1626; padding: 10px 8px 16px; position: sticky; top: 52px; height: calc(100vh - 52px); overflow: auto; display: flex; flex-direction: column; }
.a-label { font-size: 10px; color: #54637e; letter-spacing: 1.2px; padding: 14px 10px 6px; }
.a-nav { display: flex; align-items: center; gap: 9px; padding: 8px 10px; border-radius: 7px; color: #a9b8d1; font-size: 12.5px; cursor: pointer; border-left: 2px solid transparent; }
.a-nav:hover { background: #141f33; color: #d6e0f2; }
.a-nav.on { background: #16233a; color: #fff; border-left-color: #5b8cff; }
.a-nav svg { color: #6b7c9b; }
.a-nav.on svg { color: #79a4ff; }
.a-nav .n { margin-left: auto; font-size: 10px; background: #1d2b45; color: #8ea2c2; border-radius: 20px; padding: 0 6px; }
.a-nav.on .n { background: #24395e; color: #cfe0ff; }

.a-main { flex: 1; min-width: 0; height: calc(100vh - 52px); overflow: auto; padding: 18px 22px 44px; }

/* 页头 */
.a-head { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 16px; }
.a-head h1 { font-size: 18px; margin: 0 0 3px; font-weight: 680; letter-spacing: .2px; }
.a-head .sub { font-size: 12px; color: #64748b; }
.a-head .acts { margin-left: auto; display: flex; gap: 8px; }

/* 卡片微调 */
.a-main .card { border-color: #e3e7ef; box-shadow: 0 1px 2px rgba(15, 23, 42, .04); }
.a-main .tb th { background: #f7f9fc; }
.a-main .tb td { padding: 9px 12px; }

/* 图表 */
.bars { display: flex; align-items: flex-end; gap: 7px; height: 132px; padding-top: 6px; }
.bars .b { flex: 1; border-radius: 4px 4px 0 0; background: linear-gradient(180deg, #6f9bff, #2557da); opacity: .9; position: relative; }
.bars .b:hover { opacity: 1; }
.bars .b.last { background: linear-gradient(180deg, #22c08a, #06875b); }
.axis { display: flex; gap: 7px; margin-top: 6px; font-size: 9.5px; color: #94a3b8; }
.axis span { flex: 1; text-align: center; }

.legend2 { display: flex; flex-direction: column; gap: 8px; }
.legend2 .li { display: flex; align-items: center; gap: 7px; font-size: 11.5px; color: #475569; }
.legend2 .li i { width: 8px; height: 8px; border-radius: 2px; }

/* 租户详情 */
.t-row { cursor: pointer; }
.t-row:hover { background: #f8fafe; }
.t-row.on { background: #eef3ff; }
.t-row.on td:first-child { box-shadow: inset 2px 0 0 var(--brand); }

.mini-kpi { display: flex; align-items: center; gap: 10px; padding: 10px 12px; background: #f8faff; border: 1px solid #e8eefc; border-radius: 9px; }
.mini-kpi .v { font-size: 15px; font-weight: 700; letter-spacing: -.3px; }
.mini-kpi .l { font-size: 10.5px; color: #64748b; }

/* 状态点 */
.st { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; }
.st i { width: 6px; height: 6px; border-radius: 50%; display: block; }

/* 发布流程 */
.flow2 { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.flow2 .s { display: flex; align-items: center; gap: 6px; padding: 7px 11px; border-radius: 8px; background: #f6f8fc; border: 1px solid #e6eaf2; font-size: 11.5px; color: #475569; }
.flow2 .s.done { background: #e9f8f0; border-color: #c6ecda; color: #06875b; }
.flow2 .s.now { background: #eef3ff; border-color: #cfdcfb; color: #1f4fd8; font-weight: 600; }
.flow2 .ar { color: #c3ccdb; }

