/* 台账「外壳」样式（设计总纲 §3A；视觉 = 壳样稿 v2 冻结版 md5 eeb769c8…，机械转换：类名加 sh- 前缀、变量加 --sh- 前缀、全局规则与 --sh-* 变量都限定在 html.sh-on 下，壳关时 <html> 的计算样式与主干逐属性一致）。
   只在 <html class="sh-on">（?shell=1）时才有对应 DOM，默认关 = 线上零变化。 */
/* ==========================================================================================
   园区台账「外壳」样稿 v2（2026-11-03，@relay；v1 被 chad 退回重做）。
   结构抄 chad 认过的 v3：最左图标栏 | 深色底板（含侧栏）| 浮起的白色内容页。
   应用外壳：外框钉在视口里（100dvh），只有内容页自己在卡片里滚动；图标栏底部入口、侧栏用户区永远在屏幕里；
   收起/展开永远能点（收起后图标栏点分区会弹出二级菜单）；大屏上内容页限宽居中。
   数值取总纲的尺：间距 4 的倍数、字阶 13/16/24（页面大数字 32）、圆角 外框32→底板24→内容页16（内=外−边距8；壳层唯一例外，见验收说明）。
   图标：Lucide（ISC，© Lucide Icons and Contributors），线宽 1.5。
   ========================================================================================== */
