/* =============================================================
   源锦辰天工 · 平台总部控制台（明亮企业风）
   配套 tiangong-scifi.css 使用：本文件负责 Element Plus 浅色适配、
   品牌 Logo 动态特效、各功能页辅助样式
   ============================================================= */

/* ---------- Element Plus 令牌覆盖（明亮企业风） ---------- */
html[data-theme="platform"] {
  --el-bg-color: #ffffff;
  --el-bg-color-page: #F3F6FA;
  --el-bg-color-overlay: #ffffff;
  --el-text-color-primary: #1E293B;
  --el-text-color-regular: #334155;
  --el-text-color-secondary: #64748B;
  --el-text-color-placeholder: #94A3B8;
  --el-border-color: #D9E2EC;
  --el-border-color-light: #E2E8F2;
  --el-border-color-lighter: #E9EFF6;
  --el-border-color-extra-light: #F1F5FA;
  --el-fill-color: #E8EEF5;
  --el-fill-color-light: #F1F5FA;
  --el-fill-color-lighter: #F7FAFD;
  --el-fill-color-blank: #ffffff;
  --el-color-primary: #0891B2;
  --el-color-primary-light-3: #06B6D4;
  --el-color-primary-light-5: #38BDF8;
  --el-color-primary-light-7: #BAE6FD;
  --el-color-primary-light-8: #E0F2FE;
  --el-color-primary-light-9: #F0F9FF;
  --el-color-primary-dark-2: #0E7490;
  --el-color-success: #059669;
  --el-color-warning: #D97706;
  --el-color-danger: #DC2626;
  --el-color-error: #DC2626;
  --el-mask-color: rgba(15, 23, 42, .45);
}
html[data-theme="platform"] .el-button--primary {
  --el-button-text-color: #ffffff;
  --el-button-hover-text-color: #ffffff;
  --el-button-bg-color: #0891B2;
  --el-button-border-color: #0891B2;
  --el-button-hover-bg-color: #06B6D4;
  --el-button-hover-border-color: #06B6D4;
  --el-button-active-bg-color: #0E7490;
  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: #F8FAFC;
  --el-table-border-color: #E2E8F2;
  --el-table-row-hover-bg-color: #F0F9FF;
  --el-table-header-text-color: #64748B;
  --el-table-text-color: #334155;
  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 #E2E8F2; border-radius: 10px;
  box-shadow: 0 12px 40px rgba(15, 40, 70, .18);
}
html[data-theme="platform"] .el-dialog__title { color: #0F172A; letter-spacing: 1px; font-weight: 700; }
html[data-theme="platform"] .el-drawer { background: #ffffff; border-left: 1px solid #E2E8F2; }
html[data-theme="platform"] .el-drawer__title { color: #0F172A; font-weight: 700; }
html[data-theme="platform"] .el-tabs__item { color: #64748B; }
html[data-theme="platform"] .el-tabs__item.is-active { color: #0891B2; font-weight: 600; }
html[data-theme="platform"] .el-tabs__active-bar { background-color: #0891B2; }
html[data-theme="platform"] .el-tabs__nav-wrap::after { background-color: #E2E8F2; }
html[data-theme="platform"] .el-pagination { --el-pagination-bg-color: #ffffff; --el-pagination-button-disabled-bg-color: #F1F5FA; }
html[data-theme="platform"] .el-pagination button, html[data-theme="platform"] .el-pager li { background: #ffffff; color: #334155; }
html[data-theme="platform"] .el-pager li.is-active { color: #0891B2; font-weight: 700; }
html[data-theme="platform"] .el-empty__description p { color: #94A3B8; }
html[data-theme="platform"] .el-descriptions { --el-descriptions-table-border: #E2E8F2; }
html[data-theme="platform"] .el-descriptions__label { color: #64748B !important; }
html[data-theme="platform"] .el-descriptions__content { color: #1E293B !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: #0891B2; }

/* ---------- 根布局 ---------- */
.platform-root { height: 100vh; 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: #0F172A; }
.bn-en { font: 700 8px/1 'Rajdhani', 'Segoe UI', Arial, sans-serif; color: #64748B; 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(245, 158, 11, .5)); }
/* 金色方块：整体缓慢旋转 + 呼吸光晕 */
@keyframes lgSpin { to { transform: rotate(360deg); } }
@keyframes lgGoldGlow { 0%, 100% { filter: drop-shadow(0 0 1px rgba(217, 160, 40, .25)); } 50% { filter: drop-shadow(0 0 4px rgba(217, 160, 40, .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(217, 119, 6, .2)); } 50% { filter: drop-shadow(0 0 3px rgba(217, 119, 6, .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: calc(100vh - 64px - 42px); 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 #7DD3FC; overflow: hidden; border-radius: 6px; }
.wb-seg div { padding: 8px 12px; font-size: 12px; color: #475569; cursor: pointer; transition: .15s; }
.wb-seg div:hover { color: #0E7490; background: #F0F9FF; }
.wb-seg div.on { background: linear-gradient(90deg, #0891B2, #06B6D4); color: #FFFFFF; font-weight: 700; }
.wb-tip { margin-top: 12px; font-size: 12px; color: #B45309; background: #FFFBEB; border: 1px solid #F5D0A0; 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: #F8FAFC; 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: #475569; cursor: pointer; margin-bottom: 2px; transition: .15s; border-radius: 6px; }
.wb-mi:hover { background: #F0F9FF; color: #0E7490; }
.wb-mi.on { background: #DFF3FA; color: #0E7490; 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: #F8FAFC; 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 #CBD5E1; background: #fff; overflow: hidden; position: relative; box-shadow: 0 8px 24px rgba(15, 40, 70, .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 #7DD3FC;
  background: repeating-conic-gradient(rgba(8, 145, 178, .3) 0 25%, #ffffff 0 50%) 50% / 14px 14px; }
.wb-mp-t { text-align: center; font-size: 13px; font-weight: 700; color: #0F172A; }
.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: #F0F9FF; color: #0E7490; font-size: 9px; text-align: center; padding: 4px 8px; line-height: 1.3; border-bottom: 1px solid #BAE6FD; }
.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: #475569; cursor: pointer; transition: .15s; letter-spacing: 1px; border-radius: 6px; }
.acad-tabs div:hover { color: #0E7490; background: #F0F9FF; }
.acad-tabs div.on { background: #DFF3FA; color: #0E7490; 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(15, 40, 70, .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: #0F172A; letter-spacing: .5px; }
.acad-st { margin-left: auto; font-size: 11px; color: #B45309; border: 1px solid #F5D0A0; background: #FFFBEB; padding: 1px 8px; letter-spacing: 1px; border-radius: 4px; }
.acad-st.on { color: #047857; border-color: #A7E8CE; background: #ECFDF5; }
.acad-p { font-size: 12.5px; color: #334155; 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: #F8FAFC; border: 1px solid #E6ECF4; 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: #E8EEF5; 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, #38BDF8, #0891B2); }
.rate-bar .seg.amber i { background: linear-gradient(90deg, #FBBF24, #D97706); }
.rate-bar .seg.green i { background: linear-gradient(90deg, #34D399, #059669); }

/* ---------- 生态开发者 ---------- */
.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: #E0F2FE; color: #0E7490; border: 1px solid #7DD3FC; }
.api-method.post { background: #ECFDF5; color: #047857; border: 1px solid #A7E8CE; }
.api-method.put { background: #FFFBEB; color: #B45309; border: 1px solid #F5D0A0; }
.api-method.del { background: #FEF2F2; color: #B91C1C; border: 1px solid #FECACA; }
.api-path { font-family: var(--font-num); font-size: 12px; color: #0F172A; }
.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: #F8FAFC; border: 1px solid #E6ECF4; 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 #BAE6FD; background: #F0F9FF;
  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: #0F172A; 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); }

/* ---------- 模块市场卡片 ---------- */
.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(15, 40, 70, .10); }
.mod-h { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.mod-name { font-size: 14px; font-weight: 700; color: #0F172A; 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: #F8FAFC; border: 1px solid #E6ECF4; transition: .15s;
}
.ov-cat:hover { border-color: #7DD3FC; background: #F0F9FF; }
.ov-cat.on { border-color: var(--cyan); background: #DFF3FA; box-shadow: 0 2px 8px rgba(8,145,178,.12); }
.ov-cat-name { font-size: 14px; font-weight: 700; color: #0F172A; }
.ov-cat.on .ov-cat-name { color: #0E7490; }
.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: #64748B; 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: #38E5FF; box-shadow: 0 0 8px #38E5FF; }
.lg-built { background: #34D399; box-shadow: 0 0 6px rgba(52,211,153,.8); }
.lg-plan { background: transparent; border: 1.5px dashed #7C92B2; }
.lg-flow { width: 18px; border-radius: 0; background: linear-gradient(90deg, transparent, #38E5FF); box-shadow: 0 0 6px #38E5FF; }

.sb-stage {
position: relative; margin-top: 8px; border-radius: 12px; overflow: hidden;
  border: 1px solid rgba(56,160,220,.25);
  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(150,230,255,.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(190, 238, 255, .75);
padding: 4px 12px; border-radius: 12px; pointer-events: none;
  background: rgba(8, 24, 44, .55); border: 1px solid rgba(56, 229, 255, .25);
}

/* 地面网格 */
.sb-ground line { stroke: rgba(56,180,220,.13); stroke-width: 1; }
.sb-ground .sb-frame { fill: none; stroke: rgba(56,229,255,.5); stroke-width: 1.4; filter: drop-shadow(0 0 6px rgba(56,229,255,.6)); }

/* 光环 + 雷达 */
.sb-ring { fill: none; stroke: rgba(56,229,255,.35); stroke-width: 1; stroke-dasharray: 3 9; }
.sb-ring.r0 { stroke: rgba(56,229,255,.55); }
.sb-ring.r2 { stroke: rgba(56,229,255,.22); }
.sb-radar-beam { filter: drop-shadow(0 0 8px rgba(120,230,255,.3)); }
.sb-radar-beam line { stroke: #D8FBFF; stroke-width: 1.2; filter: drop-shadow(0 0 4px #77EEFF); }

/* 数据流光线（城市层每帧重投影，用静态光轨；动感来自城市自转与拖拽） */
.sb-flow { fill: none; stroke: rgba(56, 229, 255, .5); stroke-width: 1.3; stroke-dasharray: 5 9; filter: drop-shadow(0 0 3px rgba(56, 229, 255, .6)); }
.sb-flow.dead { stroke: rgba(110, 130, 160, .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(78,232,255,.65)); }
.sb-bld.on { filter: brightness(1.18) drop-shadow(0 0 12px rgba(78,232,255,.85)); }
.sb-bld.plan { opacity: .8; }
.sb-bld.plan:hover { opacity: 1; }
.sb-win.lit-a { fill: #FFE6A3; }
.sb-win.lit-b { fill: #BDF6FF; }
.sb-win.off { fill: rgba(120, 160, 190, .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(16,60,92,.35); stroke: #39E7FF; stroke-width: 1.4; filter: drop-shadow(0 0 10px rgba(56,229,255,.5)); }
.sb-tower { fill: url(#sbTowerG); stroke: rgba(150,235,255,.7); stroke-width: 1; }
.sb-edge { stroke: rgba(180,245,255,.4); stroke-width: .8; }
.sb-tw { stroke: rgba(160,240,255,.55); stroke-width: 1; }
.sb-spire { fill: #A8F6FF; stroke: #E8FEFF; stroke-width: .8; filter: drop-shadow(0 0 8px rgba(56,229,255,.9)); }
.sb-crystal { transform-box: view-box; transform-origin: 540px 192px; animation: sbCrystal 6s ease-in-out infinite; }
.sb-crystal polygon { fill: #E8FEFF; stroke: #38E5FF; stroke-width: 1; filter: drop-shadow(0 0 10px #38E5FF); }
@keyframes sbCrystal { 0%, 100% { transform: rotate(0deg) scaleY(1); } 50% { transform: rotate(180deg) scaleY(1.12); } }
.sb-core-name { fill: #8FE9FF; 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(255, 220, 130, .45)) drop-shadow(0 0 22px rgba(56, 229, 255, .30)); }
.sb-logo-ring {
  fill: none; stroke: rgba(255, 222, 150, .4); stroke-width: 1; stroke-dasharray: 4 12;
  filter: drop-shadow(0 0 4px rgba(255, 210, 122, .5));
}
.sb-title {
  font-size: 27px; font-weight: 800; letter-spacing: 8px; fill: url(#sbTitleG);
  filter: drop-shadow(0 0 10px rgba(255, 226, 150, .55)) drop-shadow(0 0 20px rgba(56, 229, 255, .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(56,229,255,.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: #7FF0FF; fill: rgba(10,40,64,.92); filter: drop-shadow(0 0 8px rgba(56,229,255,.6)); }
.sb-lab text { fill: #DFF7FF; font-size: 12px; text-anchor: middle; font-weight: 700; letter-spacing: 1px; }
.sb-lab.plan text { fill: #9FB3CF; }
.sb-tenants { fill: #FFD27A !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(56,160,220,.2);
  background: linear-gradient(180deg, #0A1426, #080F1F);
}
.sb-d-main { flex: 1; min-width: 0; }
.sb-d-name { font-size: 16px; font-weight: 800; color: #EAF8FF; 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: #63F4CC; background: rgba(52,211,153,.12); border: 1px solid rgba(52,211,153,.5); }
.sb-d-tag.plan { color: #9FB3CF; background: rgba(130,150,180,.1); border: 1px solid #46587A; }
.sb-d-tag.sell { color: #FFD27A; background: rgba(245,158,11,.1); border: 1px solid rgba(245,158,11,.45); }
.sb-d-desc { font-size: 12px; color: #8FA9C8; 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: #38E5FF; text-shadow: 0 0 12px rgba(56,229,255,.6); }
.sb-d-m span { font-size: 11px; color: #7E94B0; }
.sb-d-btn {
  background: linear-gradient(90deg, #0891B2, #06B6D4); 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(56,229,255,.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 #E2E8F2; }
.ov-sub { padding: 12px 16px; border: 1px solid #E6ECF4; border-radius: 8px; background: #FFFFFF; cursor: pointer; transition: .15s; }
.ov-sub:hover { border-color: #7DD3FC; box-shadow: 0 4px 12px rgba(15,40,70,.08); transform: translateY(-1px); }
.ov-sub-h { display: flex; align-items: center; justify-content: space-between; }
.ov-sub-h b { font-size: 13px; color: #0F172A; }
.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); }

/* ===== 配图工厂：目标卡 + 任务队列 + 审核抽屉 ===== */
.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(14,116,144,.12); }
.sf-card.on { border-color: var(--cyan); box-shadow: 0 0 0 1px var(--cyan), 0 4px 16px rgba(14,116,144,.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: #0F172A; letter-spacing: .5px; }
.sf-badge { margin-left: auto; font-size: 11px; padding: 2px 9px; border-radius: 20px; letter-spacing: 1px; }
.sf-badge.ready { color: #047857; background: #ECFDF5; border: 1px solid #A7E8CE; }
.sf-badge.lock { color: #B45309; background: #FFFBEB; border: 1px solid #F5D0A0; }
.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: #475569; cursor: pointer; border-radius: 6px; letter-spacing: 1px; }
.sf-tabs div:hover { color: #0E7490; background: #F0F9FF; }
.sf-tabs div.on { background: #DFF3FA; color: #0E7490; 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: #0F172A; }
.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: #B91C1C; background: #FEF2F2; border: 1px solid #fecaca; 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: #0B1220; border: 1px solid #1E293B; border-radius: 10px; padding: 10px; text-align: center; }
.sf-rev-imgs figcaption { font-size: 12px; color: #94A3B8; 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 #e5e7eb; border-radius:10px; padding:14px 16px; }
.sf-mini-card .lbl { font-size:12px; color:#6b7280; }
.sf-mini-card .num { font-size:26px; font-weight:700; color:#1f6feb; 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:#1a9fff;color:#060912;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 #3fcfff;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: #475569; transition: .15s; position: relative; flex: none;
}
.rail-it .ic svg { width: 18px; height: 18px; }
.rail-it:hover { background: #F0F9FF; color: #0E7490; }
.rail-it.on { background: linear-gradient(180deg, #DFF3FA, #F0F9FF); color: #0E7490; }
.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: #F0F9FF; color: #0E7490; box-shadow: inset 0 0 0 1px #7DD3FC; }
.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); }
.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 #3fcfff; 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(15, 40, 70, .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: #0F172A; 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: #94A3B8; 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: #334155; cursor: pointer; position: relative; border-radius: 8px;
  background: #F8FAFC; border: 1px solid #E6ECF4; 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: #F0F9FF; border-color: #7DD3FC; color: #0E7490; }
.fly-it.on { background: linear-gradient(90deg, #DFF3FA, #F0F9FF); border-color: var(--line-hi); color: #0E7490; font-weight: 600; }
.fly-forms, .nav-forms { font-size: 9px; color: #0E7490; background: #E0F2FE; border: 1px solid #BAE6FD; 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: #CBD5E1; cursor: pointer; flex: none; line-height: 1; transition: .15s; }
.star:hover { color: #F59E0B; transform: scale(1.15); }
.star.on { color: #F59E0B; text-shadow: 0 0 6px rgba(245, 158, 11, .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: #22C55E; box-shadow: 0 0 5px rgba(34, 197, 94, .7); }
.hl.r { background: #EF4444; box-shadow: 0 0 5px rgba(239, 68, 68, .7); animation: pulse 1.2s infinite; }
.hl.a { background: #F59E0B; box-shadow: 0 0 5px rgba(245, 158, 11, .7); }
.hl.gray { background: #CBD5E1; }

/* ---------- 顶栏：搜索入口 / 铃铛 / 帮助 ---------- */
.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: #F8FAFC; border: 1px solid var(--line); border-radius: 8px; transition: .15s; min-width: 150px;
}
.gs-entry:hover { border-color: #7DD3FC; color: #0E7490; }
.gs-ic { font-size: 14px; }
.gs-kbd { margin-left: auto; font-size: 10px; color: #94A3B8; 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: #F0F9FF; }
.bell-n {
  position: absolute; top: -2px; right: -4px; min-width: 16px; height: 16px; border-radius: 8px;
  background: #EF4444; 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: #F8FAFC;
  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: #7DD3FC; color: #0E7490; background: #F0F9FF; }

/* ---------- 形态切换条 ---------- */
.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: #475569; cursor: pointer; border-radius: 6px;
  background: #F8FAFC; border: 1px solid #E6ECF4; transition: .15s; display: flex; align-items: center; gap: 5px;
}
.fb-it:hover { color: #0E7490; background: #F0F9FF; border-color: #7DD3FC; }
.fb-it.on { background: linear-gradient(90deg, #0891B2, #06B6D4); color: #fff; font-weight: 700; border-color: transparent; }
.fb-new { font-size: 11px; opacity: .8; }
.fb-tip { margin-left: auto; font-size: 10px; color: #B6C4D6; letter-spacing: 1px; }

/* ---------- 待办聚合条（总览页置顶） ---------- */
.todobar {
  flex: none; display: flex; align-items: center; gap: 10px; padding: 8px 24px;
  background: linear-gradient(90deg, #FFFBEB, #FFFDF5); border-bottom: 1px solid #F5D0A0; flex-wrap: wrap;
}
.td-lb { font-size: 11px; letter-spacing: 2px; color: #B45309; 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 #F5D0A0; border-radius: 6px; color: #92400E; transition: .15s;
}
.td-it:hover { border-color: #F59E0B; box-shadow: 0 2px 8px rgba(245, 158, 11, .18); }
.td-it b { font-family: var(--font-num); color: #D97706; font-size: 14px; }
.td-it.warn b { color: #DC2626; }

/* ---------- 通知面板 ---------- */
.notif-panel {
  position: fixed; top: 56px; right: 16px; width: 360px; max-height: 70vh; z-index: 200;
  background: #fff; border: 1px solid #E2E8F2; border-radius: 12px; box-shadow: 0 16px 48px rgba(15, 40, 70, .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: #0F172A; flex: 1; }
.np-all { font-size: 11px; color: #0E7490; cursor: pointer; }
.np-all:hover { text-decoration: underline; }
.np-x { cursor: pointer; color: #94A3B8; font-size: 13px; padding: 2px 6px; }
.np-x:hover { color: #334155; }
.np-list { overflow-y: auto; }
.np-it { padding: 11px 16px; border-bottom: 1px solid #F1F5FA; cursor: pointer; transition: .12s; position: relative; }
.np-it:hover { background: #F8FAFC; }
.np-it.unread { background: #F0F9FF; }
.np-it.unread::before { content: ''; position: absolute; left: 6px; top: 16px; width: 6px; height: 6px; border-radius: 50%; background: #0891B2; }
.np-it.critical.unread::before, .np-it.critical .np-type { background: #EF4444; color: #fff; border-color: #EF4444; }
.np-h { display: flex; align-items: center; gap: 8px; }
.np-h b { font-size: 12.5px; color: #0F172A; }
.np-type { font-size: 10px; padding: 1px 7px; border-radius: 8px; background: #E0F2FE; color: #0E7490; border: 1px solid #BAE6FD; flex: none; }
.np-c { font-size: 12px; color: #475569; margin-top: 6px; line-height: 1.6; }
.np-time { font-size: 10.5px; color: #94A3B8; margin-top: 6px; font-family: var(--font-num); }
.np-empty { padding: 40px 0; text-align: center; font-size: 12px; color: #94A3B8; }

/* ---------- 全局搜索弹层（Ctrl+K） ---------- */
.gsearch {
  position: fixed; inset: 0; z-index: 300; background: rgba(15, 23, 42, .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(2, 8, 23, .35); border: 1px solid #E2E8F2;
  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: #0F172A;
  border: 0; border-bottom: 1px solid var(--line); outline: none; background: #F8FAFC;
}
.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: #334155;
}
.gs-it .ic svg { width: 15px; height: 15px; }
.gs-it.on { background: #DFF3FA; color: #0E7490; }
.gs-nm { font-weight: 600; }
.gs-gp { margin-left: auto; font-size: 10.5px; color: #94A3B8; letter-spacing: 1px; }
.gs-empty { padding: 32px 0; text-align: center; font-size: 12px; color: #94A3B8; }
.gs-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 10px 16px; border-top: 1px solid var(--line); background: #F8FAFC;
}
.gs-ai { font-size: 12px; color: #0E7490; cursor: pointer; font-weight: 600; }
.gs-ai:hover { text-decoration: underline; }
.gs-hint { font-size: 10.5px; color: #94A3B8; }

/* ---------- 窄栏模式下的主区自适应 / 移动端抽屉降级 ---------- */
.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; }
}
