/* 运营总览（台账后台）。按《设计总纲》：字阶 13/16/20/24/32/40、间距 4 的倍数、圆角 8/12/16/999、
   一个强调色（#0265C2）、状态只用小面积胶囊、尊重「减少动画」。图标：Lucide（ISC 许可，© Lucide Icons and Contributors），线宽 1.5。 */
#ovApp{display:none;overflow:auto;height:calc(100vh - 49px);background:#f4f6f9}
body.authed.view-ov #app,body.authed.view-ov #assetsApp,body.authed.view-ov #billingApp,body.authed.view-ov #equipApp,
body.authed.view-ov #leadsApp,body.authed.view-ov #contractsApp,body.authed.view-ov #tenantsApp,body.authed.view-ov #extApp,
body.authed.view-ov #keyApp,body.authed.view-ov #certApp,body.authed.view-ov #opsApp,body.authed.view-ov #incentivesApp{display:none}
body.authed.view-ov #ovApp{display:block}

.ov{--surface:#fff;--line:#e4e7ec;--ink:#101828;--ink2:#475467;--blue:#0265c2;--blue-soft:#e8f1fb;--ok:#067647;--ok-bg:#ecfdf3;--warn:#93370d;--warn-bg:#fffaeb;--bad:#b42318;--bad-bg:#fef3f2;
  --ease:cubic-bezier(.2,0,0,1);max-width:1280px;margin:0 auto;padding:24px;font-size:16px;line-height:24px;color:var(--ink)}
.ov *{box-sizing:border-box}
.ov button{font:inherit;color:inherit}
.ov :focus-visible{outline:2px solid var(--blue);outline-offset:2px}
.ov-ico{width:20px;height:20px;flex:none;stroke:currentColor;fill:none;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}