html.sh-on{
  --sh-page:#f4f6f9;                              /* S0 页面底（平） */
  --sh-frame:#fff;                                 /* S1 外框（白，带影） */
  --sh-deck-a:#1f5399; --sh-deck-b:#17437f; --sh-deck-c:#0f3262;  /* S2 深色底板（同色系渐变，平） */
  --sh-content:#fff;                               /* S3 浮起的内容页（白，带影） */
  --sh-margin:12px; --sh-pad:8px; --sh-gap:8px;    /* 页面边距 / 层间留边 / 侧栏与内容页的缝 */
  --sh-head:56px;                                  /* 三列共用的第一行高度：图标栏 logo 行 = 侧栏标题行 = 内容页面包屑行 */
  --sh-rail:80px; --sh-side:280px; --sh-page-max:1760px;   /* 内容最宽（只在 ≥2000 的大屏起作用）；收起侧栏时多给侧栏那一块，见 .sh-shell.sh-collapsed */
  --sh-r1:32px; --sh-r2:24px; --sh-r3:16px;        /* 外框 / 底板 / 内容页（r2=r1−pad，r3=r2−pad） */
  --sh-shadow-frame:0 16px 48px rgba(10,45,85,.14),0 2px 6px rgba(10,45,85,.06);
  --sh-shadow-raise:-14px 10px 36px rgba(2,10,25,.42);
  --sh-shadow-pop:0 8px 24px rgba(10,45,85,.24);   /* 只给浮层（公司下拉、收起后的二级菜单、提示条） */
  --sh-grad-active:linear-gradient(180deg,rgba(255,255,255,.26),rgba(255,255,255,0) 52%),linear-gradient(135deg,#1a72e8 0%,#0f5fdc 55%,#0a4cc0 100%);
  --sh-ease:cubic-bezier(.2,0,0,1);
  --sh-blue:#0265c2; --sh-blue-soft:#e8f1fb; --sh-ink:#101828; --sh-ink2:#475467; --sh-line:#e4e7ec; --sh-surface:#fff;
  --sh-side-fg:#eef4fd; --sh-side-mut:#bcd0ec; --sh-side-line:rgba(255,255,255,.16);
}
html.sh-on,html.sh-on body{margin:0;height:100%}
html.sh-on body{padding:var(--sh-margin);background:var(--sh-page)}
.sh-root{color:var(--sh-ink);font:16px/24px "PingFang SC","Microsoft YaHei",system-ui,sans-serif;-webkit-font-smoothing:antialiased}
.sh-root :focus-visible{outline:2px solid #7fb6f2;outline-offset:2px}
.sh-ico{width:20px;height:20px;flex:none;stroke:currentColor;fill:none;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.sh-skip{position:absolute;left:8px;top:-48px;z-index:99;padding:8px 12px;border-radius:8px;background:#fff;color:var(--sh-blue)}
.sh-skip:focus{top:8px}
.sh-no-anim *{transition:none!important;animation:none!important}

/* ================= S1 外框：钉在视口里，白色，圆角 32，带影 ================= */
.sh-shell{display:grid;grid-template-columns:var(--sh-rail) minmax(0,1fr);height:100%;min-height:480px;margin:0;padding:var(--sh-pad);
  background:var(--sh-frame);border-radius:var(--sh-r1);box-shadow:var(--sh-shadow-frame)}
/* ---- 图标栏：三段（logo 行 / 分区 / 底部入口），分区多了自己滚，底部入口永远可见 ---- */
.sh-rail{display:flex;flex-direction:column;min-height:0;align-items:center;padding:var(--sh-pad) 0}   /* 上下 8 = 底板内边距，三列第一行/最后一行才对得齐 */
.sh-rhead{display:grid;place-items:center;flex:none;width:100%;height:var(--sh-head)}
.sh-logo{display:grid;place-items:center;width:44px;height:44px}   /* 云仓汇海标志（云形，logo-mark.png，取自 云仓汇海/logo.jpg 上半部）：图标栏是浅底，直接放，不加底板 */
.sh-logo img,html.sh-on .lg-logo img{display:block;width:44px;height:auto}
.sh-rtoggle{flex:none;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;width:64px;min-height:56px;margin:0 0 4px;padding:6px 0;border:1px solid var(--sh-line);border-radius:12px;background:#fff;color:var(--sh-ink2);transition:background-color .2s var(--sh-ease),color .2s var(--sh-ease),border-color .2s var(--sh-ease)}   /* 收起/展开开关：在图标栏固定位置，两种状态都在，写着字 */
.sh-rtoggle .sh-t{font-size:13px;line-height:16px;font-weight:600;white-space:nowrap}
.sh-rtoggle:hover{background:#eef1f5;color:var(--sh-ink)}
.sh-rtoggle:focus-visible{outline-color:var(--sh-blue)}
.sh-rtoggle .sh-i-expand,.sh-shell.sh-collapsed .sh-rtoggle .sh-i-collapse{display:none}
.sh-shell.sh-collapsed .sh-rtoggle .sh-i-expand{display:block}
.sh-shell.sh-collapsed .sh-rtoggle{background:var(--sh-blue-soft);border-color:#b9d3ee;color:var(--sh-blue)}   /* 收起后它是页面上最该点的东西：浅蓝底 + 蓝字 */
.sh-shell.sh-collapsed .sh-rtoggle:hover{background:#d8e8f9}
.sh-rlist{flex:1;min-height:0;display:flex;flex-direction:column;align-items:center;gap:4px;width:100%;padding:8px 0;overflow-y:auto;scrollbar-width:none}
.sh-rlist::-webkit-scrollbar{display:none}
.sh-rfoot{flex:none;display:flex;flex-direction:column;align-items:center;gap:4px;width:100%;padding:8px 0 0;border-top:1px solid var(--sh-line)}
.sh-rbtn{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;flex:none;width:64px;min-height:64px;padding:8px 0;border:1px solid transparent;border-radius:12px;background:transparent;color:var(--sh-ink2);transition:background-color .2s var(--sh-ease),color .2s var(--sh-ease),border-color .2s var(--sh-ease),transform .1s var(--sh-ease)}
.sh-rbtn .sh-t{font-size:13px;line-height:16px;font-weight:600;white-space:nowrap}
.sh-rbtn:hover{background:#eef1f5;color:var(--sh-ink)}
.sh-rbtn:active{background:#e4e7ec;transform:scale(.97)}   /* 按下反馈 100ms */
.sh-rbtn[aria-current="page"]{background:var(--sh-grad-active);color:#fff;border-color:rgba(255,255,255,.30)}
.sh-rbtn[aria-current="page"]::before{content:"";position:absolute;left:-8px;top:16px;bottom:16px;width:4px;border-radius:0 4px 4px 0;background:var(--sh-blue)}
.sh-bdg{position:absolute;top:4px;right:6px;min-width:20px;height:20px;padding:0 6px;border-radius:999px;background:#b42318;color:#fff;font-size:13px;line-height:20px;font-weight:600;text-align:center}

/* ================= S2 深色底板：圆角 24，同色系渐变 + 高光，平（不带影） ================= */
.sh-deck{position:relative;display:grid;grid-template-columns:var(--sh-side) minmax(0,1fr);gap:var(--sh-gap);min-height:0;height:100%;padding:var(--sh-pad);border-radius:var(--sh-r2);
  background:radial-gradient(640px 440px at 0% 0%,rgba(150,205,255,.34),rgba(150,205,255,0) 70%),radial-gradient(560px 380px at 100% 100%,rgba(70,140,230,.24),rgba(70,140,230,0) 70%),linear-gradient(180deg,var(--sh-deck-a) 0%,var(--sh-deck-b) 40%,var(--sh-deck-c) 100%);
  border-top:1px solid rgba(255,255,255,.18);transition:grid-template-columns .3s var(--sh-ease),gap .3s var(--sh-ease)}
.sh-shell.sh-collapsed .sh-deck{grid-template-columns:0 minmax(0,1fr);gap:0}
.sh-shell.sh-collapsed{--sh-page-max:calc(1760px + var(--sh-side) + var(--sh-gap))}   /* 收起的目的是给内容腾地方：腾出的 288 全部加给内容，两侧留白不变 */
.sh-side{grid-column:1;position:relative;min-width:0;min-height:0;overflow:hidden;color:var(--sh-side-fg)}
.sh-side-in{display:flex;flex-direction:column;width:var(--sh-side);height:100%}     /* 固定宽：展开/收起动画时内容被「揭开」，不会被压扁 */
.sh-shell.sh-collapsed .sh-side{opacity:0;visibility:hidden;pointer-events:none;transition:opacity .2s var(--sh-ease),visibility 0s linear .2s}
/* 收起后点图标栏分区 / ⌘K：二级菜单以浮层弹出（不改「收起」这个记住的状态），选页 / Esc / 点外面关闭 */
.sh-shell.sh-collapsed.sh-peek .sh-side{position:absolute;z-index:30;left:var(--sh-pad);top:var(--sh-pad);bottom:var(--sh-pad);width:var(--sh-side);opacity:1;visibility:visible;pointer-events:auto;border-radius:var(--sh-r3);
  background:linear-gradient(180deg,#1f5399 0%,#17437f 40%,#0f3262 100%);border:1px solid rgba(255,255,255,.22);box-shadow:var(--sh-shadow-pop);transition:opacity .2s var(--sh-ease),visibility 0s}
.sh-shead{display:flex;align-items:center;justify-content:space-between;flex:none;gap:8px;height:var(--sh-head);padding:0 8px 0 16px}   /* 左边 16 = 下面公司/搜索/菜单文字的左边：整条侧栏一条左轴 */
.sh-shead h1{margin:0;font-size:20px;line-height:28px;font-weight:600;color:#fff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sh-pill{display:inline-flex;align-items:center;justify-content:center;gap:4px;height:32px;padding:0 12px;border:1px solid var(--sh-side-line);border-radius:8px;background:rgba(255,255,255,.08);color:#fff;font-size:13px;line-height:20px;font-weight:600;white-space:nowrap;transition:background-color .2s var(--sh-ease)}
.sh-pill:hover{background:rgba(255,255,255,.16)}
.sh-pill:active{background:rgba(255,255,255,.24)}
.sh-pill[hidden]{display:none}   /* 兜底：上面 .sh-pill 的 display:inline-flex 会盖掉浏览器对 [hidden] 的 display:none；壳里用 hidden 属性藏的按钮（手机铃铛：没有确认权的人）靠它真藏 */
.sh-sctl{position:relative;display:flex;flex-direction:column;gap:12px;flex:none;padding:0 4px 12px}   /* 公司 + 搜索固定在上面，只有下面的菜单滚 */
.sh-company{display:flex;align-items:center;justify-content:space-between;gap:8px;flex:none;width:100%;min-height:56px;padding:8px 12px;border:1px solid var(--sh-side-line);border-radius:12px;background:rgba(255,255,255,.08);color:#fff;text-align:left;transition:background-color .2s var(--sh-ease)}
.sh-company:hover,.sh-company[aria-expanded="true"]{background:rgba(255,255,255,.16)}
.sh-company>span{min-width:0;flex:1}
.sh-company .sh-cl{display:block;font-size:13px;line-height:20px;color:var(--sh-side-mut)}
.sh-company .sh-cn{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sh-pop{position:absolute;z-index:40;left:4px;right:4px;padding:8px;border-radius:12px;background:#fff;color:var(--sh-ink);box-shadow:var(--sh-shadow-pop)}
.sh-pop[hidden]{display:none}
.sh-pop h2{margin:4px 8px;font-size:13px;line-height:20px;font-weight:600;color:var(--sh-ink2)}
.sh-pop button{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;min-height:40px;padding:4px 8px;border:0;border-radius:8px;background:transparent;text-align:left}
.sh-pop button span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}   /* 公司名一行不折行（用简称；太长截成省略号，全名在悬停提示里） */
.sh-pop .sh-nb{white-space:nowrap}   /* 括号里的字（「（长沙）」）不拆开：只在括号外折行 */   /* 折行时两行均衡，不留孤字（「…有限公/司」） */
.sh-pop button:hover{background:#f4f6f9}
.sh-pop button[aria-selected="true"]{color:var(--sh-blue);font-weight:600}
.sh-pop :focus-visible{outline-color:var(--sh-blue)}
.sh-search{display:flex;align-items:center;gap:8px;flex:none;height:40px;padding:0 8px 0 12px;border:1px solid var(--sh-side-line);border-radius:12px;background:rgba(7,28,55,.28);color:var(--sh-side-mut);transition:border-color .2s var(--sh-ease),background-color .2s var(--sh-ease)}
.sh-search:focus-within{border-color:rgba(255,255,255,.5);background:rgba(7,28,55,.45);outline:2px solid #7fb6f2;outline-offset:2px}
.sh-search input{padding:0;width:auto;border-radius:0;flex:1;min-width:0;height:38px;border:0;background:none;color:#fff;font:inherit;outline:0}
.sh-search input:focus-visible{outline:0}   /* 全局 .sh-root :focus-visible 优先级更高，会在输入框自己身上再画一圈（被胶囊裁成两条竖线）；聚焦环只留容器那一圈（.sh-search:focus-within） */
.sh-search input::placeholder{color:var(--sh-side-mut)}
.sh-search input::-webkit-search-cancel-button{display:none}
.sh-search kbd{padding:0 8px;border:1px solid var(--sh-side-line);border-radius:999px;font:inherit;font-size:13px;line-height:20px;color:var(--sh-side-mut)}
@media (max-width:900px),(pointer:coarse){.sh-search kbd{display:none}}   /* 手机/触屏没有这个键：快捷键提示只给有键盘的桌面 */
.sh-search .sh-clr{display:none;place-items:center;width:32px;height:32px;border:0;border-radius:8px;background:transparent;color:var(--sh-side-mut)}
.sh-search .sh-clr:hover{background:rgba(255,255,255,.12);color:#fff}
.sh-search.sh-has .sh-clr{display:grid}.sh-search.sh-has kbd{display:none}
.sh-sbody{flex:1;min-height:0;padding:0 4px 8px;overflow-y:auto;scrollbar-width:thin;scrollbar-color:rgba(255,255,255,.28) transparent}
.sh-nav{display:flex;flex-direction:column;gap:4px}
.sh-nav h2{display:flex;align-items:center;gap:8px;margin:12px 12px 4px;font-size:13px;line-height:20px;font-weight:600;color:var(--sh-side-mut)}
.sh-nav h2::after{content:"";flex:1;height:1px;background:linear-gradient(90deg,var(--sh-side-line),transparent)}
.sh-nav h2:first-child{margin-top:4px}
.sh-nav h2 .sh-fold{display:flex;align-items:center;gap:8px;flex:1;min-width:0;min-height:32px;padding:0;border:0;background:transparent;color:inherit;font:inherit;cursor:pointer;text-align:left}
.sh-nav h2 .sh-fold .sh-fl{flex:none}
.sh-nav h2 .sh-fold .sh-fh{margin-left:auto;font-weight:400}
.sh-nav h2 .sh-fold .sh-fh::after{content:"";display:inline-block;margin-left:8px;width:6px;height:6px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:translateY(-2px) rotate(45deg);transition:transform .2s cubic-bezier(.2,0,0,1)}
.sh-nav h2 .sh-fold[aria-expanded="true"] .sh-fh::after{transform:translateY(1px) rotate(-135deg)}
.sh-nav h2 .sh-fold:focus-visible{outline:2px solid #fff;outline-offset:2px;border-radius:8px}
.sh-item{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;min-height:40px;padding:0 12px;border:1px solid transparent;border-radius:12px;background:transparent;color:var(--sh-side-fg);text-align:left;transition:background-color .2s var(--sh-ease),border-color .2s var(--sh-ease)}
.sh-item .sh-l{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sh-item .sh-nb{flex:none;min-width:20px;height:20px;padding:0 6px;border-radius:999px;background:rgba(255,255,255,.2);color:#fff;font-size:13px;line-height:20px;font-weight:600;text-align:center;font-variant-numeric:tabular-nums}   /* 侧栏条目右侧的数字（待补事项：指给我的条数）；半透明白，不抢「待核对」红角标的亮点 */
.sh-item .sh-s{display:block;font-size:13px;line-height:20px;color:var(--sh-side-mut);overflow:hidden;text-overflow:ellipsis}
.sh-item:hover{background:rgba(255,255,255,.08)}
.sh-item:active{background:rgba(255,255,255,.14)}
.sh-item[aria-current="page"]{background:linear-gradient(180deg,rgba(255,255,255,.12),rgba(255,255,255,.02)),rgba(255,255,255,.12);border-color:rgba(255,255,255,.26);color:#fff;font-weight:600}   /* 玻璃感：高光渐变 + 细边，不带影 */
.sh-item.sh-kb{background:rgba(255,255,255,.16);border-color:rgba(255,255,255,.4);color:#fff}
.sh-item mark{background:rgba(255,255,255,.22);color:#fff;border-radius:4px}
.sh-item .sh-n{flex:none;padding:0 8px;border:1px solid var(--sh-side-line);border-radius:999px;font-size:13px;line-height:20px;font-weight:400;color:var(--sh-side-fg)}
.sh-item .sh-new{flex:none;padding:0 8px;border-radius:999px;background:#fff;color:var(--sh-blue);font-size:13px;line-height:20px;font-weight:600}
.sh-empty{padding:12px;color:var(--sh-side-mut)}
.sh-empty small{display:block;font-size:13px;line-height:20px}
.sh-sfoot{flex:none;display:flex;align-items:center;gap:12px;margin:0 4px;padding:8px 8px 8px 12px;border:1px solid var(--sh-side-line);border-radius:12px;background:linear-gradient(180deg,rgba(255,255,255,.10),rgba(7,28,55,.30))}
.sh-avatar{display:grid;place-items:center;flex:none;width:40px;height:40px;border-radius:999px;background:#cfe3fb;color:#0a2d55;font-weight:600}
.sh-who{flex:1;min-width:0}.sh-who b{display:block;font-weight:600;color:#fff;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sh-who small{display:block;font-size:13px;line-height:20px;color:var(--sh-side-mut);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

/* ================= S3 浮起的白色内容页：圆角 16，带影；整张卡片是一个滚动容器，面包屑行贴顶 ================= */
.sh-stage{grid-column:2;position:relative;min-width:0;min-height:0}
.sh-content{position:relative;z-index:1;height:100%;min-width:0;overflow:hidden;background:var(--sh-content);border-radius:var(--sh-r3);box-shadow:var(--sh-shadow-raise)}
.sh-cbody{height:100%;overflow-y:auto;overflow-x:hidden;scrollbar-width:thin;scrollbar-color:#cdd5df transparent}
/* 档案页筛选条桌面钉在 .sh-cbody 滚动区顶部 */
@media (min-width:901px){html.sh-on div:has(>#alTools){display:contents}html.sh-on #alTools{position:sticky;top:var(--sh-head,56px);z-index:5;background:var(--sh-content,#fff);padding-bottom:8px;border-bottom:1px solid var(--sh-line,#e5e7eb)}}
.sh-chead{position:sticky;top:0;z-index:3;height:var(--sh-head);background:var(--sh-content);border-bottom:1px solid transparent;font-size:13px;line-height:20px;color:var(--sh-ink2);transition:border-color .2s var(--sh-ease)}
.sh-chead.sh-scrolled{border-bottom-color:var(--sh-line)}
.sh-chead .sh-in{display:flex;align-items:center;gap:12px;height:100%;max-width:var(--sh-page-max);margin:0 auto;padding:0 24px;transition:max-width .3s var(--sh-ease)}   /* 与 .sh-page 同宽同边距：面包屑左边永远和页面标题左边对齐 */
.sh-crumb{display:flex;align-items:center;gap:8px;min-width:0;white-space:nowrap}
.sh-crumb a{display:inline-flex;align-items:center;min-height:32px;padding:0 4px;margin:0 -4px;color:var(--sh-ink2);text-decoration:none;border-radius:8px}.sh-crumb a:hover{color:var(--sh-blue);text-decoration:underline}
.sh-crumb b{min-width:0;overflow:hidden;text-overflow:ellipsis;color:var(--sh-ink);font-weight:600}
/* 合并入口的页签（台账 ADR-036）：同一件事的几页一排切换；在面包屑行里、面包屑右边（不另起一行，三列第一行仍同高）。选中 = 极浅蓝底 + 深色字 + 600（一种线索，总纲 §0.3）；字 13、圆角 8、桌面点区 32 高 */
html.sh-on .sh-etabs{display:flex;align-items:center;gap:4px;min-width:0;margin-left:8px;overflow-x:auto;scrollbar-width:none}
html.sh-on .sh-etabs::-webkit-scrollbar{display:none}
html.sh-on .sh-etabs[hidden]{display:none}
html.sh-on .sh-etab{flex:none;display:inline-flex;align-items:center;gap:4px;height:32px;padding:0 12px;border:0;border-radius:8px;background:transparent;color:var(--sh-ink2);font:inherit;font-size:13px;line-height:20px;font-weight:400;white-space:nowrap;cursor:pointer;transition:background-color .15s var(--sh-ease),color .15s var(--sh-ease)}
html.sh-on .sh-etab:hover{background:#f2f4f7;color:var(--sh-ink)}
html.sh-on .sh-etab[aria-current="page"]{background:var(--sh-blue-soft);color:var(--sh-ink);font-weight:600}
html.sh-on .sh-etab:focus-visible{outline:2px solid var(--sh-blue);outline-offset:-2px}
html.sh-on .sh-etab .sh-nb{min-width:20px;height:20px;padding:0 4px;border-radius:999px;background:var(--sh-blue);color:#fff;font-size:13px;line-height:20px;font-weight:600;text-align:center;font-variant-numeric:tabular-nums}
.sh-page{max-width:var(--sh-page-max);margin:0 auto;padding:8px 24px 40px;container:pg/inline-size;transition:max-width .3s var(--sh-ease)}
.sh-page.sh-in{animation:sh-in .16s var(--sh-ease)}
@keyframes sh-in{from{opacity:0}to{opacity:1}}
html.sh-on .sh-ptitle{margin:0 20px;padding:8px 0 0}   /* 缩进用 margin：块盒子的 left 就是 24（.sh-page 4 + 20），设计闸 18「有效内边距」按盒子量，用 padding 会量成 4 */
html.sh-on .sh-ptitle[hidden]{display:none}
html.sh-on .sh-ptitle h1{margin:0 0 4px;font-size:24px;line-height:32px;font-weight:600;color:var(--ink)}
html.sh-on .sh-ptitle p{margin:0 0 8px;font-size:13px;line-height:20px;color:#475467}

/* ================= 中屏（901–1279）：侧栏收窄，边距收小 ================= */
@media (max-width:1279px) and (min-width:901px){html.sh-on{--sh-side:248px;--sh-margin:8px}.sh-page{padding-left:16px;padding-right:16px}.sh-chead .sh-in{padding:0 16px}html.sh-on .sh-ptitle{margin-left:12px;margin-right:12px}}
/* ================= 手机/窄屏（≤900）：没有图标栏和侧栏；顶栏深色（标题·岗位·铃铛·AI 头像）+ 底栏（总览 + 本岗位 3 页 + 全部）+「全部功能」整屏；内容页仍浮在上面（台阶感保留；ADR-011）================= */
.sh-topbar,.sh-mwrap{display:none}
@media (max-width:900px){
  html.sh-on,html.sh-on body{height:auto}   /* 必须限定 html.sh-on：shell.css 是无条件 <link>，不限定则壳关时手机宽度下旧页 body 背景/高度也被改（@dev 复核 #67 实测） */
  html.sh-on body{padding:0;background:linear-gradient(180deg,var(--sh-deck-a),var(--sh-deck-b) 40%,var(--sh-deck-c)) fixed}
  .sh-shell{display:block;height:auto;min-height:100dvh;margin:0;padding:0;background:none;border-radius:0;box-shadow:none}
  html.sh-on{--sh-topbar-h:48px;--sh-tabbar-h:calc(69px + env(safe-area-inset-bottom,0px));--sh-ball-over:22px}   /* 顶栏高 48；底栏高：1 线 + 8 + 52 + 8，加 iPhone 底部安全区 */
  .sh-rail,.sh-side{display:none!important}                                            /* 手机没有图标栏/侧栏：模块与页面都在「全部功能」里 */
  .sh-deck{display:block;height:auto;padding:0;background:none;border:0;border-radius:0;transition:none}
  .sh-topbar{display:flex;align-items:center;gap:4px;position:sticky;top:0;z-index:15;height:var(--sh-topbar-h);padding:0 4px;color:#fff;background:linear-gradient(180deg,var(--sh-deck-a),#1b4a8d);border-bottom:0}   /* 顶栏是 <header>：台账旧样式给 header 画了 1px 浅灰底线，手机上横穿整屏把顶栏和内容页硬切开；明确不要（吸收自 #104） */
  .sh-topbar::after{content:"";position:absolute;left:0;right:0;top:100%;height:8px;pointer-events:none;background:linear-gradient(180deg,rgba(10,45,85,.22),rgba(10,45,85,.07) 50%,rgba(10,45,85,0))}   /* 边缘渲染（chad 11/5 夜）：顶栏下沿向内容页投一道 8px 柔和渐变，层次靠它，不靠圆角；挂在顶栏上（sticky z15），页面滚动时它跟着顶栏、整屏「全部功能」也盖得到。用渐变不用 box-shadow：壳层例外，见总纲 §3A.5 */
  .sh-topbar .sh-pill{height:44px;min-width:44px;padding:0 12px}
  .sh-ibtn{padding:0;border-color:transparent;background:transparent}                 /* 只有图标的按钮（铃铛）：无描边无底，44×44 点击区 */
  .sh-ibtn:hover,.sh-ibtn:active{background:rgba(255,255,255,.14)}
  .sh-ibtn .sh-ico{width:24px;height:24px}
  .sh-topbar b{font-size:16px;line-height:24px}
  .sh-topbar b{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:600;padding-left:12px}
  .sh-rolechip{flex:none;max-width:96px;margin:0 4px;padding:0 8px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;border:1px solid rgba(255,255,255,.28);border-radius:999px;background:rgba(255,255,255,.16);font-size:13px;line-height:20px}
  .sh-rolechip:empty{display:none}
  .sh-mbell{position:relative}
  .sh-mbell .sh-bdg{top:2px;right:0}                                                   /* 角标压在铃铛右上角；超过 99 显示 99+（读屏读 aria-label 里的真数） */
  .sh-mbell[aria-current="page"]{background:rgba(255,255,255,.18)}
  .sh-stage{margin:0}                                                                  /* 手机：内容页通栏，不再留左右蓝边 */
  .sh-content{height:auto;min-height:calc(100dvh - var(--sh-topbar-h));overflow:visible;border-radius:0}   /* 手机内容页与顶栏相交处 0 圆角（chad 11/5 夜：有的有圆角有的没有，统一成都没有）；台阶感由顶栏下沿的边缘渐变给 */
  .sh-cbody{height:auto;overflow:visible}
  .sh-chead{display:none}                                                              /* 手机：顶栏已写着页面标题，面包屑行不再重复一遍（文本仍在 DOM 里，路由/测试照读） */
  html.sh-on .sh-chead.sh-has-tabs{display:block;position:sticky;top:var(--sh-topbar-h);z-index:4;height:auto;background:var(--sh-content);border-bottom:1px solid var(--sh-line)}   /* 手机：只有合并入口（有页签）时才出这一行，只放页签、不放面包屑；贴在顶栏下面 */
  html.sh-on .sh-chead.sh-has-tabs .sh-crumb{display:none}
  html.sh-on .sh-chead.sh-has-tabs .sh-in{height:auto;padding:4px 8px}
  html.sh-on .sh-etabs{margin-left:0}
  html.sh-on .sh-etab{height:44px;padding:0 12px}                                     /* 触屏点区 ≥44 */
  .sh-chead .sh-in,.sh-page{padding-left:16px;padding-right:16px}
  .sh-page{padding-top:16px;padding-bottom:calc(32px + var(--sh-tabbar-h) + var(--sh-ball-over))}            /* 页面底部留出底栏的高度，最后一行不被盖住 */
  html.sh-on .sh-ptitle{margin:0;padding:0}   /* 页面自带 16px 边距和顶距，标题块不再加 */
  html.sh-on .sh-ptitle h1{font-size:20px;line-height:28px}
  html.sh-on .sh-ptitle p{margin-bottom:16px}   /* hk 设计闸：手机说明行与下方区块间距 16 */
  /* ---- 底栏：固定在屏幕底，白底细线；选中 = 蓝字 + 600 字重（一种线索，总纲 §0.3）；点区 ≥44 ---- */
  .sh-mwrap{display:block}
  .sh-tabbar{position:fixed;z-index:16;left:0;right:0;bottom:0;display:flex;padding:8px 4px calc(8px + env(safe-area-inset-bottom,0px));background:#fff;border-top:1px solid var(--sh-line)}
  html.sh-on .sh-tab{flex:1;min-width:0;min-height:52px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;padding:0;border:0;border-radius:12px;background:none;color:var(--sh-ink2);font:inherit;font-size:13px;line-height:16px;cursor:pointer;-webkit-tap-highlight-color:transparent}
  .sh-tab .sh-l{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .sh-tab:active{background:#f2f4f7}
  html.sh-on .sh-tab[aria-current="page"]{color:var(--sh-blue);font-weight:600}   /* 带 html.sh-on 前缀：上面 .sh-tab 的 font:inherit 简写权重更高，不带的话会把这里的 600 冲掉（motion_check 抓到过） */
  .sh-tab:focus-visible,.sh-mrow:focus-visible,.sh-mcard:focus-visible{outline-color:var(--sh-blue)}
  body.sh-kb .sh-tabbar{display:none}                                                  /* 正在输入（软键盘出来）：收起底栏 */
  /* ---- 「全部功能」整屏：盖在内容页上、顶栏与底栏之间；开着时页面不滚 ---- */
  .sh-mall{position:fixed;z-index:14;left:0;right:0;top:var(--sh-topbar-h);bottom:var(--sh-tabbar-h);margin:0;overflow:auto;overscroll-behavior:contain;padding:16px 16px 24px;background:#fff;border:0;border-radius:0;   /* border:0：「全部功能」是 <section>，台账旧样式给 section 画了 1px 浅灰描边（吸收自 #104）；0 圆角与内容页一致 */
    opacity:0;visibility:hidden;transform:translateY(12px);transition:opacity .25s var(--sh-ease),transform .25s var(--sh-ease),visibility 0s .25s}
  .sh-mall:focus{outline:0}
  body.sh-mall-open .sh-mall{opacity:1;visibility:visible;transform:none;transition:opacity .25s var(--sh-ease),transform .25s var(--sh-ease)}
  body.sh-mall-open{overflow:hidden}
  body.sh-kb .sh-mall{bottom:0}
  .sh-msearch{display:flex;align-items:center;gap:8px;height:44px;padding:0 4px 0 12px;border:1px solid var(--sh-line);border-radius:12px;background:#fff;color:var(--sh-ink2)}
  .sh-msearch:focus-within{border-color:var(--sh-blue)}
  html.sh-on .sh-msearch input{flex:1;min-width:0;min-height:0;height:42px;border:0;outline:0;background:none;color:var(--sh-ink);font:inherit;-webkit-appearance:none;appearance:none}
  .sh-msearch input::placeholder{color:#667085}
  .sh-msearch input::-webkit-search-cancel-button,.sh-msearch input::-webkit-search-decoration{-webkit-appearance:none;display:none}
  .sh-msearch input:focus-visible{outline:0}
  .sh-mclr{display:none;flex:none;width:44px;height:44px;place-items:center;padding:0;border:0;border-radius:12px;background:none;color:var(--sh-ink2);cursor:pointer}
  .sh-msearch.sh-has .sh-mclr{display:grid}
  html.sh-on .sh-mcard{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:56px;margin-top:8px;padding:8px 16px;border:1px solid var(--sh-line);border-radius:12px;background:#fff;color:var(--sh-ink);font:inherit;text-align:left;cursor:pointer}
  .sh-mcard:active{background:#f9fafb}
  .sh-mcard .sh-ico{color:var(--sh-ink2)}
  .sh-mt{display:flex;align-items:center;gap:12px;min-width:0}
  .sh-mt>span{min-width:0}
  .sh-mt b{display:block;font-weight:600}
  .sh-mt small,.sh-mrow small,.sh-mempty small{display:block;font-size:13px;line-height:20px;color:var(--sh-ink2)}
  .sh-mclip{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .sh-mdot{flex:none;width:8px;height:8px;border-radius:50%;background:#e8590c}       /* 待核对前的暖橙点（总纲 §3B：浅底暖橙 #E8590C，一屏 <3 处） */
  .sh-mh{display:flex;align-items:center;gap:8px;margin:16px 0 4px 4px;font-size:13px;line-height:20px;font-weight:600;color:var(--sh-ink2)}
  .sh-mh .sh-ico{width:20px;height:20px}
  .sh-mgrp{border:1px solid var(--sh-line);border-radius:12px;overflow:hidden}
  .sh-mco{margin-top:4px}
  html.sh-on .sh-mrow{display:flex;align-items:center;gap:8px;width:100%;min-height:48px;padding:4px 12px;border:0;border-radius:0;border-top:1px solid var(--sh-line);background:none;color:var(--sh-ink);font:inherit;text-align:left;cursor:pointer}
  .sh-mrow:first-child{border-top:0}
  .sh-mrow .sh-l{flex:1;min-width:0}
  .sh-mco .sh-mrow .sh-l{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}   /* 手机公司列表：一行不折行 */
  .sh-mrow small{margin-left:auto}
  html.sh-on .sh-mrow:has(> small) > .sh-l{flex:none;max-width:60%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}   /* 入口名不折行（「对账催缴」被右边小字挤成两行过）；右边小字（合并入口里的几页 / 所在分区）放不下就省略 */
  html.sh-on .sh-mrow > small{flex:1 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:right}
  .sh-mrow .sh-ico{color:var(--sh-ink2)}
  .sh-mrow:active{background:#f9fafb}
  html.sh-on .sh-mrow[aria-current="page"],html.sh-on .sh-mrow[aria-selected="true"]{background:var(--sh-blue-soft);color:var(--sh-blue);font-weight:600}
  .sh-mrow[aria-current="page"] .sh-ico,.sh-mrow[aria-selected="true"] .sh-ico{color:var(--sh-blue)}
  .sh-mrow mark{background:#fff3bf;color:var(--sh-ink);border-radius:4px}
  .sh-mempty{padding:24px 12px;color:var(--sh-ink2);text-align:center}
  .sh-mwho .sh-avatar{flex:none;color:var(--sh-ink)}
  .sh-mout{margin-top:8px;border:1px solid var(--sh-line);border-radius:12px;color:#b42318}
  .sh-mout .sh-ico{color:#b42318}
  .sh-mask{display:flex;align-items:center;gap:8px;margin-top:8px;padding:4px 4px 4px 16px;border-radius:12px;background:#fef3f2;color:var(--sh-ink)}
  .sh-mask span{flex:1}
  .sh-mask button{min-height:44px;padding:0 16px;border:0;border-radius:12px;background:none;color:#475467;font:inherit;font-weight:600;cursor:pointer}
  .sh-mask .sh-yes{background:#b42318;color:#fff}
  html.sh-on .toast,html.sh-on .ov-toast{bottom:calc(var(--sh-tabbar-h) + var(--sh-ball-over) + 16px)}                              /* 提示条别落在底栏上（.toast 是旧页的、.ov-toast 是总览的，都固定在 bottom:24px） */
}
@media (prefers-reduced-motion:reduce){html.sh-on *{transition:none!important;animation:none!important}}   /* 同上：不限定会让壳关时旧页的过渡也被关掉 */

/* ================= 旧页面接入（只在 html.sh-on 下生效；旧页内容沿用旧样式，只换外壳）================= */
html.sh-on #topbar{display:none!important}                                   /* 旧顶栏留在 DOM 里当「旧入口总线」，不显示 */
html.sh-on body:not(.authed) .sh-shell, html.sh-on body:not(.authed) .sh-mwrap{display:none}
html.sh-on .sh-page{padding:8px 4px 40px;font:14px/normal "PingFang SC","Microsoft YaHei",system-ui,sans-serif;color:var(--ink)}   /* 旧页：字体字号同旧 body */
html.sh-on :is(#assetsApp,#equipApp,#keyApp,#certApp,#opsApp,#leadsApp,#contractsApp,#tenantsApp,#ovApp,#billingApp,#extApp){height:auto!important;overflow:visible!important}   /* 旧容器按「整窗减顶栏」定高并自带滚动；进壳后由内容页卡片滚 */
html.sh-on :is(#billingApp,#extApp){max-width:none;margin:0}   /* 账务/扩展页旧样式自带 max-width:1200px 居中：大屏两侧一大片白，收起侧栏也不会变宽（chad 骂过「收起=白做」）；壳内改成铺满壳的页面宽度，限宽交给 .sh-page */
html.sh-on #ovApp{background:transparent}   /* 旧总览自带整块灰底（#f4f6f9）：放进白色内容页会多出一块只到内容高度的灰方块，去掉，卡片自带描边 */
/* 账务/运维/扩展页顶部的模块大标题（「账务」「运维」「扩展模块」）与面包屑、侧栏分区标题重复，壳内隐藏；各页自己的标题（如「空间形状」「租户管理」）保留 */
html.sh-on :is(#billingApp,#opsApp,#extApp) > section > h3:first-child{display:none}
html.sh-on .sh-cbody{display:flex;flex-direction:column}
html.sh-on .sh-chead{flex:none}   /* 面包屑行（56px）不参与收缩：.sh-cbody 是竖向 flex，内容比视口高时它会被压扁到 33px，面包屑上跳、和左边图标栏/侧栏标题第一行对不齐（1440×900 上几乎每页都中） */
html.sh-on .sh-page{flex:1 0 auto;width:100%}   /* .sh-page 是 inline-size 容器，放在竖向 flex 里必须给宽度，否则宽度塌成 0 */
html.sh-on .sh-page.sh-fill{display:flex;flex-direction:column;flex:1 1 0;min-height:0;padding:0;overflow:hidden}                  /* 园区台账：树+详情各自内部滚，占满内容页 */
html.sh-on .sh-page.sh-fill .sh-ptitle{flex:none;margin-left:24px;margin-right:24px}
html.sh-on .sh-page.sh-fill #app{flex:1 1 0;min-height:0;height:auto}
@media (max-width:1279px) and (min-width:901px){html.sh-on .sh-page.sh-fill .sh-ptitle{margin-left:16px;margin-right:16px}}   /* 中屏面包屑左缩进 16，满屏页（page 自身无 padding）同步 */
/* 账务/扩展/运维页自带的二级导航：壳的侧栏已有，别出现两套。
   ★ 不能整个隐藏 .billing-nav：账务页里旧标记少闭合了一个 div，#billingPage（页面内容）被包进了 .billing-nav 里；只隐藏它的按钮和分组，容器本身去掉盒子样式。 */
html.sh-on .billing-nav > button, html.sh-on .billing-nav-group{display:none}
html.sh-on .billing-nav{display:block;margin:0;padding:0;border:0;background:none;gap:0}
@media (max-width:900px){
  html.sh-on .sh-page{flex:0 0 auto;padding:16px 16px calc(32px + var(--sh-tabbar-h) + var(--sh-ball-over))}                             /* 手机：页面统一 16px 边距（旧页原来只有 4px，贴着屏幕边） */
  html.sh-on #tree .node{align-items:center}                                            /* 园区树：展开三角和名字同一行居中（原来 44px 高的三角把名字顶在上面） */
  html.sh-on #tree .node button.toggle{min-height:32px;height:32px;width:32px;padding:0}
  html.sh-on .sh-page.sh-fill{display:block;overflow:visible}
  html.sh-on .sh-page.sh-fill .sh-ptitle{margin-left:16px;margin-right:16px}
  html.sh-on .sh-page.sh-fill #app{height:auto}
}

.sh-pop .sh-nb{white-space:nowrap}   /* 括号里的字（「（长沙）」）不拆开：只在括号外折行 */
.sh-company:disabled{cursor:default;opacity:1}
.sh-company.sh-single .sh-ico{display:none}   /* 只有一家公司：只读显示，不给下拉箭头 */
.sh-company.sh-single{min-height:32px;padding:0 12px;border-color:transparent;background:transparent}   /* 只读的「当前公司」不画成按钮：没有框、没有悬停底，就是标题下面一行说明（有框 = 能点） */
.sh-company.sh-single .sh-cl{display:none}   /* 只有一家公司时不写「当前公司」四个字：标题下面一行 13 号灰字就是公司名（多家公司才是带框的下拉，仍写「当前公司」） */
.sh-company.sh-single .sh-cn{font-size:13px;line-height:20px;color:var(--sh-side-mut)}

/* ==========================================================================================
   动效（ADR-005）。时长/缓动：点按 100ms，悬停 150ms，状态切换 250ms，页面编排 ≤400ms（块 240ms + 每块晚 20ms，最多 8 块）；同一条 --sh-ease。
   · 共享高亮（.sh-ind）：侧栏/图标栏各一个常驻高亮块，在选中项之间滑过去（同一个东西在移动）；选中项自己的底色在高亮块就位后让出，选中线索始终只有一种。
   · 页面编排（.sh-blk）：新页面的块依次上浮淡入；基态=终态，减少动画时全部关掉页面仍完整。
   · 加载进度线（[data-loading]）：导航后在等请求，内容页顶部出现细线（点击→反馈连起来）。
   ========================================================================================== */
html.sh-on{--mo-state:.25s;--mo-dur:.24s;--mo-stagger:20ms}
.sh-nav,.sh-rlist{position:relative}
.sh-ind{position:absolute;left:0;top:0;box-sizing:border-box;pointer-events:none;z-index:0;transition:transform var(--mo-state) var(--sh-ease),width var(--mo-state) var(--sh-ease),height var(--mo-state) var(--sh-ease)}
.sh-nav .sh-ind{border-radius:12px;border:1px solid rgba(255,255,255,.26);background:linear-gradient(180deg,rgba(255,255,255,.12),rgba(255,255,255,.02)),rgba(255,255,255,.12)}
.sh-nav.sh-has-ind .sh-item{position:relative;z-index:1}
.sh-nav.sh-has-ind .sh-item[aria-current="page"]{background:transparent;border-color:transparent}
.sh-rlist .sh-ind{border-radius:12px;border:1px solid rgba(255,255,255,.30);background:var(--sh-grad-active)}
.sh-rlist .sh-ind::before{content:"";position:absolute;left:-8px;top:16px;bottom:16px;width:4px;border-radius:0 4px 4px 0;background:var(--sh-blue)}
.sh-rlist.sh-has-ind .sh-rbtn{z-index:1;transition:background-color .2s var(--sh-ease),border-color .2s var(--sh-ease),transform .1s var(--sh-ease),color .12s var(--sh-ease)}   /* 非当前项（含刚离开的旧项）的字不带延迟：高亮块一走就该变回灰，否则白字停在近白底上 */
.sh-rlist.sh-has-ind .sh-rbtn[aria-current="page"]{background:transparent;border-color:transparent;color:#fff;transition:background-color .2s var(--sh-ease),border-color .2s var(--sh-ease),transform .1s var(--sh-ease),color .12s var(--sh-ease) .1s}   /* 只有当前项的字晚 100ms 再变白：高亮块滑到位前别先白（白字落浅底看不见）。过渡取目的地样式的 transition，所以「变成当前」走这条（带延迟），「不再是当前」走上一条（不带延迟） */
.sh-rlist.sh-has-ind .sh-rbtn[aria-current="page"]::before{display:none}
.sh-item{transition:background-color .2s var(--sh-ease),border-color .2s var(--sh-ease),transform .1s var(--sh-ease)}
.sh-item:active{transform:scale(.985)}
.sh-blk{animation:shRise var(--mo-dur) var(--sh-ease) calc(var(--i,0) * var(--mo-stagger)) both}
@keyframes shRise{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
.sh-crumb.sh-crumb-in b{animation:shCrumb var(--mo-dur) var(--sh-ease) both}
@keyframes shCrumb{from{opacity:0;transform:translateX(-6px)}to{opacity:1;transform:none}}
.sh-content::before{content:"";position:absolute;left:0;right:0;top:0;height:2px;z-index:6;pointer-events:none;opacity:0;background:linear-gradient(90deg,rgba(2,101,194,0),var(--sh-blue) 50%,rgba(2,101,194,0));transition:opacity .2s var(--sh-ease)}
.sh-shell[data-loading] .sh-content::before{opacity:1;animation:shLoad 1.1s var(--sh-ease) infinite}
@keyframes shLoad{from{transform:translateX(-100%)}to{transform:translateX(100%)}}

/* ==========================================================================================
   登录页（只在 html.sh-on 下；?shell=0 的旧登录页保持原样）。设计依据：总纲 §0 五条原则、§3 质感规范、§3A 台阶。
   · 同一套台阶：S1 白外框(32) > S2 深色底板(24，左边让出图标栏位 80) > S3 浮起白卡(16)。登录成功后外框/底板原地变成外壳，只换里面的东西。
   · 一屏一个亮点：只有「登录」按钮是强调色实心；其余灰阶。语义色只在提示框里小面积出现。
   · 尺寸：输入框/按钮高 44（触屏下限，桌面也用）、字段间距 16、字阶 13/16/24/40、圆角 8/16/24/32。
   · 动效（§3）：悬停/按下 100–200ms，状态切换 250ms，进场 ≤400ms；同场景同一条曲线 --sh-ease；减少动画时上面的 reduced-motion 规则统一关掉，
     所有动画的「基态」都是终态，所以关掉后仍是完整页面。
   · 关联性：聚焦→标签变蓝+输入框蓝环；出错→提示行展开+对应输入框红环轻抖；提交→按钮变加载、输入框锁定；成功→卡片退场，底板变外壳；
     左边「空间·租约·账务·运维」四个点依次点亮，表示一个账号贯通四块。
   ========================================================================================== */
html.sh-on{--lg-edge:calc(var(--sh-margin) + var(--sh-pad));--lg-deck-l:calc(var(--sh-margin) + var(--sh-pad) + var(--sh-rail));--lg-w:1320px;--lg-top:clamp(72px,18vh,240px)}
html.sh-on body:not(.authed){display:flex;align-items:flex-start;justify-content:flex-end;overflow-x:hidden;overflow-y:auto;color:var(--sh-ink);
  font-family:"PingFang SC","Microsoft YaHei",system-ui,sans-serif;-webkit-font-smoothing:antialiased}
html.sh-on body:not(.authed)::before{content:"";position:fixed;inset:var(--sh-margin);z-index:0;border-radius:var(--sh-r1);background:var(--sh-frame);box-shadow:var(--sh-shadow-frame)}
html.sh-on body:not(.authed)::after{content:"";position:fixed;z-index:0;top:var(--lg-edge);right:var(--lg-edge);bottom:var(--lg-edge);left:var(--lg-deck-l);border-radius:var(--sh-r2);border-top:1px solid rgba(255,255,255,.18);
  background:radial-gradient(640px 440px at 0% 0%,rgba(150,205,255,.34),rgba(150,205,255,0) 70%),radial-gradient(560px 380px at 100% 100%,rgba(70,140,230,.24),rgba(70,140,230,0) 70%),linear-gradient(180deg,var(--sh-deck-a) 0%,var(--sh-deck-b) 40%,var(--sh-deck-c) 100%)}
/* 已登录的刷新：外框和底板先在，登录卡/舞台不画（外壳马上在同样的位置出现），不闪登录页 */
html.sh-on.sh-hasauth body:not(.authed) :is(#login,.lg-stage,.lg-foot){visibility:hidden}

/* ---- 舞台（左）：图标栏位的 logo、品牌、一句话、四个业务点 ---- */
html.sh-on .lg-stage{position:fixed;z-index:1;inset:0;pointer-events:none;color:#fff}
html.sh-on .lg-logo{position:fixed;left:calc(var(--sh-margin) + var(--sh-pad) + (var(--sh-rail) - 44px) / 2);top:calc(var(--sh-margin) + var(--sh-pad) + 6px);display:grid;place-items:center;width:44px;height:44px;
  animation:lgRise .4s var(--sh-ease) both}   /* 桌面：压在图标栏（浅底）那一格上，和登录后的 .sh-logo 同位同大，不加底板 */
html.sh-on .lg-brand{position:fixed;left:var(--lg-edge);width:var(--sh-rail);top:calc(var(--lg-edge) + 45px);text-align:center;animation:lgRise .4s var(--sh-ease) .04s both}   /* 桌面：「云仓汇海」放在图标栏里、标志正下方（浅底深字）；不再有「园区台账」副标 */
html.sh-on .lg-brand b{display:block;font-size:13px;line-height:20px;font-weight:600;letter-spacing:.04em;color:var(--sh-ink)}
html.sh-on .lg-hero{position:fixed;left:max(calc(var(--lg-deck-l) + 32px),calc((100vw + var(--lg-deck-l) - var(--lg-edge) - var(--lg-w)) / 2));top:0;bottom:0;padding-top:var(--lg-pt,calc(var(--lg-edge) + 60px));padding-bottom:calc(var(--lg-edge) + 60px + 2 * var(--lg-shift,0px));width:var(--lg-hw,560px);display:flex;flex-direction:column;justify-content:flex-start}   /* 顶部（标题+一句话）位置锁定：和上一版（整列竖向居中、图高 clamp(208,34vh,296)）时一致，由 JS 算出 --lg-pt；下面的图和说明缩小不影响它。左区一条竖线读下来：标题 → 一句话 → 大脑（固定高度一格）→ 三条差异点；整列在竖向居中，并按登录卡的竖向中心对齐（--lg-shift 由 JS 量）；宽度由 JS 按登录卡位置量（--lg-hw） */
html.sh-on .lg-hero h1{margin:0;font-size:40px;line-height:48px;font-weight:600;letter-spacing:-.01em;color:#fff;animation:lgRise .4s var(--sh-ease) .12s both}
html.sh-on .lg-i{position:relative;display:inline-block;width:.105em;height:.53em;margin-left:.035em;background:currentColor;border-radius:.05em}   /* 标题里「Ai」的 i：竖线+圆点都用样式画，不依赖字体度量，各电脑位置一致；竖线坐在基线上 */
html.sh-on .lg-i::after{content:"";position:absolute;left:50%;bottom:calc(100% + .07em);width:.16em;height:.16em;margin-left:-.08em;border-radius:50%;background:#ff7a2f;box-shadow:0 0 .3em rgba(255,122,47,.7)}   /* 暖色点睛：i 上的点（橙，一屏暖色 <1%，总纲 §3B） */
html.sh-on .lg-hero h1,html.sh-on .lg-sub{text-align:center}   /* 标题和一句话相对下面的图居中（图的中轴=中栏「AI 原生」）；紧凑模式（只有文字竖排）仍左对齐 */
html.sh-on .lg-hero[data-compact] h1,html.sh-on .lg-hero[data-compact] .lg-sub{text-align:left}
html.sh-on .lg-sub{margin:16px 0 0;font-size:16px;line-height:24px;letter-spacing:.04em;color:rgba(255,255,255,.72);animation:lgRise .4s var(--sh-ease) .16s both}
/* 「接入 → AI 处理 → 触达」三栏图：三栏等宽（间距 24），每栏 = 表头（标题 16 + 说明 13）+ 一格可视内容（左：接入标签 / 中：大脑 / 右：触达标签）。间距只用 8 的倍数：栏距 24、表头与图 16、标题组与图 48 */
html.sh-on .lg-viz{position:relative;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));column-gap:24px;margin:32px 0 0;animation:lgRise .4s var(--sh-ease) .24s both}
html.sh-on .lg-zone{opacity:.8;transition:opacity .3s var(--sh-ease)}
html.sh-on .lg-zone.on{opacity:1}
html.sh-on .lg-zh{position:relative;padding-top:16px;border-top:1px solid rgba(255,255,255,.16)}   /* 每栏说明上方一根细线；轮到的那栏，线从左走到右、线头一颗橙点沿线走（3.6s，和轮播同节奏） */
html.sh-on .lg-zone.on .lg-zh::before{content:"";position:absolute;left:0;top:-1px;height:2px;width:100%;background:linear-gradient(90deg,#a8d5ff,#6ee7d6);transform-origin:left;animation:lgFeat 3.6s linear 1 both}
html.sh-on .lg-zone.on .lg-zh::after{content:"";position:absolute;top:-3px;left:0;width:6px;height:6px;border-radius:50%;background:#ff7a2f;box-shadow:0 0 6px rgba(255,122,47,.8);animation:lgFeatDot 3.6s linear 1 both}
html.sh-on .lg-z1 .lg-zh{text-align:center}
html.sh-on .lg-z2 .lg-zh{text-align:right}
html.sh-on .lg-zh b{display:block;font-size:16px;line-height:24px;font-weight:600;color:#fff}
html.sh-on .lg-zh span{display:block;margin-top:4px;font-size:13px;line-height:20px;color:rgba(255,255,255,.72);text-wrap:balance}
html.sh-on .lg-vis{height:clamp(192px,30vh,264px);margin-bottom:24px;display:flex;flex-direction:column;justify-content:center}   /* 一格可视内容；大脑 canvas 按 .lg-core 量位置 */
html.sh-on .lg-chips{display:flex;flex-direction:column;gap:16px;margin:0;padding:0;list-style:none}
html.sh-on .lg-chips li{position:absolute;left:0;top:0;opacity:0;display:flex;align-items:center;height:32px;padding:0 14px;border:1px solid rgba(255,255,255,.28);border-radius:999px;background:rgba(255,255,255,.06);font-size:13px;line-height:20px;color:rgba(255,255,255,.9);white-space:nowrap;transition:border-color .3s var(--sh-ease),background .3s var(--sh-ease),opacity .4s var(--sh-ease)}   /* 位置由 loginFx 按「围着大脑的弧」算好后写进 left/top（transform 不用，避免和动画抢）；算好前不可见，免得闪一下 */
html.sh-on .lg-hero[data-ready] .lg-chips li{opacity:1}
html.sh-on .lg-chips li.more{border-style:dashed;color:rgba(255,255,255,.72)}   /* 虚线 = 可无限扩展（任意模块 / 你的系统） */
html.sh-on .lg-zone.on .lg-chips li{border-color:rgba(169,209,251,.7);background:rgba(127,182,242,.16)}
html.sh-on .lg-hero[data-compact] .lg-vis{display:none}   /* 左区太窄放不下图：只留三栏文字，竖排 */
html.sh-on .lg-hero[data-compact] .lg-viz{grid-template-columns:1fr;row-gap:16px}
html.sh-on .lg-hero[data-compact] .lg-z1 .lg-zh,html.sh-on .lg-hero[data-compact] .lg-z2 .lg-zh{text-align:left}

/* 登录页的点阵大脑（canvas，纯装饰，只在登录页；JS 在 shell.js 的 loginFx）：铺满舞台、不挡点击；≤1099 左侧收起时不画 */
html.sh-on .lg-fx{position:absolute;left:0;top:0;width:100%;height:100%;pointer-events:none;animation:lgFxIn .8s var(--sh-ease) .3s both}
@keyframes lgFxIn{from{opacity:0}to{opacity:1}}
@keyframes lgRise{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}
@keyframes lgNudge{0%,100%{transform:none}25%{transform:translateX(-4px)}75%{transform:translateX(4px)}}
@keyframes lgSpin{to{transform:rotate(360deg)}}
@keyframes lgFade{from{opacity:0}to{opacity:1}}

/* ---- 卡片（右，S3 浮起）：顶部对齐在视口 ~16% 处，出错行展开时只向下长，不让整张卡跳 ---- */
html.sh-on body:not(.authed) #login{position:relative;z-index:2;flex:none;width:min(400px,calc(100vw - 48px));max-width:none;box-sizing:border-box;
  margin:var(--lg-top) max(clamp(24px,6vw,96px),calc((100vw - var(--lg-deck-l) - var(--lg-edge) - var(--lg-w)) / 2 + 32px)) 0 0;
  padding:40px 32px 28px;background:var(--sh-content);border:0;border-radius:var(--sh-r3);box-shadow:0 20px 56px rgba(2,10,25,.42),0 2px 8px rgba(2,10,25,.12);animation:lgRise .4s var(--sh-ease) both}
html.sh-on #login h2,html.sh-on #login > p,html.sh-on #login .lg-help{text-align:center}   /* 卡里的文案和左边标题一样居中：标题、导语、底部提示；标签与输入框仍左对齐通栏 */
html.sh-on #login h2{margin:0 0 8px;font-size:24px;line-height:32px;font-weight:600;color:var(--sh-ink)}
html.sh-on #login > p{margin:0 0 24px!important;font-size:13px!important;line-height:20px!important;color:var(--sh-ink2)!important}   /* 旧标记里这句带内联 13px/灰色，只有 !important 压得过内联；旧页不受影响（本规则限定 html.sh-on） */
html.sh-on #login .field{margin:0 0 16px}
html.sh-on #login .field label{display:block;margin:0 0 6px;font-size:13px;line-height:20px;font-weight:600;color:var(--sh-ink2);transition:color .15s var(--sh-ease)}
html.sh-on #login .field:focus-within label{color:var(--sh-blue)}
html.sh-on #login input{box-sizing:border-box;width:100%;height:44px;padding:0 14px;font-size:16px;line-height:24px;color:var(--sh-ink);background:#fff;border:1px solid #d0d5dd;border-radius:8px;
  transition:border-color .15s var(--sh-ease),box-shadow .15s var(--sh-ease),background-color .15s var(--sh-ease)}
html.sh-on #login input:hover{border-color:#98a2b3}
html.sh-on #login input:focus{outline:none;border-color:var(--sh-blue);box-shadow:0 0 0 4px rgba(2,101,194,.16)}
html.sh-on #login input[aria-invalid="true"]{border-color:#d92d20;box-shadow:0 0 0 4px rgba(217,45,32,.12);animation:lgNudge .28s var(--sh-ease)}
html.sh-on #login input:-webkit-autofill{-webkit-text-fill-color:var(--sh-ink);-webkit-box-shadow:0 0 0 100px #fff inset}   /* 浏览器自动填充默认涂一层黄底，盖回白底 */
html.sh-on #login .lg-pw{position:relative}
html.sh-on #login .lg-pw input{padding-right:64px}
html.sh-on #login .lg-eye{position:absolute;top:0;right:0;height:44px;min-width:60px;padding:0 10px;border:4px solid transparent;border-radius:12px;background:none;background-clip:padding-box;box-sizing:border-box;color:var(--sh-blue);font-size:13px;line-height:20px;font-weight:600;
  transition:background-color .15s var(--sh-ease)}
html.sh-on #login .lg-eye:hover{background:var(--sh-blue-soft)}
html.sh-on #login .lg-eye:focus-visible{outline:2px solid #7fb6f2;outline-offset:-2px}
html.sh-on #login .lg-caps{max-height:0;margin:0;overflow:hidden;opacity:0;font-size:13px;line-height:20px;color:#93370d;transition:max-height .25s var(--sh-ease),opacity .2s var(--sh-ease),margin .25s var(--sh-ease)}
html.sh-on #login .lg-caps[data-on="1"]{max-height:24px;margin:6px 0 0;opacity:1}
/* 提示行：空着不占位，有内容时展开（250ms）；error=红（凭据错/网络/服务），info=蓝（登录已过期） */
html.sh-on #login .err{box-sizing:border-box;min-height:0;max-height:0;margin:0;padding:0 12px;overflow:hidden;opacity:0;border:0 solid transparent;border-radius:8px;font-size:13px;line-height:20px;
  transition:max-height .25s var(--sh-ease),opacity .2s var(--sh-ease),margin .25s var(--sh-ease),padding .25s var(--sh-ease)}
html.sh-on #login .err[data-kind]{max-height:96px;margin:0 0 16px;padding:10px 12px;opacity:1;border-width:1px}
html.sh-on #login .err[data-kind="error"]{color:#b42318;background:#fef3f2;border-color:#fecdca}
html.sh-on #login .err[data-kind="info"]{color:#0b4f8a;background:var(--sh-blue-soft);border-color:#cfe2f7}
html.sh-on #login #loginBtn{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;height:44px;padding:0 16px;border:0;border-radius:8px;background:var(--sh-blue);color:#fff;font-size:16px;line-height:24px;font-weight:600;opacity:1;
  transition:background-color .15s var(--sh-ease),transform .1s var(--sh-ease)}
html.sh-on #login #loginBtn:hover{background:#0558a8}
html.sh-on #login #loginBtn:active{transform:scale(.985)}
html.sh-on #login #loginBtn:focus-visible{outline:2px solid #7fb6f2;outline-offset:2px}
html.sh-on #login #loginBtn[aria-busy="true"]{cursor:progress}
html.sh-on #login #loginBtn[aria-busy="true"]::before{content:"";width:16px;height:16px;border:2px solid rgba(255,255,255,.4);border-top-color:#fff;border-radius:50%;animation:lgSpin .8s linear infinite}
html.sh-on body.login-busy #login input{pointer-events:none;background:#f9fafb}   /* 提交中锁住输入，免得请求在飞时改了字 */
html.sh-on #login .lg-help{margin:24px 0 0;padding-top:16px;border-top:1px solid var(--sh-line);font-size:13px;line-height:20px;color:var(--sh-ink2)}
/* 成功：卡片和舞台先退场（200ms），随后 boot() 把 body 标成 authed，外壳在同样的外框/底板位置出现，内容淡入 */
html.sh-on body.login-leaving #login{opacity:0;transform:translateY(-8px) scale(.985);transition:opacity .2s var(--sh-ease),transform .2s var(--sh-ease)}
html.sh-on body.login-leaving :is(.lg-stage,.lg-foot){opacity:0;transition:opacity .2s var(--sh-ease)}
html.sh-on body.authed :is(.lg-stage,.lg-foot){display:none}
html.sh-on body.authed .sh-rail,html.sh-on body.authed .sh-content{animation:lgFade .28s var(--sh-ease) both}   /* 只用透明度：transform 会给内部 fixed 元素造新的定位参照，影响壳里的浮层 */

/* ---- 底板底部：使用范围 + 版本号 ---- */
html.sh-on .lg-foot{position:fixed;z-index:1;left:calc(var(--lg-deck-l) + 32px);right:calc(var(--lg-edge) + 32px);bottom:calc(var(--lg-edge) + 20px);display:flex;flex-wrap:wrap;justify-content:space-between;gap:4px 16px;
  font-size:13px;line-height:20px;color:rgba(255,255,255,.72);animation:lgFade .4s var(--sh-ease) .24s both}
html.sh-on .lg-foot #loginVer{display:block;margin:0;color:inherit;font-size:13px;line-height:20px;text-align:right}

/* ---- 窄一点的桌面（901–1099）：左边没地方放一句话和四个点，卡片居中 ---- */
@media (min-width:901px) and (max-width:1099px){
  html.sh-on body:not(.authed){justify-content:center}
  html.sh-on body:not(.authed) #login{margin-right:calc(var(--lg-edge) - var(--lg-deck-l) + var(--lg-edge))}
  html.sh-on .lg-hero{display:none}
}
/* ---- 手机 / 平板竖屏（≤900）：外壳此时没有外框，登录页也不要；深色底铺满，卡片顶部对齐 ---- */
@media (max-width:900px){
  html.sh-on body:not(.authed){display:flow-root;padding:0;min-height:100dvh;overflow:auto;   /* flow-root：把 #login 的上外边距关在 body 里，别穿出去让文档多 88px */
    background:radial-gradient(520px 360px at 0% 0%,rgba(150,205,255,.30),rgba(150,205,255,0) 70%),linear-gradient(180deg,var(--sh-deck-a) 0%,var(--sh-deck-b) 40%,var(--sh-deck-c) 100%)}
  html.sh-on body:not(.authed)::before,html.sh-on body:not(.authed)::after{display:none}
  html.sh-on .lg-logo{left:20px;top:20px;width:40px;height:40px;border-radius:10px;background:#fff;box-shadow:0 1px 3px rgba(8,30,70,.25)}   /* 手机：没有图标栏，logo 落在深蓝底上，蓝色标志要垫一块白底 */
  html.sh-on .lg-logo img{width:30px}
  html.sh-on .lg-brand{left:72px;top:20px;width:auto;text-align:left}   /* 手机：没有图标栏，名字仍在标志右侧、深蓝底上用白字，和 40px 的标志垂直居中 */
  html.sh-on .lg-brand b{font-size:16px;line-height:40px;letter-spacing:0;color:#fff}
  html.sh-on .lg-hero{display:none}
  html.sh-on body:not(.authed) #login{width:auto;max-width:440px;margin:88px 16px 0;padding:28px 20px 20px}
  html.sh-on body:not(.authed) #login{margin-left:auto;margin-right:auto;width:calc(100% - 32px)}
  html.sh-on body:not(.authed) .lg-foot{position:relative;left:auto;right:auto;bottom:auto;z-index:1;flex-direction:column;align-items:center;gap:4px;margin:24px 16px;text-align:center}
  html.sh-on .lg-foot #loginVer{text-align:center}
}
@media (max-height:600px) and (min-width:901px){html.sh-on .lg-foot{display:none}}
@media (max-height:700px) and (min-width:901px){html.sh-on{--lg-top:28px}}   /* 矮屏（如 1366×768 放大 150% ≈ 910×430）：顶边距收小，放不下就让页面滚动，登录按钮必须够得到 */
@keyframes lgFeat{from{transform:scaleX(0)}to{transform:scaleX(1)}}
@keyframes lgFeatDot{from{left:0}to{left:calc(100% - 6px)}}

/* 落点闸（index.html 的 landingGateStart）：地址里没指定页面时，登录/刷新后先等落点探测结果再落点，期间内容区只显示骨架屏（不闪运营总览/园区台账）：home_page=group_home 的人等集团首页探测（能看的公司 ≥2 家），home_page=ops_overview 的人等运营总览探测；4 秒放行。 */
body.sh-landing-wait #shPage{position:relative}
body.sh-landing-wait #shPage>*{visibility:hidden}
body.sh-landing-wait #shPage::before{content:"";position:absolute;left:24px;right:24px;top:24px;height:288px;border-radius:12px;
  background:linear-gradient(#eceff3,#eceff3) 0 0/40% 32px no-repeat,linear-gradient(#eceff3,#eceff3) 0 56px/100% 96px no-repeat,linear-gradient(#eceff3,#eceff3) 0 176px/100% 96px no-repeat;animation:sh-land-pulse 1.4s ease-in-out infinite}
@keyframes sh-land-pulse{50%{opacity:.5}}
@media (prefers-reduced-motion:reduce){body.sh-landing-wait #shPage::before{animation:none}}

/* ==========================================================================================
   手机底栏选中动效「凹口球」（ADR-021；chad 11/7 在四种里选了 ③；shell.js 里「手机底栏选中动效」一节建 .sh-fx 层）。
   · 颜色全部取壳令牌，集中在下面 .sh-tabbar 的 --fx-*（球 = 图标栏选中块的蓝渐变 --sh-grad-active，投影 = --sh-shadow-pop），别处不写颜色字面量。
   · 只改 transform；球与凹口长条同一个过渡，0.5s 弹簧（linear() 由 JS 按原片 k=1100 ζ=.5 采样，有过冲）；不支持 linear() 时退回 --fx-curve。
   · 选中线索只有这一种：选中格字墨色 600（不再蓝字）。没有选中格（待核对）/桌面：没有 .sh-fx-on，底栏回到白底。减少动画：上面的 reduced-motion 规则清零过渡，JS 也不滑。
   ========================================================================================== */
@media (max-width:900px){
  .sh-tabbar{--fx-bar:var(--sh-frame);--fx-line:var(--sh-line);--fx-ball:var(--sh-grad-active);--fx-ball-rim:var(--sh-side-line);--fx-ball-shadow:var(--sh-shadow-pop);--fx-slide:.5s;--fx-curve:var(--sh-ease)}
  .sh-tabbar.sh-fx-on{background:transparent;border-top-color:transparent;-webkit-clip-path:inset(-32px 0 0 0);clip-path:inset(-32px 0 0 0)}   /* 凹口要看见条后面的页面：条自己的白底让位给长条；上方留 32px 给球探出去 */
  .sh-tabbar.sh-fx-on .sh-tab{position:relative;z-index:1}
  html.sh-on .sh-tabbar.sh-fx-on .sh-tab[aria-current="page"]{color:var(--sh-ink)}   /* 方案 b：球取代蓝字，字改墨色 600（一种线索） */
  .sh-tabbar.sh-fx-on .sh-tab[aria-current="page"] .sh-ico{opacity:0}   /* 选中格的图标已经在球里 */
  .sh-fx{position:absolute;left:0;right:0;top:0;bottom:0;z-index:0;pointer-events:none}
  .sh-fx-m,.sh-fx-nbar{will-change:transform;transition:transform var(--fx-slide) var(--fx-curve)}
  .sh-fx-m{position:absolute;left:0;top:0;width:0;height:0}
  .sh-fx-nbar{position:absolute;left:0;top:-1px;height:120px;display:flex}
  .sh-fx-nbar>i{flex:1 1 0;min-width:0;background:var(--fx-bar);border-top:1px solid var(--fx-line)}
  .sh-fx-nbar>svg{flex:none;display:block}
  .sh-fx-nbar .nf{fill:var(--fx-bar)}
  .sh-fx-nbar .nl{fill:none;stroke:var(--fx-line);stroke-width:1}
  .sh-fx-ball{position:absolute;left:-22px;top:-23px;width:44px;height:44px;border-radius:50%;display:grid;place-items:center;color:var(--sh-frame);background:var(--fx-ball);box-shadow:var(--fx-ball-shadow),inset 0 0 0 1px var(--fx-ball-rim)}
  .sh-fx-ball .sh-ico{width:24px;height:24px}
}

/* 共用的日期/数字样式（9f 11/8）：中文字体（苹方）的 ASCII 连字符偏宽，2025-06-01 看着像长横线；日期、数字改用拉丁字体栈 + 等宽数字。
   只改字体族和数字形态，不动字号/行高/间距（全局尺寸规则别碰）。页面里给日期套 class="sh-dt"（JS 里用 shDt(v)）。 */
html.sh-on .sh-dt{font-family:-apple-system,"SF Pro Text","Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;font-variant-numeric:tabular-nums}
