/* =============================================================
   源锦辰天工 · 平台总部控制台（明亮企业风）
   配套 tiangong-scifi.css 使用：本文件负责 Element Plus 浅色适配、
   品牌 Logo 动态特效、各功能页辅助样式
   ============================================================= */

/* ---------- Element Plus 令牌覆盖（明亮企业风） ---------- */
html[data-theme="platform"] {
  --el-bg-color: #ffffff;
  --el-bg-color-page: #d2dbe6;
  --el-bg-color-overlay: #ffffff;
  --el-text-color-primary: #22364c;
  --el-text-color-regular: #485b73;
  --el-text-color-secondary: #73839b;
  --el-text-color-placeholder: #73839b;
  --el-border-color: #b1bccb;
  --el-border-color-light: #b1bccb;
  --el-border-color-lighter: #eef2f7;
  --el-border-color-extra-light: #eef2f7;
  --el-fill-color: #eef2f7;
  --el-fill-color-light: #eef2f7;
  --el-fill-color-lighter: #f4f8fc;
  --el-fill-color-blank: #ffffff;
  --el-color-primary: #0a7e96;
  --el-color-primary-light-3: #0a7e96;
  --el-color-primary-light-5: #23c3df;
  --el-color-primary-light-7: #b5d8e0;
  --el-color-primary-light-8: #e2f5fa;
  --el-color-primary-light-9: #e2f5fa;
  --el-color-primary-dark-2: #076277;
  --el-color-success: #1b9a5d;
  --el-color-warning: #c4520e;
  --el-color-danger: #d6453c;
  --el-color-error: #d6453c;
  --el-mask-color: rgba(34,54,76,.45);
}
/* 实心主按钮才用白字；text/plain/link 变体背景透明，必须保留青色文字，否则文字与背景同色不可见 */
html[data-theme="platform"] .el-button--primary:not(.is-text):not(.is-link):not(.is-plain) {
  --el-button-text-color: #ffffff;
  --el-button-hover-text-color: #ffffff;
  --el-button-bg-color: #0a7e96;
  --el-button-border-color: #0a7e96;
  --el-button-hover-bg-color: #0a7e96;
  --el-button-hover-border-color: #0a7e96;
  --el-button-active-bg-color: #076277;
  font-weight: 700; letter-spacing: 1px;
}
html[data-theme="platform"] .el-table {
  --el-table-bg-color: transparent;
  --el-table-tr-bg-color: transparent;
  --el-table-header-bg-color: #f4f8fc;
  --el-table-border-color: #b1bccb;
  --el-table-row-hover-bg-color: #e2f5fa;
  --el-table-header-text-color: #73839b;
  --el-table-text-color: #485b73;
  background: transparent;
}
html[data-theme="platform"] .el-table th.el-table-cell { font-weight: 600; letter-spacing: 2px; font-size: 11px; }
html[data-theme="platform"] .el-dialog {
  background: #ffffff; border: 1px solid #b1bccb; border-radius: 10px;
  box-shadow: 0 12px 40px rgba(34,54,76,.18);
}
html[data-theme="platform"] .el-dialog__title { color: #22364c; letter-spacing: 1px; font-weight: 700; }
html[data-theme="platform"] .el-drawer { background: #ffffff; border-left: 1px solid #b1bccb; }
html[data-theme="platform"] .el-drawer__title { color: #22364c; font-weight: 700; }
html[data-theme="platform"] .el-tabs__item { color: #73839b; }
html[data-theme="platform"] .el-tabs__item.is-active { color: #0a7e96; font-weight: 600; }
html[data-theme="platform"] .el-tabs__active-bar { background-color: #0a7e96; }
html[data-theme="platform"] .el-tabs__nav-wrap::after { background-color: #b1bccb; }
html[data-theme="platform"] .el-pagination { --el-pagination-bg-color: #ffffff; --el-pagination-button-disabled-bg-color: #eef2f7; }
html[data-theme="platform"] .el-pagination button, html[data-theme="platform"] .el-pager li { background: #ffffff; color: #485b73; }
html[data-theme="platform"] .el-pager li.is-active { color: #0a7e96; font-weight: 700; }
html[data-theme="platform"] .el-empty__description p { color: #73839b; }
html[data-theme="platform"] .el-descriptions { --el-descriptions-table-border: #b1bccb; }
html[data-theme="platform"] .el-descriptions__label { color: #73839b !important; }
html[data-theme="platform"] .el-descriptions__content { color: #22364c !important; }
html[data-theme="platform"] .el-descriptions__body { background: transparent; }
html[data-theme="platform"] .el-loading-mask { background: rgba(255,255,255,.65); }
html[data-theme="platform"] .el-loading-spinner .path { stroke: #0a7e96; }

/* ---------- 根布局 ---------- */
.platform-root { height: calc(100vh - var(--tg-beian-h, 0px)); display: flex; flex-direction: column; }
.p-loading { flex: 1; }

/* ---------- 品牌 Logo（SVG 动态特效） ---------- */
.brand { display: flex; align-items: center; gap: 8px; padding: 0 12px; height: 64px; border-bottom: 1px solid var(--line); position: relative; flex: none; overflow: hidden; }
.brand::after { content: ''; position: absolute; bottom: -1px; left: 10px; width: 56px; height: 2px; background: var(--cyan); }
.brand-logo { width: 54px; height: 46px; flex: none; }
.brand-name { width: 132px; white-space: nowrap; line-height: 1.25; }
/* 中英文两行均排：每字一个 span，两端严格对齐 */
.bn-l { display: flex; justify-content: space-between; }
.bn-zh { font: 700 14px/1.3 'SimHei', '黑体', 'Microsoft YaHei', sans-serif; color: #22364c; }
.bn-en { font: 700 8px/1 'Rajdhani', 'Segoe UI', Arial, sans-serif; color: #73839b; margin-top: 4px; letter-spacing: 0; }

/* 星星点点：金色闪烁（浅色底下白星不可见，改金色） */
@keyframes lgTwinkle { 0%, 100% { opacity: .15; } 50% { opacity: 1; } }
.lg-star { animation: lgTwinkle 2.8s ease-in-out infinite; filter: drop-shadow(0 0 1px rgba(217,162,10,.5)); }
/* 金色方块：整体缓慢旋转 + 呼吸光晕 */
@keyframes lgSpin { to { transform: rotate(360deg); } }
@keyframes lgGoldGlow { 0%, 100% { filter: drop-shadow(0 0 1px rgba(232,104,28,.25)); } 50% { filter: drop-shadow(0 0 4px rgba(232,104,28,.45)); } }
.lg-diamond { transform-box: fill-box; transform-origin: center; animation: lgSpin 20s linear infinite, lgGoldGlow 3.6s ease-in-out infinite; }
/* 水流月亮：表层流光线条持续流动 + 水光呼吸 */
@keyframes lgFlow { to { stroke-dashoffset: -48; } }
.lg-flow { stroke-dasharray: 7 17; animation: lgFlow 1.8s linear infinite; }
.lg-flow.slow { animation-duration: 3.2s; opacity: .6; }
@keyframes lgWater { 0%, 100% { opacity: .35; } 50% { opacity: .8; } }
.lg-sheen { animation: lgWater 3.2s ease-in-out infinite; }
/* 木桩（横梁）：琥珀光晕脉冲 + 能量点来回穿梭 */
@keyframes lgBeamGlow { 0%, 100% { filter: drop-shadow(0 0 1px rgba(232,104,28,.2)); } 50% { filter: drop-shadow(0 0 3px rgba(232,104,28,.4)); } }
.lg-beam { animation: lgBeamGlow 3.4s ease-in-out infinite; }
@keyframes lgShuttle { 0% { transform: translateX(0); opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { transform: translateX(68px); opacity: 0; } }
.lg-pulse { animation: lgShuttle 3.8s ease-in-out infinite; }
/* 两侧蜂巢：呼吸显隐 */
@keyframes lgHex { 0%, 100% { opacity: .22; } 50% { opacity: .55; } }
.lg-hex { animation: lgHex 4.2s ease-in-out infinite; }

/* ---------- 工作台（三栏联动） ---------- */
.wb { display: flex; flex-direction: column; height: 100%; min-height: 520px; }
.wb-bar { display: flex; align-items: center; gap: 8px; background: var(--panel); border: 1px solid var(--line); padding: 8px 12px; flex-shrink: 0; flex-wrap: wrap; border-radius: 10px; }
.wb-lb { font-size: 11px; letter-spacing: 2px; color: var(--txt-dim); }
.wb-seg { display: flex; border: 1px solid #b5d8e0; overflow: hidden; border-radius: 6px; }
.wb-seg div { padding: 8px 12px; font-size: 12px; color: #485b73; cursor: pointer; transition: .15s; }
.wb-seg div:hover { color: #076277; background: #e2f5fa; }
.wb-seg div.on { background: linear-gradient(90deg, #0a7e96, #0a7e96); color: #FFFFFF; font-weight: 700; }
.wb-tip { margin-top: 12px; font-size: 12px; color: #c4520e; background: #fbf3da; border: 1px solid #f5dfa0; padding: 7px 12px; border-radius: 6px; }
.wb-body { flex: 1; display: flex; gap: 12px; margin-top: 10px; min-height: 0; }
.wb-nav { width: 138px; flex-shrink: 0; background: #f4f8fc; border: 1px solid var(--line); border-radius: 10px; padding: 8px; overflow-y: auto; }
.wb-mi { display: flex; align-items: center; gap: 7px; padding: 8px 8px; font-size: 12px; color: #485b73; cursor: pointer; margin-bottom: 2px; transition: .15s; border-radius: 6px; }
.wb-mi:hover { background: #e2f5fa; color: #076277; }
.wb-mi.on { background: #e2f5fa; color: #076277; font-weight: 600; }
.wb-mi .ic { width: 16px; text-align: center; }
.wb-admin { flex: 1.2; display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; min-width: 240px; }
.wb-preview { flex: 1; display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; min-width: 230px; }
.wb-preview.pc { flex: 1.4; }
.wb-pane-t { font-size: 11px; letter-spacing: 2px; color: var(--txt-dim); padding: 8px 12px; border-bottom: 1px solid var(--line); background: #f4f8fc; flex-shrink: 0; }
.wb-iframe { flex: 1; width: 100%; border: 0; background: #fff; }
.wb-phone-wrap { flex: 1; display: flex; align-items: center; justify-content: center; padding: 12px; overflow: auto; }
.wb-phone { width: 210px; height: 400px; border-radius: 26px; border: 5px solid #b1bccb; background: #fff; overflow: hidden; position: relative; box-shadow: 0 8px 24px rgba(34,54,76,.12); }
.wb-phone iframe { width: 100%; height: 100%; border: 0; }
.wb-mp { flex: 1; display: flex; align-items: center; justify-content: center; padding: 12px; }
.wb-qr { width: 120px; height: 120px; margin: 28pxauto 14px; border: 1px solid #b5d8e0;
  background: repeating-conic-gradient(rgba(10,126,150,.3) 0 25%, #ffffff 0 50%) 50% / 14px 14px; }
.wb-mp-t { text-align: center; font-size: 13px; font-weight: 700; color: #22364c; }
.wb-mp-d { font-size: 11px; color: var(--txt-dim); line-height: 1.7; padding: 12px 16px; text-align: center; }
.wb-app { display: flex; flex-direction: column; }
.wb-app-badge { flex-shrink: 0; background: #e2f5fa; color: #076277; font-size: 9px; text-align: center; padding: 4px 8px; line-height: 1.3; border-bottom: 1px solid #b5d8e0; }
.wb-app iframe { flex: 1; height: auto; min-height: 0; }
.wb-pciframe { flex: 1; width: 100%; border: 0; background: #fff; }

/* ---------- 天工学院 ---------- */
.acad { display: flex; flex-direction: column; }
.acad-bar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.acad-tabs { display: flex; gap: 4px; background: var(--panel); border: 1px solid var(--line); border-radius: 8px; padding: 4px; flex-wrap: wrap; }
.acad-tabs div { padding: 8px 16px; font-size: 12px; color: #485b73; cursor: pointer; transition: .15s; letter-spacing: 1px; border-radius: 6px; }
.acad-tabs div:hover { color: #076277; background: #e2f5fa; }
.acad-tabs div.on { background: #e2f5fa; color: #076277; font-weight: 700; }
.acad-tip { margin-top: 12px; font-size: 12px; color: var(--txt-dim); background: var(--panel); border: 1px solid var(--line); border-radius: 8px; padding: 9px 13px; line-height: 1.7; }
.acad-tl { margin-top: 16px; }
.acad-item { display: flex; gap: 14px; margin-bottom: 12px; align-items: flex-start; }
.acad-time { width: 128px; flex-shrink: 0; font-size: 11px; color: var(--txt-dim); font-family: var(--font-num); padding-top: 12px; letter-spacing: 1px; }
.acad-body { flex: 1; background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 12px 16px; position: relative; box-shadow: 0 1px 3px rgba(34,54,76,.05); }
.acad-body::before { content: ''; position: absolute; top: 12px; left: 0; width: 3px; height: 22px; background: var(--cyan); border-radius: 0 2px 2px 0; }
.acad-h { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; }
.acad-cat { font-size: 11px; font-weight: 700; padding: 4px 8px; letter-spacing: 1px; border: 1px solid; border-radius: 4px; }
.acad-name { font-size: 14px; font-weight: 700; color: #22364c; letter-spacing: .5px; }
.acad-st { margin-left: auto; font-size: 11px; color: #c4520e; border: 1px solid #f5dfa0; background: #fbf3da; padding: 1px 8px; letter-spacing: 1px; border-radius: 4px; }
.acad-st.on { color: #1b9a5d; border-color: #c4ecdc; background: #e3f5ec; }
.acad-p { font-size: 12.5px; color: #485b73; margin-top: 8px; line-height: 1.7; }
.acad-d { font-size: 12px; color: var(--txt-dim); margin-top: 8px; line-height: 1.8; }

/* ---------- 计费结算 ---------- */
.bill-cols { display: grid; grid-template-columns: 1fr 2fr; gap: 16px; margin-bottom: 14px; }
.bill-sum { display: flex; flex-direction: column; gap: 10px; }
.bill-item { display: flex; justify-content: space-between; align-items: center; padding: 12px 12px; background: #f4f8fc; border: 1px solid #eef2f7; border-radius: 8px; }
.bill-item .l { font-size: 12px; color: var(--txt-dim); }
.bill-item .v { font-family: var(--font-num); font-size: 18px; color: var(--cyan); }
.bill-item .v.amber { color: var(--amber); } .bill-item .v.green { color: var(--green); } .bill-item .v.red { color: var(--red); }
.rate-bar { display: flex; align-items: center; gap: 8px; margin-top: 8px; }
.rate-bar .seg { height: 6px; flex: 1; background: #eef2f7; border-radius: 3px; position: relative; overflow: hidden; }
.rate-bar .seg i { position: absolute; left: 0; top: 0; bottom: 0; }
.rate-bar .seg.cyan i { background: linear-gradient(90deg, #23c3df, #0a7e96); }
.rate-bar .seg.amber i { background: linear-gradient(90deg, #d9a20a, #c4520e); }
.rate-bar .seg.green i { background: linear-gradient(90deg, #1b9a5d, #1b9a5d); }

/* ---------- 生态开发者 ---------- */
.dev-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 16px; margin-bottom: 14px; }
.api-card { padding: 12px 16px; border-bottom: 1px solid #eef2f7; }
.api-card:last-child { border-bottom: none; }
.api-head { display: flex; align-items: center; gap: 10px; }
.api-method { font-family: var(--font-num); font-size: 11px; padding: 4px 12px; font-weight: 700; letter-spacing: 1px; border-radius: 4px; }
.api-method.get { background: #e2f5fa; color: #076277; border: 1px solid #b5d8e0; }
.api-method.post { background: #e3f5ec; color: #1b9a5d; border: 1px solid #c4ecdc; }
.api-method.put { background: #fbf3da; color: #c4520e; border: 1px solid #f5dfa0; }
.api-method.del { background: #fbe9e8; color: #d6453c; border: 1px solid #f2b8b5; }
.api-path { font-family: var(--font-num); font-size: 12px; color: #22364c; }
.api-desc { font-size: 11px; color: var(--txt-dim); margin-top: 8px; }
.dev-stat { display: flex; gap: 14px; }
.dev-stat .item { flex: 1; text-align: center; padding: 12px; background: #f4f8fc; border: 1px solid #eef2f7; border-radius: 8px; }
.dev-stat .v { font-family: var(--font-num); font-size: 22px; color: var(--cyan); }
.dev-stat .l { font-size: 10px; color: var(--txt-dim); margin-top: 4px; letter-spacing: 1px; }
.key-mask { font-family: var(--font-num); font-size: 12px; color: var(--txt-dim); letter-spacing: 2px; }
.key-mask b { color: var(--cyan); }

/* ---------- 平台运营 ---------- */
.ops-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 14px; }
.ops-card { padding: 16px 16px; text-align: center; }
.ops-card .ic { width: 48px; height: 48px; margin: 0 auto 10px; display: flex; align-items: center; justify-content: center; border: 1px solid #b5d8e0; background: #e2f5fa;
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
.ops-card .ic svg { width: 22px; height: 22px; stroke: var(--cyan); fill: none; stroke-width: 1.6; }
.ops-card .t { font-size: 13px; font-weight: 700; color: #22364c; letter-spacing: 1px; }
.ops-card .s { font-size: 10px; color: var(--txt-dim); margin-top: 4px; }
.health-ring { position: relative; width: 140px; height: 140px; margin: 0 auto 10px; }
.health-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.health-ring .val { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.health-ring .v { font-family: var(--font-num); font-size: 28px; color: var(--green); font-weight: 700; }
.health-ring .l { font-size: 10px; color: var(--txt-dim); margin-top: 4px; }
.svc-item { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid #eef2f7; }
.svc-item:last-child { border: none; }
.svc-dot { width: 8px; height: 8px; border-radius: 50%; }
.svc-dot.g { background: var(--green); }
.svc-dot.a { background: var(--amber); }
.svc-dot.r { background: var(--red); }
.svc-name { flex: 1; font-size: 12px; }
.svc-uptime { font-family: var(--font-num); font-size: 11px; color: var(--txt-dim); }

/* ---------- 租户详情弹框（居中 + 页签 + 业务包按系统分组） ---------- */
.tenant-dlg .el-dialog__body { padding-top: 6px; }
.tenant-dlg-body { max-height: 62vh; overflow-y: auto; padding-right: 4px; }
.sys-h { display: flex; align-items: center; gap: 8px; margin: 14px 0 2px; }
.sys-ico { width: 22px; height: 22px; border-radius: 6px; background: linear-gradient(135deg, #2b63c8, #2b63c8); color: #fff; font-size: 12px; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; flex: none; }
.sys-n { font-size: 13.5px; font-weight: 700; }
.sys-c { font-size: 11px; color: var(--txt-dim); }
.svc-desc { font-size: 11px; color: var(--txt-dim); margin-top: 3px; line-height: 1.5; font-weight: 400; }

/* ---------- 模块市场卡片 ---------- */
.mod-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.mod-card { padding: 16px; position: relative; transition: .18s; }
.mod-card:hover { box-shadow: 0 6px 18px rgba(34,54,76,.10); }
.mod-h { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.mod-name { font-size: 14px; font-weight: 700; color: #22364c; letter-spacing: .5px; }
.mod-code { font-size: 10px; color: var(--txt-dim); font-family: var(--font-num); margin-top: 4px; letter-spacing: 1px; }
.mod-desc { font-size: 11.5px; color: var(--txt-dim); line-height: 1.7; min-height: 34px; }
.mod-f { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; padding-top: 10px; border-top: 1px solid #eef2f7; }

/* ---------- 平台总览 · 系统功能地图 ---------- */
.ov-cats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.ov-cat {
padding: 16px 12px; text-align: center; cursor: pointer; border-radius: 8px;
  background: #f4f8fc; border: 1px solid #eef2f7; transition: .15s;
}
.ov-cat:hover { border-color: #b5d8e0; background: #e2f5fa; }
.ov-cat.on { border-color: var(--cyan); background: #e2f5fa; box-shadow: 0 2px 8px rgba(10,126,150,.12); }
.ov-cat-name { font-size: 14px; font-weight: 700; color: #22364c; }
.ov-cat.on .ov-cat-name { color: #076277; }
.ov-cat-n { font-size: 11px; color: var(--txt-dim); margin-top: 4px; }

/* =============================================================
   天工生态城 · 全息等距沙盘（深色发光沙盘桌）
   ============================================================= */
.sb-legend { margin-left: auto; display: flex; align-items: center; gap: 14px; font-size: 11px; color: #73839b; font-style: normal; white-space: nowrap; }
.sb-legend i { width: 10px; height: 10px; border-radius: 2px; margin-right: 4px; display: inline-block; vertical-align: -1px; }
.lg-core { background: #23c3df; box-shadow: 0 0 8px #23c3df; }
.lg-built { background: #1b9a5d; box-shadow: 0 0 6px rgba(27,154,93,.8); }
.lg-plan { background: transparent; border: 1.5px dashed #73839b; }
.lg-flow { width: 18px; border-radius: 0; background: linear-gradient(90deg, transparent, #23c3df); box-shadow: 0 0 6px #23c3df; }

.sb-stage {
position: relative; margin-top: 8px; border-radius: 12px; overflow: hidden;
  border: 1px solid rgba(35,195,223,.3);
  /* 沙盘城市为 JS 生成的夜景可视化大屏，保留深空底色（浅色页内嵌深色大屏组件） */
  background:
    radial-gradient(1200px 520px at 50% 12%, rgba(34,100,180,.30), transparent 62%),
    radial-gradient(900px 440px at 50% 105%, rgba(10,50,96,.60), transparent 70%),
    linear-gradient(180deg, #070E1E 0%, #0A1428 55%, #060C1A 100%);
  box-shadow: inset 0 0 80px rgba(10,60,110,.45), 0 8px 30px rgba(8,30,60,.18);
}
.sb-stage::after {
  content: ''; position: absolute; inset: 0; pointer-events: none; border-radius: 12px;
  background: linear-gradient(105deg, transparent 40%, rgba(35,195,223,.05) 50%, transparent 60%);
  animation: sbSweep 7s linear infinite;
}
@keyframes sbSweep { 0% { transform: translateX(-55%); } 100% { transform: translateX(55%); } }
.sb-stage svg { display: block; width: 100%; height: auto; }
.sb-layer { position: relative; }
.sb-layer.fx { position: absolute; inset: 0; pointer-events: none; }
.sb-stage { cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.sb-stage:active { cursor: grabbing; }
.sb-hint {
  position: absolute; right: 14px; bottom: 10px; z-index: 3;
  font-size: 11px; letter-spacing: 2px; color: rgba(35,195,223,.75);
padding: 4px 12px; border-radius: 12px; pointer-events: none;
  background: rgba(34,54,76,.55); border: 1px solid rgba(35,195,223,.25);
}

/* 地面网格 */
.sb-ground line { stroke: rgba(56,180,220,.13); stroke-width: 1; }
.sb-ground .sb-frame { fill: none; stroke: rgba(35,195,223,.5); stroke-width: 1.4; filter: drop-shadow(0 0 6px rgba(35,195,223,.6)); }

/* 光环 + 雷达 */
.sb-ring { fill: none; stroke: rgba(35,195,223,.35); stroke-width: 1; stroke-dasharray: 3 9; }
.sb-ring.r0 { stroke: rgba(35,195,223,.55); }
.sb-ring.r2 { stroke: rgba(35,195,223,.22); }
.sb-radar-beam { filter: drop-shadow(0 0 8px rgba(35,195,223,.3)); }
.sb-radar-beam line { stroke: #e2f5fa; stroke-width: 1.2; filter: drop-shadow(0 0 4px #23c3df); }

/* 数据流光线（城市层每帧重投影，用静态光轨；动感来自城市自转与拖拽） */
.sb-flow { fill: none; stroke: rgba(35,195,223,.5); stroke-width: 1.3; stroke-dasharray: 5 9; filter: drop-shadow(0 0 3px rgba(35,195,223,.6)); }
.sb-flow.dead { stroke: rgba(115,131,155,.22); stroke-dasharray: 3 8; filter: none; }

/* 楼体 */
.sb-bld { cursor: pointer; transition: filter .25s; }
.sb-bld:hover { filter: brightness(1.3) drop-shadow(0 0 10px rgba(35,195,223,.65)); }
.sb-bld.on { filter: brightness(1.18) drop-shadow(0 0 12px rgba(35,195,223,.85)); }
.sb-bld.plan { opacity: .8; }
.sb-bld.plan:hover { opacity: 1; }
.sb-win.lit-a { fill: #fcefc8; }
.sb-win.lit-b { fill: #b5d8e0; }
.sb-win.off { fill: rgba(115,131,155,.12); }
.sb-beacon { opacity: .95; }

/* 内核能量塔 */
.sb-glow { animation: sbGlow 3.4s ease-in-out infinite; }
@keyframes sbGlow { 0%, 100% { opacity: .7; } 50% { opacity: 1; } }
.sb-base { fill: rgba(34,54,76,.35); stroke: #23c3df; stroke-width: 1.4; filter: drop-shadow(0 0 10px rgba(35,195,223,.5)); }
.sb-tower { fill: url(#sbTowerG); stroke: rgba(35,195,223,.7); stroke-width: 1; }
.sb-edge { stroke: rgba(35,195,223,.4); stroke-width: .8; }
.sb-tw { stroke: rgba(35,195,223,.55); stroke-width: 1; }
.sb-spire { fill: #b5d8e0; stroke: #e2f5fa; stroke-width: .8; filter: drop-shadow(0 0 8px rgba(35,195,223,.9)); }
.sb-crystal { transform-box: view-box; transform-origin: 540px 192px; animation: sbCrystal 6s ease-in-out infinite; }
.sb-crystal polygon { fill: #e2f5fa; stroke: #23c3df; stroke-width: 1; filter: drop-shadow(0 0 10px #23c3df); }
@keyframes sbCrystal { 0%, 100% { transform: rotate(0deg) scaleY(1); } 50% { transform: rotate(180deg) scaleY(1.12); } }
.sb-core-name { fill: #23c3df; font-size: 12px; letter-spacing: 3px; text-anchor: middle; font-weight: 700; opacity: .9; }

/* 塔顶光柱 + 悬浮 logo + 系统名 */
.sb-beam { animation: sbBeamPulse 2.8s ease-in-out infinite; }
@keyframes sbBeamPulse { 0%, 100% { opacity: .55; } 50% { opacity: 1; } }
.sb-logo-img { filter: drop-shadow(0 0 10px rgba(232,104,28,.45)) drop-shadow(0 0 22px rgba(35,195,223,.30)); }
.sb-logo-ring {
  fill: none; stroke: rgba(232,104,28,.4); stroke-width: 1; stroke-dasharray: 4 12;
  filter: drop-shadow(0 0 4px rgba(232,104,28,.5));
}
.sb-title {
  font-size: 27px; font-weight: 800; letter-spacing: 8px; fill: url(#sbTitleG);
  filter: drop-shadow(0 0 10px rgba(232,104,28,.55)) drop-shadow(0 0 20px rgba(35,195,223,.35));
}
.sb-title-line { stroke: url(#sbTitleG); stroke-width: 1.5; stroke-linecap: round; opacity: .8; }

/* 楼名标牌 */
.sb-lab { cursor: pointer; }
.sb-lab rect { fill: rgba(6,16,32,.78); stroke: rgba(35,195,223,.45); stroke-width: 1; transition: .2s; }
.sb-lab.plan rect { stroke: #46587A; fill: rgba(8,16,30,.7); }
.sb-lab:hover rect, .sb-lab.on rect { stroke: #23c3df; fill: rgba(10,40,64,.92); filter: drop-shadow(0 0 8px rgba(35,195,223,.6)); }
.sb-lab text { fill: #e2f5fa; font-size: 12px; text-anchor: middle; font-weight: 700; letter-spacing: 1px; }
.sb-lab.plan text { fill: #9FB3CF; }
.sb-tenants { fill: #f5dfa0 !important; font-size: 10px; letter-spacing: 1px; }

/* 沙盘详情控制台 */
.sb-detail {
display: flex; align-items: center; gap: 20px; padding: 16px 20px; margin-top: 8px;
  border-radius: 12px; border: 1px solid rgba(35,195,223,.25);
  background: linear-gradient(180deg, #0A1426, #080F1F);
}
.sb-d-main { flex: 1; min-width: 0; }
.sb-d-name { font-size: 16px; font-weight: 800; color: #e2f5fa; letter-spacing: 1px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.sb-d-tag { font-size: 11px; font-weight: 600; padding: 4px 12px; border-radius: 10px; }
.sb-d-tag.built { color: #4FE3B2; background: rgba(27,154,93,.18); border: 1px solid rgba(27,154,93,.55); }
.sb-d-tag.plan { color: #9FB3CF; background: rgba(115,131,155,.15); border: 1px solid #46587A; }
.sb-d-tag.sell { color: #f5dfa0; background: rgba(217,162,10,.12); border: 1px solid rgba(217,162,10,.5); }
.sb-d-desc { font-size: 12px; color: #9FB3CF; margin-top: 8px; line-height: 1.6; }
.sb-d-metrics { display: flex; gap: 26px; }
.sb-d-m { text-align: center; }
.sb-d-m b { display: block; font-size: 22px; color: #23c3df; text-shadow: 0 0 12px rgba(35,195,223,.6); }
.sb-d-m span { font-size: 11px; color: #9FB3CF; }
.sb-d-btn {
  background: linear-gradient(90deg, #0a7e96, #0a7e96); color: #fff; border: 0; border-radius: 8px;
padding: 12px 24px; font-weight: 700; letter-spacing: 1px; cursor: pointer; white-space: nowrap;
  box-shadow: 0 0 16px rgba(35,195,223,.35); transition: .2s;
}
.sb-d-btn:hover { filter: brightness(1.18); }
@media (max-width: 760px) {
  .sb-detail { flex-wrap: wrap; }
  .sb-legend { display: none; }
}
.ov-subs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 12px; padding-top: 12px; border-top: 1px dashed #b1bccb; }
.ov-sub { padding: 12px 16px; border: 1px solid #eef2f7; border-radius: 8px; background: #FFFFFF; cursor: pointer; transition: .15s; }
.ov-sub:hover { border-color: #b5d8e0; box-shadow: 0 4px 12px rgba(34,54,76,.08); transform: translateY(-1px); }
.ov-sub-h { display: flex; align-items: center; justify-content: space-between; }
.ov-sub-h b { font-size: 13px; color: #22364c; }
.ov-sub-d { font-size: 11.5px; color: var(--txt-dim); margin-top: 8px; line-height: 1.6; }

/* ---------- 工具行 / 通用 ---------- */
.toolbar { display: flex; gap: 10px; margin-bottom: 16px; flex-wrap: wrap; align-items: center; }
.toolbar .spacer { margin-left: auto; }
.num { font-family: var(--font-num); color: var(--cyan); }
.dim { color: var(--txt-dim); }
.url-link { color: var(--cyan); text-decoration: none; font-size: 12.5px; }
.url-link:hover { text-decoration: underline; filter: brightness(1.2); }

/* ---------- 租户隔离级别说明表（编辑租户弹窗内） ---------- */
.iso-guide { margin-top: 4px; padding-top: 12px; border-top: 1px dashed rgba(34,54,76,.12); }
.iso-guide-h { font-size: 12.5px; font-weight: 700; color: #22364c; margin-bottom: 8px; }
.iso-table { width: 100%; border-collapse: collapse; font-size: 11.5px; line-height: 1.5; }
.iso-table th { background: #eef2f7; color: #485b73; font-weight: 700; text-align: left; padding: 6px 8px; border: 1px solid #b1bccb; }
.iso-table td { padding: 7px 8px; border: 1px solid #b1bccb; color: #485b73; vertical-align: top; }
.iso-table tbody tr:nth-child(2) { background: rgba(10,126,150,.04); }
.iso-tip { margin-top: 8px; font-size: 11.5px; line-height: 1.6; color: #73839b; }
.iso-tip.warn { color: #c4520e; background: #fbf3da; border: 1px solid #f5dfa0; border-radius: 6px; padding: 7px 9px; }

/* ===== 配图工厂：目标卡 + 任务队列 + 审核抽屉 ===== */
.sf { display: flex; flex-direction: column; }
.sf-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 12px; }
.sf-card { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; cursor: pointer; transition: .18s; position: relative; }
.sf-card:hover { border-color: var(--cyan); box-shadow: 0 4px 16px rgba(7,98,119,.12); }
.sf-card.on { border-color: var(--cyan); box-shadow: 0 0 0 1px var(--cyan), 0 4px 16px rgba(7,98,119,.15); }
.sf-card.on::before { content: ''; position: absolute; top: -1px; left: 16px; right: 16px; height: 2px; background: var(--cyan); border-radius: 0 0 2px 2px; }
.sf-card.off { opacity: .55; cursor: not-allowed; }
.sf-card-h { display: flex; align-items: center; gap: 8px; }
.sf-name { font-size: 15px; font-weight: 700; color: #22364c; letter-spacing: .5px; }
.sf-badge { margin-left: auto; font-size: 11px; padding: 2px 9px; border-radius: 20px; letter-spacing: 1px; }
.sf-badge.ready { color: #1b9a5d; background: #e3f5ec; border: 1px solid #c4ecdc; }
.sf-badge.lock { color: #c4520e; background: #fbf3da; border: 1px solid #f5dfa0; }
.sf-line { font-size: 12px; color: var(--txt-dim); margin-top: 8px; line-height: 1.6; }
.sf-card-ops { display: flex; gap: 8px; margin-top: 12px; }
.sf-bar { display: flex; align-items: center; margin: 16px 0 10px; }
.sf-tabs { display: flex; gap: 4px; background: var(--panel); border: 1px solid var(--line); border-radius: 8px; padding: 4px; flex-wrap: wrap; }
.sf-tabs div { padding: 7px 14px; font-size: 12px; color: #485b73; cursor: pointer; border-radius: 6px; letter-spacing: 1px; }
.sf-tabs div:hover { color: #076277; background: #e2f5fa; }
.sf-tabs div.on { background: #e2f5fa; color: #076277; font-weight: 700; }
.sf-bar .el-button { margin-left: auto; }
.sf-table { border: 1px solid var(--line); border-radius: 10px; }
.sf-code { font-family: var(--font-num); font-weight: 700; color: var(--cyan); font-size: 12.5px; }
.sf-rev { padding: 18px 20px; }
.sf-rev-h { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.sf-rev-title { font-size: 17px; font-weight: 700; color: #22364c; }
.sf-rev-sub { font-size: 12.5px; color: var(--txt-dim); margin-top: 7px; line-height: 1.7; max-width: 640px; }
.sf-rev-err { margin-top: 12px; font-size: 12.5px; color: #d6453c; background: #fbe9e8; border: 1px solid #f2b8b5; border-radius: 8px; padding: 9px 13px; line-height: 1.7; }
.sf-rev-imgs { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 16px; }
.sf-rev-imgs figure { margin: 0; background: #22364c; border: 1px solid #22364c; border-radius: 10px; padding: 10px; text-align: center; }
.sf-rev-imgs figcaption { font-size: 12px; color: #73839b; letter-spacing: 1px; margin-bottom: 8px; }
.sf-rev-imgs img { max-width: 100%; border-radius: 6px; display: block; margin: 0 auto; }

/* 自动化教程优化 · 监控小卡 */
.sf-mini-card { background:#fff; border:1px solid #b1bccb; border-radius:10px; padding:14px 16px; }
.sf-mini-card .lbl { font-size:12px; color:#73839b; }
.sf-mini-card .num { font-size:26px; font-weight:700; color:#2b63c8; margin-top:6px; }
.sf-main-tabs { background:transparent; padding:0; border:0; }

/* 无障碍基线（V10.0 阶段10）：跳转链接 + 键盘焦点可见 */
.skip-link{position:absolute;left:-9999px;top:0;z-index:9999;background:#2b63c8;color:#22364c;padding:10px 18px;font-weight:600;border-radius:0 0 8px 0;text-decoration:none}
.skip-link:focus{left:0}
.nav-item:focus-visible,.svc-btn:focus-visible,a:focus-visible,button:focus-visible,input:focus-visible{outline:2px solid #23c3df;outline-offset:2px}

/* =============================================================
   任务#95 / PRD#102：千牛式导航（窄栏 68px + 二级浮层 + 钉住宽栏）
   视觉沿用现有机甲企业风令牌（--cyan / --line / 白底 / 切角），不引入新配色
   ============================================================= */

/* ---------- 一级窄栏（68px，始终常驻；字号 11px 与二级 12.5px 视觉均衡） ---------- */
.rail {
  width: 68px; flex: none; display: flex; flex-direction: column; align-items: center;
  background: #FFFFFF; border-right: 1px solid var(--line); position: relative; z-index: 60;
}
.rail-logo { width: 68px; height: 56px; display: flex; align-items: center; justify-content: center; border-bottom: 1px solid var(--line); flex: none; position: relative; }
.rail-logo::after { content: ''; position: absolute; bottom: -1px; left: 14px; width: 40px; height: 2px; background: var(--cyan); }
.rail-logo .brand-logo { width: 44px; height: 38px; }
.rail-favs { display: flex; flex-direction: column; align-items: center; padding: 6px 0 2px; flex: none; }
.rail-sep { width: 32px; height: 1px; background: var(--line); margin: 2px 0 4px; flex: none; }
.rail-list { flex: 1; overflow-y: auto; width: 100%; display: flex; flex-direction: column; align-items: center; padding: 4px 0; scrollbar-width: none; }
.rail-list::-webkit-scrollbar { display: none; }
.rail-it {
  width: 60px; min-height: 46px; margin: 2px 0; padding: 5px 2px 4px; border-radius: 8px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  cursor: pointer; color: #485b73; transition: .15s; position: relative; flex: none;
}
.rail-it .ic svg { width: 18px; height: 18px; }
.rail-it:hover { background: #e2f5fa; color: #076277; }
.rail-it.on { background: linear-gradient(180deg, #e2f5fa, #e2f5fa); color: #076277; }
.rail-it.on::before { content: ''; position: absolute; left: -6px; top: 8px; bottom: 8px; width: 3px; border-radius: 0 2px 2px 0; background: var(--cyan); }
.rail-it.fly { background: #e2f5fa; color: #076277; box-shadow: inset 0 0 0 1px #b5d8e0; }
.rail-it.fav { min-height: 34px; width: 44px; }
.rail-it.fav .ic svg { width: 16px; height: 16px; }
.rail-nm { font-size: 11px; letter-spacing: 0; line-height: 1.1; white-space: nowrap; }
.rail-foot { flex: none; display: flex; flex-direction: column; align-items: center; padding: 6px 0 8px; border-top: 1px solid var(--line); width: 100%; }
.rail-it.pin .pin-ic { width: 15px; height: 15px; display: block; background: currentColor;
  clip-path: polygon(35% 0, 65% 0, 65% 35%, 85% 55%, 85% 70%, 15% 70%, 15% 55%, 35% 35%);
  -webkit-clip-path: polygon(35% 0, 65% 0, 65% 35%, 85% 55%, 85% 70%, 15% 70%, 15% 55%, 35% 35%); }
.rail-it.pin.on { color: var(--cyan); }
/* 快捷入口拖拽投放态（2026-10-21 恒岩定稿：从管理页拖到 rail 分类） */
.rail-it.drop-ok { outline: 2px dashed rgba(7,98,119,.35); outline-offset: -4px; }
.rail-it.drop-hover { outline: 2px dashed var(--cyan); outline-offset: -4px; background: #e2f5fa; }
.rail-status { padding: 6px 0 2px; }
.rail-status .dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--green); animation: pulse 2s infinite; }
.rail-it:focus-visible, .fly-it:focus-visible, .gs-entry:focus-visible, .bell:focus-visible, .help-btn:focus-visible, .fb-it:focus-visible { outline: 2px solid #23c3df; outline-offset: 1px; }

/* ---------- 二级浮层（hover 展开，left:68px 与窄栏紧贴 = 热区连续） ---------- */
.flyout {
  position: fixed; left: 68px; top: 0; bottom: 0; width: 212px; z-index: 59;
  background: #FFFFFF; border-right: 1px solid var(--line); box-shadow: 8px 0 24px rgba(34,54,76,.10);
  padding: 0 0 12px; overflow-y: auto; animation: flyIn .16s ease-out;
}
@keyframes flyIn { from { opacity: 0; transform: translateX(-6px); } to { opacity: 1; transform: translateX(0); } }
.fly-t {
  padding: 12px 14px 9px; font-size: 13px; font-weight: 700; color: #22364c; letter-spacing: 1px;
  border-bottom: 1px solid var(--line); display: flex; align-items: baseline; gap: 8px; position: sticky; top: 0; background: #fff; z-index: 1;
}
.fly-en { font-size: 9px; letter-spacing: 2px; color: #73839b; font-weight: 600; font-family: var(--font-num); }
.fly-it {
  display: flex; align-items: center; gap: 9px; margin: 3px 10px; padding: 8px 10px;
  font-size: 12.5px; color: #485b73; cursor: pointer; position: relative; border-radius: 8px;
  background: #f4f8fc; border: 1px solid #eef2f7; transition: .15s;
}
.fly-it .ic svg { width: 15px; height: 15px; }
.fly-it .nm { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fly-it:hover { background: #e2f5fa; border-color: #b5d8e0; color: #076277; }
.fly-it.on { background: linear-gradient(90deg, #e2f5fa, #e2f5fa); border-color: var(--line-hi); color: #076277; font-weight: 600; }
.fly-forms, .nav-forms { font-size: 9px; color: #076277; background: #e2f5fa; border: 1px solid #b5d8e0; border-radius: 8px; padding: 1px 6px; letter-spacing: 0; flex: none; }
.nav-forms { margin-left: auto; }

/* ---------- 钉住宽栏均衡调整（仅总后台作用域，不影响神鉴/CRM 控制台的 .nav-item） ----------
   反馈 2026-10-15：二级大卡片字大、被「序号+图标+形态徽标」挤到换行显笨重。
   收敛：字号 13→12.5、内边距收紧、禁止换行；与一级窄栏 11px 形成均衡层级。 */
.nav .nav-sec { padding: 12px 12px 4px; letter-spacing: 2px; }
.nav .nav-item { font-size: 12.5px; letter-spacing: .2px; padding: 7px 10px; margin: 3px 10px; white-space: nowrap; }
.nav .nav-item .ic { width: 17px; }
.nav .nav-item .ic svg { width: 16px; height: 16px; }

/* ---------- 星标 / 健康灯（导航项内） ---------- */
.star { font-size: 12px; color: #b1bccb; cursor: pointer; flex: none; line-height: 1; transition: .15s; }
.star:hover { color: #d9a20a; transform: scale(1.15); }
.star.on { color: #d9a20a; text-shadow: 0 0 6px rgba(217,162,10,.5); }
.fly-it .star, .nav-item .star { opacity: 0; }
.fly-it:hover .star, .nav-item:hover .star, .star.on { opacity: 1; }
.hl { width: 7px; height: 7px; border-radius: 50%; flex: none; }
.hl.g { background: #1b9a5d; box-shadow: 0 0 5px rgba(27,154,93,.7); }
.hl.r { background: #d6453c; box-shadow: 0 0 5px rgba(214,69,60,.7); animation: pulse 1.2s infinite; }
.hl.a { background: #d9a20a; box-shadow: 0 0 5px rgba(217,162,10,.7); }
.hl.gray { background: #b1bccb; }

/* ---------- 顶栏：搜索入口 / 铃铛 / 帮助 ---------- */
.gs-entry {
  display: flex; align-items: center; gap: 7px; cursor: pointer; user-select: none;
  padding: 6px 12px; font-size: 12px; color: var(--txt-dim);
  background: #f4f8fc; border: 1px solid var(--line); border-radius: 8px; transition: .15s; min-width: 150px;
}
.gs-entry:hover { border-color: #b5d8e0; color: #076277; }
.gs-ic { font-size: 14px; }
.gs-kbd { margin-left: auto; font-size: 10px; color: #73839b; border: 1px solid var(--line); border-radius: 4px; padding: 1px 5px; background: #fff; font-family: var(--font-num); }
.bell { position: relative; cursor: pointer; font-size: 16px; width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; border-radius: 8px; transition: .15s; }
.bell:hover { background: #e2f5fa; }
.bell-n {
  position: absolute; top: -2px; right: -4px; min-width: 16px; height: 16px; border-radius: 8px;
  background: #d6453c; color: #fff; font-size: 10px; font-weight: 700; line-height: 16px; text-align: center; padding: 0 4px;
  box-shadow: 0 0 0 2px #fff;
}
.help-btn {
  width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--line); background: #f4f8fc;
  font-size: 13px; font-weight: 700; color: var(--txt-dim); cursor: pointer;
  display: flex; align-items: center; justify-content: center; transition: .15s;
}
.help-btn:hover { border-color: #b5d8e0; color: #076277; background: #e2f5fa; }

/* ---------- 形态切换条 ---------- */
.formbar {
  flex: none; display: flex; align-items: center; gap: 8px; padding: 8px 24px;
  background: #FFFFFF; border-bottom: 1px solid var(--line); flex-wrap: wrap;
}
.fb-lb { font-size: 11px; letter-spacing: 2px; color: var(--txt-dim); }
.fb-it {
  padding: 6px 14px; font-size: 12px; color: #485b73; cursor: pointer; border-radius: 6px;
  background: #f4f8fc; border: 1px solid #eef2f7; transition: .15s; display: flex; align-items: center; gap: 5px;
}
.fb-it:hover { color: #076277; background: #e2f5fa; border-color: #b5d8e0; }
.fb-it.on { background: linear-gradient(90deg, #0a7e96, #0a7e96); color: #fff; font-weight: 700; border-color: transparent; }
.fb-new { font-size: 11px; opacity: .8; }
.fb-tip { margin-left: auto; font-size: 10px; color: #b1bccb; letter-spacing: 1px; }

/* ---------- 待办聚合条（总览页置顶） ---------- */
.todobar {
  flex: none; display: flex; align-items: center; gap: 10px; padding: 8px 24px;
  background: linear-gradient(90deg, #fbf3da, #fbf3da); border-bottom: 1px solid #f5dfa0; flex-wrap: wrap;
}
.td-lb { font-size: 11px; letter-spacing: 2px; color: #c4520e; font-weight: 700; }
.td-it {
  display: flex; align-items: center; gap: 7px; padding: 5px 12px; font-size: 12px; cursor: pointer;
  background: #fff; border: 1px solid #f5dfa0; border-radius: 6px; color: #c4520e; transition: .15s;
}
.td-it:hover { border-color: #d9a20a; box-shadow: 0 2px 8px rgba(217,162,10,.18); }
.td-it b { font-family: var(--font-num); color: #c4520e; font-size: 14px; }
.td-it.warn b { color: #d6453c; }

/* ---------- 通知面板 ---------- */
.notif-panel {
  position: fixed; top: 56px; right: 16px; width: 360px; max-height: 70vh; z-index: 200;
  background: #fff; border: 1px solid #b1bccb; border-radius: 12px; box-shadow: 0 16px 48px rgba(34,54,76,.22);
  display: flex; flex-direction: column; overflow: hidden; animation: flyIn .16s ease-out;
}
.np-t { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.np-t b { font-size: 14px; color: #22364c; flex: 1; }
.np-all { font-size: 11px; color: #076277; cursor: pointer; }
.np-all:hover { text-decoration: underline; }
.np-x { cursor: pointer; color: #73839b; font-size: 13px; padding: 2px 6px; }
.np-x:hover { color: #485b73; }
.np-list { overflow-y: auto; }
.np-it { padding: 11px 16px; border-bottom: 1px solid #eef2f7; cursor: pointer; transition: .12s; position: relative; }
.np-it:hover { background: #f4f8fc; }
.np-it.unread { background: #e2f5fa; }
.np-it.unread::before { content: ''; position: absolute; left: 6px; top: 16px; width: 6px; height: 6px; border-radius: 50%; background: #0a7e96; }
.np-it.critical.unread::before, .np-it.critical .np-type { background: #d6453c; color: #fff; border-color: #d6453c; }
.np-h { display: flex; align-items: center; gap: 8px; }
.np-h b { font-size: 12.5px; color: #22364c; }
.np-type { font-size: 10px; padding: 1px 7px; border-radius: 8px; background: #e2f5fa; color: #076277; border: 1px solid #b5d8e0; flex: none; }
.np-c { font-size: 12px; color: #485b73; margin-top: 6px; line-height: 1.6; }
.np-time { font-size: 10.5px; color: #73839b; margin-top: 6px; font-family: var(--font-num); }
.np-empty { padding: 40px 0; text-align: center; font-size: 12px; color: #73839b; }

/* ---------- 全局搜索弹层（Ctrl+K） ---------- */
.gsearch {
  position: fixed; inset: 0; z-index: 300; background: rgba(34,54,76,.45);
  display: flex; align-items: flex-start; justify-content: center; padding-top: 12vh;
  animation: gsMask .15s ease-out;
}
@keyframes gsMask { from { opacity: 0; } to { opacity: 1; } }
.gs-box {
  width: 560px; max-width: 92vw; background: #fff; border-radius: 14px; overflow: hidden;
  box-shadow: 0 24px 64px rgba(34,54,76,.35); border: 1px solid #b1bccb;
  animation: gsBox .18s ease-out;
}
@keyframes gsBox { from { opacity: 0; transform: translateY(-10px) scale(.98); } to { opacity: 1; transform: none; } }
.gs-input {
  width: 100%; box-sizing: border-box; padding: 15px 18px; font-size: 14px; color: #22364c;
  border: 0; border-bottom: 1px solid var(--line); outline: none; background: #f4f8fc;
}
.gs-list { max-height: 46vh; overflow-y: auto; padding: 6px; }
.gs-it {
  display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 8px;
  cursor: pointer; font-size: 13px; color: #485b73;
}
.gs-it .ic svg { width: 15px; height: 15px; }
.gs-it.on { background: #e2f5fa; color: #076277; }
.gs-nm { font-weight: 600; }
.gs-gp { margin-left: auto; font-size: 10.5px; color: #73839b; letter-spacing: 1px; }
.gs-empty { padding: 32px 0; text-align: center; font-size: 12px; color: #73839b; }
.gs-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 10px 16px; border-top: 1px solid var(--line); background: #f4f8fc;
}
.gs-ai { font-size: 12px; color: #076277; cursor: pointer; font-weight: 600; }
.gs-ai:hover { text-decoration: underline; }
.gs-hint { font-size: 10.5px; color: #73839b; }

/* ---------- 窄栏模式下的主区自适应 / 移动端抽屉降级 ---------- */
.shell .main { min-width: 0; }
@media (max-width: 900px) {
  .flyout { width: min(76vw, 260px); }
  .gs-entry { min-width: 0; }
  .gs-entry .gs-kbd { display: none; }
  .fb-tip { display: none; }
}