/* 顶部结论带 */
.ov-head{margin-bottom:24px}
.ov-conclusion{margin-bottom:16px}
.ov-sentence{margin:0;font-size:20px;line-height:28px;font-weight:600}
.ov-sentence b{color:var(--blue);font-weight:700}
.ov-park-switch{display:flex;gap:8px;flex-wrap:wrap}
.ov-park-btn{height:40px;padding:0 16px;border:1px solid var(--line);border-radius:8px;background:var(--surface);font-weight:600;cursor:pointer;transition:background-color .15s var(--ease),border-color .15s var(--ease)}
.ov-park-btn:hover{background:#f4f6f9}
.ov-park-btn[aria-pressed="true"]{background:var(--blue-soft);border-color:var(--blue-soft);color:var(--blue)}

/* 区域布局 */
.ov-sections{display:flex;flex-direction:column;gap:24px}
.ov-row{display:grid;grid-template-columns:1fr 1fr;gap:24px}
.ov-card{background:var(--surface);border:1px solid var(--line);border-radius:16px;padding:24px;min-height:120px}
.ov-card-title{margin:0 0 16px;font-size:20px;line-height:28px;font-weight:600}

/* 数据展示 */
.ov-facts{display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:16px;margin-bottom:16px}
.ov-facts .k{display:block;font-size:13px;line-height:20px;color:var(--ink2)}
.ov-facts .v{display:block;font-weight:600;overflow-wrap:anywhere}
.ov-facts .v.big{font-size:32px;line-height:40px;font-weight:700;color:var(--blue)}
.ov-line{display:flex;gap:8px;align-items:flex-start;margin-bottom:8px;font-size:13px;line-height:20px}
.ov-line .k{color:var(--ink2);font-weight:600;flex:none}
.ov-line .v{color:var(--ink)}
.ov-note{margin-top:8px;font-size:13px;line-height:20px;color:var(--ink2)}
.ov-denied{margin:0;font-size:13px;line-height:20px;color:var(--ink2)}

/* 表格 */
.ov-table{width:100%;border-collapse:collapse;font-size:13px;line-height:20px}
.ov-table th{text-align:left;padding:8px 12px;border-bottom:1px solid var(--line);color:var(--ink2);font-weight:600}
.ov-table td{padding:8px 12px;border-bottom:1px solid var(--line)}
.ov-unit{cursor:pointer;transition:background-color .15s var(--ease)}
.ov-unit:hover{background:#f4f6f9}
.ov-unit[aria-expanded="true"]{background:var(--blue-soft)}
.ov-unit-detail td{padding:8px 12px;background:#f9fafb}
.ov-detail{display:flex;flex-direction:column;gap:4px;font-size:13px;line-height:20px;color:var(--ink2)}
.ov-muted{color:var(--ink2)}
.ov-sub{margin-top:16px}
.ov-sub-t{margin:0 0 8px;font-size:13px;line-height:20px;font-weight:600;color:var(--ink2)}

/* 状态胶囊 */
.ov-chip{display:inline-flex;align-items:center;gap:4px;padding:0 8px;border-radius:999px;font-size:13px;line-height:20px;font-weight:600;background:#eef1f5;color:var(--ink2);white-space:nowrap}
.ov-chip.ok{background:var(--ok-bg);color:var(--ok)}
.ov-chip.warn{background:var(--warn-bg);color:var(--warn)}
.ov-chip.bad{background:var(--bad-bg);color:var(--bad)}
.ov-chip.blue{background:var(--blue-soft);color:var(--blue)}

/* 按钮 */
.ov-btn{height:40px;padding:0 16px;border:1px solid var(--line);border-radius:8px;background:var(--surface);font-weight:600;cursor:pointer;transition:background-color .15s var(--ease),border-color .15s var(--ease)}
.ov-btn:hover{background:#f4f6f9}
.ov-btn.primary{background:var(--blue);border-color:var(--blue);color:#fff}
.ov-btn.primary:hover{background:#014f9b;border-color:#014f9b}

/* 空态 / 加载态 / 出错态 */
.ov-empty{display:flex;flex-direction:column;align-items:center;gap:8px;padding:48px 24px;text-align:center;color:var(--ink2)}
.ov-empty .ov-ico{width:40px;height:40px;stroke-width:1.25}
.ov-empty b{color:var(--ink);font-size:20px;line-height:28px;font-weight:600}
.ov-skel{display:flex;flex-direction:column;gap:12px;padding:24px}
.ov-skel i{display:block;height:20px;border-radius:8px;background:#eceff3;animation:ov-pulse 1.4s ease-in-out infinite}
.ov-skel i:nth-child(1){width:60%;height:32px}.ov-skel i:nth-child(3){width:80%}
@keyframes ov-pulse{50%{opacity:.5}}

/* 提示条 */
.ov-toast{position:fixed;left:50%;bottom:24px;z-index:60;transform:translateX(-50%);max-width:calc(100vw - 32px);padding:12px 16px;border-radius:12px;background:var(--ink);color:#fff;
  box-shadow:0 8px 24px rgba(16,24,40,.16);animation:ov-toast .25s var(--ease)}
@keyframes ov-toast{from{opacity:0;transform:translate(-50%,8px)}to{opacity:1;transform:translate(-50%,0)}}

/* 暗色模式 */
@media (prefers-color-scheme:dark){
  .ov{--surface:#1a1f2e;--line:#2d3748;--ink:#e2e8f0;--ink2:#94a3b8;--blue:#60a5fa;--blue-soft:#1e3a5f;--ok:#34d399;--ok-bg:#064e3b;--warn:#fbbf24;--warn-bg:#78350f;--bad:#f87171;--bad-bg:#7f1d1d}
  .ov-park-btn,.ov-btn{background:var(--surface);color:var(--ink)}
  .ov-park-btn:hover,.ov-btn:hover{background:#2d3748}
  .ov-unit:hover{background:#2d3748}
  .ov-unit-detail td{background:#1e293b}
  .ov-skel i{background:#2d3748}
}

/* 响应式 */
@media (max-width:1000px){.ov-row{grid-template-columns:1fr}.ov-facts{grid-template-columns:1fr 1fr}}
@media (max-width:760px){.ov{padding:16px}.ov-btn,.ov-park-btn,.ov-unit{min-height:44px}.ov-btn{height:44px}#ovApp{height:auto}}
@media (prefers-reduced-motion:reduce){.ov *,.ov-toast{animation:none!important;transition:none!important}}

/* ── 值守台层（只在壳开启时渲染：脚本里 wb() 为真才会有这些元素，壳关时旧页逐像素不变） ──
   字阶 13/16/20/24/40、字重 400/600、一个强调色（蓝）+ AI 橙点（登录页同款，只用在「数字」和「在线点」上，一屏一处亮点）、
   圆角 8/12/16/999、间距 4 的倍数。 */
html.sh-on .ov-wb{max-width:none;padding:8px 20px 120px}   /* .sh-page 自己只留 4px 边；20+4+396=420，与面包屑左边严格对齐 */
html.sh-on .ov-wb .ov-eyebrow{display:flex;align-items:center;gap:8px;font-size:13px;line-height:20px;color:var(--ink2)}
html.sh-on .ov-wb .ov-eyebrow::before{content:"";width:8px;height:8px;border-radius:50%;background:#ff7a1a}
html.sh-on .ov-wb .ov-hello{margin:12px 0 8px;font-size:24px;line-height:32px;font-weight:600;letter-spacing:-.01em;color:var(--ink)}
html.sh-on .ov-wb .ov-conclusion{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;flex-wrap:wrap;margin-bottom:16px}
html.sh-on .ov-wb .ov-sentence{font-size:24px;line-height:32px;font-weight:600;max-width:720px}
html.sh-on .ov-wb .ov-sentence b{color:#ff7a1a;font-weight:600}
html.sh-on .ov-wb .ov-sentence .d{display:block;margin-top:4px;font-size:16px;line-height:24px;font-weight:400;color:var(--ink2)}
html.sh-on .ov-wb .ov-btn.primary{height:40px;padding:0 20px;border:0;border-radius:8px;background:var(--blue);color:#fff;font-weight:600;cursor:pointer}
html.sh-on .ov-wb .ov-btn.primary:hover{background:#0a58a8}
html.sh-on .ov-prio{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:0 0 24px;font-size:13px;line-height:20px;color:var(--ink2)}
html.sh-on .ov-prio .k{font-weight:600;margin-right:4px}
html.sh-on .ov-prio i{font-style:normal;display:inline-flex;align-items:center;gap:8px;height:28px;padding:0 12px 0 4px;border:1px solid var(--line);border-radius:999px;background:var(--surface)}
html.sh-on .ov-prio i b{width:20px;height:20px;border-radius:50%;background:var(--ink);color:#fff;font-size:13px;font-weight:600;line-height:20px;text-align:center}
html.sh-on .ov-sec-t{margin:32px 0 12px;font-size:13px;line-height:20px;font-weight:600;color:var(--ink2);display:flex;align-items:center;gap:12px}
html.sh-on .ov-sec-t::after{content:"";flex:1;height:1px;background:var(--line)}
html.sh-on .ov-attn{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:16px}
html.sh-on .ov-attn:empty{display:none}
html.sh-on .ov-acard{display:flex;flex-direction:column;align-items:flex-start;gap:8px;text-align:left;padding:20px;border:1px solid var(--line);border-radius:16px;background:var(--surface);cursor:pointer;
  transition:transform .2s var(--ease),box-shadow .2s var(--ease),border-color .2s var(--ease)}
html.sh-on .ov-acard:hover{transform:translateY(-2px);border-color:#b6cdea;box-shadow:0 8px 24px rgba(10,45,85,.10)}
html.sh-on .ov-acard b{font-size:20px;line-height:28px;font-weight:600}
html.sh-on .ov-adetail{font-size:13px;line-height:20px;color:var(--ink2)}
html.sh-on .ov-alink{margin-top:auto;padding-top:4px;font-size:13px;line-height:20px;font-weight:600;color:var(--blue)}
html.sh-on .ov-tag{display:inline-flex;align-items:center;height:24px;padding:0 8px;border-radius:999px;font-size:13px;font-weight:600;line-height:20px}
html.sh-on .ov-tag.warn{color:var(--warn);background:var(--warn-bg);border:1px solid #fedf89}
html.sh-on .ov-tag.info{color:var(--blue);background:var(--blue-soft);border:1px solid transparent}
html.sh-on .ov-wb .ov-park-switch{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:12px}
html.sh-on .ov-wb .ov-park-btn{display:flex;align-items:center;gap:12px;height:auto;min-height:64px;padding:12px 16px;border-radius:16px;text-align:left}
html.sh-on .ov-wb .ov-park-btn[aria-pressed="true"]{border-color:var(--blue);background:var(--blue-soft)}
html.sh-on .ov-pt{display:flex;flex-direction:column;min-width:0}
html.sh-on .ov-pt b{font-size:16px;line-height:24px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html.sh-on .ov-pt small{font-size:13px;line-height:20px;font-weight:400;color:var(--ink2)}
html.sh-on .ov-ring{--v:0;flex:none;width:44px;height:44px;border-radius:50%;background:conic-gradient(var(--blue) calc(var(--v)*1%),#e8eef7 0);display:grid;place-items:center}
html.sh-on .ov-ring::after{content:attr(data-t);width:34px;height:34px;border-radius:50%;background:var(--surface);display:grid;place-items:center;font-size:13px;font-weight:600;line-height:20px}
/* AI 指令条：贴在内容页底部，常驻 */
html.sh-on .ov-cmd{position:sticky;bottom:16px;z-index:5;margin-top:32px}
html.sh-on .ov-cmd[hidden]{display:none}
html.sh-on .ov-chips{display:flex;gap:8px;flex-wrap:wrap;justify-content:center;margin-bottom:8px}
html.sh-on .ov-chips button{height:32px;padding:0 12px;border:1px solid var(--line);border-radius:999px;background:rgba(255,255,255,.94);font-size:13px;line-height:20px;color:var(--ink2);cursor:pointer}
html.sh-on .ov-chips button:hover{border-color:var(--blue);color:var(--blue)}
html.sh-on .ov-bar{display:flex;align-items:center;gap:12px;max-width:760px;margin:0 auto;padding:8px 8px 8px 16px;border:1px solid var(--line);border-radius:16px;background:var(--surface);box-shadow:0 12px 32px rgba(10,45,85,.14)}
html.sh-on .ov-bar:focus-within{border-color:var(--blue)}
html.sh-on .ov-dot{flex:none;width:10px;height:10px;border-radius:50%;background:#ff7a1a}
html.sh-on .ov-bar input{flex:1;min-width:0;height:32px;border:0;outline:0;background:none;font:inherit;font-size:16px;line-height:24px;color:var(--ink)}
html.sh-on .ov-bar kbd{font:13px/20px ui-monospace,Menlo,monospace;color:var(--ink2);background:#f2f4f7;border-radius:8px;padding:0 8px}
html.sh-on .ov-send{height:32px;padding:0 16px;border:0;border-radius:8px;background:var(--blue);color:#fff;font-weight:600;cursor:pointer}
html.sh-on .ov-send:hover{background:#0a58a8}
html.sh-on .ov-sheet{position:relative;max-width:760px;max-height:50vh;overflow:auto;margin:0 auto 12px;padding:20px 24px;border:1px solid var(--line);border-radius:16px;background:var(--surface);box-shadow:0 16px 40px rgba(10,45,85,.16)}
html.sh-on .ov-sheet[hidden]{display:none}
html.sh-on .ov-x{position:absolute;top:8px;right:8px;width:32px;height:32px;border:0;border-radius:8px;background:none;font-size:20px;line-height:24px;color:var(--ink2);cursor:pointer}
html.sh-on .ov-x:hover{background:#f2f4f7}
html.sh-on .ov-q{margin:0 32px 12px 0;font-size:16px;line-height:24px;font-weight:600}
html.sh-on .ov-steps{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:12px}
html.sh-on .ov-step{display:inline-flex;align-items:center;gap:8px;height:24px;padding:0 12px;border-radius:999px;background:#f2f4f7;font-size:13px;line-height:20px;color:var(--ink2)}
html.sh-on .ov-step::before{content:"";width:6px;height:6px;border-radius:50%;background:#12b76a}
html.sh-on .ov-step.no::before{background:var(--bad)}
html.sh-on .ov-a{font-size:16px;line-height:24px;color:var(--ink)}
html.sh-on .ov-wait,html.sh-on .ov-err{margin:0;font-size:16px;line-height:24px;color:var(--ink2)}
html.sh-on .ov-err{color:var(--bad)}
html.sh-on .ov-foot{margin:16px 0 0;font-size:13px;line-height:20px;color:var(--ink2)}
@media (max-width:900px){html.sh-on .ov-wb .ov-hello{font-size:24px;line-height:32px}html.sh-on .ov-wb .ov-sentence{font-size:20px;line-height:28px}html.sh-on .ov-cmd{bottom:8px}html.sh-on .ov-bar kbd{display:none}}
@media (prefers-reduced-motion:reduce){html.sh-on .ov-acard{transition:none}html.sh-on .ov-acard:hover{transform:none}}

/* ── 手机 / 深色模式修正（11/3 夜 chad 用 iPhone 深色模式实测：白底上出现深色卡片、问候语浅灰近乎看不见、快捷问法盖住内容） ──
   壳是浅色底（深色模式没做）。总览原有样式在 prefers-color-scheme:dark 下会把 --surface/--ink 换成深色调板，放进浅色壳里就是「白底上深卡片、浅字」。
   所以壳开启时 .ov 固定用浅色调板，不跟系统走（以后壳做深色模式时再一起放开）。 */
html.sh-on .ov{color-scheme:light;--surface:#fff;--line:#e4e7ec;--ink:#101828;--ink2:#475467;--blue:#0265c2;--blue-soft:#e8f1fb;--ok:#067647;--ok-bg:#ecfdf3;--warn:#93370d;--warn-bg:#fffaeb;--bad:#b42318;--bad-bg:#fef3f2}
html.sh-on .ov-park-btn:hover,html.sh-on .ov-btn:hover,html.sh-on .ov-unit:hover{background:#f4f6f9}
html.sh-on .ov-unit-detail td{background:#f9fafb}
html.sh-on .ov-skel i{background:#eef1f5}
@media (max-width:900px){
  html.sh-on .ov-wb{padding-left:0;padding-right:0}          /* 手机：页面边距由 .sh-page 统一给（16px） */
  html.sh-on .ov-chips{display:none}                          /* 手机上快捷问法占掉近四分之一屏，只留输入条 */
  html.sh-on .ov-cmd{margin-top:16px;bottom:calc(8px + env(safe-area-inset-bottom))}
  html.sh-on .ov-bar{max-width:none;padding:4px 4px 4px 16px;border-radius:16px}
  html.sh-on .ov-send{height:40px}
  html.sh-on .ov-sheet{max-height:55vh;padding:16px 16px 12px}
  html.sh-on .ov-wb .ov-card-body{overflow-x:auto}           /* 窄屏宽表格在卡片里横滚，不把「空了多久」挤成一字一行 */
  html.sh-on .ov-wb .ov-table th{white-space:nowrap}
  html.sh-on .ov-wb .ov-conclusion{gap:12px}
  html.sh-on .ov-wb .ov-conclusion .ov-btn{display:none}     /* 下面第一张卡本身就是同一个动作，手机上不再重复一个大按钮 */
  html.sh-on .ov-attn{gap:12px}
  html.sh-on .ov-acard{padding:16px;gap:4px;border-radius:12px}
  html.sh-on .ov-acard b{font-size:16px;line-height:24px}
  html.sh-on .ov-sec-t{margin:24px 0 8px}
  html.sh-on .ov-prio{margin-bottom:16px}
  /* 排印收敛（11/4 chad 看 iPhone：「字号规范…看着一点儿不清爽」。实测手机上 600 字重到处都是：问候、结论、优先级标签、徽标、卡片标题、「看明细」、小标题……层级被压平）：
     手机上只让「内容」加粗——一句话结论、卡片标题、园区名；问候、标签、徽标、小标题、链接一律 400，一眼分得出主次。字号仍只用 13/16/20/24。 */
  html.sh-on .ov-wb .ov-hello{font-weight:400}
  html.sh-on .ov-wb .ov-hello+.ov-conclusion{margin-top:0}
  html.sh-on .ov-tag{font-weight:400}
  html.sh-on .ov-sec-t{font-weight:400}
  html.sh-on .ov-prio{display:none}            /* 卡片本身已按岗位排好序并带类别徽标，这一行在手机上重复（还折成两行）；桌面保留 */
  html.sh-on .ov-alink{display:none}           /* 整张卡就是按钮；每张卡一行蓝色粗体「看明细 →」×5 太吵，改成右侧一个浅灰箭头 */
  html.sh-on .ov-acard{position:relative;padding-right:48px}
  html.sh-on .ov-acard::after{content:"";position:absolute;right:16px;top:50%;width:20px;height:20px;margin-top:-10px;
    background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%2398a2b3' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 18 6-6-6-6'/%3E%3C/svg%3E") center/20px no-repeat}
}
html.sh-on .ov-chip{height:24px;line-height:24px}   /* 闸23：胶囊高 24 */
html.sh-on .ov-chip:not(.ok):not(.warn):not(.bad):not(.blue){background:#f2f2f2}   /* 闸23：中性胶囊用纯灰，蓝灰 #eef1f5 会被判成蓝 */
@media (max-width:900px){ html.sh-on .ov-wb .ov-hello{font-size:20px;line-height:28px} }   /* 闸17：手机 h1 20 */
