/* ===== app.css ===== */

  /* 和纸 · 墨 · 藍
     纸底带一点米黄（#FAFAFA），不用纯白——纯白是屏幕的白，纸才有厚度。
     主色取「藍」#1A1A1A，比原来的亮蓝沉，压在米黄上不刺眼。
     朱 #6E6E6E 只留给异常与逾期，一天里看到的红越少，红才有分量。 */
  :root{--p:#1A1A1A;--pd:#1A1A1A;--bg:#FFFFFF;--card:#FFFFFF;--t:#1A1A1A;--m:#9E9E9E;--bd:#E8E8E8;
    --red:#6E6E6E;--green:#9E9E9E;--orange:#6E6E6E;--purple:#9E9E9E;--cyan:#9E9E9E;
    --sh:none;--sh2:0 1px 0 rgba(28,27,25,.04);
    --r:2px;--sat:env(safe-area-inset-top,0px);--sab:env(safe-area-inset-bottom,0px)}
  *{margin:0;padding:0;box-sizing:border-box;font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Hiragino Sans GB","Microsoft YaHei",sans-serif;-webkit-tap-highlight-color:transparent}
  html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
  body{background:var(--bg);color:var(--t);padding-bottom:calc(78px + var(--sab));
    -webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;overscroll-behavior-y:none}
  /* 主头部 */
  /* 页头：白纸底 + 一条 1px 墨线收口。日式版面不靠色块压场，靠留白和线的间距。 */
  header{background:var(--card);color:var(--t);
    padding:calc(14px + var(--sat)) 16px 12px;position:relative;overflow:hidden;
    border-bottom:1px solid var(--bd);box-shadow:none}
  header::before{content:none}
  header::after{content:none}
  header h1{font-size:14px;font-weight:700;letter-spacing:.06em;position:relative;z-index:1;
    display:flex;align-items:center;gap:6px;white-space:nowrap}
  header .sub{font-size:12px;color:var(--m);margin-top:4px;position:relative;z-index:1;letter-spacing:.03em;
    white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:calc(100% - 130px)}
  /* 顶部菜单：六大板块 */
  .topnav{display:flex;background:var(--card);
    border-bottom:1px solid var(--bd);position:sticky;top:0;z-index:20;
    box-shadow:none;padding-top:var(--sat)}
  .topnav button{flex:1;border:none;background:none;padding:10px 1px 8px;font-size:12px;color:var(--m);
    border-bottom:2.5px solid transparent;display:flex;flex-direction:column;align-items:center;gap:3px;
    transition:color .16s;font-family:inherit;cursor:pointer}
  .topnav button .ic{font-size:14px;line-height:1;}
  .topnav button.on{color:var(--p);border-color:var(--p);font-weight:700}
  .topnav button.on .ic{transform:none}
  /* 二级菜单 */
  .subnav{display:flex;gap:7px;overflow-x:auto;padding:10px 14px 5px;background:var(--bg);
    position:sticky;top:calc(47px + var(--sat));z-index:19;-webkit-overflow-scrolling:touch;
    /* 390 宽放不下六个页签时，右端那颗会被切掉半个字，看着像排版崩了。
       真溢出才加一层向右淡出的遮罩：一眼知道「这边还有」，不是「这里坏了」。
       默认不加 —— 桌面上六个页签摆得下，不该无端淡掉最后一项。 */
    }
  .subnav.has-more{-webkit-mask-image:linear-gradient(90deg,#000 calc(100% - 44px),transparent 100%);
    mask-image:linear-gradient(90deg,#000 calc(100% - 44px),transparent 100%)}
  .subnav::-webkit-scrollbar{display:none}
  .subnav button{white-space:nowrap;padding:5px 12px;border-radius:2px;background:var(--card);border:1px solid var(--bd);
    font-size:12px;color:var(--m);transition:color .16s,border-color .16s;font-family:inherit;cursor:pointer;
    letter-spacing:.03em}
  /* 选中态：只换字的颜色 + 一条下横线，不再用整块渐变胶囊压住 */
  .subnav button.on{background:var(--card);color:var(--p);border-color:var(--p);
    font-weight:700;box-shadow:none}
  /* 「更多」折叠按钮：虚线边框 + 品牌色，和普通可选项区分开 */
  .subnav button.sub-more{border-style:dashed;color:var(--p);opacity:.92}
  .subnav button.sub-more.open{border-style:solid}
  .sn-crumb{margin-left:auto;font-size:12px;color:var(--m);white-space:nowrap;align-self:center;padding-left:6px;
    flex-shrink:0;letter-spacing:.2px}
  main{max-width:680px;margin:0 auto;padding:10px 14px 14px}
  /* 统计卡：有几张排几列，不让标签里写死的列数决定长相。
     135px 是一张卡还不显挤的下限；窄屏自动落到 2 列，不出现半行空位。 */
  .stat-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(135px,1fr));
    gap:8px;margin-bottom:12px}
  .stat{background:var(--card);border-radius:2px;padding:11px 6px;text-align:center;box-shadow:none;
    border:1px solid var(--bd);position:relative;overflow:hidden}
  .stat .num{font-size:20px;font-weight:700;line-height:1.2;font-variant-numeric:tabular-nums;letter-spacing:-.3px}
  .stat .label{font-size:12px;color:var(--m);margin-top:3px}
  .panel{background:var(--card);border-radius:2px;padding:14px;margin-bottom:11px;box-shadow:none;
    border:1px solid rgba(28,27,25,.8)}
  .panel h3{font-size:14px;margin-bottom:10px;display:flex;justify-content:space-between;align-items:center;
    font-weight:700;letter-spacing:.2px}
  .panel h3 em{font-style:normal;font-size:12px;color:var(--m);font-weight:400}
  .card{border:1px solid #E8E8E8;border-radius:2px;padding:11px 12px;margin-bottom:8px;background:var(--card);
    }
  .card:active{background:#E8E8E8;transform:scale(.994)}
  .card .name{font-weight:600;font-size:14px;display:flex;justify-content:space-between;align-items:flex-start;gap:6px;line-height:1.4;flex-wrap:wrap;min-width:0}
  .card .meta{font-size:12px;color:var(--m);margin-top:5px;line-height:1.7}
  .tag{display:inline-block;padding:1.5px 8px;border-radius:2px;font-size:12px;background:#E8E8E8;color:var(--p);white-space:nowrap;font-weight:500}
  .tag.g{background:#FAFAFA;color:var(--green)} .tag.o{background:#FAFAFA;color:#9E9E9E}
  .tag.r{background:#FAFAFA;color:var(--red)} .tag.p{background:#E8E8E8;color:var(--purple)}
  .tag.c{background:#E8E8E8;color:var(--cyan)} .tag.gray{background:#E8E8E8;color:var(--m)}
  .btn{border:none;border-radius:2px;padding:11px 16px;font-size:14px;
    background:#1A1A1A;color:#FFFFFF;width:100%;font-weight:600;font-family:inherit;
    box-shadow:none;;cursor:pointer}
  .btn:active{transform:scale(.985);opacity:.92}
  .btn.sm{padding:6px 12px;font-size:12px;width:auto;border-radius:2px;box-shadow:none}
  .btn.ghost{background:var(--card);color:var(--p);border:1px solid #E8E8E8;box-shadow:none}
  .btn.green{background:#1A1A1A;box-shadow:none}
  .btn.danger{background:var(--card);color:var(--red);border:1px solid #E8E8E8;box-shadow:none}
  .search{width:100%;padding:11px 12px;border:1px solid var(--bd);border-radius:2px;font-size:14px;
    margin-bottom:9px;outline:none;background:var(--card);font-family:inherit;}
  .search:focus{border-color:var(--p);box-shadow:none}
  .chips{display:flex;gap:7px;overflow-x:auto;padding-bottom:6px;margin-bottom:6px}
  .chips::-webkit-scrollbar{display:none}
  .chip{white-space:nowrap;padding:5px 12px;border-radius:2px;background:var(--card);border:1px solid var(--bd);font-size:12px;color:var(--m)}
  .chip.on{background:var(--p);color:#FFFFFF;border-color:var(--p);font-weight:600}
  /* 筛选器专用轻量变体：实心蓝块是「我选了什么」的强调，
     而筛选只是「我在看什么」的工具，不该跟正文抢风头。
     选中态留浅色底 + 深色字，认得出就够了；未选中连框都拿掉。 */
  .fchips .chip{padding:4px 10px;background:transparent;border-color:transparent}
  .fchips .chip.on{background:#E8E8E8;color:var(--t);border-color:transparent;font-weight:600}
  .field{margin-bottom:10px}
  .field label{display:block;font-size:12px;color:var(--m);margin-bottom:4px}
  .field input,.field select,.field textarea{width:100%;padding:10px;border:1px solid var(--bd);border-radius:2px;font-size:14px;outline:none;background:var(--card);font-family:inherit}
  .field input:focus,.field select:focus,.field textarea:focus{border-color:var(--p)}
  .frow{display:flex;gap:9px}.frow .field{flex:1;min-width:0}
  .empty{text-align:center;color:var(--m);padding:22px 0;font-size:12px}
  /* 报价计算器 */
  .qparam{margin-bottom:12px}
  .qpt{font-size:12px;color:var(--m);margin-bottom:5px;font-weight:600}
  .qparam .chips{margin-bottom:0}
  .qbox{background:#FFFFFF;border:1px solid var(--bd);border-radius:2px;padding:12px 13px}
  .qrow{display:flex;justify-content:space-between;align-items:baseline;padding:5px 0;font-size:12px;color:#1A1A1A}
  .qrow b{font-size:14px;color:var(--t);font-variant-numeric:tabular-nums}
  .qrow b em{font-style:normal;font-size:11;color:var(--m);font-weight:400}
  .qrow b.hl{color:var(--p);font-size:14px;font-weight:700}
  .qrow b.big{font-size:20px;color:#6E6E6E}
  .qrow b.bigcoef{color:#1A1A1A;font-size:14px}
  .qdiv{height:1px;background:var(--bd);margin:7px 0}
  .modal-bg{position:fixed;inset:0;background:rgba(28,27,25,.5);display:none;align-items:flex-end;justify-content:center;
    /* 400：必须压过体检提示条(210)和进门招呼(320)。
       以前是 100，用户正看单据，一条橙色的「系统体检」横在弹窗上面，
       看着像系统坏了。弹窗开着的时候，屏幕上只能有弹窗。 */
    z-index:400;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}
  .modal-bg.show{display:flex}
  .modal{background:var(--card);border-radius:2px;padding:18px 18px calc(18px + var(--sab));width:100%;max-width:680px;
    max-height:92vh;overflow:auto;-webkit-overflow-scrolling:touch;animation:up .24s cubic-bezier(.2,.8,.2,1);
    box-shadow:none}
  @keyframes up{from{transform:translateY(36px);opacity:.55}to{transform:none;opacity:1}}
  .modal h3{margin-bottom:13px;font-size:14px;display:flex;justify-content:space-between;align-items:center;font-weight:700}
  /* 二次确认弹窗：把「要删什么」摆到台面上，按钮不默认高亮，避免无脑回车 */
  .ask-list{background:var(--bg);border:1px solid #E8E8E8;border-radius:2px;padding:10px 12px;margin-bottom:10px}
  .ask-li{font-size:12px;color:#1A1A1A;line-height:1.75;padding:2px 0;
    border-bottom:1px solid #E8E8E8}
  .ask-li:last-child{border-bottom:none}
  .ask-li b{color:#1A1A1A}
  .ask-warn{font-size:12px;line-height:1.7;color:#6E6E6E;background:#FAFAFA;border:1px solid #E8E8E8;
    border-radius:2px;padding:8px 11px;margin-bottom:12px}
  .ask-quote{font-size:12px;line-height:1.75;color:#1A1A1A;background:var(--bg);border-left:1px solid #E8E8E8;
    border-radius:2px;padding:9px 11px;margin-bottom:12px;user-select:all;word-break:break-all}
  .ask-act{display:flex;gap:9px}
  .ask-act .btn{flex:1}
  /* 折算弹窗：6% / 13% 两个档位并排，点一下实时换算，不用再回去改单据税率 */
  .ask-pct{flex:1;padding:7px 0;font-size:12px;font-weight:600;color:#1A1A1A;background:#E8E8E8;
    border:1px solid #E8E8E8;border-radius:2px;font-family:inherit}
  .ask-pct.on{background:#FAFAFA;border-color:#1A1A1A;color:#1A1A1A}
  .ask-num{width:100%;box-sizing:border-box;font-size:20px;font-weight:700;text-align:center;
    padding:11px;border:1px solid #E8E8E8;border-radius:2px;margin-top:6px;font-family:inherit;
    font-variant-numeric:tabular-nums;outline:none;color:#1A1A1A;background:var(--card)}
  .ask-num:focus{border-color:#1A1A1A;box-shadow:none}
  .ask-num-out{font-size:12px;color:#1A1A1A;text-align:center;margin-top:9px;min-height:20px;
    font-variant-numeric:tabular-nums}
  .ask-num-out b{color:#1A1A1A;font-size:14px;font-weight:700}
  .hint{font-size:12px;color:var(--m);line-height:1.7;margin:7px 0}
  .ok-tip{position:fixed;left:50%;top:calc(74px + var(--sat));transform:translateX(-50%);background:rgba(28,27,25,.9);color:#FFFFFF;
    padding:9px 18px;border-radius:2px;font-size:12px;z-index:200;display:none;
    -webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);box-shadow:none;
    max-width:86vw;text-align:center}
  .bar{display:flex;align-items:center;gap:7px;margin:7px 0}
  .bar .zn{width:74px;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--m)}
  .bar .track{flex:1;height:15px;background:#E8E8E8;border-radius:2px;overflow:hidden}
  .bar .fill{height:100%;background:var(--wa-accent);border-radius:2px}
  .bar .cn{width:62px;text-align:right;font-size:12px;color:var(--m)}
  .fab{position:fixed;right:16px;bottom:calc(88px + var(--sab));width:52px;height:52px;border-radius:50%;
    background:var(--wa-accent);color:#FFFFFF;font-size:20px;border:none;
    box-shadow:none;z-index:50;display:flex;align-items:center;justify-content:center;
    }
  .fab:active{transform:scale(.93)}
  /* 「这里不对」出口：贴在屏幕右边缘的一条小签。
     为什么不做成圆形浮球：手机上每一条列表的最右边都是「收款 › / 核实 ›」,
     浮球压上去就挡住了人真正要点的东西 —— 一个用来报错的按钮，
     不该先制造一个错误。所以它退到卡片外的边距里，只露 22px。
     平时是浅灰几乎看不见；手指够得着（上下各留 8px 热区）。 */
  /* 反馈入口：一个红问号，浮在左上角，轻轻摇。
     以前是右边缘一条 22px 的小签，灰的、贴着边，几乎没人点过。
     现在红底白问号、带阴影悬起来；摇四下歇两秒，幅度小 ——
     看得见，但不到让人想把它关掉的程度。 */
  /* 反馈入口：启迅的小矮人，双手举着一个大问号。
     原本是颗红点，像告警灯，没人愿意点；换成一个一直在举牌的小人，
     反倒有人会好奇点一下。放右上角 —— 左上角已经被标题和筛选占了。
     全部内联 SVG，不走外链，省得缓存又出岔子。 */
  .fb-dot{position:fixed;right:-3px;top:120px;width:46px;height:69px;padding:0;border:0;
    background:transparent;z-index:70;cursor:pointer;display:none;
    align-items:center;justify-content:center;
    filter:drop-shadow(0 5px 9px rgba(28,27,25,.2));
    transition:scale .15s,filter .15s}
  .fb-dot:hover{scale:1.06;filter:drop-shadow(0 8px 15px rgba(28,27,25,.28))}
  .fb-dot:active{scale:.95}
  /* 一层极淡的白雾底：底下是标题还是表格都看得清，小人也不至于糊在字上 */
  .fb-dot::before{content:"";position:absolute;inset:-4px -8px 0 -8px;border-radius:50%;
    background:transparent}
  .fb-dot svg{position:relative}
  /* 热区比人宽一圈，手指和鼠标都不容易点空 */
  .fb-dot::after{content:"";position:absolute;inset:-6px -10px -4px -10px;border-radius:2px}
  .fb-dot svg{display:block;overflow:visible;transform-origin:50% 94%;
    }
  /* 举牌的手臂：托着有点沉，轻轻上下一浮 */
  .fb-dot .dw-lift{transform-box:fill-box;transform-origin:50% 100%;
    }
  /* 问号：被举着左右小晃，幅度不大，晃大了像坏掉 */
  .fb-dot .dw-q{transform-box:fill-box;transform-origin:50% 92%;
    }
  /* 眨眼：大部分时间睁着，隔五六秒快眨一下 */
  .fb-dot .dw-eyes{transform-box:fill-box;transform-origin:center;
    }
  @keyframes dwBob{
    0%,100%{transform:translateY(0)}
    50%{transform:translateY(-2.4px)}
  }
  @keyframes dwLift{
    0%,100%{transform:translateY(0)}
    50%{transform:translateY(-1.8px)}
  }
  @keyframes dwQ{
    0%,100%{transform:rotate(-3.2deg)}
    50%{transform:rotate(3.2deg)}
  }
  @keyframes dwBlink{
    0%,92%,100%{transform:scaleY(1)}
    94.5%{transform:scaleY(.1)}
    96.5%{transform:scaleY(1)}
  }
  @media (min-width:900px){
    .fb-dot{right:20px;top:105px;width:66px;height:99px}
    .fb-dot svg{width:66px;height:99px}
  }
  /* 系统开了「减少动态效果」就站定，不晃不眨 */
  @media (prefers-reduced-motion:reduce){
    .fb-dot svg,.fb-dot .dw-lift,.fb-dot .dw-q,.fb-dot .dw-eyes{animation:none}
  }

  /* ================== 小助手面板：一块牌子，两条路 ==================
     根类名用 hzx 不用 hp —— 全站已经有一个 .hp（半屏层，display:none），
     撞上就整块不显示，查半天查不出来。 */
     原来右上举问号（提意见）、左下举放大镜（找功能），两个人各管一头。
     实际用下来没人分得清哪个是哪个 —— 找功能的人点错到提意见里，
     提意见的人又跑去找功能。合并成一个人、一块牌子：
     点开先问「你是找不到东西，还是用着别扭」，两条路各走各的。 */
  .dl-in.hzx{padding:16px 17px 15px}
  /* 手机底下有四个大按钮（待办/报价/工单/全部），面板贴底会被压住半行。
     留出 76 加安全区；长答案让面板自己滚，别顶出屏幕。 */
  #hpMask{padding-bottom:calc(76px + var(--sab))}
  #hpMask .dl-in{max-height:calc(100vh - 150px);overflow-y:auto;-webkit-overflow-scrolling:touch}
  @media (min-width:900px){ #hpMask{padding-bottom:26px} #hpMask .dl-in{max-height:calc(100vh - 120px)} }
  .hp-hd{display:flex;align-items:flex-start;gap:8px;margin-bottom:12px}
  .hp-tt{flex:1;font-size:14px;font-weight:800;color:#1A1A1A;letter-spacing:-.25px;line-height:1.36}
  .hp-tt i{display:block;font-style:normal;font-size:12px;color:#9E9E9E;font-weight:600;
    margin-top:4px;letter-spacing:0;line-height:1.5}
  .hp-tabs{display:flex;gap:8px;margin-bottom:13px}
  .hp-tab{flex:1;height:44px;border:1px solid #E8E8E8;border-radius:2px;background:#E8E8E8;color:#1A1A1A;
    font-size:14px;font-weight:700;font-family:inherit;cursor:pointer;letter-spacing:-.1px;
    display:flex;align-items:center;justify-content:center;gap:6px;
    -webkit-appearance:none;box-shadow:none;background-image:none;padding:0}
  .hp-tab.on{background:#1A1A1A;border-color:#1A1A1A;color:#FFFFFF}
  .hp-tab b{font-size:14px;line-height:1;font-weight:400}
  .hp-lead{font-size:12px;color:#9E9E9E;margin:0 0 9px;line-height:1.6}
  .dl-in.hzx .fb-tx{width:100%;box-sizing:border-box;border:1px solid #E8E8E8;border-radius:2px;
    padding:10px 12px;font-size:14px;line-height:1.6;font-family:inherit;color:#1A1A1A;
    resize:none;outline:none;-webkit-appearance:none}
  .dl-in.hzx .fb-tx:focus{border-color:#1A1A1A;box-shadow:none}
  .fb-kinds{display:flex;gap:7px;flex-wrap:wrap;margin-bottom:10px}
  .fb-k{border:1px solid #E8E8E8;background:#E8E8E8;color:#1A1A1A;border-radius:2px;font-size:12px;
    padding:8px 12px;font-family:inherit;cursor:pointer;line-height:1.15;-webkit-appearance:none;
    box-shadow:none;background-image:none}
  .fb-k.on{background:#1A1A1A;border-color:#1A1A1A;color:#FFFFFF}
  .hp-foot{display:flex;gap:9px;margin-top:12px}
  .hp-btn{flex:1;height:46px;border-radius:2px;border:1px solid #E8E8E8;background:#FFFFFF;color:#1A1A1A;
    font-size:14px;font-weight:700;font-family:inherit;cursor:pointer;
    -webkit-appearance:none;box-shadow:none;background-image:none;padding:0}
  .hp-btn.pri{flex:1.7;background:#1A1A1A;border-color:#1A1A1A;color:#FFFFFF}
  .hp-btn.pri:disabled{opacity:.55}
  .kv{display:grid;grid-template-columns:1fr 1fr;gap:8px}
  .kv .box{background:var(--bg);border-radius:2px;padding:9px;text-align:center}
  .kv .box .n{font-size:14px;font-weight:700}
  .kv .box .l{font-size:12px;color:var(--m);margin-top:1px}
  .list-item{padding:9px 0;border-bottom:1px solid #E8E8E8;font-size:12px;line-height:1.55}
  .list-item:last-child{border:none}
  .list-item .t{display:flex;justify-content:space-between;gap:8px;font-weight:500}
  .list-item .d{color:var(--m);font-size:12px;margin-top:2px}
  .seg{display:flex;background:#FAFAFA;border-radius:2px;padding:3px;margin-bottom:10px}
  .seg button{flex:1;border:none;background:none;padding:7px 0;font-size:12px;border-radius:2px;color:var(--m)}
  .seg button.on{background:var(--card);color:var(--p);font-weight:600;box-shadow:none}

  /* ===== 登录页 ===== */
  .login{position:fixed;inset:0;background:#1A1A1A;display:flex;
    align-items:center;justify-content:center;z-index:300;padding:20px}
  .login.hide{display:none}
  .login-box{background:var(--card);border-radius:2px;padding:26px 22px;width:100%;max-width:340px;box-shadow:none}
  .login-box .logo{text-align:center;font-size:20px;margin-bottom:6px}
  .login-box h2{text-align:center;font-size:14px;margin-bottom:4px}
  .login-box .tip{text-align:center;font-size:12px;color:var(--m);margin-bottom:18px}
  .login-box .field{margin-bottom:12px}
  .login-box .btn{margin-top:4px}
  /* 第一次登录的人卡在「账号填什么、密码是多少」上，问一遍耽误半天。
     一句话写在按钮上方：不打断输入，也不用翻通讯录。 */
  .login-box .lg-init{font-size:12px;color:#9E9E9E;text-align:center;margin:-2px 0 10px;letter-spacing:.01em;line-height:1.5}
  .login-box .lg-init b{color:#1A1A1A;font-weight:600;letter-spacing:.08em}
  /* .role-pick 的三个身份块已删除（2026-11-02）：身份由账号决定，不由人手点。 */
  .login-err{color:var(--red);font-size:12px;text-align:center;margin-top:8px;min-height:16px}
  /* 首字母撞车：列出同名的那几个人让他点。
     登录框只有 340 宽，纵向排、一行一个人，不挤成小格子。 */
  .login-err .lg-pick{margin-top:8px;display:flex;flex-direction:column;gap:6px;text-align:left}
  .lg-pick-t{font-size:12px;color:#6B6B6B;text-align:center;margin-bottom:2px;line-height:1.5}
  .lg-pick-b{display:flex;flex-direction:column;gap:1px;width:100%;padding:9px 12px;
    border:1px solid var(--bd);border-radius:2px;background:var(--card);cursor:pointer;
    font-family:inherit;text-align:left;color:#1A1A1A}
  .lg-pick-b b{font-size:13px;font-weight:700;letter-spacing:.02em;color:#1A1A1A}
  .lg-pick-b span{font-size:11px;color:#9E9E9E}
  .lg-pick-b:active{background:var(--bg)}
  /* 登录安全等级选择 */
  .lg-mode{margin-top:12px;background:var(--bg);border:1px solid var(--bd);border-radius:2px;padding:10px 11px}
  .lg-mode-t{font-size:12px;font-weight:700;color:#1A1A1A;display:flex;align-items:baseline;gap:6px}
  .lg-mode-t span{font-weight:400;font-size:11;color:#9E9E9E}
  .lg-mode-opts{display:flex;gap:6px;margin-top:8px}
  .lg-mode-opt{flex:1;text-align:center;padding:7px 4px;border:1.5px solid var(--bd);border-radius:2px;
    cursor:pointer;background:var(--card);transition:.13s}
  .lg-mode-opt .m-em{font-size:14px;display:block}
  .lg-mode-opt .m-nm{font-size:12px;font-weight:700;display:block;margin-top:2px;color:#1A1A1A}
  .lg-mode-opt.on{border-color:var(--p);background:#FAFAFA;box-shadow:none}
  .lg-mode-opt.on .m-nm{color:var(--p)}
  .lg-mode-d{font-size:12px;color:#1A1A1A;margin-top:8px;line-height:1.6;min-height:32px}
  /* 指纹 / 面容登录 */
  .bio-wrap{margin-top:14px}
  .bio-or{display:flex;align-items:center;gap:10px;color:#9E9E9E;font-size:12px;margin-bottom:11px}
  .bio-or::before,.bio-or::after{content:"";flex:1;height:1px;background:#E8E8E8}
  .bio-list{display:flex;flex-direction:column;gap:8px}
  .bio-btn{display:flex;align-items:center;gap:10px;width:100%;box-sizing:border-box;
    border:1.5px solid rgba(28,27,25,.22);background:#FFFFFF;
    border-radius:2px;padding:11px 12px;font-family:inherit;cursor:pointer;text-align:left;
    }
  .bio-btn:active{transform:scale(.985)}
  .bio-ic{width:34px;height:34px;flex-shrink:0;border-radius:2px;display:flex;align-items:center;
    justify-content:center;font-size:20px;background:var(--card);box-shadow:none}
  .bio-tx{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
  .bio-tx b{font-size:14px;color:#1A1A1A;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .bio-tx em{font-style:normal;font-size:12px;color:#1A1A1A}
  .bio-ar{color:#1A1A1A;font-size:14px;flex-shrink:0}
  .bio-foot{display:flex;justify-content:space-between;align-items:center;margin-top:10px;
    font-size:12px;color:#1A1A1A}
  .bio-unbind{color:#6E6E6E;cursor:pointer;padding:2px 4px}
  /* 开启免密登录的询问框 */
  .biobd{text-align:center;padding:6px 2px 2px}
  .biobd-ic{font-size:20px;line-height:1;margin-bottom:10px}
  .biobd-t{font-size:14px;font-weight:750;color:#1A1A1A;margin-bottom:8px}
  .biobd-d{font-size:12px;color:#1A1A1A;line-height:1.75;margin-bottom:16px}
  .biobd-btns{display:flex;gap:9px}
  .biobd-btns .btn{flex:1}
  .biobd-f{font-size:12px;color:#9E9E9E;margin-top:11px}
  .biobd-w{font-size:12px;line-height:1.6;color:#6E6E6E;background:#FAFAFA;border:1px solid #E8E8E8;border-radius:2px;padding:8px 10px;margin-top:10px}
  /* 用户头像 */
  .uinfo{display:flex;align-items:center;gap:7px;background:rgba(255,255,255,.16);padding:4px 9px 4px 5px;
    border-radius:2px;font-size:12px;cursor:pointer}
  .uinfo .av{width:22px;height:22px;border-radius:50%;background:var(--card);color:var(--p);display:flex;
    align-items:center;justify-content:center;font-size:12px;font-weight:700}
  .uinfo .rl{opacity:.8;font-size:11}
  header{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:5px 10px}
  header .sub{flex-basis:100%;max-width:100%}
  .scope-chip{padding:6px 12px;border:1.5px solid var(--bd);border-radius:2px;font-size:12px;color:var(--m);cursor:pointer;transition:.15s;user-select:none}
  .scope-chip.on{border-color:var(--p);background:#E8E8E8;color:var(--p);font-weight:600}
  .scope-badge{background:rgba(255,255,255,.22);padding:2px 8px;border-radius:2px;font-size:12px;margin-top:3px;display:inline-block}
  .showbtn{border:1px solid rgba(255,255,255,.45);background:rgba(255,255,255,.14);color:#FFFFFF;font-size:12px;
    padding:5px 10px;border-radius:2px;white-space:nowrap;cursor:pointer}
  .showbtn:active{background:rgba(255,255,255,.3)}
  /* ===== 客户展示全屏 ===== */
  /* ===== 客户展示看板 · 日式企业版式 =====
     白纸底、藏青主色、朱红点缀、细线分栏——像一本排版规矩的销售提案 PPT */
  .showwrap{position:fixed;inset:0;z-index:400;background:#E8E8E8;color:#1A1A1A;overflow-y:auto;display:none;
    font-family:-apple-system,"PingFang SC","Microsoft YaHei",sans-serif}
  .showwrap.on{display:block}
  .showwrap .xbar{position:sticky;top:0;z-index:5;display:flex;justify-content:space-between;align-items:center;
    padding:10px 14px;background:rgba(255,255,255,.94);backdrop-filter:blur(8px);border-bottom:1px solid #E8E8E8}
  .showwrap .xbar b{font-size:12px;font-weight:700;letter-spacing:.1em;color:#1A1A1A}
  .showwrap .xbar button{background:#1A1A1A;border:1px solid #1A1A1A;color:#FFFFFF;
    padding:6px 16px;border-radius:2px;font-size:12px;letter-spacing:.1em}
  /* 方案 A4 版：独立文件，客户可存可打印，不跟着系统版本走 */
  .showwrap .xbar .xact{display:flex;align-items:center;gap:8px}
  .showwrap .xbar .xquote{background:#1A1A1A;border:1px solid #1A1A1A;color:#FFFFFF;border-radius:2px;padding:7px 14px;font-size:12px;font-weight:700;cursor:pointer}
  .showwrap .xbar .xplan{background:#FFFFFF;border:1px solid #1A1A1A;color:#1A1A1A;text-decoration:none;
    padding:5px 12px;border-radius:2px;font-size:12px;letter-spacing:.06em;white-space:nowrap}
  .sw-hero{padding:38px 22px 34px;text-align:center;background:#FFFFFF;border-bottom:1px solid #E8E8E8}
  .sw-hero .sw-logo{width:64px;height:64px;margin:0 auto 14px;display:block}
  /* 企业二维码：公众号码，微信扫码关注 */
  .sw-qr{display:flex;align-items:center;gap:16px;background:#FFFFFF;border:1px solid #E8E8E8;padding:16px}
  .sw-qr img{width:118px;height:118px;flex-shrink:0;border:1px solid #E8E8E8;padding:6px;background:#FFFFFF}
  .sw-qr .tx{min-width:0;text-align:left}
  .sw-qr .t1{font-size:14px;font-weight:800;color:#1A1A1A;letter-spacing:.1em;margin-bottom:4px}
  .sw-qr .t2{font-size:12px;font-weight:600;color:#6E6E6E;margin-bottom:6px}
  .sw-qr .t3{font-size:12px;color:#1A1A1A;line-height:1.8}
  .sw-hero .kicker{font-size:12px;letter-spacing:.4em;color:#1A1A1A;font-weight:700;margin-bottom:16px}
  .sw-hero h1{font-size:20px;line-height:1.55;font-weight:800;color:#1A1A1A;letter-spacing:.06em;margin-bottom:14px}
  .sw-hero h1 span{color:#6E6E6E}
  .sw-hero p{font-size:12px;color:#1A1A1A;line-height:2;max-width:340px;margin:0 auto}
  .sw-hero .bar{width:44px;height:3px;background:#6E6E6E;margin:24px auto 0}
  .sw-sec{padding:26px 18px}
  .sw-sec:nth-child(even){background:#FFFFFF;border-top:1px solid #E8E8E8;border-bottom:1px solid #E8E8E8}
  .sw-sec h2{font-size:14px;margin-bottom:5px;color:#1A1A1A;letter-spacing:.16em;font-weight:800;
    display:flex;align-items:center;gap:8px}
  .sw-sec h2::before{content:"";width:4px;height:15px;background:#6E6E6E;border-radius:2px;flex-shrink:0}
  .sw-sec .sub{font-size:12px;color:#9E9E9E;margin-bottom:15px;letter-spacing:.06em}
  .sw-nums{display:grid;grid-template-columns:repeat(2,1fr);gap:1px;background:#E8E8E8;border:1px solid #E8E8E8}
  .sw-num{background:#FFFFFF;padding:16px 10px 13px;text-align:center}
  .sw-num .v{font-size:20px;font-weight:800;color:#1A1A1A;font-variant-numeric:tabular-nums;line-height:1.2}
  .sw-num .v i{font-size:12px;font-style:normal;color:#9E9E9E;margin-left:2px;font-weight:600}
  .sw-num .l{font-size:12px;color:#9E9E9E;margin-top:4px;letter-spacing:.14em}
  .sw-cards{display:flex;flex-direction:column;gap:8px}
  .sw-card{background:#FFFFFF;border:1px solid #E8E8E8;border-left:1px solid #1A1A1A;border-radius:2px;padding:13px 14px}
  .sw-card .h{font-size:14px;font-weight:700;margin-bottom:5px;display:flex;align-items:center;gap:7px;color:#1A1A1A;letter-spacing:.05em}
  .sw-card .h i{font-style:normal;font-size:14px}
  .sw-card .b{font-size:12px;color:#1A1A1A;line-height:1.85}
  .sw-flow{display:flex;flex-direction:column;gap:0}
  .sw-step{display:flex;gap:11px;padding-bottom:15px;position:relative}
  .sw-step:not(:last-child):before{content:"";position:absolute;left:11px;top:26px;bottom:0;width:1px;background:#E8E8E8}
  .sw-step .no{width:23px;height:23px;border-radius:50%;background:#1A1A1A;color:#FFFFFF;
    display:flex;align-items:center;justify-content:center;font-size:12px;font-weight:700;flex-shrink:0;z-index:1}
  .sw-step .tx .t{font-size:12px;font-weight:700;margin-bottom:2px;color:#1A1A1A}
  .sw-step .tx .d{font-size:12px;color:#1A1A1A;line-height:1.75}
  .sw-tags{display:flex;flex-wrap:wrap;gap:7px}
  .sw-tags span{font-size:12px;padding:5px 12px;border-radius:2px;background:#FFFFFF;
    border:1px solid #E8E8E8;color:#1A1A1A;letter-spacing:.08em}
  .sw-promise{display:flex;flex-direction:column;gap:8px}
  .sw-promise .p{background:#FFFFFF;border:1px solid #E8E8E8;border-top:1px solid #1A1A1A;border-radius:2px;padding:12px 14px}
  .sw-promise .p b{font-size:12px;display:block;margin-bottom:4px;color:#1A1A1A;letter-spacing:.1em}
  .sw-promise .p b::after{content:"";display:block;width:18px;height:2px;background:#6E6E6E;margin-top:6px}
  .sw-promise .p span{font-size:12px;color:#1A1A1A;line-height:1.8}
  .sw-foot{text-align:center;padding:28px 20px 42px;background:#1A1A1A;color:#E8E8E8;border-top:none}
  .sw-foot .nm{font-size:14px;font-weight:700;margin-bottom:8px;color:#FFFFFF;letter-spacing:.12em}
  .sw-foot .ln{font-size:12px;color:#1A1A1A;line-height:2.1}
  .sw-reveal{opacity:0;transform:translateY(16px);}
  .sw-reveal.in{opacity:1;transform:none}
  .lock{text-align:center;padding:50px 20px;color:var(--m)}
  .lock .em{font-size:20px;margin-bottom:10px}

  /* ===== 考核 / AI / 体检 通用件 ===== */
  .kq-row{display:flex;align-items:center;gap:9px;padding:10px 11px;border-radius:2px;margin-bottom:7px;
    border:1px solid #E8E8E8;background:var(--card);transition:.15s}
  .kq-row.bad{background:#FFFFFF;border-color:#FAFAFA}
  .kq-row .nm{font-weight:600;font-size:14px;flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  /* 名字下面那行「技师 · 片区」是内层 div，外层裁了但它自己不带省略号，
     长片区名单会被硬切在卡片边上 —— 补一个省略号，读者知道后面还有。 */
  .kq-row .nm>div{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%}
  .kq-dot{width:26px;height:26px;border-radius:2px;display:flex;align-items:center;justify-content:center;
    font-size:12px;flex-shrink:0;font-weight:700}
  .kq-dot.ok{background:#FAFAFA;color:#1A1A1A}
  .kq-dot.no{background:#FAFAFA;color:#6E6E6E;}
  @keyframes kpulse{0%,100%{box-shadow:none}50%{box-shadow:none}}
  .kq-fine{font-size:12px;font-weight:700;color:var(--red);white-space:nowrap}
  .kq-ok{font-size:12px;color:var(--green);white-space:nowrap}
  .ai-bar{padding:9px 11px;border-radius:2px;font-size:12px;line-height:1.65;margin:7px 0;border-left:3px solid}
  .ai-bar.e{background:#FAFAFA;border-color:#6E6E6E;color:#6E6E6E}
  .ai-bar.w{background:#FAFAFA;border-color:#9E9E9E;color:#9E9E9E}
  .ai-bar.o{background:#FAFAFA;border-color:#1A1A1A;color:#1A1A1A}
  .ai-bar.t{background:#E8E8E8;border-color:#1A1A1A;color:#1A1A1A}
  .hc-item{padding:10px 11px;border-radius:2px;background:var(--card);border:1px solid #E8E8E8;margin-bottom:7px}
  .hc-item .h{font-weight:600;font-size:12px;display:flex;justify-content:space-between;gap:8px;align-items:center}
  .hc-item .b{font-size:12px;color:var(--m);margin-top:3px;line-height:1.6}
  .hc-item.hc-new{border-left:3px solid var(--red);padding-left:9px}
  .hc-item.hc-gone{opacity:.55;padding:8px 11px}
  .hc-opts{display:flex;flex-wrap:wrap;gap:7px;margin-top:9px}
  .hc-opts .btn{flex:0 0 auto}
  /* 健康分：一个数字先把结论说清，趋势线只做旁证 */
  .hc-hero{padding:14px 15px 10px}
  .hc-hero-top{display:flex;justify-content:space-between;align-items:flex-start;gap:14px}
  .hc-score{font-size:20px;font-weight:800;line-height:1;letter-spacing:-1.5px;font-variant-numeric:tabular-nums}
  .hc-cap{font-size:12px;color:var(--m);margin-top:4px}
  .hc-side{text-align:right}
  .hc-delta{font-size:12px;font-weight:700;color:var(--m)}
  .hc-delta.up{color:var(--green)}
  .hc-delta.dn{color:var(--red)}
  .hc-meta{font-size:12px;color:var(--m);margin-top:3px}
  .hc-axis{display:flex;justify-content:space-between;font-size:12px;color:var(--m);margin-top:-2px}
  .hc-fix{display:flex;align-items:center;gap:12px;background:#FAFAFA;border-color:#FAFAFA}
  .hc-chips{display:flex;flex-wrap:wrap;gap:6px}
  .hc-chips .pt-chip{font-size:12px;padding:4px 9px;border-radius:2px;background:#E8E8E8;color:var(--m)}
  .hc-chips .pt-chip b{color:var(--ink);margin-left:3px}
  /* 我要排的日子：一行一家，日期在右边，点一下就是定了 */
  .mp-box .mp-row{display:flex;align-items:center;gap:10px;padding:9px 0;border-top:1px solid #E8E8E8}
  .mp-box .mp-row:first-of-type{border-top:0}
  .mp-main{flex:1;min-width:0}
  .mp-n{font-size:12px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .mp-s{font-size:12px;color:var(--m);margin-top:2px}
  .mp-act{display:flex;gap:6px;flex-shrink:0}
  /* 进门打招呼：一定要弹、一定要看见（数据才进得来），但不缠人：点空白就关 */
  .dl-mask{position:fixed;inset:0;z-index:320;background:rgba(28,27,25,.55);
    display:flex;align-items:flex-end;justify-content:center;padding:0 14px calc(20px + var(--sab));
    animation:dlf .18s ease}
  .dl-in{width:min(100%,400px);background:#FFFFFF;border-radius:2px;padding:16px 17px 12px;
    box-shadow:none;animation:dlu .24s cubic-bezier(.2,.9,.3,1)}
  .dl-in.dl-bye{animation:dlbye .3s ease forwards}
  .dl-hd{display:flex;align-items:center;gap:7px;margin-bottom:9px}
  .dl-hello{font-size:12px;color:#1A1A1A;font-weight:600;flex:1;letter-spacing:-.1px}
  .dl-x{font-size:20px;line-height:1;color:#E8E8E8;cursor:pointer;padding:0 2px;margin:-6px -4px -6px 0}
  .dl-tt{font-size:14px;font-weight:800;letter-spacing:-.2px;line-height:1.42;color:var(--ink)}
  .dl-in .dl-s{font-size:12px;color:#9E9E9E;margin-top:4px;line-height:1.6}
  .dl-in .dl-act{display:flex;flex-direction:column;gap:9px;margin-top:15px}
  /* 弹窗按钮就是全站的棋子，不另起一套。
     之前自造过矩形按钮，结果弹窗是方的、页面里是圆的，像两个系统拼起来的。
     这里只治一件事：别让字被裁、别让手指按不中。 */
  .dl-in .dl-act .btn{width:100%!important;height:46px!important;min-height:46px!important;
    padding:0 14px!important;display:flex!important;align-items:center!important;
    justify-content:center!important;font-size:14px!important;font-weight:700!important;
    letter-spacing:.01em!important;line-height:1.15!important;white-space:nowrap!important}
  .dl-in .dl-act .btn:disabled{opacity:.5!important}
  .dl-more{text-align:center;font-size:12px;color:#1A1A1A;cursor:pointer;font-weight:600;
    letter-spacing:-.1px;line-height:1.4;padding:10px 0 0}
  .dl-foot{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:11px;
    padding-top:10px;border-top:1px solid #E8E8E8}
  .dl-help{font-size:12px;color:#1A1A1A;cursor:pointer;padding:3px 0;line-height:1.4}
  .dl-in .dl-quiet{font-size:12px;color:#9E9E9E;cursor:pointer;padding:3px 0;line-height:1.4}
  /* 问路面板：一个输入框，几颗常用词，别无他物 */
  .dl-in .gd-in{width:100%!important;height:46px!important;min-height:46px!important;
    border:1px solid #E8E8E8!important;border-radius:2px!important;padding:0 13px!important;
    font-size:14px!important;font-family:inherit!important;color:#1A1A1A!important;background:#FFFFFF!important;
    background-image:none!important;box-shadow:none!important;outline:none!important;margin:0 0 11px!important}
  .dl-in .gd-in:focus{border-color:#1A1A1A!important;box-shadow:none!important}
  .gd-chips{display:flex;flex-wrap:wrap;gap:7px}
  .gd-chip{border:1px solid #E8E8E8!important;background:#E8E8E8!important;color:#1A1A1A!important;
    border-radius:2px!important;font-size:12px!important;padding:8px 12px!important;font-family:inherit!important;
    cursor:pointer;line-height:1.2!important;box-shadow:none!important;background-image:none!important}
  .gd-chip:active{background:#E8E8E8!important}
  .gd-none{font-size:12px;color:#9E9E9E;margin:12px 0 8px}
  @keyframes dlbye{to{opacity:0;transform:translateY(6px)}}
  @keyframes dlf{from{opacity:0}to{opacity:1}}
  @keyframes dlu{from{transform:translateY(30px);opacity:0}to{transform:translateY(0);opacity:1}}
  .ring{position:relative;width:52px;height:52px;flex-shrink:0}
  .ring svg{transform:rotate(-90deg)}
  .ring .pct{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;font-size:12px;font-weight:700}
  .hc-toast{position:fixed;left:50%;transform:translateX(-50%);top:calc(76px + var(--sat));z-index:210;
    background:#FFFFFF;border:1px solid #E8E8E8;border-left:1px solid #E8E8E8;
    color:#9E9E9E;padding:11px 15px;border-radius:2px;max-width:min(92vw,420px);cursor:pointer;
    box-shadow:none;transition:opacity .4s;animation:hcin .3s ease}
  @keyframes hcin{from{opacity:0;transform:translateX(-50%) translateY(-10px)}to{opacity:1;transform:translateX(-50%)}}

  /* ===== 微信 / 窄屏 ===== */
  @media (max-width:359px){
    header h1{font-size:14px}
    .topnav button{font-size:12px;padding:9px 0 7px}
    .topnav button .ic{font-size:14px}
    main{padding:8px 10px 10px}
    .panel{padding:12px}
    .kq-dot{width:23px;height:23px}
  }
  /* ===== PC / 平板宽屏 ===== */
  @media (min-width:900px){
    body{background:#FAFAFA}
    header{padding:20px calc((100vw - 1040px)/2 + 24px) 18px}
    header h1{font-size:20px}
    header .sub{font-size:12px}
    .topnav{padding-left:calc((100vw - 1040px)/2);padding-right:calc((100vw - 1040px)/2)}
    .topnav button{flex:0 0 auto;padding:10px 22px;font-size:14px;flex-direction:row;gap:7px;
      border-bottom:2.5px solid transparent;border-radius:2px}
    .topnav button .ic{font-size:14px}
    .subnav{padding-left:calc((100vw - 1040px)/2 + 8px);padding-right:calc((100vw - 1040px)/2 + 8px)}
    main{max-width:1040px;padding:16px 24px 40px}
    .stat-row{gap:12px}
    .stat{padding:16px 8px}
    .stat .num{font-size:20px}
    .panel{padding:18px;border-radius:2px;margin-bottom:14px}
    .modal-bg{align-items:center}
    .modal{border-radius:2px;max-width:720px;max-height:86vh;padding:22px;box-shadow:none}
    .fab{right:calc((100vw - 1040px)/2 - 6px);bottom:40px;width:56px;height:56px}
    .card:hover{border-color:#E8E8E8;box-shadow:none}
    .btn:hover{opacity:.94}
  }
  @media (min-width:900px) and (max-width:1180px){
    .fab{right:24px}
  }
  /* 触控设备最小点击尺寸 */
  @media (hover:none){
    .btn,.chip,.subnav button,.topnav button{min-height:34px}
    .btn.sm{min-height:30px}
  }
  /* ===== 图表组件 ===== */
  .ch-wrap{margin:6px auto 0;width:100%;max-width:880px}   /* 宽屏封顶 880，别让六根柱横跨一屏 */
  .ch-svg{width:100%;height:auto;display:block;overflow:visible}
  .ch-hbar{margin-top:4px}
  .ch-hrow{display:flex;align-items:center;gap:8px;margin-bottom:7px}
  .ch-hn{width:86px;font-size:12px;color:#1A1A1A;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;flex-shrink:0}
  .ch-ht{flex:1;height:9px;background:#E8E8E8;border-radius:2px;overflow:hidden}
  .ch-hf{height:100%;border-radius:2px;transition:width .5s cubic-bezier(.2,.8,.2,1)}
  .ch-hv{width:52px;text-align:right;font-size:12px;font-weight:700;color:var(--t);font-variant-numeric:tabular-nums;flex-shrink:0}
  .ch-donut{display:flex;align-items:center;gap:14px;flex-wrap:wrap}
  .ch-donut-ring{position:relative;flex-shrink:0}
  .ch-donut-ring svg{width:100%;height:100%;display:block}
  .ch-donut-c{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;line-height:1.15}
  .ch-donut-c b{font-size:14px;font-weight:800;letter-spacing:-.4px}
  .ch-donut-c span{font-size:10.5;color:var(--m);margin-top:1px}
  .ch-legend{flex:1;min-width:120px;display:flex;flex-direction:column;gap:5px}
  .ch-lg{display:flex;align-items:center;gap:6px;font-size:12px;color:#1A1A1A}
  .ch-lg i{width:8px;height:8px;border-radius:2px;flex-shrink:0}
  /* 原来 span 是 flex:1，把数字顶到面板最右边，中间空出一大片；
     数字其实属于这一条图例，应该紧跟标签。 */
  .ch-lg span{flex:0 0 auto;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .ch-lg b{font-variant-numeric:tabular-nums;color:var(--t);margin-left:2px}
  .ch-spark{width:64px;height:20px;display:block}
  .ch-tabs{display:flex;gap:6px;margin-bottom:10px}
  .ch-tabs button{flex:1;padding:6px 0;font-size:12px;border:1px solid var(--bd);background:var(--card);
    border-radius:2px;color:var(--m);font-family:inherit;cursor:pointer;transition:.15s}
  .ch-tabs button.on{background:var(--t);color:#FFFFFF;border-color:var(--t);font-weight:600}
  /* KPI 卡（带趋势） */
  .kpi-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;margin-bottom:12px}
  /* KPI：白卡 + 数字本身说话。彩圆、阴影都是装饰性噪音，日式版面不要 */
  .kpi{background:var(--card);border-radius:2px;padding:13px 14px;border:1px solid var(--bd);
    box-shadow:none;position:relative;overflow:hidden}
  .kpi::after{content:none}
  .kpi .kt{font-size:12px;color:var(--m);display:flex;align-items:center;gap:4px}
  .kpi .kv2{font-size:20px;font-weight:800;letter-spacing:-.6px;margin:3px 0 1px;font-variant-numeric:tabular-nums;position:relative;z-index:1}
  .kpi .kv2 em{font-size:12px;font-weight:500;color:var(--m);font-style:normal;margin-left:2px}
  .kpi .kf{font-size:12px;color:var(--m);display:block;line-height:1.7;position:relative;z-index:1}
  /* 这行原来是 flex：一个 gap 把「成交率」和「3.5%」拆成两段跑，
     320 宽下还被挤成「成交 / 率 3.5 / %」。改回普通文本流，单位不再被切。 */
  .kpi .kf b,.kpi .kf .up,.kpi .kf .down{white-space:nowrap}
  .kpi .up{color:var(--red);font-weight:600}
  .kpi .down{color:var(--green);font-weight:600}
  /* 计划/提醒 折叠卡 */
  .fold{background:var(--card);border-radius:2px;margin-bottom:8px;border:1px solid var(--bd);box-shadow:none;overflow:hidden}
  .fold-hd{display:flex;align-items:center;gap:9px;padding:12px 14px;cursor:pointer;user-select:none}
  .fold-hd .fi{width:30px;height:30px;border-radius:2px;display:flex;align-items:center;justify-content:center;font-size:14px;flex-shrink:0}
  .fold-hd .ft{flex:1;font-size:12px;font-weight:700}
  .fold-hd .fc{font-size:12px;font-weight:700;padding:2px 8px;border-radius:2px;background:#FAFAFA;color:var(--red)}
  .fold-hd .fa{font-size:12px;color:var(--m);}
  .fold.open .fa{transform:rotate(180deg)}
  .fold-bd{display:none;padding:0 12px 12px}
  .fold.open .fold-bd{display:block}
  /* 异常/待办提示：一行收起的轻折叠。不开盒、不加边框，
     只一条细线提示「这里有件事」，点开才占地方。 */
  .fold.notice{border:none;border-left:2px solid var(--red);border-radius:2px;margin:0 0 8px;padding:0;background:transparent}
  .fold.notice .fold-hd{padding:7px 2px;gap:6px}
  .fold.notice .fold-hd .ft{font-size:12px;font-weight:600;color:var(--red)}
  .fold.notice .fold-hd .fa{font-size:11px}
  .fold.notice .fold-bd{padding:2px 2px 8px}
  /* 全站底色：一张白纸。渐变纹理是花活，去了 */
  body{background-color:var(--wa-bg,#E8E8E8);background-image:none}
  main{position:relative}
  .panel{backdrop-filter:saturate(120%);-webkit-backdrop-filter:saturate(120%)}
  /* 页面标题条：日式账票的「表題」——大留白、细字、一条短线收口。
     不放彩色图标块：图标块是给「不会读字」的界面用的，我们的用户天天看同一页。 */
  .pg-hd{display:block;margin:2px 0 18px;padding:0 1px 12px;border-bottom:1px solid var(--bd)}
  /* 手机上右上角站着举牌的小人，标题别伸到他脚底下 */
  @media (max-width:899px){
    body .pg-hd{padding-right:58px!important}
    body .panel h3{padding-right:56px!important}
  }
  .pg-hd .pe{display:none}
  .pg-hd h2,.pg-hd .pt{font-size:14px;font-weight:600;letter-spacing:.12em;line-height:1.3;color:var(--t)}
  .pg-hd p,.pg-hd .pd{font-size:12px;color:var(--m);margin-top:5px;letter-spacing:.04em;line-height:1.6}

  /* ===== 员工花名册 ===== */
  .hr-viewbtn{width:38px;height:38px;border-radius:2px;border:1px solid var(--bd);background:var(--card);
    font-size:14px;color:var(--m);flex-shrink:0;cursor:pointer;font-family:inherit}
  .hr-card{display:flex;align-items:center;gap:11px;background:var(--card);border-radius:2px;padding:12px 13px;
    margin-bottom:9px;border:1px solid rgba(28,27,25,.9);box-shadow:none;transition:.15s;cursor:pointer}
  .hr-card:active{transform:scale(.995);background:#E8E8E8}
  .hr-card.off{opacity:.6;background:var(--bg)}
  .hr-av{width:42px;height:42px;border-radius:2px;display:flex;align-items:center;justify-content:center;
    font-size:14px;font-weight:700;flex-shrink:0}
  .hr-main{flex:1;min-width:0}
  .hr-l1{display:flex;align-items:center;gap:6px;flex-wrap:wrap}
  .hr-l1 b{font-size:14px}
  .hr-role{font-size:11;padding:1.5px 7px;border-radius:2px;font-weight:600;white-space:nowrap}
  .hr-l2{font-size:12px;color:var(--m);margin-top:3px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .hr-no{font-family:ui-monospace,monospace;color:#1A1A1A}
  .hr-l3{margin-top:5px;display:flex;gap:5px;flex-wrap:wrap}
  .hr-act{font-size:12px;color:var(--p);flex-shrink:0;font-weight:600}
  /* 表格视图 */
  .hr-tbl{background:var(--card);border-radius:2px;overflow:hidden;border:1px solid rgba(28,27,25,.9);box-shadow:none}
  .hr-tr{display:grid;grid-template-columns:52px 1.3fr 118px 1fr 1fr 84px 136px;gap:6px;align-items:center;
    padding:9px 12px;font-size:12px;border-bottom:1px solid #E8E8E8;cursor:pointer;transition:.13s}
  .hr-tr:not(.hr-th):hover{background:#E8E8E8}
  .hr-tr:last-child{border:none}
  .hr-tr.off{opacity:.55}
  .hr-tr.sel{background:#FAFAFA;box-shadow:none}
  .hr-th{background:var(--bg);color:var(--m);font-weight:600;font-size:12px;letter-spacing:.3px;cursor:default}
  .hr-tr .c-no{font-family:ui-monospace,monospace;color:#1A1A1A;font-size:12px}
  .hr-tr .c-u{font-family:ui-monospace,monospace;color:#1A1A1A;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .hr-tr .c-ph{font-variant-numeric:tabular-nums}
  .hr-tr .c-sc{color:var(--m)}
  .hr-lnk{color:var(--p);cursor:pointer;font-weight:600}
  /* 行内操作按钮 */
  .hr-rowbtn{display:flex;gap:4px;justify-content:flex-end;flex-shrink:0}
  .hr-mini{font-size:12px!important;padding:4px 8px!important;border-radius:2px;border:1px solid var(--bd);
    background:var(--card);color:#1A1A1A;cursor:pointer;line-height:1.4;white-space:nowrap}
  .hr-mini:active{background:var(--bg)}
  .hr-mini.danger{color:#6E6E6E;border-color:#FAFAFA;background:#FAFAFA}
  /* 就地编辑展开区 */
  .hr-detail-bar{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 0 10px;
    padding:11px 13px;background:#E8E8E8;border:1px solid #E8E8E8;border-radius:2px}
  .hr-detail-hd{display:flex;align-items:center;gap:7px;flex-wrap:wrap;font-size:12px}
  .hr-detail-id{font-family:ui-monospace,monospace;font-size:12px;color:#FFFFFF;background:var(--p);
    padding:2px 7px;border-radius:2px}
  .hr-inline-act{display:flex;gap:8px;margin-top:14px;flex-wrap:wrap}
  @media (max-width:420px){
    /* 7 列在 390 宽里装不下：6 个可见格子往 5 列里塞，岗位那格被顶到第二行，
       「管理/技师/主管」就竖着堆成一根柱子，一行撑到 120px，还压着底下的行。
       手机上改成三行：工号+姓名 / 岗位标签 / 账号，操作竖排在右。 */
    .hr-th{display:none}
    .hr-tr{grid-template-columns:auto 1fr auto; gap:3px 8px; padding:10px 11px; align-items:center}
    .hr-tr>div:nth-child(1){grid-column:1; grid-row:1}
    .hr-tr>div:nth-child(2){grid-column:2; grid-row:1; font-size:14px}
    .hr-tr>div:nth-child(3){grid-column:1 / span 2; grid-row:2; display:flex; gap:4px; flex-wrap:wrap}
    .hr-tr>div:nth-child(4){grid-column:1; grid-row:3; font-size:12px}
    .hr-tr>div:nth-child(6){grid-column:2; grid-row:3; justify-self:end; font-size:12px}
    .hr-tr>div:nth-child(7){grid-column:3; grid-row:1 / span 3}
    .hr-tr .c-ph{display:none}
    .hr-rowbtn{flex-direction:column; gap:3px}
    .hr-mini{padding:3px 7px; font-size:12px}
  }
  /* 详情 */
  .hr-det{display:flex;align-items:center;gap:12px;padding:12px;background:#E8E8E8;border-radius:2px}
  .hr-det-av{width:48px;height:48px;border-radius:2px;display:flex;align-items:center;justify-content:center;
    font-size:20px;font-weight:700;flex-shrink:0}
  .hr-info{display:grid;grid-template-columns:1fr 1fr;gap:9px}
  .hr-info>div{font-size:12px;display:flex;flex-direction:column;gap:2px}
  .hr-info span{color:var(--m);font-size:12px}
  .hr-info b{font-weight:600}
  /* 表单 */
  .hr-sec-t{font-size:12px;font-weight:700;color:var(--p);margin:14px 0 8px;display:flex;align-items:center;gap:6px}
  .hr-sec-t::before{content:"";width:3px;height:12px;border-radius:2px;background:var(--p)}
  .hr-sec-t span{font-weight:400;color:var(--m);font-size:12px}
  .hr-rolepick{display:flex;flex-direction:column;gap:7px}
  .hr-roleopt{display:flex;align-items:center;gap:9px;padding:10px 12px;border:1.5px solid var(--bd);
    border-radius:2px;cursor:pointer;transition:.15s;background:var(--card)}
  .hr-roleopt.on{border-color:var(--p);background:#FAFAFA;box-shadow:none}
  .hr-roleopt .ck{width:16px;height:16px;border:1px solid #E8E8E8;border-radius:2px;flex:none;
    display:flex;align-items:center;justify-content:center;font-size:12px;color:#FFFFFF;background:var(--card)}
  .hr-roleopt.on .ck{background:var(--p);border-color:var(--p)}
  .hr-roleopt .main{font-size:10.5;font-weight:700;color:#FFFFFF;background:var(--p);
    border-radius:2px;padding:1px 5px;flex:none;display:none}
  .hr-roleopt.on.first .main{display:inline-block}
  .hr-roleopt .ds{flex:1}
  .hr-roleopt .em{font-size:14px}
  .hr-roleopt .nm{font-size:12px;font-weight:700;flex-shrink:0}
  .hr-roleopt .ds{font-size:12px;color:var(--m);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .hr-zones{display:flex;flex-wrap:wrap;gap:6px}
  .hr-zone{padding:6px 12px;border:1px solid var(--bd);border-radius:2px;font-size:12px;
    color:var(--m);cursor:pointer;background:var(--card);transition:.13s}
  .hr-zone.on{background:#E8E8E8;border-color:#E8E8E8;color:var(--p);font-weight:600}
  .hr-switchrow{display:flex;align-items:center;justify-content:space-between;padding:11px 0;
    border-top:1px solid #E8E8E8;margin-top:12px;font-size:12px}
  .hr-switch{position:relative;display:inline-block;width:44px;height:25px}
  .hr-switch input{opacity:0;width:0;height:0}
  .hr-switch .sl{position:absolute;inset:0;background:#E8E8E8;border-radius:2px;transition:.2s;cursor:pointer}
  .hr-switch .sl::before{content:"";position:absolute;width:19px;height:19px;left:3px;top:3px;
    background:var(--card);border-radius:50%;transition:.2s;box-shadow:none}
  .hr-switch input:checked+.sl{background:var(--green)}
  .hr-switch input:checked+.sl::before{transform:translateX(19px)}

  .hr-tipbar{display:flex;align-items:center;justify-content:space-between;gap:8px;background:#FAFAFA;
    border:1px solid #E8E8E8;border-radius:2px;padding:9px 12px;margin:-2px 0 10px;font-size:12px;
    color:#9E9E9E;cursor:pointer}
  /* 员工详情「TA 的事」：一行一件事，点了带人名跳到那一页 */
  .hr-mrow{display:flex;align-items:center;gap:10px;padding:9px 5px 9px 2px;border-top:1px solid #E8E8E8;cursor:pointer}
  .hr-mrow:active{background:#FAFAFA}
  .hr-mi{width:26px;height:26px;border-radius:2px;background:#E8E8E8;display:flex;align-items:center;
    justify-content:center;font-size:14px;flex-shrink:0;color:#6E6E6E}
  .hr-mi svg{width:15px;height:15px}
  .hr-mm{flex:1;min-width:0;display:flex;flex-direction:column;gap:1px}
  .hr-mm b{font-size:14px;font-weight:600}
  .hr-mm span{font-size:11px;color:var(--m);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .hr-mn{font-size:12px;color:var(--ink-2);text-align:right;flex-shrink:0;display:flex;align-items:center;gap:4px;
    white-space:nowrap;max-width:52%}
  .hr-mn b{font-weight:600;font-size:12px}
  .hr-mn em{font-style:normal;color:#9E9E9E;font-weight:700}
  .hr-tipbar b{color:#9E9E9E;flex-shrink:0;font-size:12px}
  /* ===== 销售对账 ===== */
  .sl-row{background:var(--card);border:1px solid #E8E8E8;border-radius:2px;padding:11px 12px;margin-bottom:8px;cursor:pointer;transition:.15s}
  .sl-row:active{background:#E8E8E8;transform:scale(.995)}
  .sl-hd{display:flex;justify-content:space-between;align-items:baseline;gap:8px}
  .sl-hd b{font-size:14px}
  .sl-amt{font-size:14px;font-weight:800;color:var(--p);font-variant-numeric:tabular-nums;letter-spacing:-.3px}
  .sl-bar{height:6px;background:#E8E8E8;border-radius:2px;overflow:hidden;margin:7px 0 6px}
  .sl-bar>div{height:100%;border-radius:2px;transition:width .5s cubic-bezier(.2,.8,.2,1)}
  .sl-meta{display:flex;gap:10px;flex-wrap:wrap;font-size:12px;color:var(--m)}
/* ===== 报价单商务版式 .bq-* ===== */
.bq-head{display:flex;justify-content:space-between;align-items:flex-start;
  padding:2px 2px 14px;border-bottom:2px solid rgba(28,27,25,.16);margin-bottom:14px}
.bq-title{font-size:20px;font-weight:800;letter-spacing:.5px;color:var(--t1,#1A1A1A);line-height:1.2}
.bq-sub{font-size:10.5;letter-spacing:1.6px;color:#9E9E9E;font-weight:600;margin-top:3px}
.bq-head-r{display:flex;align-items:center;gap:10px}
.bq-date{font-size:12px;color:#1A1A1A;font-variant-numeric:tabular-nums;font-weight:600}
.bq-close{width:26px;height:26px;border-radius:50%;background:rgba(28,27,25,.14);color:#1A1A1A;
  display:flex;align-items:center;justify-content:center;font-size:12px;cursor:pointer;flex-shrink:0}
.bq-close:active{background:rgba(28,27,25,.28)}

/* 客户卡 */
.bq-cust{display:flex;align-items:center;gap:10px;padding:12px 14px;border-radius:2px;
  background:transparent;
  border:1px solid rgba(28,27,25,.16);margin-bottom:8px}
.bq-cust-l{flex:1;min-width:0}
.bq-cust-nm{font-size:14px;font-weight:750;color:var(--t1,#1A1A1A);line-height:1.3;
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.bq-cust-meta{font-size:12px;color:#1A1A1A;margin-top:3px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.bq-cust-tags{display:flex;gap:5px;flex-wrap:wrap;margin-top:6px}
.bq-cust-x{flex-shrink:0;font-size:12px;font-weight:650;color:var(--p,#1A1A1A);
  background:rgba(255,255,255,.8);border:1px solid rgba(28,27,25,.24);border-radius:2px;
  padding:5px 10px;cursor:pointer}
.bq-cust-detail{display:grid;grid-template-columns:1fr 1fr;gap:7px 10px;padding:0 4px 12px}
.bq-cust-detail>div{display:flex;flex-direction:column;gap:2px}
.bq-cust-detail span{font-size:10.5;color:#9E9E9E;letter-spacing:.4px}
.bq-cust-detail b{font-size:12px;font-weight:600;color:var(--t1,#1A1A1A);
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

/* 未选客户空态 */
.bq-cust-empty{padding:6px 2px 4px;text-align:center}
.bq-cust-empty .em{font-size:20px;line-height:1;margin-bottom:6px;opacity:.85}
.bq-cust-empty .t{font-size:14px;font-weight:750;color:var(--t1,#1A1A1A)}
.bq-cust-empty .d{font-size:12px;color:#9E9E9E;line-height:1.6;margin-top:5px}
.bq-search{width:100%;margin-top:12px;padding:10px 12px;border-radius:2px;font-size:12px;
  border:1.5px solid rgba(28,27,25,.22);background:var(--card);outline:none;box-sizing:border-box}
.bq-search:focus{border-color:var(--p,#1A1A1A);box-shadow:none}
.bq-cust-list{margin-top:9px;max-height:300px;overflow:auto;text-align:left}
.bq-list-hint{font-size:11;color:#9E9E9E;padding:2px 2px 8px;letter-spacing:.3px}
.bq-pf{display:flex;gap:7px;margin:8px 0 4px;flex-wrap:wrap}
.bq-pf-sel{flex:1;min-width:96px;appearance:none;-webkit-appearance:none;background:var(--bg);
  border:1px solid rgba(28,27,25,.3);border-radius:2px;padding:8px 26px 8px 10px;font-size:12px;color:#1A1A1A;
  background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='6'><path d='M0 0l5 6 5-6z' fill='%2394a3b8'/></svg>");
  background-repeat:no-repeat;background-position:right 9px center}
.bq-actbar{display:flex;gap:9px;margin:10px 0 12px}
.bq-actbar .btn{flex:1}
/* ========== 价格库：三级品牌归类 ========== */
.pt-tiers{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin:10px 0 8px}
.pt-tab{background:var(--card);border:1px solid #E8E8E8;border-radius:2px;padding:9px 4px;text-align:center;
  cursor:pointer;transition:.14s}
.pt-tab.on{border-color:#1A1A1A;background:#FAFAFA;box-shadow:none}
.pt-tab-n{font-size:14px;font-weight:800;color:#1A1A1A;line-height:1.15;font-variant-numeric:tabular-nums}
.pt-tab-l{font-size:12px;color:#1A1A1A;margin-top:1px}
.pt-tab.on .pt-tab-l{color:#1A1A1A;font-weight:700}
.pt-chips{display:flex;gap:6px;overflow-x:auto;padding:2px 0 8px;-webkit-overflow-scrolling:touch}
.pt-chips::-webkit-scrollbar{display:none}
.pt-chip{flex:0 0 auto;font-size:12px;padding:5px 10px;border-radius:2px;background:var(--card);
  border:1px solid #E8E8E8;color:#1A1A1A;cursor:pointer;white-space:nowrap;transition:.13s}
.pt-chip.on{background:#1A1A1A;border-color:#1A1A1A;color:#FFFFFF}
.pt-chip i{font-style:normal;opacity:.55;margin-left:3px;font-size:11}
.pt-tier{margin-top:10px;background:var(--card);border:1px solid #E8E8E8;border-radius:2px;overflow:hidden}
.pt-tier-hd{display:flex;align-items:center;justify-content:space-between;padding:11px 13px;
  background:#FFFFFF;cursor:pointer;border-bottom:1px solid #E8E8E8}
.pt-tier-t{font-size:12px;font-weight:800;color:#1A1A1A}
.pt-tier-t b{font-size:12px;font-weight:600;color:#9E9E9E;margin-left:6px}
.pt-caret{color:#9E9E9E;font-size:12px}
.pt-tier-d{font-size:12px;color:#9E9E9E;padding:7px 13px 0;line-height:1.6}
.pt-bg{padding:0 10px}
.pt-bg-hd{display:flex;align-items:center;justify-content:space-between;padding:9px 3px 6px;
  cursor:pointer;border-bottom:1px solid #E8E8E8;margin-bottom:7px}
.pt-bg-t{font-size:12px;font-weight:700;color:#1A1A1A}
.pt-bg-t b{font-weight:500;color:#9E9E9E;font-size:12px;margin-left:5px}
.pt-more{font-size:12px;color:#9E9E9E;text-align:center;padding:6px 0 2px}
/* ========== 报价板块（独立页面） ========== */
.nq-hd{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;margin:2px 0 12px}
.nq-hd-t{font-size:20px;font-weight:800;color:var(--t1,#1A1A1A);letter-spacing:.2px}
.nq-hd-s{font-size:12px;color:var(--m);margin-top:3px;letter-spacing:.4px}
/* 后补：日期就地可改，样式跟正文混成一行，不像个表单控件 */
.nq-date-in{font:inherit;font-size:12px;color:var(--tx);border:1px dashed var(--line);
  border-radius:2px;padding:1px 4px;background:transparent;letter-spacing:.4px;vertical-align:middle}
.nq-date-in:hover{border-color:var(--p);color:var(--p)}
.nq-reset{border:1px solid var(--bd);background:var(--card);border-radius:2px;padding:7px 11px;
  font-size:12px;color:var(--m);font-family:inherit;cursor:pointer;white-space:nowrap}
.nq-reset:active{background:var(--bg)}
/* 步骤条 */
.nq-step{display:flex;align-items:center;gap:7px;margin:0 0 12px;padding:9px 12px;
  background:var(--card);border-radius:2px;border:1px solid var(--bd)}
.nq-step b{font-size:12px;color:var(--m);font-weight:600}
.nq-step-i{flex:none;width:19px;height:19px;border-radius:50%;background:#E8E8E8;color:#9E9E9E;
  font-size:12px;font-weight:800;display:flex;align-items:center;justify-content:center;flex-shrink:0}
.nq-step-i.on{background:#1A1A1A;color:#FFFFFF;box-shadow:none}
.nq-step-i.done{background:#1A1A1A;color:#FFFFFF}
.nq-line{flex:1;height:2px;background:#E8E8E8;border-radius:2px}
.nq-line.done{background:#1A1A1A}
/* 快捷加件：一个框，打两个字出候选，点一下连价带出来。
   这一块是报价页效率的命门 —— 别的都可以收，这个必须在第一眼。 */
.nq-quick{position:relative;margin:0 0 8px}
.nq-quick input{width:100%;box-sizing:border-box;padding:10px 12px;font-size:14px;
  border:1px solid rgba(28,27,25,.26);border-radius:2px;background:#FFFFFF;color:#1A1A1A;
  font-family:inherit;outline:none}
.nq-quick input:focus{border-color:#1A1A1A;box-shadow:none}
.nq-qhits{position:absolute;left:0;right:0;top:100%;z-index:40;background:#FFFFFF;
  border:1px solid rgba(28,27,25,.2);border-top:0;max-height:300px;overflow:auto;
  box-shadow:none}
.nq-qhit{display:flex;width:100%;align-items:baseline;gap:8px;padding:10px 12px;border:0;
  border-top:1px solid #E8E8E8;background:#FFFFFF;text-align:left;font-size:14px;cursor:pointer;
  color:#1A1A1A;font-family:inherit}
.nq-qhit:first-child{border-top:0}
.nq-qhit:hover,.nq-qhit:active{background:#FAFAFA}
.nq-qhit b{font-weight:650}
.nq-qhit em{font-style:normal;font-size:11px;color:#9E9E9E}
.nq-qhit span{margin-left:auto;font-size:12px;color:#6E6E6E;white-space:nowrap}
.nq-qnew{color:#1A1A1A;font-weight:600}
/* 客户卡 */
.nq-cust{display:flex;align-items:flex-start;gap:10px;padding:11px;border-radius:2px;
  background:#FFFFFF;border:1px solid rgba(28,27,25,.22)}
.nq-cust-av{width:38px;height:38px;border-radius:2px;flex-shrink:0;display:flex;align-items:center;
  justify-content:center;font-size:14px;font-weight:750;color:#FFFFFF;background:#1A1A1A}
.nq-cust-b{flex:1;min-width:0}
.nq-cust-nm{font-size:14px;font-weight:750;color:#1A1A1A;display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.nq-ok{font-size:11;font-weight:700;color:#1A1A1A;background:#FAFAFA;border-radius:2px;padding:1px 5px}
.nq-cust-d{font-size:12px;color:#1A1A1A;margin-top:2px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.nq-cust-t{display:flex;gap:5px;flex-wrap:wrap;margin-top:6px}
.nq-cust-t span{font-size:11;color:#1A1A1A;background:var(--card);border:1px solid rgba(28,27,25,.18);
  border-radius:2px;padding:1px 6px}
.nq-cust-a{font-size:12px;color:#1A1A1A;margin-top:5px;line-height:1.5}
/* 报价单抬头：客户名/联系人/电话，都只影响这一张单 */
.nq-paper{margin-top:8px;background:var(--card);border:1px solid var(--bd);border-radius:2px;padding:10px 11px}
.nq-paper-hd{display:flex;align-items:baseline;gap:7px;flex-wrap:wrap;margin-bottom:7px}
.nq-paper-hd span{font-size:12px;font-weight:700;color:#1A1A1A}
.nq-paper-hd em{font-size:12px;color:#9E9E9E;font-style:normal}
.nq-paper-nm{display:block;margin-bottom:6px}
.nq-paper-nm>span{display:block;font-size:12px;color:#1A1A1A;margin-bottom:4px}
.nq-paper-nm input{width:100%;box-sizing:border-box;border:1px solid var(--bd);border-radius:2px;
  padding:8px 10px;font-size:14px;background:var(--card);color:var(--t);font-family:inherit}
.nq-paper-nm input:focus{outline:none;border-color:var(--p);box-shadow:none}
.nq-paper-chips{display:flex;gap:5px;flex-wrap:wrap;margin-bottom:7px}
.nq-pchip{font-size:12px;color:#1A1A1A;background:#FAFAFA;border:1px solid rgba(28,27,25,.2);
  border-radius:999px;padding:3px 9px;cursor:pointer;font-family:inherit;max-width:100%;
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.nq-pchip.on{background:#1A1A1A;color:#FFFFFF;border-color:#1A1A1A}
.nq-pwarn{margin-top:7px;font-size:12px;line-height:1.6;color:#6E6E6E;background:#FAFAFA;
  border:1px solid #E8E8E8;border-radius:2px;padding:7px 9px}
.nq-prename{margin-left:4px;font-size:12px;font-weight:700;color:#FFFFFF;background:#6E6E6E;border:none;
  border-radius:2px;padding:3px 8px;font-family:inherit;cursor:pointer}
.nq-lift-wrap{margin-top:8px;background:var(--bg);border:1px solid var(--bd);border-radius:2px;padding:10px 11px}
.nq-lift-wrap label{display:block;font-size:12px;font-weight:600;color:#1A1A1A;margin-bottom:6px}
.nq-lift-wrap input{width:100%;box-sizing:border-box;border:1px solid var(--bd);border-radius:2px;
  padding:8px 10px;font-size:14px;background:var(--card);color:var(--t)}
.nq-lift-wrap input:focus{outline:none;border-color:var(--p);box-shadow:none}
.nq-lift-hist{display:flex;gap:5px;flex-wrap:wrap;margin-top:7px;align-items:center}
.nq-lift-hist{font-size:12px;color:#9E9E9E}
.nq-lift-chip{font-size:12px;color:#1A1A1A;background:#FAFAFA;border:1px solid rgba(28,27,25,.25);
  border-radius:999px;padding:2px 9px;cursor:pointer}
.nq-lift-chip:active{background:#E8E8E8}
.nq-x{border:none;background:rgba(28,27,25,.1);color:#1A1A1A;font-size:12px;font-weight:600;
  border-radius:2px;padding:5px 9px;font-family:inherit;cursor:pointer;flex-shrink:0}
/* 搜索 */
.nq-search{width:100%;box-sizing:border-box;border:1px solid rgba(28,27,25,.35);border-radius:2px;
  background:var(--bg);padding:10px 12px;font-size:12px;font-family:inherit;color:#1A1A1A;outline:none}
.nq-search:focus{background:var(--card);border-color:#1A1A1A;box-shadow:none}
.nq-list{max-height:270px;overflow:auto;margin-top:8px}
.nq-list-h{font-size:12px;color:#9E9E9E;padding:2px 2px 7px}
.nq-item{display:flex;align-items:center;gap:9px;padding:9px 10px;border-radius:2px;background:var(--card);
  border:1px solid rgba(28,27,25,.2);margin-bottom:6px;cursor:pointer}
.nq-item:active{background:rgba(28,27,25,.06);border-color:rgba(28,27,25,.35)}
.nq-item-av{width:28px;height:28px;flex-shrink:0;border-radius:2px;display:flex;align-items:center;
  justify-content:center;font-size:12px;font-weight:750;color:#FFFFFF;background:#1A1A1A}
.nq-item.new .nq-item-av{background:#1A1A1A}
.nq-item-b{flex:1;min-width:0}
.nq-item-nm{font-size:12px;font-weight:650;color:#1A1A1A;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.nq-item-d{font-size:12px;color:#1A1A1A;margin-top:2px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
/* 明细行 */
.nq-sec{padding:13px 13px 14px}
.nq-row{background:#E8E8E8;border:1px solid rgba(28,27,25,.24);border-radius:2px;padding:10px;margin-bottom:9px}
.nq-row-hd{display:flex;align-items:center;gap:8px}
.nq-no{width:20px;height:20px;flex-shrink:0;border-radius:2px;background:#E8E8E8;color:#1A1A1A;
  font-size:11;font-weight:800;display:flex;align-items:center;justify-content:center}
.nq-nm{flex:1;min-width:0;border:none;background:transparent;font-size:14px;font-weight:700;
  color:#1A1A1A;font-family:inherit;outline:none;padding:2px 0}
.nq-nm::placeholder{font-weight:500;color:#1A1A1A}
.nq-del{width:22px;height:22px;flex-shrink:0;border-radius:2px;background:#FAFAFA;color:#6E6E6E;font-size:12px;
  display:flex;align-items:center;justify-content:center;cursor:pointer}
.nq-g3,.nq-g4{display:grid;gap:7px;margin-top:8px}
.nq-g3{grid-template-columns:repeat(3,1fr)}
.nq-g4{grid-template-columns:repeat(4,1fr)}
.nq-g2{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-top:8px}
.nq-g2 label{display:flex;flex-direction:column;gap:3px;min-width:0}
.nq-g2 label span{font-size:10.5;color:#9E9E9E;padding-left:1px;display:flex;align-items:center;gap:4px}
.nq-g2 input{width:100%;box-sizing:border-box;border:1px solid rgba(28,27,25,.32);
  border-radius:2px;padding:6px 7px;font-size:12px;font-family:inherit;color:#1A1A1A;background:var(--card);outline:none}
.nq-g2 input:focus{border-color:#1A1A1A;box-shadow:none}
/* 维修明细：原生下拉，样式跟其他输入框统一 */
.nq-g4 select{width:100%;box-sizing:border-box;border:1px solid rgba(28,27,25,.32);
  border-radius:2px;padding:6px 5px;font-size:12px;font-family:inherit;color:#1A1A1A;background:var(--card);
  outline:none;appearance:none;-webkit-appearance:none;
  background-image:url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%2394a3b8' stroke-width='1.4' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat:no-repeat;background-position:right 6px center}
.nq-g4 select:focus{border-color:#1A1A1A;box-shadow:none}
.nq-g3 label,.nq-g4 label{display:flex;flex-direction:column;gap:3px;min-width:0}
.nq-g3 label span,.nq-g4 label span{font-size:10.5;color:#9E9E9E;padding-left:1px}
.nq-g3 input,.nq-g4 input{width:100%;box-sizing:border-box;border:1px solid rgba(28,27,25,.32);
  border-radius:2px;padding:6px 7px;font-size:12px;font-family:inherit;color:#1A1A1A;background:var(--card);outline:none}
.nq-g3 input:focus,.nq-g4 input:focus{border-color:#1A1A1A;box-shadow:none}
/* 直接报价：不知道采购价、直接填对客户价的行 —— 琥珀色左边线与小标签，一眼区分两种计价 */
.nq-row-direct{border-color:rgba(110,110,110,.35);background:#FAFAFA}
.nq-dtag{font-style:normal;margin-left:4px;font-size:9.5;font-weight:700;color:#6E6E6E;
  background:#FAFAFA;border:1px solid rgba(110,110,110,.3);border-radius:2px;padding:0 4px;vertical-align:1px}
/* 「客户报的是含税价？」小按钮：常被忽略的一步，放在单价标签右边，不用翻页找 */
.nq-cv{margin-left:3px;flex:none;font-size:10.5;font-weight:700;color:#1A1A1A;
  background:#FAFAFA;border:1px solid #E8E8E8;border-radius:2px;padding:0 5px;line-height:1.7;
  font-family:inherit;letter-spacing:0}
.nq-cv:active{background:#E8E8E8}
.nq-dnote{margin-top:7px;font-size:12px;color:#6E6E6E;line-height:1.5;
  background:#FAFAFA;border:1px dashed rgba(110,110,110,.35);border-radius:2px;padding:5px 8px;
  display:flex;flex-wrap:wrap;align-items:center;gap:4px 10px}
.nq-est{margin-left:auto;display:inline-flex;align-items:center;gap:3px;white-space:nowrap;color:#6E6E6E}
.nq-est input{width:64px;border:1px solid rgba(110,110,110,.4);border-radius:2px;padding:1px 4px;
  font-size:12px;text-align:right;font-family:inherit;background:var(--card);color:#6E6E6E}
.nq-est input:focus{outline:none;border-color:#9E9E9E;box-shadow:none}
.nq-est-u{font-style:normal;font-size:10.5;color:#9E9E9E}
.nq-est-t{font-style:normal;color:#6E6E6E;font-weight:600}
.nq-opts .nq-opt-h{border-color:rgba(110,110,110,.45);color:#6E6E6E;background:#FAFAFA}
.nq-opt-t{font-style:normal;color:#1A1A1A;font-weight:400}
.nq-warn{font-style:normal;color:#6E6E6E}
.nq-amt{display:flex;flex-direction:column;gap:3px;justify-content:flex-end}
.nq-amt span{font-size:10.5;color:#9E9E9E;padding-left:1px}
.nq-amt b{font-size:12px;color:#1A1A1A;padding:6px 0;text-align:right}
.nq-opts{display:flex;align-items:center;gap:5px;flex-wrap:wrap;margin-top:7px}
.nq-opts-t{font-size:10.5;color:#9E9E9E}
.nq-opt{border:1px solid rgba(28,27,25,.35);background:var(--card);border-radius:2px;padding:2px 7px;
  font-size:12px;color:#1A1A1A;font-family:inherit;cursor:pointer}
.nq-opt.on{background:#1A1A1A;border-color:#1A1A1A;color:#FFFFFF;font-weight:700}
/* 明细区的配件联想：候选在下面展开，不靠浮层（手机上浮层会被卡片盖住） */
/* ============ 财务核实台 ============
   四个数字在上、四栏在下。财务的用法是「先看几个，再一条条按掉」，
   所以数字要能点、点了直接落到那一栏，中间不隔任何东西。 */
.vf-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:1px;background:var(--sep);
  border-radius:2px;overflow:hidden;margin:0 0 12px}
.vf-st{background:var(--card);padding:12px 4px;text-align:center;cursor:pointer}
.vf-st b{display:block;font-size:20px;font-weight:650;letter-spacing:-.5px;color:var(--t);
  font-variant-numeric:tabular-nums;line-height:1.15}
.vf-st b.z{color:#E8E8E8}
.vf-st span{font-size:12px;color:#9E9E9E;display:block;margin-top:3px;white-space:nowrap}
.vf-sec{margin-bottom:12px;scroll-margin-top:104px}
.vf-sub{font-size:12px;color:#9E9E9E;line-height:1.6;margin:-2px 0 4px}
.vf-row{display:flex;flex-direction:column;align-items:stretch;gap:7px;
  padding:12px 0;border-bottom:1px solid var(--sep)}
.vf-row:last-child{border-bottom:0;padding-bottom:2px}
.vf-l{min-width:0}
.vf-t{font-size:14px;font-weight:600;color:var(--t);line-height:1.4}
.vf-s{font-size:12px;color:#9E9E9E;margin-top:2px;line-height:1.5}
.vf-s b.vf-late{color:var(--orange);font-weight:650}
.vf-note{font-style:normal;color:#9E9E9E;font-size:12px;font-weight:400}
.vf-r{display:flex;gap:6px;align-items:center;flex-wrap:wrap;justify-content:flex-start}
.vf-empty{font-size:12px;color:#1A1A1A;line-height:1.7;padding:9px 0}

.nq-sugbox{position:relative;margin:0 0 10px}
.nq-sug-in{width:100%;box-sizing:border-box;border:1.5px solid rgba(28,27,25,.22);border-radius:2px;
  background:var(--card);padding:10px 12px;font-size:12px;font-family:inherit;color:#1A1A1A;outline:none;
  scroll-margin-top:104px}
.nq-sug-in:focus{border-color:#1A1A1A;box-shadow:none}
.nq-sug{margin-top:6px;margin-bottom:9px;background:var(--card);
  border:1px solid rgba(28,27,25,.28);border-radius:2px;box-shadow:none;
  max-height:300px;overflow:auto;-webkit-overflow-scrolling:touch;padding:3px}
.nq-sug .nq-libitem{margin:0;border:0;border-bottom:1px solid rgba(28,27,25,.13);border-radius:2px}
.nq-sug .nq-libitem:last-child{border-bottom:0}
.nq-sug .nq-libitem.on{background:rgba(28,27,25,.08)}
.nq-sug-empty{padding:12px;font-size:12px;color:#9E9E9E;text-align:center;line-height:1.6}
.nq-sug-new{margin-top:9px;border:none;background:rgba(28,27,25,.1);color:#1A1A1A;border-radius:2px;
  padding:7px 13px;font-size:12px;font-weight:650;font-family:inherit;cursor:pointer;max-width:100%;
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.nq-sug-new:active{background:rgba(28,27,25,.18)}

.nq-addbtns{display:flex;gap:8px;margin-top:4px}
.nq-add{flex:1;border:none!important;background:var(--fill)!important;color:var(--p)!important;
  border-radius:2px;padding:10px 14px;font-size:12px;font-weight:650;font-family:inherit;cursor:pointer;white-space:nowrap;overflow:visible;min-height:44px}
.nq-add.ghost{border-color:rgba(28,27,25,.4);color:#9E9E9E;background:var(--card);flex:0 0 auto;padding:10px 13px}
.nq-empty,.nq-empty2{text-align:center;color:#1A1A1A;font-size:12px;padding:16px 10px;line-height:1.7}
.nq-empty2{padding:10px}
/* 价格库点选 */
.nq-cats{display:flex;gap:6px;overflow-x:auto;padding:9px 0 3px;-webkit-overflow-scrolling:touch}
.nq-cats::-webkit-scrollbar{display:none}
.nq-cat{white-space:nowrap;border:1px solid rgba(28,27,25,.3);background:var(--card);border-radius:2px;
  padding:4px 11px;font-size:12px;color:#1A1A1A;font-family:inherit;cursor:pointer}
.nq-cat.on{background:#1A1A1A;border-color:#1A1A1A;color:#FFFFFF;font-weight:650}
.nq-lib{max-height:340px;overflow:auto;margin-top:6px}
.nq-libitem{display:flex;align-items:center;gap:9px;padding:9px 10px;border-radius:2px;background:var(--card);
  border:1px solid rgba(28,27,25,.2);margin-bottom:6px;cursor:pointer}
.nq-libitem:active{border-color:#1A1A1A;background:rgba(28,27,25,.05)}
.nq-libitem.picked{background:#FAFAFA;border-color:rgba(28,27,25,.35)}
.nq-libitem-l{flex:1;min-width:0}
.nq-libitem-l>*{min-width:0}
.nq-libitem-n{max-width:100%;font-size:12px;font-weight:650;color:#1A1A1A;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.nq-libitem-n em{font-style:normal;font-size:12px;color:#9E9E9E;font-weight:500;margin-left:5px}
.nq-libitem-d{font-size:12px;color:#1A1A1A;margin-top:2px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.nq-last{margin-left:6px;color:#6E6E6E;background:#FAFAFA;border:1px solid rgba(110,110,110,.25);
  border-radius:2px;padding:0 4px;font-size:10.5}
.ph-list{max-height:52vh;overflow:auto;border:1px solid rgba(28,27,25,.22);border-radius:2px}
.ph-row{display:flex;justify-content:space-between;gap:10px;padding:8px 10px;
  border-bottom:1px solid rgba(28,27,25,.13)}
.ph-row:last-child{border-bottom:none}
.ph-l{display:flex;flex-direction:column;gap:1px;min-width:0}
.ph-l b{font-size:14px;color:#1A1A1A}
.ph-l span{font-size:11;color:#9E9E9E;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ph-r{display:flex;flex-direction:column;align-items:flex-end;gap:1px;flex-shrink:0}
.ph-r span{font-size:11;color:#9E9E9E}
.ph-r em{font-style:normal;font-size:10.5;color:#6E6E6E}
.nq-libitem-r{text-align:right;flex-shrink:0}
.nq-libitem-r b{display:block;font-size:12px;color:#1A1A1A}
.nq-libitem-r span{font-size:10.5;color:#9E9E9E}
.nq-libitem.picked .nq-libitem-r span{color:#1A1A1A;font-weight:700}
.nq-lib-foot{font-size:11;color:#9E9E9E;padding-top:3px}
/* 浮动 */
.nq-gfloat{display:flex;gap:10px;align-items:center;margin-bottom:9px;flex-wrap:wrap}
.nq-fl{display:flex;flex-direction:column;gap:3px;width:132px;flex-shrink:0}
.nq-fl span{font-size:10.5;color:#9E9E9E}
.nq-fl input{border:1px solid rgba(28,27,25,.32);border-radius:2px;padding:7px;font-size:12px;
  font-family:inherit;color:#1A1A1A;background:var(--card);outline:none;font-weight:700}
.nq-fl input[readonly]{background:var(--bg);color:#9E9E9E;font-weight:500}
.nq-fl-hint{flex:1;min-width:150px;font-size:12px;color:#1A1A1A;line-height:1.55}
.nq-memo{width:100%;box-sizing:border-box;border:1px solid rgba(28,27,25,.32);border-radius:2px;
  padding:8px 10px;font-size:12px;font-family:inherit;color:#1A1A1A;background:var(--card);resize:vertical;
  outline:none;margin-top:9px}
.nq-memo:focus{border-color:#1A1A1A;box-shadow:none}
/* 税收方式：含税 / 另收 × 6% / 13%。两段分开选，四个组合一眼看全 */
.nq-taxbox{margin-top:9px;background:var(--bg);border:1px solid var(--bd);border-radius:2px;padding:9px 10px}
.nq-taxr{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.nq-taxl{font-size:12px;font-weight:700;color:#1A1A1A;flex-shrink:0}
.nq-seg{display:inline-flex;border:1px solid rgba(28,27,25,.25);border-radius:2px;overflow:hidden;background:var(--card)}
.nq-seg button{border:none;background:transparent;color:#1A1A1A;font-size:12px;font-weight:600;
  padding:6px 12px;font-family:inherit;cursor:pointer;line-height:1}
.nq-seg button+button{border-left:1px solid rgba(28,27,25,.18)}
.nq-seg button.on{background:#1A1A1A;color:#FFFFFF}
.nq-seg-pct button{padding:6px 10px}
.nq-taxhint{font-size:12px;color:#1A1A1A;line-height:1.55;margin-top:6px}
/* 汇总 */
.nq-sum{margin-top:12px;background:var(--card);border:1px solid var(--wa-line);
  border-radius:2px;padding:11px 12px}
.nq-sum-r{display:flex;justify-content:space-between;align-items:baseline;padding:4px 0;font-size:12px;color:#1A1A1A}
.nq-sum-r b{color:#1A1A1A;font-weight:650}
.nq-sum-t{display:flex;justify-content:space-between;align-items:baseline;margin-top:7px;padding-top:9px;
  border-top:1px solid var(--wa-line2)}
.nq-sum-t span{font-size:12px;font-weight:700;color:#1A1A1A}
.nq-sum-t b{font-size:20px;font-weight:700;color:var(--wa-ink);letter-spacing:-.2px;font-variant-numeric:tabular-nums}
.nq-sum-c{font-size:11;color:#9E9E9E;margin-top:4px;text-align:right}
.nq-out{display:flex;gap:8px;margin-top:11px}
.nq-btn{flex:1;border:1px solid rgba(28,27,25,.28);background:var(--card);color:#1A1A1A;border-radius:2px;
  padding:12px;font-size:12px;font-weight:700;font-family:inherit;cursor:pointer}
.nq-btn.primary{background:var(--wa-accent);border-color:var(--wa-accent);color:#FFFFFF;
  box-shadow:none}
.nq-btn:active{transform:scale(.985)}
.nq-outfoot{font-size:11;color:#9E9E9E;text-align:center;margin-top:7px}
/* 台账卡片 */
.nq-qcard{background:var(--card);border:1px solid var(--bd);border-radius:2px;padding:11px 12px;margin-bottom:8px;cursor:pointer}
.nq-qcard:active{border-color:#1A1A1A;background:#E8E8E8}
.nq-qcard-h{display:flex;align-items:center;justify-content:space-between;gap:8px}
.nq-qcard-nm{font-size:14px;font-weight:700;color:#1A1A1A;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.nq-qcard-no{font-size:11;color:#9E9E9E;margin-top:3px;letter-spacing:.3px}
.nq-qcard-b{display:flex;align-items:baseline;justify-content:space-between;gap:8px;margin-top:7px}
.nq-qcard-amt{font-size:14px;font-weight:700;color:var(--wa-ink);font-variant-numeric:tabular-nums;letter-spacing:-.02em}
.nq-qcard-meta{font-size:12px;color:#1A1A1A}
@media (max-width:420px){
  .nq-g4{grid-template-columns:repeat(2,1fr)}
  .nq-step b{font-size:12px}
}
.bq-pick{display:flex;align-items:center;gap:9px;padding:9px 10px;border-radius:2px;
  background:var(--card);border:1px solid rgba(28,27,25,.18);margin-bottom:6px;cursor:pointer}
.bq-pick:active{background:rgba(28,27,25,.06);border-color:rgba(28,27,25,.3)}
.bq-pick-av{width:30px;height:30px;flex-shrink:0;border-radius:2px;display:flex;align-items:center;
  justify-content:center;font-size:12px;font-weight:750;color:#FFFFFF;
  background:#1A1A1A}
.bq-pick-b{flex:1;min-width:0}
.bq-pick-nm{font-size:12px;font-weight:650;color:var(--t1,#1A1A1A);
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.bq-pick-d{font-size:12px;color:#9E9E9E;margin-top:2px;
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.bq-pick-r{text-align:right;flex-shrink:0}
.bq-pick-z{font-size:11;color:#1A1A1A;font-weight:600}
.bq-pick-l{font-size:11;color:#9E9E9E;margin-top:2px}

/* 新建客户 / 新建配件（台账/价格库没有时自建） */
.bq-pick-new{background:#FAFAFA;border:1px dashed rgba(28,27,25,.45)!important}
.bq-pick-new .bq-pick-av{background:#1A1A1A}
.bq-pick-new .bq-pick-nm{color:#1A1A1A}
.bq-form{margin:2px 0 4px}
.bq-form>label{display:block;margin-bottom:9px}
.bq-form>label>span{display:block;font-size:11;color:#9E9E9E;letter-spacing:.4px;margin-bottom:4px}
.bq-form input{padding:9px 11px;border:1px solid rgba(28,27,25,.32);border-radius:2px;width:100%;
  box-sizing:border-box;font-size:14px;color:#1A1A1A;outline:none;font-family:inherit;background:var(--card)}
.bq-form input:focus{border-color:var(--p,#1A1A1A);box-shadow:none}
.bq-chk{display:flex;gap:7px;align-items:center;margin-top:2px;font-size:12px;color:#1A1A1A;cursor:pointer}
.bq-chk input{width:15px;height:15px;flex-shrink:0}
.bq-newpart{display:flex;align-items:center;gap:9px;padding:11px 12px;border-radius:2px;
  background:#FAFAFA;border:1px dashed rgba(28,27,25,.45);cursor:pointer;margin-top:8px}
.bq-newpart .np-av{width:30px;height:30px;flex-shrink:0;border-radius:2px;display:flex;align-items:center;
  justify-content:center;font-size:12px;color:#FFFFFF;background:#1A1A1A}
.bq-newpart .np-nm{font-size:12px;font-weight:650;color:#1A1A1A}
.bq-newpart .np-d{font-size:12px;color:#9E9E9E;margin-top:2px}

/* 分区 */
/* 配件联想：候选直接在下面展开。
   试过浮层，手机上会被下面的卡片盖住一半，键盘一弹更看不见 —— 展开更稳。 */
.bq-sugbox{position:relative;margin:0 0 9px}
.bq-sug-in{width:100%;box-sizing:border-box;padding:9px 11px;border-radius:2px;font-size:12px;
  border:1.5px solid rgba(28,27,25,.20);background:var(--card);outline:none;font-family:inherit;color:#1A1A1A}
.bq-sug-in:focus{border-color:var(--p,#1A1A1A);box-shadow:none}
.bq-sug{margin-top:6px;background:var(--card);border:1px solid rgba(28,27,25,.25);border-radius:2px;
  box-shadow:none;max-height:302px;overflow:auto;
  -webkit-overflow-scrolling:touch}
.bq-sug-i{display:flex;align-items:center;gap:9px;padding:9px 11px;
  border-bottom:.5px solid rgba(28,27,25,.16);cursor:pointer}
.bq-sug-i:active,.bq-sug-i.on{background:rgba(28,27,25,.07)}
.bq-sug-b{flex:1;min-width:0}
.bq-sug-n{font-size:12px;font-weight:650;color:#1A1A1A;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.bq-sug-n em{font-style:normal;font-weight:500;font-size:12px;color:#9E9E9E;margin-left:5px}
.bq-sug-d{font-size:12px;color:#9E9E9E;margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.bq-sug-p{flex:none;text-align:right;font-size:12px;font-weight:750;color:var(--p,#1A1A1A);
  font-variant-numeric:tabular-nums}
.bq-sug-p em{display:block;font-style:normal;font-size:10.5;font-weight:600;color:#9E9E9E;margin-top:1px}
.bq-sug-new{display:flex;flex-direction:column;gap:2px;padding:10px 11px;cursor:pointer;background:#FAFAFA}
.bq-sug-new b{font-size:12px;color:#1A1A1A;font-weight:700}
.bq-sug-new em{font-style:normal;font-size:11;color:#9E9E9E}

.bq-sec{background:var(--card);border:1px solid rgba(28,27,25,.16);border-radius:2px;
  padding:11px 13px;margin-bottom:10px}
.bq-sec-hd{display:flex;justify-content:space-between;align-items:center;margin-bottom:9px}
.bq-sec-hd>span:first-child{font-size:12px;font-weight:750;color:var(--t1,#1A1A1A)}
.bq-sec-hd em{font-style:normal;font-size:11;font-weight:600;color:#9E9E9E;margin-left:4px}
.bq-sec-btns{display:flex;gap:5px}
.bq-sec-btns button{font-size:12px;font-weight:650;color:var(--p,#1A1A1A);
  background:rgba(28,27,25,.08);border:none;border-radius:2px;padding:5px 9px;cursor:pointer}
.bq-empty2{font-size:12px;color:#9E9E9E;text-align:center;padding:16px 6px;line-height:1.6}
.bq-lbl{display:block;font-size:11;color:#9E9E9E;letter-spacing:.4px;margin-bottom:5px}
.bq-ta{width:100%;box-sizing:border-box;padding:9px 11px;border-radius:2px;font-size:12px;
  border:1px solid rgba(28,27,25,.28);outline:none;resize:vertical;font-family:inherit}
.bq-ta:focus{border-color:var(--p,#1A1A1A)}
.bq-mini{font-size:12px;font-weight:650;color:var(--p,#1A1A1A);background:rgba(28,27,25,.08);
  border:none;border-radius:2px;padding:5px 9px;cursor:pointer}

/* 明细行 */
.bq-item{border:1px solid rgba(28,27,25,.18);border-radius:2px;padding:9px 10px;margin-bottom:7px;
  background:#E8E8E8}
.bq-item-hd{display:flex;align-items:center;gap:7px;margin-bottom:8px}
.bq-item-no{font-size:10.5;font-weight:800;color:#FFFFFF;background:#1A1A1A;
  border-radius:2px;padding:2px 5px;font-variant-numeric:tabular-nums;flex-shrink:0}
.bq-item-nm{flex:1;font-size:12px;font-weight:700;color:var(--t1,#1A1A1A);
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.bq-item-nm em{font-style:normal;font-size:11;font-weight:500;color:#9E9E9E}
.bq-item-del{font-size:12px;color:#E8E8E8;cursor:pointer;padding:0 2px;flex-shrink:0}
.bq-item-del:active{color:var(--red,#6E6E6E)}
.bq-grid3{display:grid;grid-template-columns:1fr 1fr 1fr;gap:6px}
.bq-grid3+.bq-grid3{margin-top:6px}
.bq-grid3 label{display:flex;flex-direction:column;gap:3px;min-width:0}
.bq-grid3 label>span{font-size:10.5;color:#9E9E9E;letter-spacing:.3px}
.bq-grid3 input{width:100%;box-sizing:border-box;padding:7px 8px;border-radius:2px;font-size:12px;
  border:1px solid rgba(28,27,25,.26);background:var(--card);outline:none;
  font-variant-numeric:tabular-nums;min-width:0}
.bq-grid3 input:focus{border-color:var(--p,#1A1A1A);box-shadow:none}

/* 费用汇总 */
.bq-sum{background:var(--card);border:1px solid rgba(28,27,25,.16);border-radius:2px;
  padding:12px 14px;margin-bottom:10px}
.bq-sum-hd{font-size:12px;font-weight:750;color:var(--t1,#1A1A1A);margin-bottom:9px;
  display:flex;align-items:center;gap:6px}
.bq-sum-hd em{font-style:normal;font-size:9.5;letter-spacing:1.2px;color:#E8E8E8;font-weight:600}
.bq-sum-row{display:flex;justify-content:space-between;align-items:center;padding:5px 0;
  font-size:12px;color:#1A1A1A}
.bq-sum-row b{font-size:12px;font-weight:650;color:var(--t1,#1A1A1A);font-variant-numeric:tabular-nums}
.bq-sum-line{border-top:1px dashed rgba(28,27,25,.3);margin-top:4px;padding-top:8px}
.bq-sum-line b{color:var(--t1,#1A1A1A);font-weight:750}
.bq-sum-disc b{color:var(--red,#6E6E6E)}
.bq-sum-float{background:rgba(28,27,25,.09)}
.bq-sum-float span{color:#1A1A1A!important}
.bq-sum-float b{color:#1A1A1A!important}
.fu-bar{display:flex;align-items:center;gap:8px;padding:9px 11px;margin:0 0 12px;
  background:var(--card);border:1px solid var(--wa-line);border-left:1px solid #E8E8E8;border-radius:2px;
  cursor:pointer;transition:background .15s}
.fu-bar:active{background:#FAFAFA}
.fu-dot{width:5px;height:5px;border-radius:50%;background:#9E9E9E;flex:0 0 auto}
.fu-tx{flex:1;font-size:12px;color:var(--wa-ink2);line-height:1.5;letter-spacing:.02em}
.fu-tx b{color:var(--wa-ink);font-weight:700}
.fu-go{font-size:12px;color:#9E9E9E;white-space:nowrap;letter-spacing:.04em}
.fu-lead{font-size:12px;color:var(--wa-ink3);line-height:1.75;margin:-4px 0 14px;letter-spacing:.02em}
.fu-list{display:flex;flex-direction:column;gap:0}
.fu-item{padding:12px 0;border-bottom:1px solid var(--wa-line2)}
.fu-item:last-child{border-bottom:0}
.fu-item-hd{display:flex;align-items:center;gap:8px;margin-bottom:3px}
.fu-who{font-size:14px;font-weight:600;color:var(--wa-ink);letter-spacing:.02em}
.fu-item-md{font-size:12px;color:var(--wa-ink3);line-height:1.6;margin-bottom:9px}
.fu-item-md b{color:var(--wa-ink2);font-weight:600}
/* 看单：单号旁边一张小纸片。点开就是原单，不用先下载再去找文件 */
/* 手机上报价复盘的客户名：184px 装 271px，切在「…联青社区居」这种地方，
   等于把「哪一家」这件事切没了。窄屏让它折两行，桌面临界时还是一行省略。 */
.fu-who{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@media(max-width:640px){
  .fu-who{white-space:normal;display:-webkit-box;-webkit-line-clamp:2;
    -webkit-box-orient:vertical;line-height:1.35}
}
.fu-pdf{margin-left:auto;flex:0 0 auto;display:inline-flex;align-items:center;gap:4px;
  padding:2px 8px 2px 6px;border:1px solid var(--wa-line);border-radius:2px;background:var(--card);
  font-size:11px;color:var(--wa-ink2);cursor:pointer;letter-spacing:.04em;line-height:1.6;
  -webkit-tap-highlight-color:transparent}
.fu-pdf::before{content:"PDF";font-size:11px;font-weight:700;letter-spacing:.04em;
  color:#6E6E6E;border:1px solid #E8E8E8;border-radius:2px;padding:0 2px;line-height:1.25}
.fu-pdf:active{background:#E8E8E8}
html[data-tenant="qixun"] .fu-pdf{border-color:#E8E8E8;color:#1A1A1A}
html[data-tenant="qixun"] .fu-pdf:active{background:#FAFAFA}
/* 故障日报的条目：跟报价复盘同一副骨架，少写一套新样式 */
.ft-list{display:flex;flex-direction:column;gap:0}
.ft-item{padding:12px 0;border-bottom:1px solid var(--wa-line2)}
.ft-item:last-child{border-bottom:0}
.fu-act{display:flex;gap:6px}
.fu-b{flex:1;padding:8px 0;border:1px solid var(--wa-line);background:var(--card);border-radius:2px;
  font-size:12px;color:var(--wa-ink2);font-family:inherit;cursor:pointer;letter-spacing:.04em;
  transition:border-color .15s,color .15s}
.fu-b:active{background:#E8E8E8}
.fu-b.on{border-color:var(--wa-accent);color:var(--wa-accent);font-weight:700}
.fu-lost{display:flex;flex-direction:column;gap:10px}
.fu-b.wide{flex:none;width:100%;padding:16px 0!important;text-align:center;font-size:14px!important;border-radius:2px;min-height:48px!important;font-weight:600!important}
/* 转化率摘要：四格细线框，数字大、标签小，像账单页眉的合计行 */
.fu-sum{display:grid;grid-template-columns:repeat(4,1fr);margin:0 0 12px;
  background:var(--card);border:1px solid var(--wa-line);border-radius:2px;overflow:hidden}
.fu-sum>div{padding:10px 4px;text-align:center;border-right:1px solid var(--wa-line2)}
.fu-sum>div:last-child{border-right:0}
.fu-sum b{display:block;font-size:14px;font-weight:600;color:var(--wa-ink);
  font-variant-numeric:tabular-nums;letter-spacing:-.02em;line-height:1.25}
.fu-sum b.warn{color:#9E9E9E}
.fu-sum span{display:block;font-size:11;color:var(--wa-ink3);margin-top:2px;letter-spacing:.06em}
/* 流失原因：横条。条不填满、不圆角，留白比色块更有说服力 */
.fu-lb{display:flex;flex-direction:column;gap:9px}
.fu-lb-r{display:flex;align-items:center;gap:9px}
.fu-lb-k{width:76px;flex:0 0 auto;font-size:12px;color:var(--wa-ink2);letter-spacing:.02em}
.fu-lb-t{flex:1;height:6px;background:var(--bg);border-radius:2px;overflow:hidden}
.fu-lb-t i{display:block;height:100%;background:var(--wa-accent);border-radius:2px}
.fu-lb-v{width:20px;text-align:right;font-size:12px;font-weight:600;color:var(--wa-ink3);
  font-variant-numeric:tabular-nums}

/* 报价浮动系数输入行 */
.bq-float{display:flex;align-items:center;gap:10px;margin-bottom:10px}
.bq-float>label{flex:1;display:block}
.bq-float>label>span{display:block;font-size:11;color:#9E9E9E;letter-spacing:.4px;margin-bottom:4px}
.bq-float>label>input{padding:9px 11px;border:1px solid rgba(28,27,25,.32);border-radius:2px;width:100%;
  box-sizing:border-box;font-size:14px;color:#1A1A1A;outline:none;font-family:inherit;background:var(--card)}
.bq-float-hint{font-size:11;color:#9E9E9E;flex-shrink:0;text-align:right;line-height:1.5;max-width:48%}
.bq-sum-total{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-top:10px;
  padding:12px 14px;border-radius:2px;
  background:transparent;
  border:1px solid rgba(28,27,25,.18)}
.bq-sum-total-l .t{font-size:12px;color:#1A1A1A;font-weight:600}
.bq-sum-total-l .d{font-size:10.5;color:#9E9E9E;margin-top:3px}
.bq-sum-total-n{font-size:12px;font-weight:750;color:var(--p,#1A1A1A);white-space:nowrap}
.bq-sum-total-n span{font-size:20px;font-weight:800;letter-spacing:-.5px;
  font-variant-numeric:tabular-nums}

/* 底部按钮 */
.bq-actions{display:flex;gap:8px;margin-top:12px}
.bq-btn{flex:1;padding:12px 10px;border-radius:2px;font-size:12px;font-weight:700;
  border:1px solid rgba(28,27,25,.28);background:var(--card);color:var(--t1,#1A1A1A);cursor:pointer}
.bq-btn.primary{flex:1.3;background:#1A1A1A;color:#FFFFFF;border:none;
  box-shadow:none}
.bq-btn:active{transform:scale(.985)}
.bq-foot{font-size:10.5;color:#9E9E9E;text-align:center;margin-top:9px;line-height:1.6}

@media (max-width:359px){
  .bq-grid3{grid-template-columns:1fr 1fr}
  .bq-grid3 label:last-child{grid-column:1/-1}
  .bq-sum-total{padding:10px}
  .bq-sum-total-n span{font-size:20px}
}

/* ===== AI 管家 .bot-* ===== */
.bot-fab{position:fixed;left:14px;bottom:calc(18px + env(safe-area-inset-bottom,0px));z-index:56;
  width:46px;height:46px;border-radius:50%;border:1px solid var(--wa-line);cursor:pointer;font-size:20px;
  background:var(--card);color:var(--wa-accent);
  box-shadow:none;display:flex;align-items:center;justify-content:center}
.bot-fab:active{transform:scale(.93)}
.bot-fab .dot{position:absolute;top:-2px;right:-2px;min-width:16px;height:16px;border-radius:2px;
  background:#6E6E6E;color:#FFFFFF;font-size:10.5;font-weight:800;display:flex;align-items:center;
  justify-content:center;padding:0 4px;border:1px solid #E8E8E8}

/* 预警页 */
.bot-sec{background:var(--card);border:1px solid rgba(28,27,25,.16);border-radius:2px;
  padding:11px 13px;margin-bottom:10px}
.bot-sec-hd{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}
.bot-sec-go{font-size:12px;color:var(--p,#1A1A1A);font-weight:650;cursor:pointer}
.bot-row{display:flex;align-items:center;gap:9px;padding:8px 6px;border-radius:2px;cursor:pointer}
.bot-row:active{background:rgba(28,27,25,.05)}
.bot-row+.bot-row{border-top:1px solid rgba(28,27,25,.12)}
.bot-ic{font-size:14px;flex-shrink:0}
.bot-rb{flex:1;min-width:0}
.bot-rb .t{font-size:12px;font-weight:650;color:var(--t1,#1A1A1A);overflow:hidden;
  text-overflow:ellipsis;white-space:nowrap}
.bot-rb .s{font-size:12px;color:#9E9E9E;margin-top:2px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.bot-go{color:#E8E8E8;font-size:14px;flex-shrink:0}
.bot-more{font-size:12px;color:#9E9E9E;text-align:center;padding:8px 0 2px}
.bot-all-ok{text-align:center;padding:26px 10px}
.bot-all-ok .em{font-size:20px}
.bot-all-ok .t{font-size:14px;font-weight:750;margin-top:6px}
.bot-all-ok .s{font-size:12px;color:#9E9E9E;margin-top:5px;line-height:1.6}

.bot-chat-cta{display:flex;align-items:center;gap:12px;margin:2px 0 12px;padding:13px 15px;
  border-radius:2px;cursor:pointer;color:#FFFFFF;
  background:#1A1A1A;box-shadow:none}
.bot-chat-cta .em{font-size:20px;flex-shrink:0;display:grid;place-items:center}
.bot-chat-cta .em svg{width:40px;height:40px;display:block}
/* 竖大拇指的手腕为轴，慢慢晃 */
.bot-chat-cta .thumb-arm{transform-origin:33px 31px;}
@keyframes botThumb{0%,100%{transform:rotate(0deg)}50%{transform:rotate(-16deg)}}
@media (prefers-reduced-motion:reduce){.bot-chat-cta .thumb-arm{animation:none}}
.bot-chat-cta .tx{flex:1;min-width:0}
.bot-chat-cta .t{font-size:12px;font-weight:750}
.bot-chat-cta .s{font-size:12px;opacity:.85;margin-top:3px;line-height:1.5}
.bot-chat-cta .go{margin-left:auto;font-size:12px;font-weight:700;flex-shrink:0;opacity:.95}

/* 对话弹窗 */
.bot-chat-hd{display:flex;align-items:center;gap:9px;padding:2px 2px 12px;
  border-bottom:1px solid rgba(28,27,25,.15);margin-bottom:10px}
.bot-chat-hd .em{font-size:20px}
.bot-chat-hd .t{flex:1;font-size:14px;font-weight:750}
.bot-chat-hd .s{font-size:10.5;color:#9E9E9E;font-weight:500;margin-top:2px}
.bot-clr{font-size:12px;color:#1A1A1A;cursor:pointer;padding:4px 8px;border-radius:2px;
  background:rgba(28,27,25,.12)}
.bot-chat-body{max-height:min(46vh,340px);overflow:auto;padding:2px}
.bot-msg{max-width:86%;padding:9px 12px;border-radius:2px;font-size:12px;line-height:1.65;
  margin-bottom:8px;white-space:pre-wrap;word-break:break-word}
.bot-msg.me{margin-left:auto;background:#1A1A1A;color:#FFFFFF;
  border-bottom-right-radius:4px;font-weight:550}
.bot-msg.bot{background:rgba(28,27,25,.1);color:var(--t1,#1A1A1A);border-bottom-left-radius:4px}
.bot-quick{display:flex;gap:6px;flex-wrap:wrap;margin:10px 0 8px}
.bot-quick button{font-size:12px;font-weight:600;color:#1A1A1A;background:rgba(28,27,25,.08);
  border:1px solid rgba(28,27,25,.2);border-radius:2px;padding:6px 11px;cursor:pointer}
.bot-quick button:active{background:rgba(28,27,25,.16)}
.bot-input-row{display:flex;gap:8px;margin-top:4px}
.bot-input-row input{flex:1;padding:11px 13px;border-radius:2px;font-size:12px;
  border:1.5px solid rgba(28,27,25,.25);outline:none;box-sizing:border-box;min-width:0}
.bot-input-row input:focus{border-color:#1A1A1A;box-shadow:none}
.bot-input-row button{flex-shrink:0;padding:0 16px;border-radius:2px;border:none;cursor:pointer;
  font-size:12px;font-weight:700;color:#FFFFFF;background:#1A1A1A}

/* ===== 极简工作面 body.plain ===== */
body.plain{
  --bg:#E8E8E8; --r:2px;
  --sh:none; --sh2:none;
  background-color:#E8E8E8;
  background-image:none; background-attachment:scroll;
}
body.plain header{background:var(--card);color:#1A1A1A;box-shadow:none;
  border-bottom:1px solid #E8E8E8;padding-top:calc(10px + var(--sat))}
body.plain header::before,body.plain header::after{display:none}
body.plain header .sub{color:#9E9E9E}
body.plain header h1,body.plain header .h-ic{color:#1A1A1A}
body.plain #topnav{background:var(--card);border-bottom:1px solid #E8E8E8;box-shadow:none}
body.plain #topnav button{color:#9E9E9E}
body.plain #topnav button.on{color:#1A1A1A;font-weight:700}
body.plain #topnav button.on::after{background:#1A1A1A}
body.plain .pg-hd .pe{background:#FAFAFA}
body.plain .panel{backdrop-filter:none;-webkit-backdrop-filter:none;box-shadow:none}
body.plain .card,body.plain .hr-card,body.plain .bq-item,body.plain .bq-sum,
body.plain .bot-sec,body.plain .stat{box-shadow:none;border-color:#E8E8E8}
body.plain .kpi-card{background:var(--card);box-shadow:none;border:1px solid #E8E8E8}
body.plain .kpi-card.bad{border-color:rgba(110,110,110,.35)}
body.plain .bq-cust{background:#E8E8E8;border-color:#E8E8E8}
body.plain .bq-sum-total{background:#E8E8E8;border-color:#E8E8E8}
body.plain .bq-item{background:var(--card)}
body.plain .bq-item-no{background:#1A1A1A}
body.plain .bq-btn.primary{background:#1A1A1A;box-shadow:none}
body.plain .bot-chat-cta{background:#1A1A1A;box-shadow:none}
body.plain .bot-fab{background:#1A1A1A;box-shadow:none}
body.plain .fab{background:#1A1A1A;box-shadow:none}
body.plain .bq-pick-av,body.plain .bq-pick-av{background:#1A1A1A}
body.plain .bq-cust-x,body.plain .bq-sec-btns button,body.plain .bq-mini{background:#FAFAFA;color:#1A1A1A}
body.plain .btn{box-shadow:none}
body.plain .chip.on{background:#1A1A1A;color:#FFFFFF;border-color:#1A1A1A}
body.plain .search{border-color:#E8E8E8}
body.plain .kpi::after{display:none}
body.plain .kpi,body.plain .fold{box-shadow:none;border-color:#E8E8E8}
body.plain .fold-hd .fi{background:#FAFAFA}
body.plain .bq-head{border-bottom:1px solid #1A1A1A}
body.plain .bot-chat-hd .em,body.plain .pg-hd .pe{filter:grayscale(.3)}
body.plain .bq-head{border-bottom-color:#E8E8E8}

/* ============ 企业版（主流管理系统风格：侧栏 + 顶栏 + 品牌色） ============ */
body.ent{ --brand:#1A1A1A; --brand-d:#1A1A1A; --brand-bg:#E8E8E8;
  --ent-bg:#E8E8E8; --ent-side:#FFFFFF; --ent-bd:#E8E8E8; --ent-t:#1A1A1A; --ent-m:#9E9E9E; }
body.ent{ background:var(--ent-bg); color:var(--ent-t); }
/* 企业版下隐藏原渐变头部（由侧栏+顶栏替代） */
body.ent > header{ display:none; }
/* 桌面端隐藏顶部 5 组 tab 与二级导航（侧栏已承载） */
@media (min-width:900px){
  body.ent .topnav, body.ent .subnav{ display:none; }
}

/* 左侧品牌导航栏 */
.ent-side{ position:fixed; top:0; left:0; bottom:0; width:236px; background:var(--ent-side);
  border-right:1px solid var(--ent-bd); display:none; flex-direction:column; z-index:60; }
body.ent .ent-side{ display:flex; }
.ent-brand{ display:flex; align-items:center; gap:11px; padding:15px 18px; border-bottom:1px solid var(--ent-bd); }
.ent-logo{ width:32px; height:32px; border-radius:2px; flex:0 0 auto;
  background:transparent; color:#FFFFFF; font-weight:700; font-size:14px;
  display:flex; align-items:center; justify-content:center; box-shadow:none; }
.ent-brand-n{ font-size:14px; font-weight:700; letter-spacing:.08em; line-height:1.2; }
.ent-brand-s{ font-size:12px; color:var(--ent-m); margin-top:2px; }
.ent-nav{ flex:1; overflow-y:auto; padding:8px 10px 14px; }
/* ===== 侧栏四门（2026-11-07 减法）：一级 4 行，点开才见子项 ===== */
/* 同上：全局剥渐变，这里用纯色 */
.ent-ask{ display:flex; align-items:center; gap:8px; padding:11px 12px; margin:6px 0 12px;
  background-color:#1A1A1A; color:#E8E8E8; border-radius:2px;
  cursor:pointer; user-select:none; }
.ent-ask:active{ transform:translateY(1px); }
.ent-ask-ic{ font-size:14px; }
.ent-ask-t{ font-size:14px; font-weight:700; letter-spacing:.02em; }
.ent-ask-go{ margin-left:auto; font-style:normal; opacity:.75; font-size:14px; }
/* 门与门之间用留白分组，不画框；备注小字已删——菜单只说去哪，不说那是什么 */
.ent-door{ margin:7px 0 1px; }
.ent-door-h{ display:flex; align-items:center; gap:7px; padding:11px 12px; cursor:pointer;
  border-radius:2px; user-select:none; }
.ent-door-h:hover{ background:rgba(255,255,255,.6); }
.ent-door-t{ font-size:14px; font-weight:700; color:#1A1A1A; letter-spacing:.03em; }
.ent-door-d{ font-size:12px; color:#9E9E9E; }
.ent-door-cv{ margin-left:auto; font-style:normal; color:#9E9E9E; font-size:14px;
  ; }
.ent-door.open .ent-door-cv{ transform:rotate(90deg); }
.ent-door-b{ display:none; padding:0 0 6px; }
.ent-door.open .ent-door-b{ display:block; }
.ent-door-g{ font-size:12px; color:#9E9E9E; padding:9px 12px 3px 28px; letter-spacing:.5px; }
.ent-grp{ margin-top:12px; }
.ent-grp:first-child{ margin-top:2px; }
.ent-grp-h{ display:flex; align-items:center; gap:8px; padding:7px 10px 5px; font-size:12px; font-weight:700;
  color:var(--ent-m); letter-spacing:.4px; }
.ent-grp-h .gi{ font-size:14px; }
.ent-sub{ display:flex; align-items:center; gap:9px; padding:7px 10px 7px 28px; margin:1px 0; border-radius:2px;
  font-size:12px; color:#1A1A1A; cursor:pointer; border-left:2px solid transparent; user-select:none; letter-spacing:.02em; }
.ent-sub:hover{ background:#E8E8E8; }
.ent-sub.on{ background:var(--brand-bg); color:var(--brand); font-weight:700; border-left-color:var(--brand); }
.ent-sub .si{ font-size:14px; width:18px; text-align:center; flex:0 0 auto; }
.ent-u{ display:flex; align-items:center; gap:9px; padding:11px 14px; border-top:1px solid var(--ent-bd);
  cursor:pointer; position:relative; }
.ent-u:hover{ background:var(--bg); }
.ent-u .av{ width:28px; height:28px; border-radius:2px; background:var(--brand); color:#FFFFFF; flex:0 0 auto;
  display:flex; align-items:center; justify-content:center; font-weight:700; font-size:14px; }
.ent-u-tx{ flex:1; min-width:0; }
.ent-u-tx #entUName{ font-size:14px; font-weight:700; line-height:1.25; }
.ent-u-rl{ font-size:12px; color:var(--ent-m); }
.ent-u-dot{ position:absolute; top:11px; right:14px; min-width:16px; height:16px; padding:0 4px; border-radius:2px;
  background:#6E6E6E; color:#FFFFFF; font-size:11; display:flex; align-items:center; justify-content:center; }

/* 顶部条：面包屑 + 搜索 + 通知 */
.ent-top{ position:sticky; top:0; height:54px; display:none; align-items:center; gap:12px; padding:0 18px;
  background:var(--card);
  border-bottom:1px solid var(--ent-bd); z-index:55; }
body.ent .ent-top{ display:flex; }
.ent-burger{ display:none; border:none; background:var(--bg); width:34px; height:34px; border-radius:2px;
  font-size:14px; color:#1A1A1A; }
.ent-crumb{ font-size:14px; color:#1A1A1A; font-weight:600; white-space:nowrap; }
.ent-crumb b{ color:var(--ent-t); }
.ent-top-r{ margin-left:auto; display:flex; align-items:center; gap:10px; }
.ent-search{ display:flex; align-items:center; gap:7px; background:var(--card); border:1px solid var(--ent-bd);
  border-radius:2px; padding:6px 11px; width:240px; }
.ent-search:focus-within{ border-color:var(--brand); background:var(--card); }
.ent-search input{ border:none; background:none; outline:none; font-size:12px; width:100%; color:var(--ent-t); }
.ent-bell{ position:relative; border:1px solid var(--ent-bd); background:var(--card); width:34px; height:34px; border-radius:2px; font-size:14px; }
.ent-bell .dot{ position:absolute; top:-3px; right:-3px; min-width:15px; height:15px; padding:0 4px; border-radius:2px;
  background:#6E6E6E; color:#FFFFFF; font-size:10.5; display:flex; align-items:center; justify-content:center; font-weight:700; }

/* 内容区：侧栏右侧，卡片化留白 */
body.ent #main{ padding:18px 22px 96px; max-width:none; }
body.ent .ok-tip{ left:calc(236px + 50%); transform:translateX(-50%); }
body.ent .fab{ right:22px; bottom:calc(24px + var(--sab)); }
body.ent .bot-fab{ left:calc(236px + 14px); }
body.ent .sn-crumb{ display:none; }
/* 桌面端：侧栏也收进柜子（2026-11-15 · 5S 整顿）
   以前桌面端侧栏永久摊开 236px，里面是一级门 + 子项的全表；
   而顶上那条横排又是同一批一级门 —— 一样东西摆在两个地方，
   占掉版心五分之一，内容被挤成窄条。
   现在：横向那条是唯一常在的导航（它就是标签），侧栏是需要时才拉开的柜子。
   拉开时压在内容上，不推挤版心 —— 柜子开门不该把桌子往后挪。 */
@media (min-width:900px){
  body.ent #main{ margin-left:0; }
  body.ent .ent-top{ margin-left:0; width:auto; }
  body.ent .ent-side{ transform:translateX(-100%); transition:transform .22s cubic-bezier(.32,.72,0,1);
    box-shadow:none; }
  body.ent .ent-side.open{ transform:translateX(0);
    box-shadow:none; }
  body.ent .ent-burger{ display:inline-flex!important; }
}

/* 移动端：侧栏变抽屉，底部保留 5 组 tab，二级导航吸顶 */
@media (max-width:899px){
  .ent-side{ transform:translateX(-100%); ; width:266px;
    box-shadow:none; }
  body.ent .ent-side.open{ transform:translateX(0); }
  .ent-top{ padding:0 12px; }
  .ent-burger{ display:block; }
  .ent-search{ display:none; }
  body.ent #main{ padding:14px 12px 86px; }
  body.ent .subnav{ display:flex; position:sticky; top:54px; z-index:50; background:var(--ent-bg);
    border-bottom:1px solid var(--ent-bd); }
  body.ent .topnav{ display:flex; position:fixed; left:0; right:0; bottom:0; top:auto; height:auto; z-index:54; background:var(--card);
    border-bottom:none; border-top:1px solid var(--ent-bd); padding:5px 0 calc(5px + var(--sab)); box-shadow:none; }
  body.ent .fab{ right:16px; bottom:calc(66px + var(--sab)); }
  body.ent .bot-fab{ left:14px; bottom:calc(66px + var(--sab)); }
  .ent-back{ display:none; position:fixed; inset:0; background:rgba(28,27,25,.35); z-index:59; }
  body.ent .ent-back.show{ display:block; }
}


/* ============ 手机原生 App 化布局 ============ */
html{ overscroll-behavior:none; }
body{ overscroll-behavior-y:none; }
*{ -webkit-tap-highlight-color:transparent; }
body, button, input, select, textarea{
  font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Hiragino Sans GB","Microsoft YaHei",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Noto Color Emoji";
}
@media (max-width:899px){
  /* 顶部：原生 App 导航栏（左汉堡 / 居中标题 / 右铃铛） */
  body.ent .ent-top{
    height:auto; min-height:calc(50px + env(safe-area-inset-top,0px));
    padding:env(safe-area-inset-top,0px) 4px 0;
    gap:2px; align-items:center;
    background:rgba(255,255,255,.96);
    border-bottom:1px solid rgba(0,0,0,.06);
  }
  body.ent .ent-burger{ order:1; flex:0 0 auto; }
  body.ent .ent-crumb{ order:2; flex:1; min-width:0; display:flex; align-items:center; justify-content:center; }
  body.ent .ent-crumb .cb-g, body.ent .ent-crumb .cb-s{ display:none; }
  body.ent .ent-crumb .cb-c{ color:var(--ent-t); font-size:14px; font-weight:700; letter-spacing:.3px; }
  body.ent .ent-top-r{ order:3; margin-left:0; }
  body.ent .ent-burger, body.ent .ent-bell{
    width:42px; height:42px; background:transparent; border-radius:2px; font-size:20px;
    ;
  }
  body.ent .ent-burger:active, body.ent .ent-bell:active{ background:#E8E8E8; transform:scale(.93); }
  body.ent .ent-bell .dot{ top:2px; right:2px; }
  body.ent .subnav{ top:calc(50px + env(safe-area-inset-top,0px)); }
  /* AI 悬浮球：顶部铃铛已替代，手机端隐藏 */
  body.ent .bot-fab{ display:none; }
  /* 底部 Tab：原生 App 底栏 */
  body.ent .topnav{
    padding:4px 4px calc(5px + env(safe-area-inset-bottom,0px));
    background:rgba(255,255,255,.98);
    border-top:1px solid rgba(0,0,0,.06);
    box-shadow:none;
  }
  body.ent #topnav.topnav button{
    flex:1; min-width:0; flex-direction:column; align-items:center; justify-content:center; gap:2px;
    height:52px !important; min-height:52px !important; padding:0 !important;
    font-size:12px !important; line-height:1.05 !important;
    border-radius:2px; border-top:none;
    ;
  }
  body.ent #topnav.topnav button:active{ transform:scale(.9); }
  body.ent #topnav.topnav button .ic{ font-size:20px !important; line-height:1; display:flex !important; align-items:center; height:22px; }
  body.ent #topnav.topnav button.on .ic{ transform:none; }
  /* 98px 只够让底部导航压不到内容，却不够让最后一条滚出「相机」——
     相机占 92~146px 这一段，于是列表最后一行永远躺在它底下。
     补到 152 = 92（相机上沿）+ 54（相机高）+ 6（余量）。
     这不是给相机让位，是让最后一行能被看见、能点。 */
  body.ent #main{ padding-bottom:calc(152px + env(safe-area-inset-bottom,0px)); }
  body.ent .fab{ bottom:calc(80px + env(safe-area-inset-bottom,0px)); }
}


/* SVG 图标尺寸 */
.appic{ width:1.1em; height:1.1em; display:block; flex:0 0 auto; }
.topnav button .ic .appic{ width:22px; height:22px; }
.ent-bell .appic{ width:20px; height:20px; }
.ent-burger .appic{ width:21px; height:21px; }
.ent-sub .si .appic, .ent-grp-h .gi .appic{ width:16px; height:16px; }
.ent-top-r{ align-items:center; }


/* 客户展示入口（企业版顶栏） */
.ent-show{ display:none; align-items:center; justify-content:center; gap:6px; border:none;
  background:var(--wa-accent); color:#FFFFFF; height:36px; padding:0 13px;
  border-radius:2px; font-size:12px; font-weight:600; letter-spacing:.04em; font-family:inherit; cursor:pointer;
  ; }
body.ent .ent-show{ display:flex; }
.ent-show:active{ transform:scale(.95); filter:brightness(.94); }
.ent-show .appic{ width:15px; height:15px; }
@media (max-width:899px){
  body.ent .ent-show{ width:42px; height:42px; padding:0; background:var(--card); border:1px solid var(--wa-line); color:var(--wa-ink2); }
  body.ent .ent-show:active{ background:#E8E8E8; }
  body.ent .ent-show .tx{ display:none; }
  body.ent .ent-show .appic{ width:20px; height:20px; }
}

/* 启用阶段横幅 */
.ro-bar{display:flex;align-items:center;gap:10px;flex-wrap:wrap;
  background:#E8E8E8;border:1px solid #E8E8E8;
  border-radius:2px;padding:10px 13px;margin-bottom:12px}
.ro-l{flex:1;min-width:180px}
.ro-t{font-size:12px;font-weight:800;color:#1A1A1A}
.ro-d{font-size:12px;color:#1A1A1A;margin-top:2px;line-height:1.4}
.ro-r{margin-left:auto;display:flex;gap:6px;flex-wrap:wrap}
.ro-pill{border:1px solid #E8E8E8;background:var(--card);color:#1A1A1A;font-size:12px;font-weight:700;
  padding:6px 10px;border-radius:2px;cursor:pointer;font-family:inherit}
.ro-pill.on{background:var(--p);border-color:var(--p);color:#FFFFFF}

  /* ===== 🤖 语音开单 ===== */
  .qs-tabs{display:flex;gap:8px;margin:0 0 10px}
  .qs-tab{flex:1;padding:9px 6px;border:1.5px solid var(--bd);background:var(--card);border-radius:2px;
    font-size:12px;font-weight:700;color:#1A1A1A;cursor:pointer}
  .qs-tab.on{border-color:var(--p);background:#FAFAFA;color:var(--p)}
  .qs-tab i{display:inline-block;min-width:16px;padding:0 4px;margin-left:4px;border-radius:2px;
    background:#6E6E6E;color:#FFFFFF;font-size:12px;font-style:normal;text-align:center}
  .qs-mic-p{padding:12px 13px}
  .qs-mic-row{display:flex;align-items:center;gap:12px}
  .qs-mic{width:58px;height:58px;flex-shrink:0;border:none;border-radius:50%;font-size:20px;cursor:pointer;
    background:#1A1A1A;color:#FFFFFF;box-shadow:none}
  .qs-mic.on{background:#6E6E6E;}
  @keyframes qspulse{0%{box-shadow:none}70%{box-shadow:none}100%{box-shadow:none}}
  .qs-mic-t{font-size:12px;font-weight:700;color:#1A1A1A}
  .qs-mic-d{font-size:12px;color:#1A1A1A;margin-top:3px;line-height:1.6}
  .qs-mic-d b{color:#1A1A1A}
  .qs-live{font-size:12px;color:#6E6E6E;margin-top:4px;min-height:16px}
  .qs-ta{width:100%;margin-top:10px;border:1px solid var(--bd);border-radius:2px;padding:9px 10px;
    font-size:12px;line-height:1.7;resize:vertical;font-family:inherit}
  .qs-act{display:flex;gap:8px;margin-top:9px}
  .qs-act .btn{flex:1}
  .qs-act .btn.ghost{flex:0 0 auto;padding:9px 14px;width:auto}
  .qs-quick{display:flex;flex-wrap:wrap;gap:6px;margin-top:9px}
  .qs-q{padding:5px 10px;border:1px solid var(--bd);background:var(--bg);border-radius:2px;
    font-size:12px;color:#1A1A1A;cursor:pointer}
  .qs-q:active{background:#FAFAFA;border-color:var(--p);color:var(--p)}
  .qs-res{padding:12px 13px}
  .qs-top{display:flex;gap:8px;flex-wrap:wrap}
  .qs-f{flex:1;min-width:150px;display:block}
  .qs-f span{display:block;font-size:12px;color:#1A1A1A;margin-bottom:3px}
  .qs-f input{width:100%;border:1px solid var(--bd);border-radius:2px;padding:8px 9px;font-size:12px}
  .qs-rows{margin-top:10px;border-top:1px dashed var(--bd)}
  .qs-row{display:flex;flex-wrap:wrap;align-items:center;gap:7px;padding:9px 0;border-bottom:1px solid #E8E8E8}
  .qs-row.miss{background:#FAFAFA;margin:0 -8px;padding:9px 8px;border-radius:2px}
  .qs-raw{flex:1 1 100%;font-size:12px;color:#1A1A1A}
  .qs-sel{flex:1 1 220px;min-width:0}
  .qs-sel select{width:100%;border:1px solid var(--bd);border-radius:2px;padding:7px 8px;font-size:12px;background:var(--card)}
  .qs-pk{margin-top:5px}
  .qs-pk input{width:100%;border:1px dashed var(--p);border-radius:2px;padding:6px 8px;font-size:12px}
  .qs-pk-box{margin-top:4px}
  .qs-pk-li{padding:6px 8px;font-size:12px;border-bottom:1px solid #E8E8E8;cursor:pointer;color:#1A1A1A}
  .qs-pk-li:active{background:#FAFAFA}
  .qs-pk-no{padding:6px 8px;font-size:12px;color:#9E9E9E}
  .qs-qty{flex:0 0 auto;display:flex;align-items:center;gap:4px}
  .qs-qty input{width:56px;border:1px solid var(--bd);border-radius:2px;padding:6px 6px;font-size:12px;text-align:center}
  .qs-qty span{font-size:12px;color:#1A1A1A}
  .qs-amt{flex:0 0 auto;min-width:66px;text-align:right;font-size:12px;font-weight:700;color:#1A1A1A}
  .qs-x{flex:0 0 auto;width:26px;height:26px;border:1px solid var(--bd);background:var(--card);border-radius:2px;
    color:#9E9E9E;font-size:12px;cursor:pointer}
  .qs-fees{display:flex;gap:8px;margin-top:10px;flex-wrap:wrap}
  .qs-fees label{flex:1;min-width:96px}
  .qs-fees span{display:block;font-size:12px;color:#1A1A1A;margin-bottom:3px}
  .qs-fees input{width:100%;border:1px solid var(--bd);border-radius:2px;padding:7px 8px;font-size:12px}
  .qs-sum{margin-top:10px;padding:9px 11px;background:var(--bg);border:1px solid var(--bd);border-radius:2px;
    font-size:12px;color:#1A1A1A;line-height:1.8}
  .qs-sum-b{font-size:14px;color:#6E6E6E}
  .qs-foot{display:flex;gap:8px;margin-top:10px;flex-wrap:wrap}
  .qs-foot .btn{flex:1;min-width:120px}
  .qs-foot .btn.ghost{flex:0 0 auto;width:auto}
  .qs-req{border:1px solid var(--bd);border-radius:2px;padding:10px 11px;margin-bottom:9px;background:var(--card)}
  .qs-req.on{border-color:#6E6E6E;background:#FAFAFA}
  .qs-req-h{display:flex;align-items:center;justify-content:space-between;gap:8px}
  .qs-req-h b{font-size:12px}
  .qs-req-r{font-size:12px;color:#1A1A1A;background:#E8E8E8;border-radius:2px;padding:1px 5px;margin-left:4px}
  .qs-req-t{font-size:12px;color:#9E9E9E;margin-left:6px}
  .qs-req-b{font-size:12px;color:#1A1A1A;margin-top:4px}
  .qs-req-i{display:flex;flex-wrap:wrap;gap:4px;margin-top:5px}
  .qs-req-i span{font-size:12px;background:var(--bg);border-radius:2px;padding:2px 6px;color:#1A1A1A}
  .qs-req-s{font-size:12px;color:#1A1A1A;margin-top:5px;line-height:1.6}
  .qs-req-a{display:flex;gap:6px;margin-top:8px;flex-wrap:wrap;align-items:center}
  /* ===== ⚙️ 系统设置：登录安全等级 ===== */
  .sys-mode{display:flex;align-items:flex-start;gap:10px;padding:11px 12px;margin-bottom:8px;
    border:1.5px solid var(--bd);border-radius:2px;background:var(--card);cursor:pointer}
  .sys-mode.on{border-color:var(--p);background:#FAFAFA;box-shadow:none}
  .sys-m-em{font-size:20px;line-height:1.2;flex-shrink:0}
  .sys-m-b{flex:1;min-width:0}
  .sys-m-nm{font-size:14px;font-weight:700;color:#1A1A1A;display:flex;align-items:center;gap:6px}
  .sys-mode.on .sys-m-nm{color:var(--p)}
  .sys-m-cur{font-size:11;font-weight:600;background:var(--p);color:#FFFFFF;border-radius:2px;padding:1px 5px}
  .sys-m-d{font-size:12px;color:#1A1A1A;line-height:1.65;margin-top:3px}
  .sys-m-radio{flex-shrink:0;font-size:14px;color:#E8E8E8;line-height:1.4}
  .sys-mode.on .sys-m-radio{color:var(--p)}
.sys-m-radio{flex:none;width:21px;height:21px;border-radius:50%;border:1px solid #E8E8E8;
  margin-top:1px;position:relative;box-sizing:border-box}
.sys-m-radio.on{border-color:var(--p);background:var(--p)}
.sys-m-radio.on::after{content:"";position:absolute;inset:5px;border-radius:50%;background:var(--card)}
  .sys-note{margin-top:10px;padding:9px 11px;border-radius:2px;background:var(--bg);
    border:1px dashed var(--bd);font-size:12px;color:#1A1A1A;line-height:1.7}
  /* ===== 📥 下载中心 ===== */
  .dl-guide{padding:12px 13px}
  .dl-dev{display:flex;gap:6px;flex-wrap:wrap;margin:0 0 9px}
  .dl-dev-b{flex:1;min-width:78px;padding:8px 6px;border:1.5px solid var(--bd);background:var(--card);
    border-radius:2px;font-size:12px;font-weight:700;color:#1A1A1A;cursor:pointer;white-space:nowrap}
  .dl-dev-b.on{border-color:var(--p);background:#FAFAFA;color:var(--p)}
  .dl-guide-b{font-size:12px;color:#1A1A1A;line-height:1.85;padding:10px 11px;
    background:var(--bg);border:1px solid var(--bd);border-radius:2px;min-height:66px}
  .dl-guide-b b{color:#1A1A1A}
  .dl-item{display:flex;align-items:center;gap:9px;padding:9px 0;border-bottom:1px solid #E8E8E8}
  .dl-em{width:30px;height:30px;flex-shrink:0;display:flex;align-items:center;justify-content:center;
    background:var(--bg);border-radius:2px;font-size:14px}
  .dl-b{flex:1;min-width:0}
  .dl-nm{font-size:12px;font-weight:600;color:#1A1A1A;line-height:1.4;
    word-break:break-all;cursor:pointer}
  .dl-nm:active{color:var(--p)}
  .dl-meta{font-size:12px;color:#9E9E9E;margin-top:2px}
  /* 防伪码：灰色小字贴在文件名下面，点一下直接跳去查询 */
  .dl-code{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:12px;
    letter-spacing:.03em;color:#9E9E9E;background:#FAFAFA;border:1px solid #E8E8E8;
    border-radius:2px;padding:1px 5px;margin-top:3px;display:inline-block;cursor:pointer}
  .dl-code:active{background:#FAFAFA}
  /* 防伪查询面板 */
  .vf-in{display:flex;gap:8px;margin:0 0 10px}
  .vf-input{flex:1;min-width:0;height:38px;border:1px solid #E8E8E8;border-radius:2px;
    padding:0 11px;font-size:14px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;
    letter-spacing:.05em;color:#1A1A1A;background:#FFFFFF;box-sizing:border-box}
  .vf-input:focus{outline:none;border-color:#1A1A1A}
  .vf-res{border-radius:2px;padding:11px 13px;font-size:12px;line-height:1.6}
  .vf-res.wait{background:#E8E8E8;color:#9E9E9E}
  .vf-res.good{background:#FAFAFA;border:1px solid #E8E8E8;color:#1A1A1A}
  .vf-res.bad{background:#FAFAFA;border:1px solid #E8E8E8;color:#6E6E6E}
  .vf-res b{display:block;font-size:14px;margin-bottom:5px}
  .vf-res p{margin:6px 0 0;color:#1A1A1A}
  .vf-tb{width:100%;border-collapse:collapse;margin-top:4px}
  .vf-tb td{padding:3px 0;font-size:12px;vertical-align:top}
  .vf-tb td:first-child{width:64px;color:#9E9E9E}
  .vf-tb td:last-child{color:#1A1A1A}
  .vf-note{font-size:12px!important;color:#9E9E9E!important}
  .vf-recent{margin-top:12px;padding-top:10px;border-top:1px solid #E8E8E8}
  .vf-recent>b{font-size:12px;color:#9E9E9E;font-weight:600}
  .vf-rrow{display:flex;gap:8px;align-items:center;padding:6px 0;cursor:pointer;
    border-bottom:1px solid #E8E8E8}
  .vf-rrow:active{background:#E8E8E8}
  .vf-rc{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:12px;
    color:#9E9E9E;flex-shrink:0}
  .vf-rn{font-size:12px;color:#1A1A1A;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  /* 报价留档表：一行一版，同客户多版会打标 */
  .sk-row{padding:9px 0;border-bottom:1px solid #E8E8E8}
  .sk-row:last-child{border-bottom:none}
  .sk-r1{display:flex;align-items:center;gap:7px;flex-wrap:wrap}
  .sk-r1 b{font-size:12px;color:#1A1A1A}
  .sk-lift{font-size:12px;color:#1A1A1A;background:#FAFAFA;border-radius:2px;padding:1px 5px}
  .sk-multi{font-size:12px;color:#6E6E6E;background:#FAFAFA;border:1px solid #E8E8E8;
    border-radius:2px;padding:1px 5px;font-weight:700}
  .sk-amt{margin-left:auto;font-size:12px;font-weight:800;color:#1A1A1A;
    font-variant-numeric:tabular-nums}
  .sk-r2{display:flex;gap:9px;align-items:center;margin-top:3px;font-size:12px;
    color:#9E9E9E;flex-wrap:wrap}
  .sk-cd{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;color:#9E9E9E;
    background:#FAFAFA;border:1px solid #E8E8E8;border-radius:2px;padding:0 4px;cursor:pointer}
  .sk-more{margin-top:10px;border-top:1px solid #E8E8E8;padding-top:8px}
  .sk-more summary{font-size:12px;color:#1A1A1A;cursor:pointer}
  .dl-a{flex-shrink:0;display:flex;gap:5px}
  /* 下载完的浮动提示条：贴在底部导航上方，点一下进下载中心 */
  .dl-tipbar{position:fixed;left:12px;right:12px;bottom:76px;z-index:9000;
    display:flex;align-items:center;gap:8px;padding:10px 12px;
    background:#1A1A1A;color:#FFFFFF;border-radius:2px;box-shadow:none;
    font-size:12px;line-height:1.4}
  .dl-tp-n{font-size:12px;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .dl-tp-p{font-size:12px;color:#E8E8E8;margin-top:3px;line-height:1.5}
  .dl-tp-p b{color:#6E6E6E}
  .dl-tp-x{background:none!important;color:#9E9E9E!important;font-size:14px;padding:2px 4px!important}
  .dl-tipbar button{flex-shrink:0;background:rgba(255,255,255,.16);color:#FFFFFF;border:none;
    padding:5px 10px;border-radius:2px;font-size:12px;font-weight:700;cursor:pointer}
  /* 报价详情里的「重新下载」区 */
  .qd-dl{margin-top:12px;padding:10px 11px;background:var(--bg);border:1px solid var(--bd);border-radius:2px}
  .qd-dl-t{font-size:12px;color:#1A1A1A;line-height:1.6;margin-bottom:8px}
  .qd-dl-b{display:flex;gap:8px}
  .qd-dl-b .btn{flex:1}
  /* ===== 语音开单：行内编辑 / 手填价 ===== */
  .qs-raw-new{font-size:12px;background:#FAFAFA;color:#6E6E6E;border-radius:2px;padding:1px 6px}
  .qs-ref{font-size:12px;color:#9E9E9E;margin-left:6px}
  .qs-row.cus{background:#E8E8E8}
  .qs-cust-f{display:flex;flex-direction:column;gap:5px}
  .qs-cust-r{display:flex;gap:5px;align-items:center;flex-wrap:wrap}
  .qs-in{width:100%;border:1px solid var(--bd);border-radius:2px;padding:7px 9px;font-size:12px;background:var(--card)}
  .qs-in.sm{padding:5px 7px;font-size:12px;flex:1;min-width:64px}
  .qs-in:focus{outline:none;border-color:var(--p);box-shadow:none}
  .qs-link{background:none;border:none;color:var(--p);font-size:12px;font-weight:700;
    padding:3px 0;cursor:pointer;text-align:left}
  .qs-link.save{color:#1A1A1A}
  .qs-pk-tools{display:flex;justify-content:flex-end}
  .qs-pk-none{padding:7px 8px;font-size:12px;color:#9E9E9E;line-height:1.6}
  .qs-line2{display:flex;align-items:center;gap:7px;flex-wrap:wrap;width:100%}
  .qs-pr{display:flex;align-items:center;gap:3px;flex:0 0 auto}
  .qs-price{width:78px;padding:6px 7px;font-size:12px;font-weight:600;text-align:right}
  .qs-price-ro{font-size:12px;font-weight:700;color:#1A1A1A;min-width:52px}
  .qs-price-ro span{font-size:12px;font-weight:400;color:#9E9E9E}
  .qs-u{font-size:12px;color:#9E9E9E}
  .qs-dt select{border:1px solid var(--bd);border-radius:2px;padding:5px 6px;font-size:12px;background:var(--card)}
  .qs-row2{width:100%;display:flex;justify-content:flex-end}
  .qs-bad{width:100%;font-size:12px;color:#6E6E6E;margin-top:2px}
  .qs-tip{font-size:12px;color:#6E6E6E;margin-top:7px;line-height:1.6}
  .qs-tip.cus{color:#1A1A1A}
  /* ===== 📤 下载后「发给谁」（手机专用底部弹层） ===== */
  .dl-sheet-bg{position:fixed;inset:0;z-index:9500;background:rgba(28,27,25,.45);
    display:flex;align-items:flex-end;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);
    animation:dlfade .16s ease-out}
  @keyframes dlfade{from{opacity:0}to{opacity:1}}
  .dl-sheet{width:100%;background:var(--card);border-radius:2px;padding:14px 14px calc(14px + env(safe-area-inset-bottom));
    box-shadow:none;animation:dlup .2s ease-out}
  @keyframes dlup{from{transform:translateY(26px)}to{transform:translateY(0)}}
  .dl-sheet.busy{opacity:.72;pointer-events:none}
  .dl-sh-h{display:flex;align-items:flex-start;gap:9px;margin-bottom:10px}
  .dl-sh-em{width:32px;height:32px;flex-shrink:0;display:flex;align-items:center;justify-content:center;
    background:#FAFAFA;border-radius:2px;font-size:14px}
  .dl-sh-t{font-size:14px;font-weight:800;color:#1A1A1A}
  .dl-sh-n{font-size:12px;color:#1A1A1A;margin-top:2px;word-break:break-all;line-height:1.45}
  .dl-sh-fmt{font-size:12px;color:#1A1A1A;margin-top:3px}
  .dl-sh-x{flex-shrink:0;width:26px;height:26px;border:none;background:var(--bg);border-radius:2px;
    color:#1A1A1A;font-size:12px;cursor:pointer}
  .dl-sh-grid{display:flex;gap:9px}
  .dl-sh-big{flex:1;display:flex;flex-direction:column;align-items:center;gap:2px;padding:13px 8px;
    border:1.5px solid var(--bd);border-radius:2px;background:var(--card);cursor:pointer}
  .dl-sh-big.wx{border-color:#FAFAFA;background:#FAFAFA}
  .dl-sh-big.wecom{border-color:#E8E8E8;background:#FAFAFA}
  .dl-sh-ico{font-size:20px;line-height:1.1}
  .dl-sh-bn{font-size:14px;font-weight:800;color:#1A1A1A}
  .dl-sh-big.wx .dl-sh-bn{color:#1A1A1A}
  .dl-sh-big.wecom .dl-sh-bn{color:#1A1A1A}
  .dl-sh-bd{font-size:12px;color:#9E9E9E}
  .dl-sh-txt{font-size:12px;color:#9E9E9E;line-height:1.65;margin-top:9px}
  .dl-sh-chips{display:flex;flex-wrap:wrap;gap:6px;margin-top:9px;align-items:center}
  /* ===== 👀 PDF 预览（下完直接弹，全屏层） ===== */
  .pv-bg{position:fixed;inset:0;z-index:9600;background:#1A1A1A;display:flex;flex-direction:column;
    animation:dlfade .16s ease-out}
  .pv-h{display:flex;align-items:center;gap:8px;padding:calc(8px + env(safe-area-inset-top)) 12px 8px;
    background:#1A1A1A;color:#FFFFFF}
  .pv-x{flex-shrink:0;width:30px;height:30px;border:none;background:rgba(255,255,255,.12);color:#FFFFFF;
    border-radius:2px;font-size:14px;cursor:pointer}
  .pv-t{flex:1;min-width:0;font-size:12px;color:#E8E8E8;white-space:nowrap;overflow:hidden;
    text-overflow:ellipsis}
  .pv-body{flex:1;overflow-y:auto;padding:10px 12px;-webkit-overflow-scrolling:touch}
  .pv-img{display:block;width:100%;max-width:680px;margin:0 auto 10px;background:var(--card);border-radius:2px;
    box-shadow:none}
  .pv-foot{display:flex;gap:10px;padding:10px 12px calc(12px + env(safe-area-inset-bottom));
    background:rgba(28,27,25,.92);backdrop-filter:blur(6px)}
  .pv-btn{flex:1;padding:13px;border:none;border-radius:2px;font-size:14px;font-weight:800;
    font-family:inherit;cursor:pointer}
  .pv-btn.wx{background:#1A1A1A;color:#FFFFFF}
  .pv-btn.wc{background:#1A1A1A;color:#FFFFFF}
  .pv-btn.ghost{background:rgba(255,255,255,.12);color:#E8E8E8;flex:0 0 auto;padding:13px 16px}
  .pv-btn.link{background:rgba(255,255,255,.16);color:#E8E8E8;font-size:12px;padding:13px 6px}
  .pv-loading{flex:1;display:flex;align-items:center;justify-content:center;color:#9E9E9E;font-size:12px}
  .pv-keep{padding:2px 2px 14px;text-align:center;color:#1A1A1A;font-size:12px;line-height:1.7}
  .pv-keep b{color:#E8E8E8}
  .pv-keep span{color:#1A1A1A;text-decoration:underline;cursor:pointer}
  .dl-sh-cl{font-size:12px;color:#9E9E9E}
  .dl-sh-chip{padding:5px 10px;border:1px solid var(--bd);background:var(--bg);border-radius:2px;
    font-size:12px;color:#1A1A1A;cursor:pointer}
  .dl-sh-row{display:flex;gap:6px;margin-top:10px}
  .dl-sh-row .qs-in{padding:8px 10px;font-size:12px}
  .dl-sh-foot{display:flex;gap:8px;margin-top:11px}
  .dl-sh-foot .btn{flex:1}
 /* ===== 🎙 语音开单：听写 + 智能整理 ===== */
  .qs-mic-ico{font-size:20px;line-height:1;display:block}
  /* 录音中的四格声波：不转圈，让它真的"跳"，一眼看出在收音 */
  .qs-eq{display:inline-flex;align-items:flex-end;gap:3px;height:22px}
  .qs-eq i{display:block;width:4px;border-radius:2px;background:var(--card);height:6px;
    }
  .qs-eq i:nth-child(2){animation-delay:.15s}
  .qs-eq i:nth-child(3){animation-delay:.3s}
  .qs-eq i:nth-child(4){animation-delay:.45s}
  @keyframes qseq{0%,100%{height:6px;opacity:.75}50%{height:20px;opacity:1}}
  .qs-ta-wrap{margin-top:9px}
  .qs-ta-wrap .qs-ta{margin-top:0}
  .qs-ta-bar{display:flex;align-items:center;gap:8px;margin-top:6px}
  .qs-cnt{flex:1;font-size:12px;color:#9E9E9E}
  .qs-tidy{border:1px solid #E8E8E8;background:#FAFAFA;color:#1A1A1A;font-size:12px;
    font-weight:700;padding:5px 11px;border-radius:2px;cursor:pointer;font-family:inherit;white-space:nowrap}
  .qs-tidy:active{background:#E8E8E8}
  .qs-tidy-tip{margin-top:7px;padding:8px 10px;border-radius:2px;background:#FAFAFA;
    border:1px solid #E8E8E8;font-size:12px;color:#1A1A1A;line-height:1.7}
  .qs-tidy-tip b{color:#1A1A1A}
  .qs-tidy-tip em{font-style:normal;background:#FAFAFA;border-radius:2px;padding:0 3px;color:#1A1A1A}
  /* 不支持语音时的说明块 */
  .qs-nosp{margin-top:10px;padding:10px 11px;border-radius:2px;background:#FAFAFA;
    border:1px solid #E8E8E8;font-size:12px;color:#6E6E6E;line-height:1.75}
  .qs-nosp b{color:#6E6E6E}
  .qs-nosp-row{display:flex;gap:7px;margin-top:8px;flex-wrap:wrap}
  .qs-lv-wait{font-size:12px;color:#9E9E9E}
  .qs-lv-dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:#6E6E6E;
    margin-right:5px;}
  @keyframes qseq2{0%,100%{opacity:.35}50%{opacity:1}}
  /* ===== 🔐 授权确认（日式：白底、细线、大留白） ===== */
  .auth-big{display:flex;align-items:center;gap:12px;width:100%;padding:14px 14px;margin-top:8px;
    border:1px solid #E8E8E8;border-radius:2px;background:var(--card);cursor:pointer;font-family:inherit;
    text-align:left;transition:border-color .15s ease,background .15s ease}
  .auth-big:active{border-color:#1A1A1A;background:var(--bg)}
  .auth-big.ghost{background:#E8E8E8}
  .auth-big.busy{opacity:.55;pointer-events:none}
  .auth-em{width:34px;height:34px;flex-shrink:0;display:flex;align-items:center;justify-content:center;
    border-radius:50%;background:#E8E8E8;font-size:14px}
  .auth-t{display:block;font-size:14px;font-weight:700;color:#1A1A1A;letter-spacing:.02em}
  .auth-d{display:block;font-size:12px;color:#9E9E9E;margin-top:2px;line-height:1.5}
  .auth-or{display:flex;align-items:center;gap:10px;margin:14px 0 2px;color:#E8E8E8;font-size:12px}
  .auth-or:before,.auth-or:after{content:"";flex:1;height:1px;background:#E8E8E8}
/* ==================== 🏯 日式界面层（全局） ====================
   原则（和报价单一致）：
     ① 白纸感：去掉彩色渐变按钮、彩色底、重投影，全站回到白底 + 一点灰
     ② 线说话：用 1px 的浅线分层，而不是阴影堆叠
     ③ 少颜色：只用「墨黑 / 中灰 / 淡灰 / 深蓝」四个色，红只用于真异常，
        绿只用于「已完成」，不再给每种状态配一个糖果色
     ④ 直角+大留白：圆角收到 4px，卡片之间留白拉开，让信息自己呼吸
   这样手机上不刺眼、打印不费墨，看数据也更快。 */
:root{
  --wa-ink:#1A1A1A;      /* 墨 */
  --wa-ink2:#9E9E9E;     /* 中灰 */
  --wa-ink3:#9E9E9E;     /* 淡灰 */
  --wa-line:#E8E8E8;     /* 发丝线 */
  --wa-line2:#FFFFFF;    /* 更淡 */
  --wa-bg:#FFFFFF;       /* 纸 */
  --wa-accent:#1A1A1A;   /* 深蓝（唯一强调色） */
  --wa-red:#6E6E6E;
  --wa-green:#9E9E9E;
}
html,body{background:var(--wa-bg)}
body{color:var(--wa-ink);-webkit-font-smoothing:antialiased}
/* 卡片：白底 + 发丝线，彻底去阴影 */
.panel,.stat,.kpi,.card,.qs-req,.dl-item,.sys-mode{
  background:var(--card);border:1px solid var(--wa-line);box-shadow:none;border-radius:2px}
.panel{padding:16px 15px;margin-bottom:14px}
.panel h3{font-size:12px;font-weight:700;letter-spacing:.06em;color:var(--wa-ink);
  padding-bottom:9px;margin-bottom:12px;border-bottom:1px solid var(--wa-line)}
.panel h3 em{font-size:12px;color:var(--wa-ink3);letter-spacing:0}
.stat{border-radius:2px}
.stat .num{font-weight:600;color:var(--wa-ink);letter-spacing:-.02em}
.stat .label{color:var(--wa-ink3);font-size:12px;letter-spacing:.04em}
/* 按钮：实心改深蓝、直角、无渐变无投影；次要按钮纯文字线条 */
.btn{background:var(--wa-accent);border-radius:2px;box-shadow:none;font-weight:600;
  letter-spacing:.04em;font-size:14px;padding:11px 16px}
.btn:active{transform:none;opacity:.86}
.btn.ghost{background:var(--card);color:var(--wa-ink2);border:1px solid var(--wa-line)}
.btn.ghost:active{background:#E8E8E8}
.btn.green{background:var(--wa-green)}
.btn.danger{background:var(--card);color:var(--wa-red);border:1px solid #E8E8E8}
.btn.sm{border-radius:2px}
/* 标签：不用糖果色，统一灰底，靠文字表达 */
.tag{background:var(--bg);color:var(--wa-ink2);border-radius:2px;font-weight:500;letter-spacing:.02em}
.tag.g{background:#FAFAFA;color:var(--wa-green)}
.tag.o{background:#FAFAFA;color:#9E9E9E}
.tag.r{background:#FAFAFA;color:var(--wa-red)}
.tag.p,.tag.c{background:#E8E8E8;color:var(--wa-ink2)}
.tag.gray{background:var(--bg);color:var(--wa-ink3)}
/* 列表卡：靠线分，不靠投影 */
.card{border:0;border-bottom:1px solid var(--wa-line2);border-radius:2px;padding:12px 2px}
.card:last-child{border-bottom:0}
.card .name{font-weight:600;color:var(--wa-ink)}
.card .meta{color:var(--wa-ink3)}
/* 输入框/选择器 */
.search,.field input,.field select,.field textarea,.qs-in,.qs-ta{
  border:1px solid var(--wa-line);border-radius:2px;background:var(--card)}
.search:focus,.field input:focus,.field select:focus,.field textarea:focus{
  border-color:var(--wa-accent);box-shadow:none}
.field label{color:var(--wa-ink3);letter-spacing:.04em}
/* 顶部/底部导航：白底、一条线，不做毛玻璃 */
.app-top,.ent-top,.hd,.topbar{backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
/* 弹窗：白纸 + 细线 */
.modal,.mbox,.dl-sheet{border-radius:2px;box-shadow:none}
.modal-bg{background:rgba(28,27,25,.42);backdrop-filter:none;-webkit-backdrop-filter:none}
/* 图表/统计区降低饱和度 */
canvas{opacity:.96}
/* 分隔线统一 */
hr{border:0;border-top:1px solid var(--wa-line)}
/* 空态 */
.empty{color:var(--wa-ink3);letter-spacing:.04em}
/* 首页大数字：细一点、更像报表 */
.stat .num,.kpi .v{font-variant-numeric:tabular-nums}
/* —— 离线待同步提示：一条细横线 + 一行字，不加感叹号图标。
     现场没信号是常态，提醒要轻，别让人一进门就看见个红感叹号 —— */
.oq-bar{position:fixed;left:0;right:0;bottom:0;z-index:80;display:flex;align-items:center;
  gap:10px;padding:10px 16px calc(10px + env(safe-area-inset-bottom));
  background:var(--card);border-top:1px solid var(--bd);font-size:12px;color:var(--t);
  letter-spacing:.03em}
.oq-bar .oq-d{width:5px;height:5px;border-radius:50%;background:var(--orange);flex:none}
.oq-bar .oq-tx{flex:1}
.oq-bar .oq-a{color:var(--p);font-weight:500;cursor:pointer;padding:2px 4px}
.mq-bar{background:#E8E8E8}

/* —— 报价产出分析看板 ——
   设计取向：一行四个大数字先给结论，下面才是走势和明细。
   手机上表格横向能滑，不挤压；零产出用红色数字，一眼扫到。 */
.qa-kpis{display:grid;grid-template-columns:repeat(2,1fr);gap:9px;margin-bottom:14px}
.qa-kpi{background:var(--card);border:1px solid var(--bd);border-radius:2px;padding:12px 11px}
.qa-kpi-l{font-size:12px;color:var(--m);letter-spacing:.06em}
.qa-kpi-v{font-size:20px;font-weight:600;color:var(--t);line-height:1.25;
  margin-top:3px;font-variant-numeric:tabular-nums;letter-spacing:-.01em}
.qa-kpi-s{font-size:12px;color:var(--m);margin-top:2px}
.qa-kpi.ok .qa-kpi-v{color:var(--green)}
.qa-kpi.warn .qa-kpi-v{color:var(--red)}

/* 月度柱状：两根并排，实心=金额，浅色=单数 */
.qa-legend{display:flex;gap:14px;font-size:12px;color:var(--m);margin:-4px 0 10px}
.qa-legend i{display:inline-block;width:9px;height:9px;border-radius:2px;margin-right:4px}
.qa-legend i.amt{background:var(--p)}
.qa-legend i.cnt{background:#E8E8E8}
.qa-bars{display:flex;align-items:flex-end;gap:5px;height:150px;
  padding-top:6px;overflow-x:auto;-webkit-overflow-scrolling:touch}
.qa-bar-w{flex:1;min-width:34px;display:flex;flex-direction:column;
  align-items:center;height:100%}
.qa-bar-b{flex:1;width:100%;display:flex;align-items:flex-end;
  justify-content:center;gap:2px}
.qa-bar{width:8px;border-radius:2px}
.qa-bar.amt{background:var(--p)}
.qa-bar.cnt{background:#E8E8E8}
.qa-bar-x{font-size:11;color:var(--m);margin-top:5px;white-space:nowrap}
.qa-bar-v{font-size:11;color:var(--t);font-variant-numeric:tabular-nums}

/* 明细表：手机上横向滚动，表头吸顶 */
.qa-tbl{overflow-x:auto;-webkit-overflow-scrolling:touch}
.qa-tr{display:flex;min-width:100%;width:max-content;
  border-bottom:1px solid var(--line2,#E8E8E8);padding:8px 0}
.qa-tr.qa-th{border-bottom:1px solid var(--bd);padding:6px 0}
.qa-th .qa-td{font-size:12px;color:var(--m);font-weight:600;letter-spacing:.04em}
.qa-td{font-size:12px;color:var(--t);padding:0 7px;white-space:nowrap}
.qa-td:first-child{padding-left:2px}
.qa-tr:not(.qa-th) .qa-td{width:72px;overflow:hidden;text-overflow:ellipsis}
.qa-tr:not(.qa-th) .qa-td:first-child{width:auto;min-width:104px;flex:1}
.qa-td.num{text-align:right;font-variant-numeric:tabular-nums}
.qa-td.hi{color:var(--p);font-weight:600}
.qa-td.zero{color:var(--red);font-weight:600}

/* ===== 📱 手机端统一交互规范（安卓 / 华为使用习惯）=====
   下面这些只在「真机触摸屏」上生效，电脑上一个像素都不动。
   判断依据：hover:none 且 pointer:coarse —— 有鼠标的笔记本 / 平板外接键鼠都不会命中。

   改这三件事：
     ① 触摸目标抬到 48dp 以上（Material Design 的下限）
        实测页面里大量按钮只有 26~38px，手指按下去不是点空就是误触隔壁。
     ② 按下去要有「形变反馈」
        以前只是变透明度，手指感觉不到自己按中了没有；
        安卓的习惯是整块轻微缩一下 + 压暗，按下去有实感。
     ③ 主操作往屏幕下半部分靠
        单手握机时大拇指自然扫过的就是下半屏，重要的按钮别放在够不着的顶上。 */
@media (hover:none) and (pointer:coarse){
  /* 主按钮：高度、内边距、字号一起抬 */
  .btn{min-height:48px;padding:13px 18px;font-size:14px}
  .btn.sm{min-height:44px;padding:11px 14px}
  /* 分类 / 筛选这类小标签是最难点的一档，从 26px 抬到 44px */
  .nq-cat,.chip,.qs-q,.tag-btn,.filt{min-height:44px;padding:10px 14px;
    font-size:12px;display:inline-flex;align-items:center;justify-content:center}
  /* 列表行：加高到 52px，按下去有实感，也不容易点错行 */
  .list-item,.dl-item{min-height:52px;padding:12px 14px}
  /* 卡片整体可点时，给个明确的按下反馈 */
  .card:active,.qa-kpi:active{transform:scale(.985)}
  /* 统一的按下去反馈：缩放 + 压暗，比只改透明度清楚得多 */
  .btn:active,.nq-cat:active,.chip:active,.qs-q:active,
  .list-item:active,.dl-item:active,.fab:active,.bot-fab:active{
    transform:scale(.96);filter:brightness(.93)}
  .btn:active,.list-item:active{}
  /* 「重开一单」是清空操作，更要够大 —— 太容易手滑点到就白干了 */
  .nq-reset,.nq-add{min-height:44px;padding:10px 14px}
  /* 小图标按钮看不见边界时，用透明内边距把可点范围撑到 44px，
     视觉上还是那个小图标，手指按到的却是一整块 */
  .icon-btn,.mini-btn{position:relative}
  .icon-btn::after,.mini-btn::after{content:"";position:absolute;
    left:50%;top:50%;transform:translate(-50%,-50%);
    width:44px;height:44px}
  /* 表头吸顶时别被顶栏盖住 */
  .qa-th{position:sticky;top:0;background:var(--card);z-index:2}
  /* 弹窗里的主按钮吸到底部：
     表单填完，按钮常常被挤到屏幕外，得滚到底才够得着。
     吸底之后拇指原地就能按，也避开了华为的手势导航条。 */
  .act-bar{position:sticky;bottom:0;background:var(--card);z-index:3;
    padding:12px 18px calc(12px + var(--sab));
    border-top:1px solid var(--bd);margin:14px -18px 0}
  .act-bar .btn{width:100%}
  /* 两个按钮并排时，主操作在右（安卓习惯：确认靠右、返回靠左） */
  .act-bar.duo{display:flex;gap:10px}
  .act-bar.duo .btn{flex:1}
  .act-bar.duo .btn.ghost{flex:0 0 38%}
}
/* 长按弹出的常用操作菜单：安卓上长按列表项是肌肉记忆，复制 / 导出都在那一按里 */
.lp-bg{position:fixed;left:0;right:0;top:0;bottom:0;z-index:9700;background:rgba(28,27,25,.34)}
.lp-menu{position:fixed;z-index:9710;background:var(--card);border-radius:2px;
  min-width:172px;max-width:78vw;padding:6px;
  box-shadow:none}
.lp-it{display:flex;align-items:center;gap:11px;width:100%;border:none;background:none;
  padding:13px 15px;font-size:14px;color:var(--t);border-radius:2px;
  font-family:inherit;cursor:pointer;text-align:left;min-height:48px}
.lp-it:active{background:var(--bg)}
.lp-it .e{font-size:14px;width:20px;text-align:center;flex:none}
/* 菜单顶上那行：这条数据叫什么。点它没反应，只用来确认点对了没有 */
.lp-hd{padding:9px 14px 3px;font-size:12px;color:var(--m);letter-spacing:.02em;
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:62vw}
.lp-sep{height:1px;background:var(--bd);margin:5px 9px}

/* ===== 🏠 首页三级层次 =====
   以前所有区块都是平级白卡，眼睛扫过去找不到该先看哪。
   现在按「重要程度」分三层，靠色边、底色、字号的组合区分，不靠阴影堆叠：
     L1 焦点 —— 一条色边 + 微色底，今天最该动手的一件事
     L2 数据 —— 白底细线，数字大、字少，一眼扫完
     L3 明细 —— 灰底、字小一号，不抢戏，要再看才展开 */
.ov-focus{display:flex;align-items:center;gap:13px;background:var(--card);
  border:1px solid var(--bd);border-left:4px solid var(--p);
  border-radius:2px;padding:15px 14px;margin-bottom:12px;
  position:relative;overflow:hidden}
.ov-focus::after{content:"";position:absolute;inset:0;pointer-events:none;
  background:transparent}
.ov-focus.warn{border-left-color:var(--red)}
.ov-focus.warn::after{background:transparent}
.ov-focus.ok{border-left-color:var(--green)}
.ov-focus.ok::after{background:transparent}
.ov-focus .ov-f-ic{font-size:20px;flex:none;line-height:1}
.ov-focus .ov-f-t{font-size:14px;font-weight:800;letter-spacing:-.01em;line-height:1.3}
.ov-focus .ov-f-d{font-size:12px;color:var(--m);margin-top:3px;line-height:1.5}
.ov-focus .ov-f-go{margin-left:auto;flex:none;font-size:12px;font-weight:600;
  color:var(--p);padding:7px 0;white-space:nowrap}
.ov-focus.warn .ov-f-go{color:var(--red)}

/* L2 关键数字：紧凑横排，数字为主 */
.ov-nums{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-bottom:12px}
.ov-num{background:var(--card);border:1px solid var(--bd);border-radius:2px;
  padding:12px 6px;text-align:center}
.ov-num .n{font-size:20px;font-weight:700;line-height:1.15;
  font-variant-numeric:tabular-nums;letter-spacing:-.01em}
.ov-num .n em{font-size:12px;font-weight:500;color:var(--m);font-style:normal;margin-left:1px}
.ov-num .l{font-size:12px;color:var(--m);margin-top:4px;letter-spacing:.02em}

/* L3 明细：灰底压一层，不跟上面抢戏 */
.ov-detail .panel{background:var(--bg);border-color:var(--line2,#E8E8E8)}
/* 列表项左右滑滑出的操作按钮条：从右侧滑入，盖在列表项上；
   只针对这一条记录，点一下就触发 查看 / 复制 / 导出 等对应操作。 */
.list-item,.card,.dl-item,.qa-tr{position:relative}
.li-act{position:absolute;right:0;top:0;bottom:0;display:flex;align-items:center;
  gap:2px;padding:0 8px;z-index:6;max-width:82%;
  transform:translateX(100%);}
.list-item.li-sw .li-act,.card.li-sw .li-act,.dl-item.li-sw .li-act,.qa-tr.li-sw .li-act{
  transform:translateX(0)}
.li-b{border:none;background:transparent;display:flex;flex-direction:column;
  align-items:center;justify-content:center;gap:2px;padding:6px 10px;
  min-width:52px;min-height:52px;color:#FFFFFF;font-family:inherit;cursor:pointer;border-radius:2px}
.li-b span{font-size:12px;font-weight:600}
.li-b[data-a="open"]{background:#1A1A1A}
.li-b[data-a="copy"]{background:#1A1A1A}
.li-b[data-a="export"]{background:#9E9E9E}


/* ============ 随手查（手册问答） ============ */
.ent-help{ position:relative; border:1px solid var(--ent-bd); background:var(--card); width:34px; height:34px; border-radius:2px;
  font-size:14px; font-weight:800; color:#1A1A1A; display:flex; align-items:center; justify-content:center; }
.ent-help:active{ transform:scale(.94); }
.hp{ position:fixed; inset:0; z-index:9997; display:none; }
.hp.show{ display:block; }
.hp-mask{ position:absolute; inset:0; background:rgba(28,27,25,.42); animation:hpFade .18s ease; }
@keyframes hpFade{ from{opacity:0} to{opacity:1} }
.hp-sheet{ position:absolute; left:0; right:0; bottom:0; max-height:88vh; background:var(--bg);
  border-radius:2px; display:flex; flex-direction:column;
  box-shadow:none; animation:hpUp .22s cubic-bezier(.22,.8,.3,1);
  padding-bottom:env(safe-area-inset-bottom,0px); }
@keyframes hpUp{ from{transform:translateY(100%)} to{transform:translateY(0)} }
.hp-hd{ display:flex; align-items:center; gap:8px; padding:10px 16px 6px; }
.hp-hd .t{ font-size:14px; font-weight:800; color:#1A1A1A; }
.hp-hd .t em{ font-style:normal; font-size:12px; font-weight:500; color:#9E9E9E; margin-left:6px; }
.hp-x{ margin-left:auto; border:none; background:none; font-size:14px; color:#9E9E9E; padding:4px 6px; }
.hp-in{ display:flex; align-items:center; gap:8px; margin:2px 14px 8px; background:var(--card); border:1px solid #E8E8E8;
  border-radius:2px; padding:9px 12px; }
.hp-in:focus-within{ border-color:#1A1A1A; box-shadow:none; }
.hp-in input{ flex:1; border:none; outline:none; background:none; font-size:14px; color:#1A1A1A; }
.hp-in input::placeholder{ color:#9E9E9E; font-size:12px; }
.hp-in .ic{ font-size:12px; opacity:.5; }
.hp-clr{ border:none; background:#E8E8E8; color:#9E9E9E; width:18px; height:18px; border-radius:2px; font-size:11; display:none; }
.hp-clr.on{ display:block; }
.hp-chips{ display:flex; gap:6px; padding:0 14px 8px; overflow-x:auto; -webkit-overflow-scrolling:touch; }
.hp-chips::-webkit-scrollbar{ display:none; }
.hp-chip{ flex:none; border:1px solid #E8E8E8; background:var(--card); color:#1A1A1A; font-size:12px;
  padding:5px 10px; border-radius:2px; white-space:nowrap; }
.hp-chip:active{ background:#FAFAFA; border-color:#1A1A1A; color:#1A1A1A; }
.hp-body{ overflow-y:auto; -webkit-overflow-scrolling:touch; padding:0 14px 20px; }
.hp-manual{ display:flex; align-items:center; justify-content:space-between; gap:12px;
  background:#FAFAFA; border:1px solid #E8E8E8; border-left:1px solid #1A1A1A;
  padding:11px 13px; margin:2px 0 12px; cursor:pointer; }
.hp-manual b{ display:block; font-size:14px; color:#1A1A1A; font-weight:700; }
.hp-manual span{ display:block; font-size:11px; color:#9E9E9E; margin-top:2px; line-height:1.5; }
.hp-manual i{ font-style:normal; font-size:12px; color:#1A1A1A; white-space:nowrap; }
.hp-manual:active{ background:#E8E8E8; }
.hp-lbl{ font-size:12px; color:#9E9E9E; font-weight:600; padding:6px 2px 7px; display:flex; align-items:center; gap:5px; }
.hp-lbl b{ color:#1A1A1A; font-weight:700; }
.hp-card{ background:var(--card); border:1px solid #E8E8E8; border-radius:2px; padding:12px 13px; margin-bottom:9px; }
.hp-card.top{ border-color:#E8E8E8; box-shadow:none; }
.hp-ct{ font-size:14px; font-weight:700; color:#1A1A1A; line-height:1.45; }
.hp-ct .sc{ font-size:10.5; font-weight:600; color:#1A1A1A; background:#FAFAFA; border-radius:2px;
  padding:1px 5px; margin-left:5px; vertical-align:1px; }
.hp-ca{ font-size:12px; color:#1A1A1A; line-height:1.68; margin-top:6px; white-space:pre-line; }
.hp-ca b{ color:#1A1A1A; }
.hp-step{ font-size:12px; color:#1A1A1A; line-height:1.7; margin-top:5px; padding-left:2px; }
.hp-step i{ font-style:normal; display:inline-block; width:15px; height:15px; line-height:15px; text-align:center;
  background:#FAFAFA; color:#1A1A1A; border-radius:50%; font-size:10.5; font-weight:700; margin-right:5px; }
.hp-go{ display:inline-flex; align-items:center; gap:4px; margin-top:9px; border:1px solid #E8E8E8; background:#FAFAFA;
  color:#1A1A1A; font-size:12px; font-weight:700; padding:5px 11px; border-radius:2px; }
.hp-go:active{ background:#E8E8E8; }
.hp-empty{ text-align:center; padding:26px 18px 10px; }
.hp-empty .em{ font-size:20px; }
.hp-empty .t1{ font-size:12px; font-weight:700; color:#1A1A1A; margin-top:10px; }
.hp-empty .t2{ font-size:12px; color:#9E9E9E; line-height:1.7; margin-top:6px; }
.hp-empty .miss{ display:inline-block; margin-top:10px; border:1px solid #E8E8E8; color:#1A1A1A;
  font-size:12px; padding:5px 11px; border-radius:2px; background:var(--card); }
.hp-foot{ text-align:center; padding:12px 0 4px; }
.hp-foot button{ border:none; background:none; color:#1A1A1A; font-size:12px; font-weight:600; }
/* 手册页 */
/* 使用手册头卡：白底藏青，不用白色文字（主题会把渐变底刷掉，白字会看不见） */
.hb-hero{ background:#FFFFFF; border:1px solid #E8E8E8; border-top:1px solid #1A1A1A; border-radius:2px; padding:16px 17px; color:#1A1A1A; margin-bottom:12px; }
.hb-hero h3{ font-size:14px; font-weight:800; margin:0 0 5px; color:#1A1A1A; letter-spacing:.06em; }
.hb-hero p{ font-size:12px; line-height:1.75; color:#1A1A1A; margin:0; }
.hb-hero p b{ color:#6E6E6E; }
.hb-hero .hb-act{ display:flex; gap:8px; margin-top:11px; flex-wrap:wrap; }
.hb-hero .hb-act a,.hb-hero .hb-act button{ background:#1A1A1A; border:1px solid #1A1A1A; color:#FFFFFF;
  color:#FFFFFF; font-size:12px; font-weight:600; padding:6px 12px; border-radius:2px; text-decoration:none; }
/* 问一句就行：这一页的主角是一个输入框，不是一堆条目 */
.hb-ask{ display:flex; gap:8px; margin-top:13px; }
.hb-ask input{ flex:1; min-width:0; height:42px; border:1px solid #E8E8E8; border-radius:2px;
  padding:0 12px; font-size:14px; background:#FFFFFF; color:#1A1A1A; }
.hb-ask input:focus{ outline:none; border-color:#1A1A1A; box-shadow:none; }
.hb-ask button{ height:42px; padding:0 18px; background:#1A1A1A; color:#FFFFFF; border:1px solid #1A1A1A;
  border-radius:2px; font-size:14px; font-weight:600; cursor:pointer; }
.hb-chips{ display:flex; flex-wrap:wrap; gap:6px; margin-top:10px; }
.hb-chips button{ background:#E8E8E8; border:1px solid #E8E8E8; color:#1A1A1A; border-radius:999px;
  padding:6px 11px; font-size:12px; cursor:pointer; }
.hb-chips button:active{ background:#E8E8E8; }
.hb-sec{ background:var(--card); border:1px solid #E8E8E8; border-radius:2px; margin-bottom:10px; overflow:hidden; }
.hb-sec > .h{ display:flex; align-items:center; gap:8px; padding:11px 13px; border-bottom:1px solid #E8E8E8; }
.hb-sec > .h .n{ width:20px; height:20px; border-radius:2px; background:#FAFAFA; color:#1A1A1A;
  font-size:12px; font-weight:800; display:flex; align-items:center; justify-content:center; }
.hb-sec > .h .t{ font-size:12px; font-weight:700; color:#1A1A1A; }
.hb-sec > .h .c{ margin-left:auto; font-size:12px; color:#9E9E9E; }
.hb-item{ padding:10px 13px; border-bottom:1px solid #E8E8E8; }
.hb-item:last-child{ border-bottom:none; }
.hb-item .q{ font-size:12px; font-weight:600; color:#1A1A1A; display:flex; gap:6px; }
.hb-item .q em{ font-style:normal; color:#1A1A1A; font-size:12px; }
.hb-item .a{ font-size:12px; color:#1A1A1A; line-height:1.7; margin-top:4px; }

/* ===== 合同到期提醒 ===== */
.ct-filebtn{display:flex;align-items:center;justify-content:center;gap:6px;width:100%;padding:11px;
  border:1px dashed var(--p);border-radius:2px;background:#E8E8E8;color:var(--p);
  font-size:12px;font-weight:600;cursor:pointer}
.ct-filebtn:active{background:#E8E8E8}

.ct-stat{display:flex;gap:6px;flex-wrap:wrap}
.ct-tools{display:flex;gap:6px;flex-wrap:wrap;margin:2px 0 8px}
.ct-tools .btn{font-size:12px;padding:7px 11px;width:auto;flex:0 0 auto;display:inline-block}
.ct-card{position:relative;padding:11px 12px;margin-bottom:8px;border:1px solid var(--bd);
  background:var(--card);border-radius:2px;cursor:pointer}
.ct-card.void{opacity:.5}
.ct-card.void .ct-name{text-decoration:line-through}
.ct-card.over{border-left:3px solid var(--red);padding-left:10px}
.ct-amt{margin-left:auto;font-variant-numeric:tabular-nums;font-weight:700;color:#1A1A1A;font-size:12px}
.ct-name em{font-style:normal;font-weight:500;color:var(--m);font-size:12px;margin-left:5px}
.ct-lifts em{font-style:normal;color:#9E9E9E;margin-left:3px}
/* 账页四个数：台 / 合同额 / 已开票 / 欠款 —— 横排四格，扫一眼就知道成色 */
.ct-lg{display:grid;grid-template-columns:repeat(4,1fr);gap:6px;margin-top:11px}
.ct-lg>div{background:#E8E8E8;border-radius:2px;padding:8px 6px;text-align:center;min-width:0}
.ct-lg b{display:block;font-size:14px;font-variant-numeric:tabular-nums;color:var(--t);
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ct-lg span{display:block;font-size:12px;color:var(--m);margin-top:2px}
.ct-lg i{display:block;font-style:normal;font-size:10.5;color:#9E9E9E;margin-top:3px;line-height:1.25;font-weight:400}
.ct-lg>div.on{background:#FAFAFA}
.ct-lg>div.on b{color:var(--red)}
/* 账页分块：一块一件事，块与块之间留白，扫起来不串行 */
.lg-wrap{margin-top:10px}
.lg-sec{background:var(--card);border:1px solid var(--bd);border-radius:2px;margin-bottom:8px;overflow:hidden}
.lg-hd{display:flex;align-items:center;gap:7px;padding:9px 11px;background:var(--bg);border-bottom:1px solid #E8E8E8}
.lg-hd i{width:19px;height:19px;border-radius:2px;background:var(--lgc);color:#FFFFFF;font-style:normal;
  font-size:12px;display:flex;align-items:center;justify-content:center;flex:none;font-weight:600}
.lg-hd b{font-size:12px;font-weight:700;color:var(--t)}
.lg-hd em{margin-left:auto;font-style:normal;font-size:12px;color:var(--m);font-variant-numeric:tabular-nums}
.lg-bd{padding:4px 11px 8px}
.lg-row{display:flex;gap:8px;align-items:flex-start;padding:7px 0;border-bottom:1px solid #E8E8E8}
.lg-row:last-child{border-bottom:none}
.lr-l{flex:1;min-width:0}
.lr-l b{display:block;font-size:12px;font-weight:700;color:var(--t);font-variant-numeric:tabular-nums}
.lr-l span{display:block;font-size:12px;color:var(--m);line-height:1.55;margin-top:1px;word-break:break-all}
.lr-r{flex:none;text-align:right;max-width:45%}
.lr-r em{display:block;font-style:normal;font-size:12px;color:#9E9E9E;margin-top:2px}
/* 单上原始写法：维修单写「京隆科技」、合同写全称，摆出来，对账时不用猜 */
.lg-src{display:block;font-style:normal;font-size:11;color:#9E9E9E;margin-top:2px}
.lg-tip{font-size:12px;color:#9E9E9E;line-height:1.55;padding:0 0 7px}
.lg-cat{display:inline-block;font-style:normal;font-size:10.5;color:#1A1A1A;background:#E8E8E8;
  border-radius:2px;padding:1px 5px;margin-right:4px}
.lg-cat.un{color:#9E9E9E;background:#E8E8E8}
.rp-parts{display:flex;flex-wrap:wrap;gap:4px;align-items:center;margin-top:6px}
.rp-parts b{font-weight:600;font-size:12px;color:#1A1A1A;background:#E8E8E8;border-radius:2px;padding:2px 6px}
.rp-parts b i{font-style:normal;color:#1A1A1A;margin-left:3px;font-size:10.5}
.rp-parts em{font-style:normal;font-size:10.5;color:#9E9E9E}
/* 长块先折起来：财务一天要看几十家，不该被 32 条维修记录挡住下面四块 */
.lg-cut:not(.lg-open) .lg-bd>.lg-row:nth-child(n+9){display:none}
.lg-more{text-align:center;font-size:12px;color:var(--blue);padding:7px 0 3px;cursor:pointer;user-select:none}
.lg-more .lg-m2{display:none}
.lg-open .lg-more .lg-m1{display:none}
.lg-open .lg-more .lg-m2{display:inline}
/* 一个客户的名字：全称、简称、楼栋名，一行摆完 */
.lg-alias{display:flex;align-items:center;gap:5px;flex-wrap:wrap;padding:0 0 8px;margin-bottom:6px;
  border-bottom:1px solid #E8E8E8;font-size:12px;color:var(--m)}
.lg-alias span{flex:none}
.lg-alias b{font-weight:600;font-size:12px;color:#1A1A1A;background:#E8E8E8;border-radius:2px;padding:2px 8px}
.lg-alias b.on{background:#E8E8E8;color:#1A1A1A}
.lg-alias b em.zy{font-style:normal;font-size:10.5;color:#FFFFFF;background:#1A1A1A;border-radius:2px;
  padding:1px 4px;margin-left:4px;vertical-align:1px;font-weight:400}
.lg-alias i{font-style:normal;color:var(--blue);cursor:pointer;font-size:12px;margin-left:2px}
.lg-pend{display:flex;align-items:center;gap:6px;flex-wrap:wrap;font-size:12px;color:var(--orange);
  background:#FAFAFA;border:1px solid #E8E8E8;border-radius:2px;padding:6px 9px;margin-bottom:8px}
.lg-pend b{font-weight:600}
.lg-pend button{font-size:12px;padding:2px 8px;border-radius:2px;border:1px solid #E8E8E8;background:var(--card);cursor:pointer}

.ct-top{display:flex;align-items:flex-start;gap:8px}
/* 客户名是 flex 子项，光写 flex:1 等于 flex-basis:auto ——
   名字一长（"苏州广泓源酒店管理有限公司"这种），基准宽度就按整串算，
   挤得右边那三个徽标没地方站，最后把 ct-top 整个撑成 529px 高、
   一行字竖着排下来。必须把基准压到 0，名字才会乖乖在格子里换行。 */
.ct-name{font-size:14px;font-weight:700;line-height:1.4;flex:1 1 0%;min-width:0;word-break:break-all}
.ct-lifts{font-size:12px;color:var(--m);flex:none;background:#E8E8E8;padding:2px 7px;border-radius:2px;white-space:nowrap}
.ct-mid{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin-top:6px;font-size:12px;color:var(--m)}
.ct-due{font-weight:700;color:var(--t);font-variant-numeric:tabular-nums;letter-spacing:.02em}
.ct-left{margin-left:auto;font-size:12px;font-weight:700}
.ct-left.r{color:var(--red)} .ct-left.o{color:var(--orange)} .ct-left.g{color:var(--green)}
.ct-note{font-size:12px;color:var(--m);margin-top:6px;line-height:1.6;padding-left:7px;border-left:1px solid #E8E8E8}
/* 复选框 width 必须写死并带 !important：
   全局有一条 body *{max-width:100%}，在 flex 里等于把基准宽度撑到容器满宽 ——
   于是这个 1078px 的方块把客户名挤成 0 宽，整张卡片竖着排成一条线。
   只在「风险 → 合同临期」出现，看着像表格坏了，其实是这颗勾选框。 */
.ct-sel{width:18px!important;min-width:18px!important;max-width:18px!important;
  height:18px;flex:0 0 auto!important;margin-top:1px;accent-color:var(--p)}
.ct-imp-box{max-height:250px;overflow:auto;border:1px solid var(--bd);border-radius:2px;margin-top:6px}
.ct-imp-tb{width:100%;border-collapse:collapse;font-size:12px}
.ct-imp-tb th,.ct-imp-tb td{border:1px solid var(--bd);padding:4px 6px;text-align:left;
  white-space:nowrap;max-width:140px;overflow:hidden;text-overflow:ellipsis}
.ct-imp-tb th{background:var(--bg);font-weight:600;position:sticky;top:0}
.ct-plist{max-height:320px;overflow:auto;border:1px solid var(--bd);border-radius:2px;margin-top:6px}
.ct-p{display:flex;align-items:center;gap:8px;padding:9px 10px;border-bottom:1px solid #E8E8E8;cursor:pointer}
.ct-p:last-child{border-bottom:none}
.ct-p:hover,.ct-p:active{background:#E8E8E8}
.ct-p .n{font-size:12px;font-weight:600}
.ct-p .d{font-size:12px;color:var(--m);margin-top:1px}
.ct-p .go{margin-left:auto;color:var(--p);font-size:12px;font-weight:600}

/* ===== 应收台账 ===== */
.ar-hit{font-style:normal;font-size:10.5;color:#1A1A1A;margin-left:5px;font-weight:500;opacity:.9}
.ar-kpi{display:flex;gap:6px}
.ar-kpi .k{flex:1;background:var(--bg);border:1px solid var(--bd);border-radius:2px;padding:8px 9px;min-width:0}
.ar-kpi .k span{display:block;font-size:12px;color:var(--m);line-height:1.4}
.ar-kpi .k b{display:block;font-size:14px;font-weight:800;letter-spacing:-.3px;margin:1px 0;font-variant-numeric:tabular-nums}
.ar-kpi .k em{display:block;font-size:10.5;color:var(--m);font-style:normal;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ar-kpi .k.red b{color:var(--red)}
/* ── 屏幕自适应（追款专项这类「一行里塞五样东西」的地方）
   窄屏把名字、超1年金额、徽标、合计、按钮挤在一行，最后一两样会被面板边缘裁掉，
   看起来就是「数据没了」。允许换行 + 窄屏自动收起次要信息，按钮永远留在看得见的地方。 */
/* ================== 客户信息集中采集 ==================
   一轮把客户资料收齐：谁的人谁去问，缺什么一眼看到，填完自动跳下一家。 */
.gd-hero{background:#FAFAFA;border:1px solid #E8E8E8;border-radius:2px;padding:16px 18px;margin-bottom:12px}
.gd-t1{font-size:14px;font-weight:800;color:#6E6E6E;letter-spacing:.3px}
.gd-t2{font-size:12px;color:#1A1A1A;margin-top:4px;line-height:1.6}
.gd-bar{height:8px;background:#FAFAFA;border-radius:2px;overflow:hidden;margin:13px 0 8px}
.gd-bar>i{display:block;height:100%;background:#1A1A1A;border-radius:2px;transition:width .5s}
.gd-nums{display:flex;justify-content:space-between;align-items:baseline;font-size:12px;color:#1A1A1A}
.gd-nums b{color:#6E6E6E;font-size:14px;margin:0 2px}
.gd-lack{display:flex;flex-wrap:wrap;gap:7px;margin-bottom:13px}
.gd-pill{background:#FFFFFF;border:1px solid #E8E8E8;border-radius:2px;padding:5px 12px;font-size:12px;color:#9E9E9E}
.gd-pill b{color:#6E6E6E;font-weight:800}
.gd-board{background:#FAFAFA;border:1px solid #E8E8E8;border-radius:2px;padding:4px 2px;margin-bottom:13px}
.gd-brow{display:flex;align-items:center;gap:10px;padding:10px 13px;border-top:1px solid #E8E8E8;flex-wrap:wrap}
.gd-brow:first-child{border-top:0}
.gd-bnm{flex:0 0 64px;font-weight:700;color:#6E6E6E;font-size:14px}
.gd-bbar{flex:1 1 90px;height:7px;background:#FAFAFA;border-radius:2px;overflow:hidden;min-width:60px}
.gd-bbar>i{display:block;height:100%;background:#1A1A1A}
.gd-bnum{flex:0 0 auto;text-align:right;font-size:12px;color:#1A1A1A;min-width:88px}
.gd-bgo{flex:0 0 auto;font-size:12px;color:#6E6E6E;cursor:pointer;border:1px solid #E8E8E8;background:#FFFFFF;border-radius:2px;padding:4px 10px}
.gd-tabs{display:flex;gap:6px;margin-bottom:10px;flex-wrap:wrap}
.gd-tab{padding:6px 14px;border-radius:2px;border:1px solid #E8E8E8;background:#FFFFFF;font-size:12px;color:#1A1A1A;cursor:pointer}
.gd-tab.on{background:#6E6E6E;border-color:#6E6E6E;color:#FFFFFF;font-weight:700}
.gd-search{width:100%;box-sizing:border-box;padding:10px 12px;border:1px solid #E8E8E8;border-radius:2px;font-size:14px;margin-bottom:10px;background:#FFFFFF}
.gd-row{display:flex;align-items:center;gap:9px;padding:11px 13px;background:#FFFFFF;border:1px solid #E8E8E8;border-radius:2px;margin-bottom:7px;flex-wrap:wrap}
.gd-row.ok{background:#FAFAFA}
.gd-rn{flex:1 1 150px;min-width:0;font-size:14px;font-weight:700;color:#6E6E6E;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.gd-rm{flex:1 1 100%;font-size:12px;color:#1A1A1A;line-height:1.5}
.gd-tag{display:inline-block;font-size:12px;padding:1px 6px;border-radius:2px;margin-left:5px;vertical-align:1px;font-weight:600}
.gd-tag.new{background:#FAFAFA;color:#9E9E9E;border:1px solid #E8E8E8}
.gd-tag.no{background:#FAFAFA;color:#6E6E6E;border:1px solid #E8E8E8}
.gd-tag.yes{background:#FAFAFA;color:#1A1A1A;border:1px solid #1A1A1A}
.gd-go{flex:0 0 auto;padding:7px 14px;border-radius:2px;border:1px solid #E8E8E8;background:#6E6E6E;color:#FFFFFF;font-size:12px;font-weight:700;cursor:pointer}
.gd-go.sm{background:#FFFFFF;color:#6E6E6E}
.gd-f{display:flex;flex-direction:column;gap:3px;margin-bottom:11px}
.gd-f label{font-size:12px;color:#1A1A1A;font-weight:600}
.gd-f label i{color:#6E6E6E;font-style:normal;margin-left:2px}
.gd-f input,.gd-f select{padding:10px 12px;border:1px solid #E8E8E8;border-radius:2px;font-size:14px;background:#FFFFFF;width:100%;box-sizing:border-box;color:#6E6E6E}
.gd-f input:focus,.gd-f select:focus{border-color:#6E6E6E;outline:0}
.gd-f .ph{font-size:12px;color:#6E6E6E}
.gd-2{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.gd-cand{background:#FAFAFA;border:1px solid #E8E8E8;border-radius:2px;padding:10px 12px;margin-bottom:13px;font-size:12px;color:#9E9E9E;line-height:1.7}
.gd-cand b{color:#6E6E6E}
.gd-cand .b2{margin-top:7px;display:flex;gap:7px;flex-wrap:wrap}
@media(max-width:560px){.gd-2{grid-template-columns:1fr}}
.ch-own{flex-wrap:wrap;row-gap:2px}
.ch-own>.ch-nm{flex:1 1 96px;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ch-own>.ch-num,.ch-own>.ch-badge,.ch-own>.ch-tot,.ch-own>.ch-go{flex:0 0 auto}
.ch-own>.ch-go{margin-left:auto}
/* 有些环境（预览器/精简模式）会给列表里的次要按钮打 data-ux-parked 隐藏掉，
   结果「导出」这个唯一的入口消失了。它是这行唯一要点的东西，必须一直在。 */
#main .ch-own>.ch-go[data-ux-parked],#main .ch-own>.ch-go{display:inline-flex!important;align-items:center}
.panel h3{flex-wrap:wrap;row-gap:5px}
@media (max-width:1180px){ .ch-own>.ch-tot{display:none} }
@media (max-width:980px){
  .ar-kpi{flex-wrap:wrap!important;border-bottom:0}
  .ar-kpi .k{flex:1 1 45%!important;min-width:0;border-bottom:1px solid #E8E8E8}
  .ar-kpi .k:last-child{flex:1 1 100%!important}
}
@media (max-width:720px){
  .ch-own>.ch-num{font-size:12px}
  .ch-own>.ch-badge{font-size:12px;padding:0 5px}
  .ch-own{gap:6px}
}
.ar-bar{display:flex;height:8px;border-radius:2px;overflow:hidden;background:var(--bg);margin-top:10px}
.ar-bar i{display:block;height:100%}
.ar-legend{display:flex;flex-wrap:wrap;gap:8px;margin-top:6px;font-size:11;color:var(--m)}
.ar-legend span{display:flex;align-items:center;gap:3px}
.ar-legend i{width:7px;height:7px;border-radius:2px;display:block}
.ar-tip{font-size:12px;color:var(--m);margin:2px 0 8px}
.ar-tip b{color:var(--t)}
.ar-item{background:var(--card);border:1px solid var(--bd);border-radius:2px;padding:9px 10px;margin-bottom:7px;cursor:pointer}
.ar-item:active{background:#E8E8E8}
.ar-item.old{border-left:3px solid var(--red);padding-left:8px}
.ar-item.mid{border-left:3px solid var(--orange);padding-left:8px}
.ar-item.paid{opacity:.62}
.ar-row1{display:flex;align-items:baseline;gap:8px}
.ar-cust{flex:1;font-size:12px;font-weight:700;line-height:1.35;word-break:break-all}
.ar-amt{flex:none;font-size:14px;font-weight:800;font-variant-numeric:tabular-nums;letter-spacing:-.2px}
.ar-item2{font-size:12px;color:var(--m);margin-top:3px;line-height:1.5;
  display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}
.ar-row3{display:flex;align-items:center;gap:5px;flex-wrap:wrap;margin-top:5px;font-size:11;color:var(--m)}
.ar-date{font-variant-numeric:tabular-nums}
.ar-own{background:#E8E8E8;padding:1px 5px;border-radius:2px}
.ar-tag{background:#E8E8E8;color:#1A1A1A;padding:1px 6px;border-radius:2px;font-size:10.5}
.ar-tag.on{background:#FAFAFA;color:#1A1A1A}
.ar-tag.paid{background:#E8E8E8;color:#1A1A1A}
.ar-days{color:var(--red);font-weight:700;margin-left:auto}
.ar-big{font-size:20px;font-weight:800;letter-spacing:-.6px;margin:4px 0 2px;font-variant-numeric:tabular-nums}
.ar-meta{display:flex;gap:10px;flex-wrap:wrap;font-size:12px;color:var(--m)}
.ar-note{font-size:12px;color:#1A1A1A;line-height:1.6;margin-top:8px;padding:8px 9px;
  background:var(--bg);border-radius:2px;border-left:1px solid #E8E8E8}


/* ===== 数据整顿：一个筐、四层折叠 ===== */
.td-hd{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}
.fold .fi{font-size:12px;font-weight:700;line-height:1;display:flex;align-items:center;justify-content:center}
.fold .ft{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.td-t{font-size:14px;font-weight:800;letter-spacing:.02em}
.td-s{font-size:12px;color:var(--m);margin-top:3px}
.td-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:12px}
.td-k{background:var(--bg);border:1px solid var(--bd);border-radius:2px;padding:9px 10px;min-width:0;cursor:pointer}
.td-k>span{display:block;font-size:12px;color:var(--m);line-height:1.4}
.td-k>b{display:block;font-size:20px;font-weight:800;line-height:1.2;margin:2px 0 0;font-variant-numeric:tabular-nums}
.td-k>em{display:block;font-size:11;color:var(--m);font-style:normal;margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.td-sec{font-size:12px;color:var(--m);font-weight:700;padding:8px 2px 2px;border-top:1px solid #E8E8E8;margin-top:4px}
.td-sec:first-child{border-top:none;margin-top:0}
.td-more{text-align:center;font-size:12px;color:var(--p);padding:10px 0 2px;cursor:pointer}
.td-note{font-size:12px;color:var(--m);margin-top:9px;text-align:center}
.td-note b{color:var(--p)}
.td-row{display:flex;align-items:center;gap:8px;padding:9px 2px;border-bottom:1px solid #E8E8E8}
.td-row:last-child{border-bottom:none}
.td-nm{flex:1;min-width:0;font-size:12px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.td-nm.w2{white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;line-height:1.45}
.td-sub{font-size:12px;color:var(--m);margin-top:3px;line-height:1.5;overflow:hidden;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;word-break:break-all}
.td-meta{flex:none;font-size:12px;color:var(--m);display:flex;gap:4px;flex-wrap:wrap;justify-content:flex-end}
.td-tag{background:#E8E8E8;border-radius:2px;padding:1px 5px;font-size:11;color:#1A1A1A}
.td-btn{flex:none;border:1px solid var(--bd);background:var(--card);border-radius:2px;padding:4px 9px;font-size:12px;color:var(--p);white-space:nowrap}
.td-cand{display:flex;flex-wrap:wrap;gap:6px;padding:8px 2px 10px;background:var(--bg);border-radius:2px;margin:2px 0 4px}
.td-cand-hd{width:100%;font-size:12px;color:var(--m)}
.td-c{border:1px solid var(--bd);background:var(--card);border-radius:2px;padding:5px 9px;font-size:12px;text-align:left;max-width:100%;line-height:1.5}
.td-c i{font-style:normal;color:var(--m);margin-left:5px;font-size:11}
.td-cand-ft{width:100%;display:flex;gap:6px;margin-top:4px}
.td-cand-ft input{flex:1;min-width:0;border:1px solid var(--bd);border-radius:2px;padding:6px 9px;font-size:12px}

/* 应收页的筛选条件不多，宁可换行也别横着切一半让人以为坏了 */
#ar-c1,#ar-c2{flex-wrap:wrap;overflow:visible;padding-bottom:0}

/* ===== 财务首屏：经营驾驶舱 ===== */
.fin-hero{background:#1A1A1A;border-radius:2px;padding:15px;color:#FFFFFF;margin-bottom:12px;box-shadow:none}
.fin-hd{display:flex;align-items:center;gap:7px;font-size:12px;opacity:.92;margin-bottom:12px}
.fin-dot{width:6px;height:6px;border-radius:50%;background:#1A1A1A;box-shadow:none;flex:none}
.fin-hd b{font-size:12px;letter-spacing:.5px}
.fin-hd em{margin-left:auto;font-style:normal;opacity:.65;font-size:12px}
.fin-row{display:grid;grid-template-columns:1fr 1fr;gap:10px}
#main{overflow-wrap:anywhere}      /* 型号、序列号这种长串，宁可断行也不许顶出屏幕 */
.ds-row{display:flex;gap:9px;align-items:flex-start;padding:9px 0;border-top:1px solid #E8E8E8;cursor:pointer}
.ds-row:first-of-type{border-top:0}
.ds-row:active{opacity:.72}
.ds-lv{width:7px;height:7px;border-radius:50%;flex:0 0 auto;margin-top:5px}
.ds-lv.l3{background:#6E6E6E;box-shadow:none}
.ds-lv.l2{background:#9E9E9E;box-shadow:none}
.ds-lv.l1{background:#9E9E9E;box-shadow:none}
.ds-t{flex:1 1 auto;min-width:0}
.ds-t b{display:block;font-size:12px;font-weight:800;color:#1A1A1A;line-height:1.45}
.ds-t span{display:block;font-size:12px;line-height:1.6;color:#1A1A1A;font-weight:600;margin-top:1px}
.ds-t em{display:block;font-style:normal;font-size:12px;line-height:1.6;color:#9E9E9E;font-weight:700;margin-top:3px}
.ds-st{flex:0 0 auto;font-size:12px;font-weight:800;color:#6E6E6E;white-space:nowrap;margin-top:1px}
.ds-row.done{opacity:.5}
.ds-row.done .ds-t b{text-decoration:line-through}
.ds-row.done .ds-st{color:#1A1A1A}
.vf-quiet{padding:2px 13px 4px}
.vf-qhd{font-size:12px;font-weight:800;color:#9E9E9E;letter-spacing:.4px;padding:11px 0 6px}
.vf-qrow{display:flex;align-items:center;gap:8px;padding:13px 0;border-top:1px solid #E8E8E8;cursor:pointer}
.vf-qrow:active{opacity:.65}
.vf-qrow span{flex:1 1 auto;font-size:12px;font-weight:700;color:#1A1A1A}
.vf-qrow em{font-style:normal;font-size:12px;font-weight:700;color:#9E9E9E;font-family:ui-monospace,monospace}
.vf-qrow b{flex:0 0 auto;font-size:12px;font-weight:800;color:#1A1A1A}
.vf-calm{border:1px solid #E8E8E8;border-radius:2px;padding:11px 13px;margin:0 0 10px;
  background:#FFFFFF}
.vf-calm b{display:block;font-size:12px;font-weight:800;color:#1A1A1A;margin-bottom:3px}
.vf-calm span{display:block;font-size:12px;line-height:1.7;color:#1A1A1A;font-weight:600}
.vf-sec.quiet{padding:0 13px}
.vf-sec.quiet h3{margin:0;padding:12px 0;font-size:12px}
.vf-sec.quiet h3 em{opacity:.85}
.fin-row.solo{grid-template-columns:1fr}
.fin-row.solo .fin-k>b{font-size:20px;letter-spacing:-.8px}
.fin-foot{margin-top:8px;font-size:12px;line-height:1.6;color:rgba(255,255,255,.62);font-weight:600}
.fin-k{background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.14);border-radius:2px;padding:10px 11px;min-width:0}
.fin-k>span{font-size:12px;opacity:.78;display:block}
.fin-k>b{display:block;font-size:20px;font-weight:800;letter-spacing:-.5px;margin:3px 0 1px;line-height:1.15;white-space:nowrap}
.fin-k>b em{font-size:12px;font-weight:600;opacity:.7;margin-left:3px;font-style:normal}
.fin-k>i{font-size:12px;opacity:.72;font-style:normal;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.fin-k.hot{background:rgba(255,255,255,.17)}
.fin-k.hot>b{color:#6E6E6E}
.fin-age{margin-top:12px}
.fin-age-t{font-size:12px;opacity:.78;margin-bottom:5px}
.fin-age-t em{font-style:normal;color:#6E6E6E;font-weight:700}
.fin-bar{display:flex;height:7px;border-radius:2px;overflow:hidden;background:rgba(255,255,255,.14)}
.fin-bar i{display:block;height:100%}
.fin-lg{display:flex;flex-wrap:wrap;gap:8px;margin-top:6px;font-size:11;opacity:.82}
.fin-lg span{display:flex;align-items:center;gap:3px;white-space:nowrap}
.fin-lg i{width:6px;height:6px;border-radius:2px;display:inline-block}
.fin-skel{font-size:12px;opacity:.7;margin-top:10px}
.fin-todo-hd{display:flex;align-items:baseline;gap:8px;margin-bottom:8px}
.fin-todo-hd b{font-size:14px;font-weight:800}
.fin-todo-hd span{font-size:12px;color:var(--m)}
.fin-todo{display:flex;align-items:center;gap:10px;cursor:pointer;margin-bottom:7px}
.fin-todo-ic{flex:none;width:20px;display:flex;align-items:center;justify-content:center}
.fin-todo-ic i{width:8px;height:8px;border-radius:50%;background:var(--p);opacity:.5}
.fin-todo-ic i.hot{background:var(--red);opacity:1}
.fin-todo-t{font-size:14px;font-weight:700}
.fin-todo-d{font-size:12px;color:var(--m);margin-top:2px}
.fin-todo-go{flex:none;color:var(--m);font-size:20px}

/* ===== 品牌标：启迅电梯（矢量，投标/客户端统一） =====
   要换官方 logo：把 assets/logo-qixun.svg 换成同尺寸文件即可，这里不用动。 */
:root{--qx-logo:url("/static/assets/logo-qixun.png")}
.qx-logo{display:inline-block;background:var(--qx-logo) center/contain no-repeat}
.login-box .logo{width:64px;height:64px;margin:0 auto 10px;background:var(--qx-logo) center/contain no-repeat;font-size:0;line-height:0}
header h1 .qx-logo{width:1.24em;height:1.24em;margin-right:.36em;vertical-align:-.26em}
.ent-brand .ent-logo{background:var(--qx-logo) center/contain no-repeat;color:transparent;font-size:0;border-radius:50%}

/* ===== 入口导航：一屏之内把「地址 + 扫码 + 怎么发」讲完 ===== */
.nv-card{background:var(--card);border:1px solid var(--bd);border-radius:2px;padding:18px 16px 16px;text-align:center}
.nv-lbl{font-size:12px;color:var(--m);letter-spacing:.1em}
.nv-url{font-family:ui-monospace,Menlo,Consolas,monospace;font-size:14px;font-weight:700;
  color:var(--p);word-break:break-all;line-height:1.5;margin:7px 0 5px;cursor:pointer}
.nv-url:active{opacity:.6}
.nv-tip{font-size:12px;color:var(--m);line-height:1.6}
.nv-qr{display:flex;justify-content:center;align-items:center;min-height:96px;margin:15px 0 7px}
.nv-qr canvas{border-radius:2px;box-shadow:none}
.nv-qr-tip{font-size:12px;color:var(--m)}
.nv-btns{display:flex;gap:8px;margin-top:13px}
.nv-btns .btn{flex:1;min-width:0}
.nv-warn{background:#FAFAFA;border:1px solid #E8E8E8;color:#9E9E9E;border-radius:2px;
  padding:10px 12px;font-size:12px;line-height:1.7;margin:10px 0}
.nv-switch{background:var(--card);border:1px solid var(--bd);border-radius:2px;padding:11px 12px;margin:10px 0}
.nv-switch-l{font-size:12px;color:var(--m);margin-bottom:7px}
.nv-switch .chips{flex-wrap:wrap;overflow:visible}
.nv-pre{background:var(--bg);border:1px solid var(--bd);border-radius:2px;padding:12px;
  font-size:12px;line-height:1.85;white-space:pre-wrap;word-break:break-all;
  font-family:inherit;color:var(--t);margin:0}
.nv-row{display:flex;gap:10px;padding:8px 1px;border-bottom:1px solid #E8E8E8;font-size:12px;line-height:1.65}
.nv-row:last-child{border-bottom:none}
.nv-row>b{flex:none;width:62px;color:var(--m);font-weight:600}
.nv-row>span{flex:1;min-width:0}
.nv-row i{font-style:normal;font-family:ui-monospace,Menlo,monospace;background:#E8E8E8;
  padding:0 4px;border-radius:2px}
.nav-pubbox{display:flex;gap:8px;margin-top:10px}
.nav-pubbox input{flex:1;min-width:0;border:1px solid var(--bd);border-radius:2px;padding:9px 11px;
  font-size:12px;font-family:inherit}
.nav-pubbox .btn{width:auto;flex:none;font-size:12px;padding:9px 12px}
.nv-foot{margin:12px 0 58px}
.nv-foot .btn{display:block;text-align:center;text-decoration:none;line-height:1.4}

/* ===== 人事档案 / 工资单（2026-11 立骨架）===== */
.blank-box{background:var(--card);border:1px solid #E8E8E8;border-radius:2px;padding:18px 16px;margin-bottom:11px}
.blank-box h4{margin:0 0 6px;font-size:14px;color:var(--t)}
.blank-box p{margin:0;font-size:12px;color:var(--m);line-height:1.75}
.blank-list{margin:10px 0 0;padding-left:17px;font-size:12px;color:#1A1A1A;line-height:1.9}
.blank-list b{color:var(--t)}
.blank-act{display:flex;gap:8px;margin-top:13px}
.blank-act .btn{flex:1;font-size:12px;padding:10px 8px}
.blank-note{margin-top:11px;font-size:12px;color:#9E9E9E;background:#FAFAFA;border:1px solid #E8E8E8;
  border-radius:2px;padding:8px 10px;line-height:1.7}

.sal-month{display:flex;align-items:center;gap:10px;background:var(--card);border:1px solid var(--bd);
  border-radius:2px;padding:10px 12px;margin-bottom:10px}
.sal-mbtn{width:32px;height:32px;flex:none;border-radius:2px;border:1px solid var(--bd);background:var(--card);
  color:var(--p);font-size:14px;line-height:1}
.sal-mym{flex:1;text-align:center;font-weight:700;font-size:14px;letter-spacing:.6px}
.sal-mtag{font-size:12px;color:var(--m);font-weight:400;margin-left:6px}

.sal-row{background:var(--card);border:1px solid var(--bd);border-radius:2px;margin-bottom:8px;overflow:hidden}
.sal-row.open{border-color:#1A1A1A;box-shadow:none}
.sal-hd{display:flex;align-items:center;gap:10px;padding:11px 12px;cursor:pointer}
.sal-nm{flex:1;min-width:0}
.sal-nm b{font-size:14px;color:var(--t)}
.sal-nm span{display:block;font-size:12px;color:var(--m);margin-top:2px}
.sal-amt{text-align:right;flex:none}
.sal-amt em{font-style:normal;font-size:14px;font-weight:700;font-family:ui-monospace,Menlo,monospace}
.sal-amt i{display:block;font-style:normal;font-size:12px;color:var(--m);margin-top:1px}
.sal-st{flex:none;font-size:12px;padding:3px 7px;border-radius:2px;font-weight:600}
.sal-st.draft{background:#FAFAFA;color:#1A1A1A}
.sal-st.wait_boss{background:#FAFAFA;color:#9E9E9E}
.sal-st.locked{background:#FAFAFA;color:#1A1A1A}
.miss{color:#6E6E6E;font-weight:600}

.sal-box{padding:0 12px 13px;border-top:1px solid #E8E8E8}
.sal-sec{margin-top:11px}
.sal-sec h5{margin:0 0 7px;font-size:12px;color:var(--m);font-weight:600;letter-spacing:.4px}
.sal-grid{display:grid;grid-template-columns:1fr 1fr;gap:7px}
.sal-cell{display:flex;align-items:center;gap:6px;background:var(--bg);border:1px solid #E8E8E8;border-radius:2px;padding:5px 8px}
.sal-cell span{flex:1;font-size:12px;color:#1A1A1A;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sal-cell input{width:78px;flex:none;text-align:right;border:none;background:transparent;font-size:12px;
  font-family:ui-monospace,Menlo,monospace;color:var(--t);outline:none;font-weight:600}
.sal-cell input::placeholder{color:#6E6E6E;font-weight:400;font-size:12px}
.sal-cell.na{background:#FAFAFA;border-color:#FAFAFA}
.sal-cell.lk{background:var(--bg);border-color:#E8E8E8}
.sal-cell.lk input{color:#1A1A1A}
.sal-sum{display:flex;justify-content:space-between;align-items:baseline;margin-top:11px;
  padding:9px 11px;background:var(--bg);border-radius:2px;font-size:12px}
.sal-sum b{font-family:ui-monospace,Menlo,monospace;font-size:14px}
.sal-warn{margin-top:9px;font-size:12px;color:#6E6E6E;background:#FAFAFA;border:1px solid #E8E8E8;
  border-radius:2px;padding:8px 10px;line-height:1.7}
.sal-act{display:flex;gap:8px;margin-top:11px}
.sal-act .btn{flex:1;font-size:12px;padding:9px 6px}
.sal-sign{font-size:12px;color:var(--m);margin-top:9px;line-height:1.8}

.hf-sec{margin-top:12px}
.hf-sec h5{margin:0 0 7px;font-size:12px;color:var(--m);font-weight:600}
.hf-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.hf-cell{min-width:0}
.hf-cell label{display:block;font-size:12px;color:var(--m);margin-bottom:3px}
.hf-cell input{width:100%;box-sizing:border-box;border:1px solid var(--bd);border-radius:2px;
  padding:7px 9px;font-size:12px;font-family:inherit;color:var(--t);background:var(--card)}
.hf-cell.wide{grid-column:1/-1}

/* ==========================================================================
   iOS 设计层 · Design System
   --------------------------------------------------------------------------
   这一层只做「皮肤」，不改任何功能。全部放在样式表最末，靠层叠优先级覆盖，
   删掉这一整段即可回到原来的样子，不牵连其它任何规则。

   六条规矩：
     ① 底色 #E8E8E8，卡片纯白。靠底色差把卡片托起来，不再用描边。
     ② 圆角 14 / 10 两档。大块 14，控件 10，小标签 8。
     ③ 阴影只到「刚好有边界感」，看得见但不抢。
     ④ 分隔线用缩进发丝线（左侧留空），不用满宽实线。
     ⑤ 唯一强调色 #1A1A1A。红绿只用于异常与完成，不做装饰。
     ⑥ 字重靠 400 / 600 / 700 三档拉层次，不靠字号狂堆。
   ========================================================================== */

:root{
  --r:2px;            /* 大块 */
  --r-s:2px;          /* 控件 */
  --r-xs:2px;          /* 小标签 */
  --sh:none;
  --sh2:0 8px 24px rgba(0,0,0,.08);
  --sh-up:0 -2px 16px rgba(0,0,0,.07);
  --fill:#E8E8E8;      /* 系统填充（输入框、灰按钮） */
  --fill-2:#E8E8E8;    /* 按压态 */
  --sep:#E8E8E8;       /* 分隔线 */
  --ink:#1A1A1A;
  --ink-2:#1A1A1A;
  --ink-3:#1A1A1A;
  --ink-4:#9E9E9E;
}

/* ---------- 底子 ---------- */
html,body{background:var(--bg)!important}
body{
  font-family:-apple-system,BlinkMacSystemFont,"SF Pro Text","SF Pro Display",
    "PingFang SC","Hiragino Sans GB","Microsoft YaHei",sans-serif;
  color:var(--ink);
  letter-spacing:0;
  -webkit-font-smoothing:antialiased;
}

/* ---------- 页头：毛玻璃 + 大标题 ----------
   iOS 的导航栏在静止时是「没有下边框」的，滚上去才浮出来。
   这里保持一个极淡的线，既留了层次，又不把页头切成一块板。 */
header{
  background:rgba(255,255,255,.86)!important;
  -webkit-backdrop-filter:saturate(180%) blur(20px)!important;
  backdrop-filter:saturate(180%) blur(20px)!important;
  border-bottom:.5px solid rgba(0,0,0,.07)!important;
  box-shadow:none!important;
  padding:calc(10px + var(--sat)) 18px 11px!important;
}
header h1{
  font-size:20px!important;
  font-weight:700!important;
  letter-spacing:-.035em!important;
  line-height:1.18!important;
  white-space:nowrap;
}
header .sub{
  font-size:12px!important;
  color:var(--ink-4)!important;
  margin-top:3px!important;
  letter-spacing:0!important;
  font-weight:400!important;
}

/* ---------- 顶部六大板块 ---------- */
.topnav{
  background:rgba(255,255,255,.9)!important;
  -webkit-backdrop-filter:saturate(180%) blur(20px)!important;
  backdrop-filter:saturate(180%) blur(20px)!important;
  border-bottom:.5px solid rgba(0,0,0,.07)!important;
  box-shadow:none!important;
}
.topnav button{
  border-bottom:none!important;
  position:relative;
  padding:9px 0 11px!important;
  font-size:12px!important;
  font-weight:500!important;
  letter-spacing:0!important;
  color:var(--ink-4)!important;
  gap:2px!important;
}
.topnav button .ic{font-size:20px!important;line-height:1;opacity:.55;}
.topnav button.on{color:var(--ink)!important;font-weight:600!important}
.topnav button.on .ic{opacity:1;transform:translateY(-.5px)}
/* 选中标记：一个小圆点，不是通栏横线 —— iOS 的克制就在这里 */
.topnav button.on::after{
  content:"";position:absolute;bottom:4px;left:50%;
  width:5px;height:5px;margin-left:-2.5px;border-radius:50%;
  background:var(--p);
}

/* ---------- 二级导航：iOS 药丸 chips ----------
   选中 = 蓝底白字，和主按钮同一个色，一眼知道「现在在这」。 */
.subnav{
  background:rgba(255,255,255,.9)!important;
  -webkit-backdrop-filter:saturate(180%) blur(20px)!important;
  backdrop-filter:saturate(180%) blur(20px)!important;
  padding:8px 14px 10px!important;
  gap:7px!important;
  border-bottom:.5px solid rgba(0,0,0,.06)!important;
}
.subnav button{
  border:none!important;
  background:var(--fill)!important;
  border-radius:2px!important;
  padding:6px 13px!important;
  font-size:12px!important;
  font-weight:500!important;
  color:var(--ink-2)!important;
  letter-spacing:0!important;
  box-shadow:none!important;
  transition:background .15s,color .15s;
}
.subnav button.on{
  background:var(--p)!important;
  color:#FFFFFF!important;
  font-weight:600!important;
  box-shadow:none;
}
.subnav button.sub-more{border:none!important;opacity:1!important}
.subnav button.sub-more.open{background:var(--fill-2)!important;color:var(--ink-2)!important}
.sn-crumb{color:var(--ink-4)!important;letter-spacing:0!important;font-size:12px!important}

/* ---------- 主容器 ---------- */
main{padding:14px 16px 20px!important;max-width:680px}

/* ---------- 卡片 ---------- */
.panel,.stat,.kpi,.qa-kpi,.ov-num,.ct-card,.sal-row,.lg-wrap,
.sys-mode,.qs-req,.blank-box,.nv-card{
  background:var(--card)!important;
  border:none!important;
  border-radius:2px!important;
  box-shadow:none!important;
}
.panel{padding:16px 17px!important;margin-bottom:12px!important}
/* 分组标题：iOS 的 section header 是小小一行灰字，不是加粗带线的标题栏 */
.panel h3{
  font-size:12px!important;
  font-weight:600!important;
  letter-spacing:0!important;
  color:var(--ink-3)!important;
  padding-bottom:0!important;
  margin-bottom:12px!important;
  border-bottom:none!important;
  display:flex;align-items:center;gap:6px;
}
.panel h3 em{font-size:12px!important;font-weight:400!important;color:var(--ink-4)!important}

/* ---------- 列表行：缩进发丝线 ---------- */
.card,.list-item{
  background:var(--card)!important;
  border:none!important;
  border-bottom:.5px solid var(--sep)!important;
  border-radius:2px!important;
  box-shadow:none!important;
  padding:13px 2px!important;
  transition:background .12s;
}
.card:last-child,.list-item:last-child{border-bottom:none!important}
.card:active,.list-item:active{background:var(--card)!important}
.card .name,.list-item .name{font-weight:600!important;color:var(--ink)!important;letter-spacing:-.01em}
.card .meta,.list-item .meta{color:var(--ink-4)!important}

/* ---------- 按钮 ---------- */
.btn{
  background:var(--p)!important;
  border:none!important;
  border-radius:2px!important;
  box-shadow:none!important;
  font-size:14px!important;
  font-weight:600!important;
  letter-spacing:0!important;
  padding:12px 18px!important;
  ;
}
.btn:active{transform:scale(.975)!important;opacity:.9!important}
.btn.ghost{
  /* 原来拿页面底色当填充，在灰底上等于没画 —— 「导出」看着像一行裸字。
     iOS 的次要动作是「白底 + 一圈细边」，在灰底和白卡上都立得住。 */
  background:var(--card)!important;
  color:var(--p)!important;
  border:none!important;
  box-shadow:none!important;
}
.btn.ghost:active{background:var(--fill)!important;box-shadow:none!important}
.btn.green{background:var(--green)!important;color:#FFFFFF!important}
.btn.danger{background:var(--card)!important;color:var(--red)!important;border:1px solid rgba(110,110,110,.18)!important}
.btn.sm{
  border-radius:2px!important;
  font-size:12px!important;
  padding:9px 14px!important;
}

/* ---------- 输入框 ----------
   iOS 的表单控件是「填色块」，不是「描边框」。聚焦时才浮出蓝色光圈。 */
.search,.field input,.field select,.field textarea,.qs-in,.qs-ta,
.hf-cell input,.sal-cell input{
  background:var(--fill)!important;
  border:1.5px solid transparent!important;
  border-radius:2px!important;
  box-shadow:none!important;
  ;
}
.search:focus,.field input:focus,.field select:focus,.field textarea:focus,
.hf-cell input:focus,.sal-cell input:focus{
  background:var(--card)!important;
  border-color:var(--p)!important;
  box-shadow:none!important;
  outline:none!important;
}
.field label,.hf-cell label{color:var(--ink-4)!important;letter-spacing:0!important;font-weight:500!important}

/* ---------- 标签 ---------- */
.tag{
  background:var(--fill)!important;
  color:var(--ink-2)!important;
  border-radius:2px!important;
  font-weight:600!important;
  letter-spacing:0!important;
  font-size:12px!important;
}

/* ---------- 数字：大、稳、等宽 ---------- */
.stat .num,.kpi .v,.ov-num .n,.qa-kpi-v,.ar-big,.ct-amt em,.sal-amt em{
  font-variant-numeric:tabular-nums;
  letter-spacing:-.03em!important;
  font-weight:700!important;
}
.stat .label,.ov-num .l,.qa-kpi-l{color:var(--ink-4)!important;letter-spacing:0!important;font-weight:500!important}
.stat,.ov-num{padding:13px 6px!important}
.stat .num,.ov-num .n{font-size:20px!important;line-height:1.15!important}

/* ---------- 弹窗：底部抽屉 ---------- */
.modal,.mbox,.dl-sheet{
  border-radius:2px!important;
  box-shadow:none!important;
  border:none!important;
  background:var(--card)!important;
}
.modal-bg{
  background:rgba(0,0,0,.32)!important;
  -webkit-backdrop-filter:blur(3px)!important;
  backdrop-filter:blur(3px)!important;
}
/* 抽屉顶部的把手：一根 36×5 的小条，苹果用了十年 */
.modal::before,.mbox::before,.dl-sheet::before{
  content:"";display:block;
  width:36px;height:5px;border-radius:2px;
  background:#E8E8E8;margin:8px auto 2px;
}

/* ---------- 空态 ---------- */
.empty{color:var(--ink-4)!important;letter-spacing:0!important;font-weight:400!important}

/* ---------- 分隔线 ---------- */
hr{border:0!important;border-top:.5px solid var(--sep)!important}

/* ---------- 首页焦点卡：去掉左侧色条，改成色点 ---------- */
.ov-focus{
  background:var(--card)!important;
  border:none!important;
  border-radius:2px!important;
  box-shadow:none!important;
  padding:16px 17px!important;
}
.ov-focus::after{display:none!important}
.ov-focus .ov-f-t{font-weight:700!important;letter-spacing:-.02em!important}
.ov-focus .ov-f-d{color:var(--ink-4)!important;letter-spacing:0!important}
.ov-focus .ov-f-go{color:var(--p)!important;font-weight:600!important}

/* ---------- 底部悬浮按钮 ---------- */
.fab,.bot-fab{
  box-shadow:none;
  border-radius:50%!important;
}

/* ---------- 长按菜单 ---------- */
/* 菜单是浮在内容上的，必须自带边界和投影：和风皮肤把 --sh2 压成了 none，
   白底菜单贴在白底页面上就成了「字浮在表格里」 */
.lp-menu{border-radius:2px!important;padding:6px!important;
  border:1px solid rgba(28,27,25,.14)!important;
  box-shadow:none!important}
.lp-it{border-radius:2px!important}
.lp-bg{background:rgba(0,0,0,.32)!important;backdrop-filter:blur(3px)!important}


/* ==========================================================================
   iOS 设计层 · 第二轮（层级、控件、表格）
   ========================================================================== */

/* ---------- 页面大标题：Large Title ----------
   原来是 .12em 的「拉开字距」，那是日式排版的手法；
   iOS 反过来，大字必须把字距收紧，字才抱得成一团。 */
.pg-hd{
  border-bottom:none!important;
  padding:0!important;
  margin:6px 0 18px!important;
}
.pg-hd h2{
  font-size:20px!important;
  font-weight:700!important;
  letter-spacing:-.042em!important;
  line-height:1.16!important;
  color:var(--ink)!important;
}
.pg-hd p{
  font-size:12px!important;
  color:var(--ink-4)!important;
  letter-spacing:0!important;
  margin-top:7px!important;
  line-height:1.45!important;
  font-weight:400!important;
}

/* 页头标题收一档，把重量让给内容区的大标题 */
header h1{font-size:20px!important;letter-spacing:-.03em!important}

/* ---------- 筛选标签：iOS chips ----------
   未选 = 灰底无边框（填色块），选中 = 蓝底白字。白底加描边在白卡上看不见。 */
.nq-cat,.chip,.tag-btn,.filt,.qs-q{
  background:var(--fill)!important;
  border:none!important;
  border-radius:2px!important;
  color:var(--ink-2)!important;
  font-weight:500!important;
  letter-spacing:0!important;
  box-shadow:none!important;
}
.nq-cat.on,.chip.on,.tag-btn.on,.filt.on,.qs-q.on{
  background:var(--p)!important;
  color:#FFFFFF!important;
  font-weight:600!important;
  border:none!important;
  box-shadow:none;
}
.fchips .chip.on,body.plain .chip.on{
  background:var(--p)!important;color:#FFFFFF!important;
}

/* ---------- 卡片间距 ---------- */
.ct-card{margin-bottom:10px!important;padding:14px 15px!important}
.ct-card.over{border-left:none!important;padding-left:15px!important;box-shadow:none!important}

/* ---------- 表格：横向可滑，不压成竖排 ----------
   花名册原来 7 列硬挤在 430px 里，「姓名」「账号」被压成竖排两个字。
   手机上表格就该横向滑，跟 Numbers 一个道理。 */
.hr-tbl{
  overflow-x:auto!important;
  -webkit-overflow-scrolling:touch;
  border:none!important;
  border-radius:2px!important;
  box-shadow:none!important;
  background:var(--card)!important;
}
.hr-tr{
  min-width:660px!important;
  grid-template-columns:62px 84px 86px 1.1fr 118px 74px 112px!important;
  border-bottom:.5px solid var(--sep)!important;
}
.hr-th{
  background:#E8E8E8!important;
  color:var(--ink-4)!important;
  font-weight:600!important;
  font-size:12px!important;
  letter-spacing:0!important;
}
.hr-tr:not(.hr-th):hover{background:var(--card)!important}
.hr-tr.sel{background:#FAFAFA!important;box-shadow:none!important}

/* 通用表格（其它页面若用 table 标签） */
table{border-collapse:separate!important;border-spacing:0!important}
th{
  background:#E8E8E8!important;color:var(--ink-4)!important;
  font-weight:600!important;font-size:12px!important;letter-spacing:0!important;
  border:none!important;border-bottom:.5px solid var(--sep)!important;
}
td{border:none!important;border-bottom:.5px solid var(--sep)!important;font-size:12px!important}

/* ---------- 搜索框 ---------- */
.search{
  background:var(--fill)!important;
  border:none!important;
  border-radius:2px!important;
  padding:10px 12px!important;
}

/* ---------- 边框兜底：凡是还挂着浅灰描边的块，一律拆掉 ----------
   这一段放在最后，专门收拾上面几轮没覆盖到的零散描边。 */
.hr-card,.ct-p,.dl-item,.td-c,.qa-kpi{
  border:none!important;
  border-radius:2px!important;
  box-shadow:none!important;
}


/* ==========================================================================
   枢纽页 · 分段控件
   --------------------------------------------------------------------------
   iOS 原生控件。灰底一条槽，选中项浮一块白，靠阴影分高低，不靠颜色。
   抽屉一多（≥7）就换成宫格，免得挤成一行小字。
   ========================================================================== */
.hub-bar{
  display:flex;gap:3px;margin:0 0 16px;padding:3px;
  background:rgba(118,118,128,.12);
  border-radius:2px;
  /* 页签多了不挤压：能撑满就撑满，撑不下就横向滑。
     以前用 flex:1 硬压，9 个页签被切成「复 间」这种半截字。 */
  overflow-x:auto;overflow-y:hidden;
  scrollbar-width:none;-webkit-overflow-scrolling:touch;
}
.hub-bar::-webkit-scrollbar{display:none}
.hub-bar button{
  flex:1 0 auto;min-width:0;border:none;background:transparent;
  padding:8px 4px;font-size:12px;font-weight:500;
  color:var(--ink-2);border-radius:2px;font-family:inherit;
  cursor:pointer;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
  ;
  -webkit-tap-highlight-color:transparent;
}
.hub-bar button.on{
  background:var(--card);color:var(--ink);font-weight:600;
  box-shadow:none;
}
/* 宫格版：系统设置里的九个小工具 */
.hub-bar.grid{
  background:transparent;padding:0;gap:8px;flex-wrap:wrap;
}
.hub-bar.grid button{
  flex:0 0 calc(33.333% - 6px);
  background:var(--card);border-radius:2px;
  padding:15px 6px;font-size:12px;font-weight:500;
  box-shadow:none;
  display:flex;align-items:center;justify-content:center;
  min-height:56px;line-height:1.25;white-space:normal;
}
.hub-bar.grid button.on{
  background:var(--p);color:#FFFFFF;
  box-shadow:none;
}

/* 二级菜单：条目已经收到 5 个以内，直接换行铺开，不再横向滚动。
   横滑的问题不是「滑」本身，是右边永远被切一半，看着像没加载完。 */
.subnav{
  flex-wrap:wrap!important;
  overflow:visible!important;
}
.subnav button{flex:0 0 auto}


/* ---------- 顶部工具条：拆掉方框，只留图标 ----------
   iOS 的导航栏按钮没有边框，只有一个可点区域；
   按下时才浮一层浅灰。方框边框是「网页表单」的味道，不是系统控件的味道。 */
.ent-top{
  background:rgba(255,255,255,.86)!important;
  -webkit-backdrop-filter:saturate(180%) blur(20px)!important;
  backdrop-filter:saturate(180%) blur(20px)!important;
  border-bottom:.5px solid rgba(0,0,0,.06)!important;
}
.ent-burger,.ent-help,.ent-bell,.ent-show{
  border:none!important;background:transparent!important;
  border-radius:2px!important;
  width:36px!important;height:36px!important;
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  color:var(--ink-2)!important;
  transition:background .14s;
}
.ent-burger:active,.ent-help:active,.ent-bell:active,.ent-show:active{background:rgba(118,118,128,.14)!important}
.ent-show{width:auto!important;padding:0 10px!important;gap:5px!important;color:var(--p)!important}
.ent-bell .dot{
  background:var(--red)!important;color:#FFFFFF!important;
  font-size:11!important;font-weight:600!important;
  border:1px solid #E8E8E8!important;border-radius:2px!important;
  min-width:18px!important;height:18px!important;line-height:14px!important;
  top:-2px!important;right:-2px!important;
}
.ent-search{
  background:var(--fill)!important;border:none!important;
  border-radius:2px!important;height:34px!important;padding:0 10px!important;
}
.ent-search:focus-within{
  background:var(--card)!important;
  box-shadow:none!important;
}
.ent-crumb{font-weight:600!important;letter-spacing:-.01em!important}

/* ---------- 列表卡：把间距拉开，白底对白底才分得清 ---------- */
.ct-card{margin-bottom:12px!important}
.qa-kpi{padding:14px 12px!important}

/* ---------- 底部分栏：毛玻璃 ---------- */
.topnav{
  -webkit-backdrop-filter:saturate(180%) blur(20px)!important;
  backdrop-filter:saturate(180%) blur(20px)!important;
}


/* ---------- .card 改回真卡片 ----------
   上一轮把它当「列表行」处理（无圆角、靠底线分），结果一批页面里
   它是独立的一块内容，白底压白底、仅靠 8px 间距，看起来像糊在一起。 */
.card{
  background:var(--card)!important;
  border:none!important;
  border-radius:2px!important;
  box-shadow:none;
  padding:14px 15px!important;
  margin-bottom:10px!important;
}
.card:last-child{margin-bottom:0!important}
.card .name{display:flex;align-items:center;gap:8px;margin-bottom:5px!important}
.card .name>span:first-child{font-size:14px!important;font-weight:600!important;letter-spacing:-.015em!important}
.card .meta{font-size:12px!important;line-height:1.55!important;color:var(--ink-4)!important}
.card .tag{flex:none!important;margin-left:auto!important}

/* 列表页顶部三个操作：收成一行等宽小按钮，别让蓝色大按钮抢走全部注意力 */
.card + .action-row{margin-top:10px}


/* ---------- 技师观察窗：一行 ----------
   23 个技师铺成一排标签，滑不到头、还占着每天都要看的首屏。
   收成一行状态条，选人挪进抽屉——低频动作不该占固定位置。 */
.wt-bar{display:flex;align-items:center;gap:8px;margin:0 0 10px}
.wt-btn{
  flex:1;min-width:0;display:flex;align-items:center;gap:8px;
  background:var(--card);border:none;border-radius:2px;
  padding:11px 13px;font-family:inherit;font-size:14px;color:var(--ink);
  box-shadow:none;cursor:pointer;text-align:left;
  -webkit-tap-highlight-color:transparent;
}
.wt-btn:active{background:#E8E8E8}
.wt-btn .wt-lb{font-size:12px;color:var(--ink-4);flex:none;letter-spacing:.01em}
.wt-btn .wt-t{font-weight:600;letter-spacing:-.01em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.wt-btn.on .wt-t{color:var(--p)}
.wt-btn .wt-c{margin-left:auto;font-size:12px;color:var(--ink-4);font-weight:400;white-space:nowrap}
.wt-btn .wt-ar{color:var(--ink-4);font-size:12px;flex:none}
.wt-x{
  flex:none;border:none;background:transparent;color:var(--p);
  font-family:inherit;font-size:14px;font-weight:600;padding:8px 4px;cursor:pointer;
}
/* 抽屉里的名单 */
.wp-hd{padding:6px 2px 12px}
.wp-hd b{display:block;font-size:14px;font-weight:700;letter-spacing:-.02em}
.wp-hd span{display:block;font-size:12px;color:var(--ink-4);margin-top:3px}
/* 备注折叠条：主干放五件事，剩下的收在这里。一行浅字，不抢眼但找得到。 */
.cz-fold{margin-top:12px;border-top:1px solid #E8E8E8}
.cz-fold>summary{
  list-style:none;cursor:pointer;padding:9px 2px 7px;font-size:12px;color:#9E9E9E;
  display:flex;align-items:center;justify-content:space-between;
}
.cz-fold>summary::-webkit-details-marker{display:none}
.cz-fold .cz-ar{font-size:12px;color:#6E6E6E;;display:inline-block}
.cz-fold[open] .cz-ar{transform:rotate(90deg)}
.cz-fold-b{padding:2px 0 4px}
.wp-q{
  width:100%;box-sizing:border-box;border:none;background:var(--fill);
  border-radius:2px;height:36px;padding:0 12px;font-family:inherit;font-size:14px;margin-bottom:10px;
}
.wp-q:focus{outline:none;background:var(--card);box-shadow:none}
.wp-list{max-height:46vh;overflow:auto;-webkit-overflow-scrolling:touch;display:grid;grid-template-columns:1fr 1fr;gap:8px}
.wp-item{
  display:flex;flex-direction:column;align-items:flex-start;gap:2px;
  border:none;background:var(--fill);border-radius:2px;padding:11px 12px;
  font-family:inherit;text-align:left;cursor:pointer;min-width:0;
}
.wp-item.on{background:rgba(28,27,25,.1);box-shadow:none}
.wp-n{font-size:14px;font-weight:600;color:var(--ink);letter-spacing:-.01em}
.wp-item.on .wp-n{color:var(--p)}
.wp-s{font-size:12px;color:var(--ink-4);line-height:1.35;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.wp-c{font-size:12px;color:var(--ink-4);font-weight:500;margin-top:1px}
.wp-empty{grid-column:1/-1;text-align:center;color:var(--ink-4);font-size:12px;padding:24px 0}

/* 27 个片区横着滑是没办法的事（竖着铺会占掉半屏），
   但右缘不能硬切：切一半的按钮看着像没渲染完。渐隐说明「还有，往左滑」。 */
.chips.fade{
  -webkit-mask-image:linear-gradient(90deg,#1A1A1A 86%,transparent);
  mask-image:linear-gradient(90deg,#1A1A1A 86%,transparent);
  padding-right:24px;
}

/* ---------- 台账：搜索与工具一行 ---------- */
.ctool-bar{display:flex;gap:8px;align-items:center;margin-bottom:2px}
.ctool-bar .search{flex:1;margin:0}
.ctool-btn{
  flex:none;border:none;background:var(--card);border-radius:2px;height:38px;padding:0 14px;
  font-family:inherit;font-size:12px;font-weight:600;color:var(--ink-2);
  box-shadow:none;cursor:pointer;
}
.ctool-btn:active{background:#E8E8E8}

/* ---------- 收纳盒：一片区一盒 ----------
   盒头一行写清「哪片、几个、几台」，点开才铺卡片。
   默认只开前两盒——绝大多数时候人只关心自己那一片。 */
.box{
  background:var(--card);border-radius:2px;margin-bottom:10px;overflow:hidden;
  box-shadow:none;
}
.box-hd{display:flex;align-items:center;gap:8px;padding:13px 15px;cursor:pointer;-webkit-tap-highlight-color:transparent}
.box-hd:active{background:var(--card)}
.box-t{font-size:14px;font-weight:600;letter-spacing:-.01em;color:var(--ink)}
.box-c{margin-left:auto;font-size:12px;color:var(--ink-4)}
.box-ar{flex:none;font-size:12px;color:var(--ink-4);}
.box.open .box-ar{transform:rotate(180deg)}
.box-bd{display:none;padding:0 10px 10px}
.box.open .box-bd{display:block}
.box-bd .card{box-shadow:none;background:var(--fill);margin-bottom:7px}
.box-bd .card:last-child{margin-bottom:0}

/* ---------- 抽屉里的列表项 ---------- */
.dr-list{display:flex;flex-direction:column;gap:8px}
.dr-item{
  display:flex;flex-direction:column;align-items:flex-start;gap:2px;
  border:none;background:var(--fill);border-radius:2px;padding:12px 14px;
  font-family:inherit;text-align:left;cursor:pointer;
}
.dr-item:active{background:#E8E8E8}
.dr-n{font-size:14px;font-weight:600;color:var(--ink);letter-spacing:-.01em}
.dr-s{font-size:12px;color:var(--ink-4)}

.card.mini{padding:12px 13px!important;background:var(--fill)!important}
.card.mini .name>span:first-child{font-size:14px!important}
.card.mini .meta{font-size:12px!important;line-height:1.55!important}

.dr-list .btn{width:100%;justify-content:center;margin:0!important}

/* ---------- 技师：区域板块 ----------
   一个区域一个盒子，盒子头是「区域名 + 人数台量 + 逾期徽标」，
   盒子里一人一行。想找某人先看板块，再在盒子里扫，不用整页滑。 */
.rgb{background:var(--card);border-radius:2px;margin:0 0 10px;box-shadow:none;overflow:hidden}
.rgb-hd{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:12px 14px;cursor:pointer;user-select:none}
.rgb-hd:active{background:var(--card)}
.rgb-t{font-size:14px;font-weight:700;color:var(--ink);letter-spacing:-.01em;min-width:0}
.rgb-t em{font-style:normal;font-weight:500;font-size:12px;color:var(--ink-4);margin-left:7px}
.rgb-r{display:flex;align-items:center;gap:6px;flex:none}
.rgb-cv{color:#E8E8E8;font-size:12px;}
.rgb.fold .rgb-cv{transform:rotate(-90deg)}
.rgb.fold .rgb-bd{display:none}
.rgb-bd{border-top:.5px solid var(--sep)}
.twr{display:flex;align-items:center;gap:10px;padding:10px 14px;border-bottom:.5px solid var(--sep)}
.twr:last-child{border-bottom:0}
.twr:active{background:var(--card)}
.twr-av{flex:none;width:32px;height:32px;border-radius:50%;background:var(--fill);color:var(--ink-2);
  font-size:12px;font-weight:600;display:flex;align-items:center;justify-content:center}
.twr-b{flex:1;min-width:0}
.twr-t{display:flex;align-items:center;gap:5px;flex-wrap:wrap;font-size:14px;color:var(--ink);line-height:1.3}
.twr-t b{font-weight:600}
.twr-t .tag{flex:none;font-size:12px!important}
.twr-bar{height:3px;background:var(--fill);border-radius:2px;margin:5px 0 4px;overflow:hidden}
.twr-bar i{display:block;height:100%;background:var(--p);border-radius:2px;transition:width .25s ease}
.twr-s{font-size:12px;color:var(--ink-4);line-height:1.4}
.twr-s em{font-style:normal}
.twr-s .warn{color:var(--orange)}
.twr-go{flex:none;color:#E8E8E8;font-size:14px;font-weight:300}

/* ---------- 采购安装 / 证件：收纳盒 + 一行一单 ---------- */
.pi-tools{display:flex;gap:8px;align-items:center;margin:0 0 10px}
.pi-dim{color:var(--ink-4)}
.pi-tools .search{flex:1;min-width:0;height:38px;background:var(--card)!important;
  border:.5px solid var(--sep)!important;border-radius:2px!important;
  padding:0 12px!important;font-size:14px!important;color:var(--ink)!important}
.pi-tools .btn.sm{height:38px;padding:0 12px!important}
/* 安装业务归谁跟：一行说清，不占地方 */
.pi-own{display:flex;align-items:center;gap:8px;background:var(--card);border-radius:2px;
  padding:9px 13px;margin:0 0 10px;box-shadow:none;
  font-size:12px;color:var(--ink-4)}
.pi-own-k{flex:none;font-size:12px;color:var(--ink-4);letter-spacing:.02em}
.pi-own-v{color:var(--ink);min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.pi-own-v b{font-weight:700}
/* 待补品牌：一条可点的待办，不藏在胶囊堆里 */
.pi-todo{display:flex;align-items:center;gap:8px;background:var(--card);border-radius:2px;
  padding:10px 13px;margin:0 0 10px;box-shadow:none;cursor:pointer}
.pi-todo:active{background:var(--card)}
.pi-todo.on{background:#FAFAFA}
/* 多收那条用暖色，和「没填品牌」的灰绿区分开：一个是补资料，一个是钱的事 */
.pi-todo.warn{background:#FFFFFF;border:1px solid #E8E8E8}
.pi-todo.warn:active{background:#FAFAFA}
.pi-todo-d.warn{background:#9E9E9E}
.pi-todo.warn .pi-todo-t b{color:#9E9E9E}
.pi-todo.warn .pi-todo-a{color:#9E9E9E}
/* 多收清单：一单一块，名字和金额各占一边，按钮只两档深浅 */
.ov-item{padding:11px 12px 12px;border:1px solid #E8E8E8;border-radius:2px;margin-bottom:8px;background:#FFFFFF}
.ov-hd{display:flex;align-items:flex-start;gap:10px}
.ov-nm{flex:1;min-width:0;font-size:12px;font-weight:700;color:var(--ink);line-height:1.45}
.ov-amt{flex:none;font-size:12px;font-weight:700;color:#9E9E9E;white-space:nowrap;
  background:#FAFAFA;border-radius:2px;padding:2px 7px;font-variant-numeric:tabular-nums}
.ov-sub{font-size:12px;color:#9E9E9E;margin-top:4px;line-height:1.6}
.ov-act{display:flex;gap:8px;margin-top:10px}
.ov-act .btn{flex:1;justify-content:center;height:42px!important;min-height:42px!important;
  padding:0 12px!important;font-size:12px!important;display:flex!important;
  align-items:center!important;white-space:nowrap!important}
.pi-todo-d{flex:none;width:7px;height:7px;border-radius:50%;background:var(--orange)}
.pi-todo-t{flex:1;min-width:0;font-size:12px;color:var(--ink);
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.pi-todo-a{flex:none;font-size:12px;color:var(--p);font-weight:600}
.pi-tools .btn{flex:none;white-space:nowrap}
.pibox{background:var(--card);border-radius:2px;margin:0 0 10px;box-shadow:none;overflow:hidden}
.pibox-hd{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:11px 14px;cursor:pointer;user-select:none}
.pibox-hd:active{background:var(--card)}
.pibox-t{font-size:14px;font-weight:700;color:var(--ink);letter-spacing:-.01em}
.pibox-t em{font-style:normal;font-weight:500;font-size:12px;color:var(--ink-4);margin-left:6px}
.pibox-r{display:flex;align-items:center;gap:6px;flex:none}
.pibox-cv{color:#E8E8E8;font-size:12px;}
.pibox.fold .pibox-cv{transform:rotate(-90deg)}
.pibox.fold .pibox-bd{display:none}
.pibox-bd{border-top:.5px solid var(--sep)}
.pirow{display:flex;align-items:center;gap:10px;padding:11px 14px;border-bottom:.5px solid var(--sep)}
.pirow:last-child{border-bottom:0}
.pirow:active{background:var(--card)}
.pirow-b{flex:1;min-width:0}
.pirow-t{font-size:14px;color:var(--ink);line-height:1.35;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.pirow-s{font-size:12px;color:var(--ink-4);margin-top:2px}
.pirow-r{flex:none;text-align:right;display:flex;flex-direction:column;align-items:flex-end;gap:4px}
.pirow-amt{font-size:14px;font-weight:700;color:var(--ink);font-variant-numeric:tabular-nums;letter-spacing:-.02em}
.pirow-amt.r{color:var(--red)}
.pirow-bar{height:3px;background:var(--fill);border-radius:2px;margin:6px 0 4px;overflow:hidden}
.pirow-bar i{display:block;height:100%;background:var(--green);border-radius:2px}
.pi-kv{display:flex;justify-content:space-between;align-items:baseline;padding:9px 0;border-bottom:.5px solid var(--sep);font-size:14px;color:var(--ink-4)}
.pi-kv b{font-size:14px;color:var(--ink);font-variant-numeric:tabular-nums}
.pi-kv b.r{color:var(--red)}
.pi-sec{margin:12px 0 4px}
.pi-sec h5{font-size:12px;color:var(--ink-4);font-weight:600;margin:0 0 6px}
.pi-pay{display:flex;align-items:center;gap:8px;padding:7px 0;border-bottom:.5px solid var(--sep);font-size:12px}
.pi-pay-n{flex:none;width:52px;color:var(--ink-4);font-size:12px}
.pi-pay-a{flex:1;font-weight:600;color:var(--ink);font-variant-numeric:tabular-nums}
.pi-pay-d{flex:none;color:var(--ink-4);font-size:12px}
/* 多收的钱：不当错误报警，当一件待认的小事 */
.pi-addon{margin:11px 0 3px;padding:11px 12px;border-radius:2px;
  background:#FFFFFF;border:1px solid #E8E8E8}
.pi-addon-t{font-size:12px;font-weight:700;color:#9E9E9E}
.pi-addon-t b{font-size:14px;color:#9E9E9E;font-variant-numeric:tabular-nums}
.pi-addon-s{font-size:12px;color:#9E9E9E;line-height:1.65;margin-top:3px}
.pi-addon .btn{font-size:12px}
.pi-act{display:flex;gap:8px;margin-top:14px}
.pi-act .btn{flex:1;justify-content:center}
.pi-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:6px 0}
.pi-grid label{display:flex;flex-direction:column;gap:4px;font-size:12px;color:var(--ink-4)}
.pi-grid input,.pi-grid select,.pi-full textarea{background:var(--fill);border:1.5px solid transparent;border-radius:2px;padding:9px 10px;font-size:14px;color:var(--ink);font-family:inherit;width:100%}
.pi-grid input[readonly]{color:var(--ink-4)}
/* 品牌快捷：横滑一排，点一下填进输入框 */
.pf-brands{display:flex;align-items:center;gap:6px;overflow-x:auto;padding:8px 0 2px;
  -webkit-overflow-scrolling:touch;scrollbar-width:none}
.pf-brands::-webkit-scrollbar{display:none}
.pf-bk{flex:none;font-size:12px;color:var(--ink-4)}
.pf-brands .chip{flex:none;padding:5px 10px;font-size:12px;white-space:nowrap}
.pi-full{display:flex;flex-direction:column;gap:4px;font-size:12px;color:var(--ink-4);margin-top:6px}
.pi-frow{display:flex;align-items:center;gap:6px;margin-bottom:6px}
.pi-frow .pi-fn{flex:none;width:16px;font-size:12px;color:var(--ink-4)}
.pi-frow input{flex:1;min-width:0;background:var(--fill);border:1.5px solid transparent;border-radius:2px;padding:8px 9px;font-size:12px;font-family:inherit}
.pibrand{background:var(--card);border-radius:2px;padding:11px 13px;margin-bottom:8px;box-shadow:none;display:grid;grid-template-columns:1fr auto;gap:6px 10px}
.pibrand-t b{font-size:14px;color:var(--ink)}
.pibrand-t em{font-style:normal;font-size:12px;color:var(--ink-4);margin-left:6px}
.pibrand-bar{grid-column:1/3;height:4px;background:var(--fill);border-radius:2px;overflow:hidden}
.pibrand-bar i{display:block;height:100%;background:var(--p);border-radius:2px}
.pibrand-v{font-size:14px;font-weight:700;color:var(--ink);text-align:right;font-variant-numeric:tabular-nums}
.cerow{display:flex;align-items:center;gap:10px;padding:10px 14px;border-bottom:.5px solid var(--sep)}
.cerow:last-child{border-bottom:0}
.cerow:active{background:var(--card)}
.cerow-l{flex:1;min-width:0}
.cerow-l b{font-size:14px;font-weight:600;color:var(--ink)}
.cerow-l em{font-style:normal;display:block;font-size:12px;color:var(--ink-4);margin-top:2px}
.cerow-r{flex:none}

/* ---------- 窄屏：五道门必须挤在一行 ----------
   375 宽下原来的胶囊换行了，第二行只剩「人事」两个字，像漏了一项。
   只压内边距和字号，不折叠、不改名。 */
@media (max-width:390px){
  .subnav{gap:6px!important;padding:8px 12px 10px!important}
  .subnav button{padding:6px 10px!important;font-size:12px!important}
}

/* ================= 按钮规范 · 全站唯一一套（2026-11-02）=================
   改之前 .btn 被定义过四遍：78 行渐变+圆角 10，1617 行改深蓝+圆角 3，
   1724 行移动端又抬到 48 高，上一版再补一句 14px。每加一个页面就局部
   改一次字号，最后 521 个按钮上跑着七种字号、六种高度、五种圆角——

   所以这一层不再逐个修，直接在最末尾压一套定死的规格，只有三档：

     标准 .btn          40 高 · 14 字 · 10 圆角 · 左右 16
     紧凑 .btn.sm       30 高 · 13 字 ·  8 圆角 · 左右 12
     主操作 .btn.lg     46 高 · 15 字 · 12 圆角 · 左右 20

   外观只四种：默认蓝 / .ghost 白底描边 / .danger 红字描边 / .green 绿底。
   内联 style 用 !important 一并压掉——不然还是一家一个样。

   刻意不进这套的：.chip 筛选胶囊、.hub-bar 页签、.sal-mbtn 月份箭头、
   .li-b 底部导航栏、#camSnap 快门圆钮。它们是控件，不是按钮，
   硬套 40 高会把页签压成砖头。下面各自留了还原规则。

   要回退：删掉这一段即可，前面的老样式原样都在。 */

:root{
  /* 2026-11-02 · 三档归一：以前 40/30/46 三套高度、10/8/12 三种圆角，
     标准按钮和紧凑按钮并排时一个圆一个方、一个高一个矮，怎么看都不像
     同一个系统里的东西。现在全站只有一个按钮：40 高、10 圆角、14 字、左右 16。
     变量名保留（.sm/.lg 的规则还在用），值全部指回同一组，改一处即全站。 */
  --bt-h:38px;   --bt-h-sm:34px;  --bt-h-lg:42px;
  --bt-fs:13.5px;--bt-fs-sm:12.5px;--bt-fs-lg:14px;
  --bt-r:2px;    --bt-r-sm:2px;    --bt-r-lg:2px;
  --bt-px:15px;  --bt-px-sm:11px;  --bt-px-lg:18px;
  --bt-line:#6E6E6E;      /* 次级按钮描边：和纸上的铅笔线 */
  --bt-red-line:#6E6E6E;  /* 危险按钮描边 */
}

/* ---------- 一、尺寸：三档，其余全盖 ---------- */
.btn,.btn.ghost,.btn.danger,.btn.green,.btn.primary,
.nq-btn,.nq-add,.nq-reset,.bq-btn,.pv-btn,
.ctool-btn,.wt-btn,.td-btn,.hr-mini,.qs-tidy,.vf-btn,.fu-b,
button:not([class]):not(#camSnap){
  box-sizing:border-box;
  display:inline-flex; align-items:center; justify-content:center; gap:6px;
  height:var(--bt-h)!important; min-height:var(--bt-h)!important;
  padding:0 var(--bt-px)!important;
  border-radius:2px!important;
  font-family:inherit;
  font-size:var(--bt-fs)!important;
  font-weight:600!important;
  letter-spacing:0!important; line-height:1!important;
  white-space:nowrap; vertical-align:middle;
  ;
}
.btn svg,.btn i{width:16px;height:16px;flex:none}

/* 紧凑档：表格里、工具条里、提示条里的那些 */
.btn.sm,.btn.ghost.sm,.btn.sm.ghost,.btn.danger.sm,
.td-btn,.hr-mini,.qs-tidy{
  height:var(--bt-h-sm)!important; min-height:var(--bt-h-sm)!important;
  padding:0 var(--bt-px-sm)!important;
  border-radius:2px!important;
  font-size:var(--bt-fs-sm)!important;
}
.btn.sm svg{width:14px;height:14px}

/* 主操作档：弹窗底栏、登录、页面主 CTA */
.btn.lg,.act-bar .btn,.ask-act .btn,.login-box .btn,.qs-foot .btn{
  height:var(--bt-h-lg)!important; min-height:var(--bt-h-lg)!important;
  padding:0 var(--bt-px-lg)!important;
  border-radius:2px!important;
  font-size:var(--bt-fs-lg)!important;
}

/* ---------- 二、外观：四种，颜色不再各写各的 ---------- */
.btn,.btn.primary{background:var(--p)!important;color:#FFFFFF!important;border:1px solid transparent!important}
.btn.ghost{background:var(--card)!important;color:var(--p)!important;border:1px solid var(--bt-line)!important}
.btn.danger{background:var(--card)!important;color:var(--red)!important;border:1px solid var(--bt-red-line)!important}
.btn.green{background:#1A1A1A!important;color:#FFFFFF!important;border:1px solid transparent!important}
.btn:active,.ctool-btn:active,.wt-btn:active,.td-btn:active{
  transform:scale(.985); opacity:.88;
}
.btn:disabled,.btn[disabled]{opacity:.42!important;pointer-events:none}

/* 次级按钮里的图标跟着字走色，不然灰图标配蓝字 */
.btn.ghost svg,.btn.danger svg{stroke:currentColor}

/* ---------- 三、控件也同形：不再有「胶囊 / 方格 / 圆钮」三种轮廓 ----------
   上一版把这些当「控件」放过：chip 30 高 15 圆角（胶囊）、nq-cat 28 高 14 圆角、
   二级导航 32 高 16 圆角、月度箭头 32 高 9 圆角、页签 34 高 8 圆角。
   用户的原话是「形状大小相同」——那就一个不留，全部 40 高 / 10 圆角 / 14 字。
   这些仍然靠底色区分层级（未选浅灰、选中蓝底白字），但轮廓和按钮一致。
   真正的例外只有三个：底部导航条（要装图标+字）、九宫格入口（是卡片不是按钮）、
   语音录音键（58 圆形，按下就是录音，圆形是它的语义）。 */
.chip,.nq-cat,.qs-q,.tag-btn,.filt,
.subnav button,.hub-bar button,
.ent-burger,.ent-show,.ent-help,.ent-bell,
.sal-mbtn,.hr-viewbtn,.dl-dev-b{
  box-sizing:border-box!important;
  height:40px!important; min-height:40px!important;
  border-radius:2px!important;
  font-size:14px!important;
  display:inline-flex!important; align-items:center!important; justify-content:center!important;
  line-height:1!important;
}
.chip,.nq-cat,.qs-q,.tag-btn,.filt{padding:0 12px!important}
/* 分段控件的每一格是等分的，左右留 14 会把「报修记录」「花名册」挤断，
   收到 10 刚好：4 个字 56 + 20 = 76，一格就是 76。 */
.hub-bar button{padding:0 10px!important}
/* 二级导航 5~6 项要能挤进一行。40 高比原来的 32 高更宽一点，
   padding 收到 12、缝收到 6，「新建报价 台账 分析 收款 核实台」正好 382 < 402。 */
.subnav{gap:6px!important}
.subnav button{padding:0 12px!important}
/* 纯图标方块：正方形，不留左右内边距，否则 40 高会被撑成一根横条 */
.ent-burger,.ent-show,.ent-help,.ent-bell,.sal-mbtn,.hr-viewbtn{
  width:40px!important; min-width:40px!important; padding:0!important;
}
.ent-bell{position:relative}
/* 月份左右箭头：框从 32 撑到 40 之后，15 号的「‹」缩在中间显得很空，抬到 19 */
.sal-mbtn{font-size:20px!important}
.hub-bar button.on{font-weight:600!important}
/* 页码级筛选不再横切：40 高的按钮比原来 30 高更宽，一行放不下时
   原来会把最后一个切掉半颗（「管理员 4」只剩「管理员」），看着像没做完。
   放不下就换行，全都看得见；片区那种 27 项仍然横滑（带 .fade 渐隐）。 */
.chips:not(.fade){flex-wrap:wrap!important; overflow-x:visible!important; row-gap:6px!important}
/* 页面级筛选（在保 / 停保 / 全部状态 …）：未选原来用 --fill，和页面底同色，
   结果一排里只有一个蓝色方块像按钮，其余看着像普通文字——这就是「形状不一样」
   最直接的来源。现在未选也是白底描边，五个都是同一颗按钮，只差颜色。 */
.chip{background:var(--card)!important; border:1px solid #E8E8E8!important}
.chip.on{border-color:var(--p)!important}
/* 九宫格：这是入口卡片，高度跟着内容走，只把圆角收到 10 */
.hub-bar.grid button{
  height:auto!important; min-height:64px!important;
  padding:12px 8px!important; border-radius:2px!important;
  display:flex!important;
}
.li-b{height:auto!important; min-height:0!important; padding:6px 0!important; border-radius:2px!important; background:transparent!important}
.li-b[data-a="open"]{background:#1A1A1A!important}
.li-b[data-a="copy"]{background:#1A1A1A!important}

/* ---------- 四、字号：只有 14 一档 ----------
   以前控件 13、紧凑按钮 13、标准 14、主操作 15，还夹着 11 / 11.5 / 12 / 12.5。
   现在按钮与控件统一 14，只有真正的辅助文字（表头、单位、说明）留在 12/13。 */
.subnav button,.hub-bar button,.chip,.nq-cat{font-size:14px!important}
.topnav button{font-size:12px!important}

/* ---------- 五、导航：五个格子完全同形，只靠颜色分（2026-11-02）----------
   病根：上一版按钮规范里有一条 button:not([class]) 兜底，把所有「没有 class
   属性」的按钮一律压成 40 高 / 14 字。底下五个导航里，只有选中的那个带
   class="on"，于是它躲过了兜底——61 高、12 字，另外四个 40 高、14 字。
   点一下换页，尺寸就在两套之间跳一次，看着像没对齐，其实是同一个元素有两种命运。

   ※ 选择器写成 #topnav.topnav 是为了压过前面那条兜底（它带 #camSnap，
     整条规则被抬到了 ID 级），不是手滑写了两个。

   现在把五个格子钉成同一形状：等宽、同高、同圆角、同字号，
   区分只留三样——图标本身、字重、选中底色。形状不参与表达。 */
#topnav{
  display:flex!important; align-items:stretch!important; gap:0!important;
  padding:6px 4px calc(6px + env(safe-area-inset-bottom,0px))!important;
  background:var(--card)!important;
}
#topnav.topnav button{
  flex:1 1 0!important; width:auto!important; min-width:0!important; max-width:none!important;
  height:54px!important; min-height:54px!important;
  margin:0 1px!important; padding:0!important;
  display:flex!important; flex-direction:column!important;
  align-items:center!important; justify-content:center!important; gap:3px!important;
  border:none!important; border-bottom:none!important;
  border-radius:2px!important;
  background:transparent!important;
  color:#9E9E9E!important;
  font-size:12px!important; font-weight:500!important; letter-spacing:.02em!important;
  line-height:1!important;
  ;
}
/* 没权限的门要能真的藏起来。
   上面那条 display:flex 带了 !important，行内的 display:none 根本压不住 ——
   结果技师的底栏上照样摆着「报价 / 收款 / 经营」，点进去再被一脚踢回首页。
   用属性选择器 + !important 把隐藏做成可赢的一条，JS 只负责打标记。 */
#topnav.topnav button[hidden-gate]{
  display:none!important; width:0!important; flex:0 0 0!important;
  min-width:0!important; padding:0!important; margin:0!important; border:none!important;
}
#topnav.topnav button .ic{
  font-size:0!important; line-height:1!important; opacity:1!important;
  display:flex!important; align-items:center!important; justify-content:center!important;
}
#topnav button .ic .appic{ width:23px!important; height:23px!important; stroke-width:1.85 }
/* 选中：淡蓝底 + 蓝图标蓝字。形状一点没变，只是换了颜色 */
#topnav.topnav button.on{
  color:var(--p)!important; background:#FAFAFA!important; font-weight:600!important;
}
#topnav.topnav button.on .ic{ transform:none!important; opacity:1!important }
#topnav.topnav button.on .ic .appic{ stroke-width:2.15 }
/* 老的小圆点取消：已经用底色表意，再点一个点就是重复 */
#topnav.topnav button.on::after{ display:none!important; content:none!important }
#topnav.topnav button:active{ transform:scale(.96) }

/* 宽屏（桌面端）不做五等分的底栏，回到横排小按钮：
   1440 宽的五等分是 284px 一格，五个大色块压在顶上，比导航还抢眼。 */
@media (min-width:1041px){
  #topnav.topnav{
    justify-content:flex-start!important; gap:2px!important;
    padding:6px calc((100vw - 1040px)/2)!important;
    border-bottom:1px solid var(--bd)!important;
  }
  #topnav.topnav button{
    flex:0 0 auto!important; width:auto!important;
    height:40px!important; min-height:40px!important;
    padding:0 15px!important; margin:0!important;
    flex-direction:row!important; gap:7px!important;
    font-size:12px!important; border-radius:2px!important;
  }
  #topnav.topnav button .ic .appic{ width:18px!important; height:18px!important }
}

/* ---------- 六、分段控件：槽是槽，按钮还是同一个按钮（2026-11-02）----------
   还漏了三处「不像按钮」的：考勤 7/15/30 天（33 高 7 圆角）、
   新建报价的含税/另收/税率（24 高、连体零圆角）、语音开单的两个页签（39 高 11 圆角）。
   分段控件保留灰槽（槽的圆角跟着按钮走：10 + 3 内边距 = 13），
   里面的每一项仍是 40 高 / 10 圆角 / 14 字，和全站按钮一模一样。 */
.seg{
  padding:3px!important; gap:0!important;
  border-radius:2px!important;
}
.seg button{
  height:40px!important; min-height:40px!important;
  padding:0 12px!important;
  border-radius:2px!important;
  font-size:14px!important; line-height:1!important;
}
/* 含税 / 另收：原来是零圆角连体，四个格子拼成一条。拆成独立按钮，
   每个都是 10 圆角，中间留 6 的缝，按起来也不容易点错。 */
.nq-seg{
  display:inline-flex!important; gap:6px!important;
  border:none!important; background:transparent!important;
  border-radius:2px!important; overflow:visible!important;
}
.nq-seg button,
.nq-seg button+button{
  height:40px!important; min-height:40px!important;
  padding:0 14px!important;
  border:1px solid rgba(28,27,25,.25)!important;
  border-radius:2px!important;
  font-size:14px!important; line-height:1!important;
}
.nq-seg button.on{
  background:#1A1A1A!important; color:#FFFFFF!important;
  border-color:#1A1A1A!important;
}
.nq-seg-pct button{padding:0 12px!important}
/* 语音开单页签 */
.qs-tab,.qs-tab.on{
  height:40px!important; min-height:40px!important;
  padding:0 10px!important;
  border-radius:2px!important;
  font-size:14px!important; line-height:1!important;
}
/* 灰槽（.hub-bar）也跟着按钮的圆角走：10 + 3 内边距 = 13 */
.hub-bar{border-radius:2px!important}
@media (max-width:400px){
  /* 375 的二级导航：5~6 项 14 字排不下，会掉成 4+1 的孤行。
     这里只把导航文字收到 13、左右留白收到 8，正好一行放下，不折行。 */
  .subnav{gap:6px!important}
  .subnav button{font-size:12px!important; padding:0 8px!important}
}

/* ================================================================
   和风层（Wa）——纸、墨、藍
   这一层只改观感，不动结构：底色换纸，标题换明朝体，卡片收回直角，
   色块让位给一条线。整段删掉即回到上一版，前面的规则一条没动。

   为什么这么改：
   · 原来的界面是「屏幕」的逻辑——纯白卡片浮在灰底上、靠阴影分层、
     大圆角、亮蓝点缀。放到纸上来就不成立了：纸没有纯白，纸的分层
     靠的是线和留白，不是投影。
   · 日式版面的克制在于「只用一种颜色，剩下的交给空白」。所以全站
     只剩墨、灰、藍三色，朱红只留给逾期和异常——红用得越少，
     它出现的那一处才越有人看。
   ================================================================ */
:root{
  --jp-paper:#FAFAFA;      /* 和纸 */
  --jp-card:#FAFAFA;       /* 纸白，不是屏幕白 */
  --jp-ink:#1A1A1A;        /* 墨 */
  --jp-sub:#1A1A1A;        /* 灰茶 */
  --jp-line:#FAFAFA;       /* 主线 */
  --jp-line-l:#FAFAFA;     /* 细线 */
  --jp-ai:#1A1A1A;         /* 藍 */
  --jp-shu:#6E6E6E;        /* 朱 */
}

/* ---------- 一、纸 ---------- */
body{
  background-color:var(--jp-paper);
  background:#FFFFFF;
  background-attachment:fixed;
  letter-spacing:.012em;
}

/* ---------- 二、字：标题是写出来的 ---------- */
.pg-hd h2, .fin-todo-hd b, .fold-hd .ft, .panel>h3, .modal h3, .sec-h{
  font-family:"Songti SC","Noto Serif CJK SC","Source Han Serif SC","Noto Serif SC",serif!important;
  letter-spacing:.07em!important;
}
.pg-hd h2{font-size:20px!important;font-weight:600!important;color:var(--jp-ink);line-height:1.35}
.pg-hd{padding-bottom:9px!important;border-bottom:1px solid var(--jp-line);margin-bottom:13px!important}
/* 数字对齐：表格里的金额、台量上下要对得上 */
.fin-k>b, .stat b, table td, .kv b{font-variant-numeric:tabular-nums}

/* ---------- 三、卡片：一张纸，不是一块塑料 ---------- */
.panel, .fold{
  border:1px solid var(--jp-line)!important;
  border-radius:2px!important;
  background:var(--jp-card)!important;
  box-shadow:none!important;
}
.panel{padding:16px!important}
/* 面板里的条目只留横线，别一条一条描边——那是表格，不是卡片墙 */
.panel .card.fin-todo{
  border:none!important;
  border-bottom:1px solid var(--jp-line-l)!important;
  border-radius:2px!important;
  background:transparent!important;
  padding:13px 2px!important;
  margin:0!important;
}
.panel .card.fin-todo:last-child{border-bottom:none!important}

/* ---------- 四、驾驶舱：一块深墨藍 ---------- */
.fin-hero{
  background:#1A1A1A!important;
  border:1px solid #1A1A1A!important;
  border-radius:2px!important;
  box-shadow:none!important;
}
.fin-k{
  border-radius:2px!important;
  background:rgba(255,255,255,.07)!important;
  border:1px solid rgba(255,255,255,.13)!important;
}
.fin-k.hot{background:rgba(255,255,255,.13)!important}
.fin-bar{border-radius:2px!important}

/* ---------- 五、页签与筛选：纸白细边，选中墨藍 ---------- */
/* 抽屉页签改成「下划线式」：一排白块压在纸上太吵，日式版面里
   页签本来就是一条线下面的事，选中就加一道藍线，不换底色。 */
.hub-bar{
  background:transparent!important;
  border:none!important;
  padding:0!important;
  gap:4px!important;
}
.hub-bar button{
  background:transparent!important;
  border:none!important;
  border-bottom:2px solid transparent!important;
  border-radius:2px!important;
  color:var(--jp-sub)!important;
  height:38px!important;
  padding:0 11px!important;
  font-size:12px!important;
  letter-spacing:.03em;
}
.hub-bar button.on{
  background:transparent!important;
  border-bottom-color:var(--jp-ai)!important;
  color:var(--jp-ink)!important;
  font-weight:600!important;
}
.hub-bar.grid{background:transparent!important}
.hub-bar.grid button{
  background:var(--jp-card)!important;
  border:1px solid var(--jp-line)!important;
  border-radius:2px!important;
  height:56px!important;
  min-height:56px!important;
  max-height:56px!important;
  padding:5px 4px!important;
  flex-direction:column!important;
  gap:5px!important;
  font-size:12px!important;
  line-height:1.1!important;
}
.hub-bar.grid button .ic{width:20px!important;height:20px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important}
.hub-bar.grid button .ic svg{width:20px!important;height:20px!important}

.chip{
  border-radius:2px!important;
  border:1px solid var(--jp-line)!important;
  background:var(--jp-card)!important;
  color:var(--jp-ink)!important;
  letter-spacing:.02em;
}
.chip.on, .chip.active, .chip.sel{
  background:var(--jp-ai)!important;
  border-color:var(--jp-ai)!important;
  color:#FAFAFA!important;
}

/* 页头四个小按钮：去掉灰底，只留线条 */
.ent-burger, .ent-show, .ent-help, .ent-bell{
  background:transparent!important;
  border-radius:2px!important;
}

/* ---------- 十一、按钮：一个形状，一个尺寸 ----------
   指纹键那种「方中带圆」：40 高、8 圆角、14 字、左右各 16。
   原来日式层把圆角压到了 2px，太硬；这一条改回 8px，并且只此一种——
   行内小按钮、弹窗大按钮、筛选 chip、分类按钮、月份箭头，全部收进来。 */
:root{--bt-r:2px;--bt-r-sm:2px;--bt-r-lg:2px}
.btn, .btn.ghost, .btn.danger, .btn.green, .btn.primary, .btn.sm, .btn.lg,
.nq-btn, .bq-btn, .ctool-btn, .wt-btn, .td-btn, .hr-mini, .qs-tidy, .vf-btn,
.fu-b, .nq-add, .nq-reset, .nq-cat, .hr-viewbtn, .sal-mbtn, .chip, .subnav button,
.ent-burger, .ent-show, .ent-help, .ent-bell,
button:not([class]):not(#camSnap){
  height:40px!important; min-height:40px!important;
  border-radius:2px!important;
  font-size:14px!important;
  padding:0 16px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  box-sizing:border-box;
  min-width:0;
}
/* 图标按钮保持方，但同高同圆角 */
.hr-viewbtn, .sal-mbtn{width:40px!important;padding:0!important}

/* 抽屉页签也收进同一个形状：白底细边，选中墨藍。
   下划线式虽然干净，但和旁边的按钮放在一起就成了两种东西。 */
.hub-bar button{
  border:1px solid transparent!important;
  border-radius:2px!important;
  height:40px!important;
  padding:0 14px!important;
}
.hub-bar button.on{
  background:var(--jp-ai)!important;
  border-color:var(--jp-ai)!important;
  color:#FAFAFA!important;
}

/* ===== 导航按钮：竖版指纹格（2026-11-03）=====
   横排「图标+字」的时候，430 宽里一格只剩 77，图标和字互相挤，五个格子
   看着像五张并排的小贴纸。改成竖排——图标在上、字在下，格子是方的，
   留白出来了，字也不用再压到 12px 以下。
   尺寸仍然只有一份，三处共用：
     高度 56 / 圆角 10 / 字号 11 / 图标 20 / 图标与字间距 3 / 左右内边距 4
     容器内边距 8 10（底栏 7 8 + 安全区）/ 格与格的缝 5
   颜色也统一：纸白格、一像素淡边；选中一整块墨藍反白。 */
/* 底栏与二级页签：一条横带，按屏宽等分，左右边界贴内容卡（16）。 */
#topnav.topnav,
.subnav{
  display:flex!important;
  flex-wrap:wrap!important;
  justify-content:center!important;
  align-items:stretch!important;
  gap:6px!important;
  padding:8px 16px!important;
  box-sizing:border-box!important;
}
/* 一个格子多大，只由屏宽决定：(屏宽 - 左右各 16 - 4 条 6 的缝) / 5。
   430 上是 74.8，375 上是 63.8——底栏、页签、抽屉、九宫格，
   第几层都是这个数，不随入口多少、不随层级深浅改。
   用 vw 而不是百分比：抽屉入口少时容器会收窄，百分比会跟着缩，
   格子就不是同一个尺寸了。 */
:root{--cell:calc((100vw - 56px) / 5)}
#topnav.topnav{padding:7px 16px calc(7px + var(--sab))!important}
.hub-bar:not(.grid),.hub-bar.grid{padding:0 0 8px!important}
#topnav.topnav button,
.subnav button,
.hub-bar:not(.grid) button{
  flex:1 1 0!important;
  min-width:0!important; width:auto!important;
  height:56px!important; min-height:56px!important; max-height:56px!important;
  margin:0!important;
  padding:6px 4px!important;
  border-radius:2px!important;
  font-size:12px!important;
  line-height:1.1!important;
  letter-spacing:.03em!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  gap:3px!important;
  box-sizing:border-box!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  transition:background .16s ease, color .16s ease, border-color .16s ease;
}
/* 图标：20 见方，竖排时压住格子上半，字贴在下面 */
#topnav.topnav button .ic,
.subnav button .ic,
.hub-bar:not(.grid) button .ic{
  width:20px!important; height:20px!important;
  display:inline-flex!important; align-items:center!important; justify-content:center!important;
  flex:none!important;
}
#topnav.topnav button .ic svg,
#topnav.topnav button .appic,
.subnav button .ic svg,
.subnav button .appic,
.hub-bar:not(.grid) button .appic{width:20px!important;height:20px!important}
/* 静止态：纸白底、一像素淡边、墨色字。四个格子和选中格只差颜色。 */
#topnav.topnav button,
.subnav button,
.hub-bar:not(.grid) button{
  background:var(--jp-card)!important;
  border:1px solid var(--jp-line)!important;
  color:#1A1A1A!important;
  font-weight:500!important;
}
#topnav.topnav button.on,
.subnav button.on,
.hub-bar:not(.grid) button.on{
  background:var(--jp-ai)!important;
  border-color:var(--jp-ai)!important;
  color:#FAFAFA!important;
  font-weight:600!important;
}
/* 线条粗细也只有一个值：静止 1.7，选中 1.95。
   底栏标签上原来写死的 stroke-width=2 也压回 1.7。 */
#topnav.topnav button .appic,
.subnav button .appic,
.hub-bar button .appic{stroke-width:1.7!important}
#topnav.topnav button.on .appic,
.subnav button.on .appic,
.hub-bar button.on .appic{stroke-width:1.95!important}
/* 三级菜单同一套规矩：底栏、二级页签、抽屉格子，长的都是同一个方块——
   纸白底、一像素淡边、10 圆角、图标在上、字在下；选中整块翻成墨藍。
   层级只由位置表达（下面/上面/页内），不由长相表达。 */
#topnav.topnav button.on .ic svg{
  stroke-width:2.05!important;
}

/* 底栏整条：纸白 + 顶部一道线；格子与底同色，只剩细边勾出方角 */
#topnav.topnav{
  background:var(--jp-card)!important;
  border-top:1px solid var(--jp-line)!important;
  box-shadow:none!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
  padding:7px 16px calc(7px + var(--sab))!important;
}
#topnav.topnav button{box-shadow:none!important}
#topnav.topnav button:active{transform:scale(.97)}
/* 二级导航：一到两项时别拉成两张长条，96 打住并居中 */
.subnav{justify-content:center!important}

/* 抽屉：三三宫格。一屏最多九个入口，正好落满 3 × 3——
   九宫格是这个形状最完备的形态，五个是 3+2，六个是 3+3，九个是 3×3，
   都不留豁口。格子宽由列决定，三列永远等分，不受入口多少影响。 */
/* 一行三格，多出来的换行——但每一行都居中，不贴左。
   这样四个入口落成 2+2、五个落成 3+2、七个落成 3+3+1，
   末行不会甩一个孤零零的格子挂在左边角上。 */
.hub-bar:not(.grid),
.hub-bar.grid{
  display:flex!important;
  flex-wrap:wrap!important;
  justify-content:center!important;
  gap:8px!important;
  padding:0 0 10px!important;
  box-sizing:border-box!important;
}
.hub-bar:not(.grid) button,
.hub-bar.grid button{
  /* 格宽只由列数决定：(可用宽 - 两条 8) / 3。四个入口也还是这么大，
     不会因为一行只放两个就把格子撑宽。 */
  width:calc((100% - 16px) / 3)!important;
  max-width:none!important;
  flex:0 0 auto!important;
  /* 横三竖六：一行三格，六行正好铺满一屏（18 格为上限）。
     高度跟着屏高走，长屏手机也不会一行挤成薄片。 */
  height:clamp(68px, calc((100dvh - 262px) / 6), 104px)!important;
  min-height:0!important; max-height:none!important;
  padding:8px 6px!important;
  flex-direction:column!important;
  gap:6px!important;
  font-size:12px!important;
  line-height:1.2!important;
  border-radius:2px!important;
}
.hub-bar:not(.grid) button .ic,
.hub-bar.grid button .ic{width:22px!important;height:22px!important}
.hub-bar:not(.grid) button .appic,
.hub-bar.grid button .appic{width:22px!important;height:22px!important}
/* 选中：整格翻墨藍，和底栏、页签同一套说法 */
.hub-bar:not(.grid) button.on,
.hub-bar.grid button.on{
  background:var(--jp-ai)!important;
  border-color:var(--jp-ai)!important;
  color:#FAFAFA!important;
  font-weight:600!important;
}
/* 底栏等分：以前写死「五等分」，后来门变成 8 个就溢出了。
   改成自适应等分 —— 几个门都平分屏宽，权限少的（比如技师只剩 2 门）
   也不会被拉成大格子。页签 .subnav 仍按格子宽，不动。 */
#topnav.topnav button{
  width:auto!important;
  flex:1 1 0!important;
  min-width:0!important;
  max-width:none!important;
}
@media (min-width:1041px){:root{--cell:96px}}
/* 宽屏：底栏不做五等分，回到横排中宽按钮（284 一格太夸张） */
@media (min-width:1041px){
  #topnav.topnav{
    justify-content:center!important;
    gap:6px!important;
    padding:8px 0!important;
  }
  #topnav.topnav button{
    flex:0 0 auto!important; width:auto!important;
    height:44px!important; min-height:44px!important; max-height:44px!important;
    flex-direction:row!important; gap:7px!important;
    padding:0 18px!important;
    font-size:12px!important;
  }
  #topnav.topnav button .ic svg,
  #topnav.topnav button .appic{width:18px!important;height:18px!important}
}

/* ================================================================
   按钮规范（2026-11-03 定稿）
   ----------------------------------------------------------------
   一条铁律：尺寸、圆角、内边距、占位，四件事一律不参与表达。
   所有按钮都是同一块方中带圆的格子——高 40、圆角 8、左右 16、字 14。
   表达只交给三样：底色、图标、字色。

   四种角色，一眼分得开，又不互相抢：
     primary  墨藍实底 + 纸白字     —— 这一屏你该按的那个（保存/新增/提交）
     ghost    纸白底 + 米色细边     —— 其余可以按的（导出/编辑/详情/模板）
     danger   纸白底 + 朱红细边     —— 会丢东西的（删除/作废/重置）
     quiet    无底无边，只留字     —— 只给「取消/关闭/返回」，且必须在弹窗里

   状态只有三种：静止、按下、不可用。不做悬停——手机上没有悬停。
   ================================================================ */
button[data-ai="1"]{
  letter-spacing:.02em!important;
  transition:background .14s ease, border-color .14s ease, color .14s ease!important;
}
button[data-ai="1"] .ai-ic{
  width:16px; height:16px;
  display:inline-flex; align-items:center; justify-content:center;
  flex:none; margin-right:8px;
}
button[data-ai="1"] .ai-ic svg{
  width:16px; height:16px; display:block;
  stroke:currentColor; fill:none;
  stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round;
}

/* 主：墨藍实底。按下去再深一档，给手指一个回执 */
button[data-ai="1"][data-kind="primary"]{
  background:var(--jp-ai)!important;
  border:1px solid var(--jp-ai)!important;
  color:#FAFAFA!important;
  font-weight:600!important;
}
button[data-ai="1"][data-kind="primary"]:active{
  background:var(--pd,#1A1A1A)!important;
  border-color:var(--pd,#1A1A1A)!important;
}

/* 次：纸白 + 一像素米线。边框就是它的形体，所以不能省 */
button[data-ai="1"][data-kind="ghost"]{
  background:var(--jp-card)!important;
  border:1px solid var(--jp-line)!important;
  color:var(--jp-ink)!important;
  font-weight:500!important;
}
button[data-ai="1"][data-kind="ghost"]:active{
  background:#FAFAFA!important;
  border-color:#6E6E6E!important;
}

/* 险：白底朱边朱字。只有按下那一刻才整块转红——那是最后一道确认 */
button[data-ai="1"][data-kind="danger"]{
  background:var(--jp-card)!important;
  border:1px solid #E8E8E8!important;
  color:#6E6E6E!important;
  font-weight:500!important;
}
button[data-ai="1"][data-kind="danger"]:active{
  background:#6E6E6E!important;
  border-color:#6E6E6E!important;
  color:#FAFAFA!important;
}

/* 轻：只给取消/关闭。没有底、没有边，靠位置和字号立住 */
button[data-ai="1"][data-kind="quiet"]{
  background:transparent!important;
  border:1px solid transparent!important;
  color:var(--jp-sub)!important;
  font-weight:500!important;
}
button[data-ai="1"][data-kind="quiet"]:active{
  background:rgba(28,27,25,.06)!important;
}

/* 不可用：掉到四成，且不再有按下的回执 */
button[data-ai="1"]:disabled,
button[disabled]{
  opacity:.42!important;
  pointer-events:none!important;
}

/* ---------- 七、表格：只留横线 ---------- */
table{border-collapse:collapse}
table th{
  font-size:12px!important; font-weight:600!important;
  letter-spacing:.12em; color:var(--jp-sub)!important;
  background:transparent!important;
  border-bottom:1px solid var(--jp-line)!important;
}
table td{border-bottom:1px solid var(--jp-line-l)!important; background:transparent!important}

/* ---------- 八、输入 ---------- */
input:not([type=checkbox]):not([type=radio]), select, textarea{
  border-radius:2px!important;
  border:1px solid var(--jp-line)!important;
  background:#FAFAFA!important;
}
input:focus, select:focus, textarea:focus{
  border-color:var(--jp-ai)!important;
  box-shadow:none!important;
}

/* ---------- 九、页头：纸白，一条墨线收口 ---------- */
header{
  background:var(--jp-card)!important;
  border-bottom:1px solid var(--jp-line)!important;
}
header h1{
  font-family:"Songti SC","Noto Serif CJK SC","Source Han Serif SC",serif!important;
  letter-spacing:.08em!important;
}

/* ---------- 十、弹窗：从纸上抬起，用线不用影 ---------- */
.modal{
  border-radius:2px!important;
  border-top:1px solid var(--jp-line)!important;
  box-shadow:none!important;
}


/* ================================================================
   机械美学层（2026-11-03）
   ----------------------------------------------------------------
   把按钮从「纸片」做成「键帽」。三样东西给出手感：
     倒角   顶边一像素白高光 + 底边一像素暗影，光从左上来
     键程   按下下沉 1 像素，阴影由外翻成内，像真的压下去
     材质   浅色是拉丝铝，墨藍是烤漆钢板，朱红是警示漆
   线条全部收硬：圆角 3、字距 .045em、图标方头端点。
   ================================================================ */
:root{
  --m-fa:#FAFAFA;  --m-fb:#FAFAFA;  --m-fc:#FAFAFA;
  --m-edge:#6E6E6E; --m-ink:#1A1A1A;
  --m-hi:rgba(255,255,255,.96); --m-lo:rgba(0,0,0,.075);
  --m-sa:#1A1A1A; --m-sb:#1A1A1A; --m-sc:#1A1A1A;
  --m-ra:#FAFAFA; --m-rb:#FAFAFA; --m-rc:#6E6E6E; --m-rink:#6E6E6E;
}
/* ---------- 1. 键帽本体：所有能按的东西都同一副面孔 ---------- */
button[data-ai="1"],
.btn,.btn.ghost,.btn.danger,.btn.green,
.nq-btn,.bq-btn,.ctool-btn,.wt-btn,.td-btn,.hr-mini,.qs-tidy,.vf-btn,.fu-b,
.nq-add,.nq-reset,.nq-cat,.hr-viewbtn,.sal-mbtn,.chip,
.subnav button,#topnav.topnav button,
.hub-bar:not(.grid) button,.hub-bar.grid button,
.seg button,.nq-seg button{
  border-radius:2px!important;
  background:#FFFFFF!important;
  border:1px solid #E8E8E8!important;
  color:var(--m-ink)!important;
  font-weight:600!important;
  letter-spacing:.045em!important;
  text-shadow:0 1px 0 rgba(255,255,255,.78);
  box-shadow:none!important;
  ;
}
/* ---------- 2. 键程：按下沉一格，光收进去 ---------- */
button[data-ai="1"]:active,
.btn:active,.nq-btn:active,.bq-btn:active,.ctool-btn:active,.wt-btn:active,
.td-btn:active,.hr-mini:active,.chip:active,
.subnav button:active,#topnav.topnav button:active,.hub-bar button:active,
.seg button:active,.nq-seg button:active{
  transform:translateY(1px)!important;
  text-shadow:none!important;
  box-shadow:none!important;
}
/* ---------- 3. 烤漆钢板：主操作 ---------- */
button[data-ai="1"][data-kind="primary"]{
  background:transparent!important;
  border-color:#1A1A1A!important;
  color:#FAFAFA!important;
  text-shadow:0 1px 1px rgba(0,0,0,.38);
  box-shadow:none!important;
}
button[data-ai="1"][data-kind="primary"]:active{
  background:#1A1A1A!important;
  box-shadow:none!important;
}
/* ---------- 4. 警示漆：会丢东西的 ---------- */
button[data-ai="1"][data-kind="danger"]{
  background:transparent!important;
  border-color:#6E6E6E!important;
  color:var(--m-rink)!important;
  font-weight:600!important;
}
button[data-ai="1"][data-kind="danger"]:active{
  background:#6E6E6E!important;
  border-color:#6E6E6E!important;
  color:#FAFAFA!important;
  text-shadow:0 1px 1px rgba(0,0,0,.3);
}
/* ---------- 5. 丝印字：只有取消/关闭 ---------- */
button[data-ai="1"][data-kind="quiet"]{
  background-image:none!important;
  background:transparent!important;
  border-color:transparent!important;
  box-shadow:none!important;
  color:#1A1A1A!important;
  text-shadow:none;
}
button[data-ai="1"][data-kind="quiet"]:active{
  transform:translateY(1px)!important;
  background:rgba(28,27,25,.07)!important;
  box-shadow:none!important;
}
/* ---------- 6. 面板按键：抽屉宫格 ---------- */
.hub-bar:not(.grid) button,
.hub-bar.grid button{
  border-radius:2px!important;
  background:#FFFFFF!important;
  border:1px solid #E8E8E8!important;
  box-shadow:none!important;
}
.hub-bar:not(.grid) button.on,
.hub-bar.grid button.on{
  background:#1A1A1A!important;
  border-color:#1A1A1A!important;
  color:#FAFAFA!important;
  text-shadow:0 1px 1px rgba(0,0,0,.4);
  box-shadow:none!important;
}
/* 宫格按下：整块沉进面板 */
.hub-bar:not(.grid) button:active,
.hub-bar.grid button:active{
  transform:translateY(1px)!important;
  box-shadow:none!important;
}
/* ---------- 7. 机箱底板：底栏与页签 ---------- */
#topnav.topnav{
  background:#FFFFFF!important;
  border-top:1px solid #E8E8E8!important;
  box-shadow:none!important;
}
.subnav{
  background:#FFFFFF!important;
  border-bottom:1px solid #E8E8E8!important;
}
/* 横向滚动的分类条：按钮一律不收缩。
   flex 默认会压缩子项，chip 被压到 34 宽时文字就叠在一起了。 */
.nq-cats button,.chips button,.nq-cat{
  flex:0 0 auto!important;
  white-space:nowrap!important;
}
/* 悬浮加号：原来是正圆，和方头键帽不同族。收成 6 圆角的方键，
   和底栏那枚烤漆钢板同材质，按下去一样沉一格。 */
.fab,.bot-fab{
  border-radius:2px!important;
  background:#1A1A1A!important;
  border:1px solid #1A1A1A!important;
  box-shadow:none!important;
}
.fab:active,.bot-fab:active{
  transform:translateY(1px)!important;
  box-shadow:none!important;
}
/* ---------- 8. 图标：方头、细线、直来直去 ---------- */
#topnav.topnav button .appic,
.subnav button .appic,
.hub-bar button .appic,
button[data-ai="1"] .ai-ic svg{
  stroke-linecap:butt!important;
  stroke-linejoin:miter!important;
}
/* ---------- 9. 分段控件：拨档开关 ---------- */
.seg{
  background:#FFFFFF!important;
  border:1px solid #E8E8E8!important;
  border-radius:2px!important;
  box-shadow:none!important;
  padding:2px!important;
}
.seg button{
  border-radius:2px!important;
  box-shadow:none!important;
  background-image:none!important;
  background:transparent!important;
  border-color:transparent!important;
  text-shadow:none;
}
.seg button.on{
  background:#FFFFFF!important;
  border:1px solid #E8E8E8!important;
  color:var(--m-sb)!important;
  box-shadow:none!important;
}
.nq-seg{
  border-radius:2px!important;
  box-shadow:none!important;
  background:#FFFFFF!important;
  border-color:#6E6E6E!important;
  padding:2px!important;
  gap:2px;
}
.nq-seg button{
  box-shadow:none!important;
  background:transparent!important;
  border:none!important;
  border-radius:2px!important;
  text-shadow:none;
}
.nq-seg button.on{
  background:#1A1A1A!important;
  color:#FAFAFA!important;
  box-shadow:none!important;
}

/* ================================================================
   每天第一眼的屏：经营驾驶舱 → 机械仪表台（2026-11-03）
   ----------------------------------------------------------------
   按钮是键帽，这一块就该是仪表：钢板面板、四角螺丝、阴刻铭牌、
   凹槽里的读数窗。数字用等宽字，带一点冷光——像真的在发光，
   但只亮到读得清为止，不刺眼。
   ================================================================ */
.fin-hero{
  position:relative;
  padding:16px 15px 15px!important;
  border-radius:2px!important;
  /* 钢板：一层 1px 的横向拉丝，压得很淡，只在光下看得见 */
  background:#1A1A1A!important;
  border:1px solid #1A1A1A!important;
  box-shadow:none!important;
  overflow:hidden;
}
/* 四角螺丝：四个径向渐变钉在角上，光自左上，右下沉 */
.fin-hero::before{
  content:"";position:absolute;inset:0;pointer-events:none;
  background:#1A1A1A;
  opacity:.9;
}
/* 铭牌：字距拉开、压一道暗影，像刻在钢上 */
.fin-hd{
  font-size:12px!important;margin-bottom:13px!important;
  padding-bottom:9px;border-bottom:1px solid rgba(255,255,255,.1);
  box-shadow:none;
  color:#E8E8E8;opacity:1!important;
}
.fin-hd b{font-size:12px!important;font-weight:600!important;letter-spacing:.22em!important;
  text-shadow:0 1px 0 rgba(0,0,0,.6)}
.fin-hd em{letter-spacing:.1em;opacity:.5!important;font-variant-numeric:tabular-nums}
/* 指示灯：有芯、有圈、有晕 */
.fin-dot{
  width:7px!important;height:7px!important;
  background:#1A1A1A!important;
  box-shadow:none!important;
}
/* 读数窗：凹进去的槽，数字浮在槽底 */
.fin-k{
  background:transparent!important;
  border:1px solid rgba(0,0,0,.55)!important;
  border-radius:2px!important;
  padding:9px 10px 10px!important;
  box-shadow:none!important;
}
.fin-k>span{font-size:12px!important;letter-spacing:.14em;
  color:#1A1A1A!important;opacity:1!important;text-shadow:0 1px 0 rgba(0,0,0,.65)}
.fin-k>b{
  font-family:ui-monospace,"SF Mono",Menlo,Consolas,monospace!important;
  font-size:20px!important;font-weight:600!important;letter-spacing:0!important;
  color:#E8E8E8!important;text-shadow:0 0 11px rgba(28,27,25,.26)!important;
  line-height:1.25!important;
}
/* 「万」不走等宽：等宽里的中文会被撑成一整格，数字和单位之间就空出一道 */
.fin-k>b em{font-family:"Noto Sans CJK SC","PingFang SC",system-ui,sans-serif!important;
  font-size:12px!important;font-weight:500!important;margin-left:1px!important;
  letter-spacing:.02em!important;color:#1A1A1A!important;opacity:1!important}
.fin-k>i{color:#1A1A1A!important;opacity:1!important;font-size:12px!important;
  letter-spacing:.02em}
.fin-k.hot{
  background:transparent!important;
  border-color:rgba(0,0,0,.62)!important;
}
.fin-k.hot>b{color:#6E6E6E!important;text-shadow:0 0 13px rgba(142,142,147,.42)!important}
/* 账龄：一条带刻度的量尺 */
.fin-age{margin-top:14px!important;padding-top:12px;
  border-top:1px solid rgba(255,255,255,.1);
  box-shadow:none}
.fin-age-t{letter-spacing:.13em;color:#1A1A1A!important;text-shadow:0 1px 0 rgba(0,0,0,.55)}
.fin-bar{
  height:11px!important;border-radius:2px!important;
  background:rgba(0,0,0,.42)!important;
  box-shadow:none!important;
  position:relative;
}
.fin-bar::after{
  content:"";position:absolute;inset:0;pointer-events:none;border-radius:2px;
  background:transparent;
}
.fin-lg{margin-top:7px!important;font-size:11!important;opacity:.95!important;gap:9px!important}
.fin-lg i{width:7px!important;height:7px!important;border-radius:2px!important;
  box-shadow:none}
/* 待办前的小灯：灰是等办，红是急 */
.fin-todo-ic i{
  width:9px!important;height:9px!important;
  background:#1A1A1A!important;
  box-shadow:none!important;
  opacity:1!important;border-radius:50%!important;
}
.fin-todo-ic i.hot{
  background:#6E6E6E!important;
  box-shadow:none!important;
}

/* ================================================================
   全不锈钢（2026-11-03 定稿）
   ----------------------------------------------------------------
   一层一层往上走，每一层的做法都不一样，但材质是同一块钢：
     底层  拉丝钢板的地        竖纹、冷灰、带一点环境光
     中层  折边的板            顶边高光、底边暗影、四周一条发丝缝
     凹层  铣出来的槽          输入框、表头、空状态——光进去出不来
     顶层  键帽与铭牌          按钮、开关、页签
   刻字一律阴刻：字是凹进去的，不是印上去的。
   全站只有一个彩色：墨藍。它出现在该按的地方，别处都是钢。
   ================================================================ */
:root{
  --st-0:#FFFFFF; --st-1:#FAFAFA; --st-2:#E8E8E8; --st-3:#E8E8E8;
  --st-line:#9E9E9E; --st-hair:#E8E8E8;
  --st-ink:#1A1A1A; --st-sub:#1A1A1A;
  --bg:#E8E8E8; --card:#FAFAFA; --t:#1A1A1A; --m:#1A1A1A; --bd:#9E9E9E;
  --jp-paper:#E8E8E8; --jp-card:#FAFAFA; --jp-ink:#1A1A1A; --jp-sub:#1A1A1A;
  --jp-line:#9E9E9E; --jp-line-l:#E8E8E8;
}
/* ---------- 一 · 地：竖着拉的丝，冷灰，别太亮 ---------- */
html,body,body.plain{background-color:#E8E8E8!important}
body,body.plain{
  background:#FFFFFF!important;
  background-attachment:fixed!important;
  color:var(--st-ink)!important;
}
/* ---------- 二 · 顶栏：一块折过边的板 ---------- */
header{
  background:#E8E8E8!important;
  color:var(--st-ink)!important;
  border-bottom:1px solid #E8E8E8!important;
  box-shadow:none!important;
}
header h1{letter-spacing:.14em!important;color:var(--st-ink)!important;
  text-shadow:0 1px 0 rgba(255,255,255,.95),0 -1px 0 rgba(0,0,0,.10)}
header .sub{color:var(--st-sub)!important}
/* ---------- 三 · 板：面板是折边钢板，不是纸 ---------- */
.panel,.fold,.stat,.kpi,.kpi-card,.dl-item,.qs-req,.sys-mode,.hr-card,.bq-item,.bq-sum,.blank-box,.sal-row,.nv-card{
  background:#E8E8E8!important;
  border:1px solid #E8E8E8!important;
  border-radius:2px!important;
  box-shadow:none!important;
}
/* 行的分隔线：不是画上去的细线，是铣出来的一道槽 */
.card,.list-item,.dl-item{border-color:#E8E8E8!important;box-shadow:none!important}
/* ---------- 四 · 刻字：标题阴刻，字距拉开 ---------- */
.pg-hd h2,.fin-todo-hd b,.fold-hd .ft,.panel>h3,.modal h3,.sec-h,.blank-box h4{
  font-family:-apple-system,"PingFang SC","Noto Sans CJK SC",sans-serif!important;
  letter-spacing:.10em!important;font-weight:700!important;
}
.panel>h3,.modal h3{
  color:#1A1A1A!important;
  border-bottom:1px solid #E8E8E8!important;
  box-shadow:none!important;
  text-shadow:0 1px 0 rgba(255,255,255,.95),0 -1px 0 rgba(0,0,0,.10)!important;
}
.pg-hd{border-bottom:1px solid #E8E8E8!important;
  box-shadow:none!important}
.pg-hd h2{color:var(--st-ink)!important;text-shadow:0 1px 0 #FFFFFF,0 -1px 0 rgba(0,0,0,.12)}
/* ---------- 五 · 槽：输入、表头、空状态都是铣出来的 ---------- */
input:not([type="checkbox"]):not([type="radio"]):not([type="range"]),
select,textarea{
  background:#E8E8E8!important;
  border:1px solid #E8E8E8!important;
  border-radius:2px!important;
  color:var(--st-ink)!important;
  box-shadow:none!important;
}
input:not([type="checkbox"]):not([type="radio"]):focus,select:focus,textarea:focus{
  outline:none!important;border-color:#1A1A1A!important;
  box-shadow:none!important;
}
input::placeholder,textarea::placeholder{color:#9E9E9E!important}
table th{
  background:#E8E8E8!important;
  border-bottom:1px solid #E8E8E8!important;
  box-shadow:none!important;
  letter-spacing:.07em!important;color:#1A1A1A!important;
}
table td{border-bottom:1px solid #E8E8E8!important}
table tr:last-child td{border-bottom:none!important}
.empty{background:transparent!important;
  border:1px solid #E8E8E8!important;color:var(--st-sub)!important}
/* ---------- 六 · 标牌：冲压出来的小牌，不是糖果 ---------- */
.tag{
  background:#E8E8E8!important;
  border:1px solid #E8E8E8!important;
  color:#1A1A1A!important;border-radius:2px!important;
  box-shadow:none!important;
  letter-spacing:.05em!important;
}
.tag.r{background:#FAFAFA!important;border-color:#6E6E6E!important;color:#6E6E6E!important}
.tag.g{background:#FFFFFF!important;border-color:#9E9E9E!important;color:#1A1A1A!important}
.tag.o{background:#FFFFFF!important;border-color:#6E6E6E!important;color:#9E9E9E!important}
.tag.p,.tag.c,.tag.gray{color:#1A1A1A!important}
/* ---------- 七 · 底栏：枪灰托板，选中是压下去的那一格 ---------- */
#topnav.topnav{
  background:#E8E8E8!important;
  border-top:1px solid #E8E8E8!important;
  box-shadow:none!important;
}
#topnav.topnav button{color:#1A1A1A!important}
#topnav.topnav button.on{
  background:#1A1A1A!important;
  border-color:#1A1A1A!important;color:#E8E8E8!important;
  box-shadow:none!important;
}
/* ---------- 八 · 弹窗：一块带四颗螺丝的检修盖 ---------- */
.modal,.sheet,.dlg,.mbox-inner{
  background:#E8E8E8!important;
  border:1px solid #E8E8E8!important;
  box-shadow:none!important;
}
/* ---------- 九 · 滚动条：钢上的滑槽 ---------- */
*::-webkit-scrollbar{width:8px;height:8px}
*::-webkit-scrollbar-track{background:#E8E8E8;box-shadow:none}
*::-webkit-scrollbar-thumb{background:#9E9E9E;border-radius:2px;
  box-shadow:none}

/* ---------- 十 · 外壳：顶栏、侧栏、二级页签，都是同一块钢 ---------- */
.ent-top{
  background:#E8E8E8!important;
  border-bottom:1px solid #E8E8E8!important;
  box-shadow:none!important;
}
.ent-crumb{color:#1A1A1A!important;letter-spacing:.08em}
.ent-crumb b{color:#1A1A1A!important;text-shadow:0 1px 0 rgba(255,255,255,.9)}
.ent-burger,.ent-bell,.ent-search{
  background:#E8E8E8!important;
  border:1px solid #E8E8E8!important;border-radius:2px!important;
  box-shadow:none!important;
  color:#1A1A1A!important;
}
.ent-search input{background:transparent!important;box-shadow:none!important;border:none!important}
.ent-side{
  background:#E8E8E8!important;
  border-right:1px solid #E8E8E8!important;
  box-shadow:none!important;
}
.ent-brand{border-bottom:1px solid #E8E8E8!important;box-shadow:none!important}
.ent-brand-n{letter-spacing:.12em!important;text-shadow:0 1px 0 #FFFFFF}
.ent-sub{border-radius:2px!important;color:#1A1A1A!important}
.ent-sub:hover{background:rgba(255,255,255,.55)!important}
.ent-sub.on{
  background:#1A1A1A!important;color:#E8E8E8!important;
  border-left-color:#1A1A1A!important;
  box-shadow:none!important;
}
.subnav{
  background:#E8E8E8!important;
  border-bottom:1px solid #E8E8E8!important;
  box-shadow:none!important;
}
/* ---------- 十一 · 键帽：把暖铝换成冷钢 ---------- */
button[data-ai="1"],.btn,.btn.ghost,.btn.danger,.btn.green,
.nq-btn,.bq-btn,.ctool-btn,.wt-btn,.td-btn,.hr-mini,.qs-tidy,.vf-btn,.fu-b,
.nq-add,.nq-reset,.nq-cat,.hr-viewbtn,.sal-mbtn,.chip,
.subnav button,#topnav.topnav button,
.hub-bar:not(.grid) button,.hub-bar.grid button,
.seg button,.nq-seg button{
  background:#E8E8E8!important;
  border-color:#9E9E9E!important;
  color:#1A1A1A!important;
  text-shadow:0 1px 0 rgba(255,255,255,.85)!important;
  box-shadow:none!important;
}
button[data-ai="1"][data-kind="primary"]{
  background:#1A1A1A!important;
  border-color:#1A1A1A!important;color:#E8E8E8!important;
  text-shadow:0 1px 1px rgba(0,0,0,.4)!important;
  box-shadow:none!important;
}
button[data-ai="1"][data-kind="danger"]{
  background:#6E6E6E!important;
  border-color:#6E6E6E!important;color:#FFFFFF!important;
}
button[data-ai="1"][data-kind="quiet"]{
  background-image:none!important;background:transparent!important;border-color:transparent!important;
  box-shadow:none!important;text-shadow:none!important;color:#1A1A1A!important;
}
/* 宫格与页签：面板按键 */
.hub-bar:not(.grid) button,.hub-bar.grid button,#topnav.topnav button,.subnav button{
  background:#E8E8E8!important;
  border-color:#9E9E9E!important;
  color:#1A1A1A!important;
  box-shadow:none!important;
}
.hub-bar:not(.grid) button.on,.hub-bar.grid button.on,#topnav.topnav button.on{
  background:#1A1A1A!important;
  border-color:#1A1A1A!important;color:#E8E8E8!important;text-shadow:0 1px 1px rgba(0,0,0,.4)!important;
}
/* 拨档开关 */
.seg,.nq-seg{
  background:#E8E8E8!important;
  border:1px solid #E8E8E8!important;
  box-shadow:none!important;
}
.seg button.on,.nq-seg button.on{
  background:#1A1A1A!important;
  border-color:#1A1A1A!important;color:#E8E8E8!important;
  box-shadow:none!important;
}
/* ================================================================
   豆按钮 + 圆胖层（2026-11-03）
   ----------------------------------------------------------------
   一句话：把按钮做成一颗豆子。
     短粗   高 46，左右 22，字 14/700 —— 像捏出来的，不是画出来的
     圆鼓   圆角 999，两端是半圆，没有一处直角
     有肉   顶上一条高光，底下三像素厚度，外面一圈软影
     按下去 整颗缩到 97%，不是陷进地里

   导航格（底栏、页签、宫格）例外：它们要装两行字，
   做成胶囊会变成椭圆，所以给 26 的胖圆角 —— 同一家族的胖方块。
   ================================================================ */
:root{
  --r-bean:2px;
  --r-navbean:2px;
  --r-card:2px;
  --r-field:2px;
  --soft-bean:
    inset 0 2px 1px rgba(255,255,255,.95),
    inset 0 -3px 6px rgba(0,0,0,.10),
    0 2px 3px rgba(28,27,25,.10),
    0 6px 14px rgba(28,27,25,.08),
    0 14px 26px rgba(28,27,25,.06);
  --soft-press:
    inset 0 1px 1px rgba(255,255,255,.55),
    inset 0 3px 8px rgba(0,0,0,.16),
    0 1px 2px rgba(28,27,25,.08);
}

/* ---------- 一 · 地：磨砂钢，光从头顶下来 ---------- */
html,body,body.plain{background-color:#E8E8E8!important}
body,body.plain{
  background:#E8E8E8!important;
  background-attachment:fixed!important;
}

/* ---------- 二 · 盒：圆角胖盒，四边都收进去 ---------- */
.panel,.fold,.stat,.kpi,.kpi-card,.dl-item,.qs-req,.sys-mode,.hr-card,
.bq-item,.bq-sum,.blank-box,.sal-row,.nv-card,.card,.list-item,.fin-todo{
  border-radius:2px!important;
  border-color:#9E9E9E!important;
  box-shadow:none!important;
}
.panel,.fold,.stat,.kpi,.kpi-card,.dl-item,.qs-req,.sys-mode,.hr-card,
.bq-item,.bq-sum,.blank-box,.sal-row,.nv-card{
  background:#E8E8E8!important;
}
.pg-hd h2{
  font-family:-apple-system,"PingFang SC","Noto Sans CJK SC",sans-serif!important;
  font-weight:800!important;letter-spacing:.01em!important;
}
.panel>h3,.modal h3{letter-spacing:.02em!important;font-weight:700!important}

/* ---------- 三 · 豆：所有能按的文字键 ---------- */
button[data-ai="1"],.btn,.btn.ghost,.btn.danger,.btn.green,.btn.primary,
.nq-btn,.bq-btn,.ctool-btn,.wt-btn,.td-btn,.hr-mini,.qs-tidy,.vf-btn,.fu-b,
.nq-add,.nq-reset,.hr-viewbtn,.sal-mbtn,
button:not([class]):not(#camSnap){
  border-radius:2px!important;
  height:46px!important;min-height:46px!important;
  padding:0 22px!important;
  font-size:14px!important;font-weight:700!important;
  letter-spacing:.02em!important;
  background:#E8E8E8!important;
  border:1px solid #E8E8E8!important;
  color:#1A1A1A!important;
  text-shadow:0 1px 0 rgba(255,255,255,.95)!important;
  box-shadow:none;
  ;
}
/* 图标键变正圆豆 */
.hr-viewbtn,.sal-mbtn{width:46px!important;height:46px!important;padding:0!important}
button[data-ai="1"] .ai-ic svg,
button[data-ai="1"] svg *,
.btn svg *{stroke-linecap:round!important;stroke-linejoin:round!important}

/* 主豆：厚烤漆蓝，顶上一道弧形高光 */
button[data-ai="1"][data-kind="primary"],.btn.primary{
  background:#1A1A1A!important;
  border-color:#1A1A1A!important;color:#E8E8E8!important;
  text-shadow:0 1px 1px rgba(0,0,0,.38)!important;
  box-shadow:none!important;
}
/* 险豆：米粉底红字，按下去才整颗转红 */
button[data-ai="1"][data-kind="danger"],.btn.danger{
  background:#FAFAFA!important;
  border-color:#6E6E6E!important;color:#6E6E6E!important;
}
/* 轻键：不出形，不占视觉 */
button[data-ai="1"][data-kind="quiet"]{
  background:transparent!important;border-color:transparent!important;
  box-shadow:none!important;text-shadow:none!important;color:#1A1A1A!important;
}
/* 按下：缩，不沉 */
button[data-ai="1"]:active,.btn:active,.nq-btn:active,.bq-btn:active,
.ctool-btn:active,.wt-btn:active,.td-btn:active,.hr-mini:active,.qs-tidy:active,
.vf-btn:active,.fu-b:active,.nq-add:active,.nq-reset:active,
button:not([class]):not(#camSnap):active{
  transform:scale(.97)!important;
  box-shadow:none;
}

/* ---------- 四 · 导航格：同一家族的胖方块 ---------- */
#topnav.topnav button,.subnav button,
.hub-bar:not(.grid) button,.hub-bar.grid button{
  border-radius:2px!important;
  background:#E8E8E8!important;
  border:1px solid #E8E8E8!important;
  box-shadow:none!important;
  ;
}
#topnav.topnav button.on,.subnav button.on,
.hub-bar:not(.grid) button.on,.hub-bar.grid button.on{
  background:#1A1A1A!important;
  border-color:#1A1A1A!important;color:#E8E8E8!important;
  box-shadow:none!important;
}
#topnav.topnav button:active,.subnav button:active,
.hub-bar button:active{transform:scale(.96)!important}
.hub-bar:not(.grid),.hub-bar.grid{
  background:#E8E8E8!important;
  border-radius:2px!important;
}
/* 小分类、标牌：也是豆 */
.chip,.nq-cat,.tag,.seg,.nq-seg{border-radius:2px!important}
.chip,.nq-cat{
  background:#E8E8E8!important;
  border:1px solid #E8E8E8!important;
  box-shadow:none!important;
}
.chip.on,.nq-cat.on{
  background:#1A1A1A!important;
  border-color:#1A1A1A!important;color:#E8E8E8!important;
}

/* ---------- 五 · 槽：输入框也是圆的，光陷进去 ---------- */
input:not([type="checkbox"]):not([type="radio"]):not([type="range"]),
select,textarea{
  border-radius:2px!important;
  background:#E8E8E8!important;
  border:1px solid #E8E8E8!important;
  box-shadow:none!important;
}
input:not([type="checkbox"]):not([type="radio"]):focus,select:focus,textarea:focus{
  border-color:#1A1A1A!important;
  box-shadow:none!important;
}
/* 开关：圆滑块走圆槽 */
.seg,.nq-seg{padding:3px!important;box-shadow:none!important}
.seg button.on,.nq-seg button.on{
  background:#1A1A1A!important;
  border-color:#1A1A1A!important;color:#E8E8E8!important;
}

/* ---------- 六 · 弹窗、标牌、滚动条 ---------- */
.modal,.sheet,.dlg,.mbox-inner{
  border-radius:2px!important;
  box-shadow:none!important;
}
.tag{
  background:#E8E8E8!important;
  border:1px solid #E8E8E8!important;color:#1A1A1A!important;
  box-shadow:none!important;
}
*::-webkit-scrollbar-thumb{border-radius:999px}

/* ================================================================
   不右滑层（2026-11-03）
   ----------------------------------------------------------------
   规矩只有一条：任何一层，内容要么自己换行，要么自己缩窄，
   不许把一截东西藏在屏幕右边让人去滑。
   所以 overflow-x:auto 全部作废，一律换行 / 自适应列宽。
   ================================================================ */
html,body{overflow-x:hidden!important;max-width:100%!important}
body *{max-width:100%}
img,video,canvas,svg{max-width:100%}

/* 页签、筛选条、分类条：横排改换行 */
.subnav,.chips,.chips:not(.fade),.pt-chips,.nq-cats,.hp-chips,.pf-brands{
  flex-wrap:wrap!important;
  overflow-x:visible!important;
  overflow-y:visible!important;
  -webkit-overflow-scrolling:auto!important;
}
.subnav{justify-content:flex-start!important}
/* 竖向柱状图：不横滑，按屏宽等分 */
.qa-bars{overflow-x:visible!important;gap:3px!important}
.qa-bar-w{min-width:0!important;flex:1 1 0!important}
.qa-bar-x{font-size:10.5!important;letter-spacing:-.02em}

/* 表格：不留 660 的硬身板，按屏宽分列 */
.hr-tbl{overflow-x:visible!important;width:100%!important;max-width:100%!important}
.hr-tr{
  min-width:0!important;width:100%!important;
  grid-template-columns:1.05fr .95fr .95fr 1.25fr 1fr .8fr 1fr!important;
  gap:4px!important;
}
.hr-th,.hr-tr>span,.hr-tr>div{min-width:0!important;overflow:hidden;text-overflow:ellipsis}
.hr-th{font-size:12px!important;letter-spacing:0!important}

/* 明细表：不横滑，列自己收 */
.qa-tbl{overflow-x:visible!important}
.qa-tr{width:100%!important;min-width:0!important;gap:0!important}
.qa-td{
  flex:1 1 0!important;min-width:0!important;width:auto!important;
  white-space:normal!important;word-break:break-word!important;
  font-size:12px!important;padding:0 4px!important;
}
table{width:100%!important;max-width:100%!important;table-layout:auto}
th,td{word-break:break-word;overflow-wrap:anywhere}
/* 兜底：任何还在自己横滑的盒子，一律放开 */
[style*="overflow-x:auto"],[style*="overflow-x: scroll"]{
  overflow-x:visible!important;
}


/* ================================================================
   豆在外，字在外（2026-11-03 二次修订）
   ----------------------------------------------------------------
   导航这一类，之前把图标和字一起塞进一颗胶囊，56 高 74 宽里挤两层。
   现在反过来：一颗圆豆只装图标，字放到豆子下面，露出底色。
     豆 44 见方，正圆，糖霜白，选中灌墨藍
     字 11.5，两字一行，贴豆下 5 像素
   这样按钮是圆的、胖的、干净的，字也读得清。
   ================================================================ */
#topnav.topnav button:has(.ic),
.subnav button:has(.ic),
.hub-bar:not(.grid) button:has(.ic),
.hub-bar.grid button:has(.ic){
  background:transparent!important;
  background-image:none!important;
  border:none!important;
  box-shadow:none!important;
  text-shadow:none!important;
  color:#1A1A1A!important;
  font-weight:600!important;
  gap:5px!important;
  padding:0 2px!important;
  justify-content:center!important;
}
#topnav.topnav button:has(.ic){height:68px!important;min-height:68px!important;max-height:68px!important}
.subnav button:has(.ic){height:68px!important;min-height:68px!important;max-height:68px!important}
.hub-bar:not(.grid) button:has(.ic){height:66px!important;min-height:66px!important;max-height:66px!important}

/* 豆：正圆，顶上高光，底下厚度 */
#topnav.topnav button .ic,
.subnav button .ic,
.hub-bar:not(.grid) button .ic,
.hub-bar.grid button .ic{
  width:44px!important;height:44px!important;flex:none!important;
  border-radius:50%!important;
  display:flex!important;align-items:center!important;justify-content:center!important;
  background:#E8E8E8!important;
  border:1px solid #E8E8E8!important;
  box-shadow:none!important;
  ;
}
#topnav.topnav button .ic svg,
.subnav button .ic svg,
.hub-bar button .ic svg,
#topnav.topnav button .appic,
.subnav button .appic,
.hub-bar button .appic{width:21px!important;height:21px!important}
#topnav.topnav button .appic,
.subnav button .appic,
.hub-bar button .appic{stroke-width:1.9!important}

/* 选中：豆灌墨藍，字跟着变藍，底仍然透 */
#topnav.topnav button.on,
.subnav button.on,
.hub-bar:not(.grid) button.on,
.hub-bar.grid button.on{
  background:transparent!important;
  background-image:none!important;
  border:none!important;
  box-shadow:none!important;
  color:#1A1A1A!important;
  font-weight:700!important;
}
#topnav.topnav button.on .ic,
.subnav button.on .ic,
.hub-bar:not(.grid) button.on .ic,
.hub-bar.grid button.on .ic{
  background:#1A1A1A!important;
  border-color:#1A1A1A!important;
  color:#E8E8E8!important;
  box-shadow:none!important;
}
#topnav.topnav button:has(.ic):active .ic,
.subnav button:has(.ic):active .ic,
.hub-bar button:has(.ic):active .ic{transform:scale(.93)!important}

/* 宫格：格子本身也让位给豆，只留豆和字 */
.hub-bar.grid button:has(.ic){background:transparent!important;box-shadow:none!important;border:none!important}
.hub-bar.grid button .ic{width:50px!important;height:50px!important}
.hub-bar.grid button .ic svg,.hub-bar.grid button .appic{width:23px!important;height:23px!important}

/* 底栏变高，内容留足位置 */
@media (max-width:900px){body{padding-bottom:calc(88px + var(--sab))!important}}
#topnav.topnav{padding:6px 16px calc(6px + var(--sab))!important}

/* 浮动键：一颗正圆的豆 */
.fab,.bot-fab{
  border-radius:50%!important;
  width:56px!important;height:56px!important;
  background:#1A1A1A!important;
  border:1px solid #1A1A1A!important;
  box-shadow:none!important;
}

/* 手册横幅与横幅里的两个动作：一起变圆 */
.hb-hero{border-radius:2px!important}
.hb-hero .hb-act a,.hb-hero .hb-act button{
  border-radius:999px!important;height:42px!important;min-height:42px!important;
  padding:0 18px!important;display:inline-flex!important;align-items:center!important;
  justify-content:center!important;font-size:12px!important;font-weight:700!important;
  background:rgba(255,255,255,.94)!important;color:#1A1A1A!important;
  border:1px solid rgba(255,255,255,.9)!important;
  box-shadow:none!important;
}


/* 仪表盘与读数窗：圆角跟随，别在圆胖的界面里留一块方铁 */
.fin-hero{border-radius:2px!important;overflow:hidden}
.fin-k{border-radius:2px!important}
.fin-bar{border-radius:999px!important;overflow:hidden}
.fin-bar i{border-radius:999px!important}
/* 列表行：能圆的都圆一点 */
.panel .card.fin-todo{border-radius:2px!important;border-bottom:none!important;margin-bottom:6px!important;padding:12px 12px!important}
.panel .card.fin-todo:last-child{margin-bottom:0!important}


/* 筛选豆瘦一点：还是圆胖，但别把列表挤到第二屏去 */
.chip,.nq-cat{height:38px!important;min-height:38px!important;padding:0 16px!important;font-size:12px!important;font-weight:600!important}
.chip.on,.nq-cat.on{font-weight:700!important}


/* ================================================================
   九宫格优先（2026-11-03 定稿）
   ----------------------------------------------------------------
   入口一律先按 3×3 排：三列等宽，一行三格，九格铺满一屏。
   第九格之后不拐弯、不横滑，直接往下接第四行——纵向永远比横向好找。
   每格仍是那颗豆：44 见方、字在豆外；没有图标的格子，字落在正中。
   ================================================================ */
.hub-bar,.hub-bar.grid{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:9px!important;
  padding:0 0 12px!important;
  background:transparent!important;
  border-radius:2px!important;
  box-shadow:none!important;
  justify-content:stretch!important;
  align-items:stretch!important;
}
.hub-bar button,.hub-bar.grid button{
  width:auto!important;max-width:none!important;
  height:clamp(86px,calc((100dvh - 306px)/3),132px)!important;
  min-height:0!important;max-height:none!important;
  flex:0 0 auto!important;
  padding:10px 6px!important;
  border-radius:2px!important;
  display:flex!important;flex-direction:column!important;
  align-items:center!important;justify-content:center!important;
  gap:7px!important;
  font-size:12px!important;font-weight:600!important;line-height:1.2!important;
  letter-spacing:.01em!important;
  background:#E8E8E8!important;
  border:1px solid #E8E8E8!important;
  color:#1A1A1A!important;
  box-shadow:none!important;
  white-space:normal!important;
  ;
}
/* 有图标的格子：豆在上，字在下（字仍在豆外） */
.hub-bar:not(.grid) button:has(.ic),
.hub-bar.grid button:has(.ic){
  height:clamp(86px,calc((100dvh - 306px)/3),132px)!important;
  min-height:0!important;max-height:none!important;
  gap:7px!important;font-size:12px!important;
  background:transparent!important;border:none!important;box-shadow:none!important;
}
.hub-bar:not(.grid) button:has(.ic) .ic,
.hub-bar.grid button:has(.ic) .ic{width:46px!important;height:46px!important}
.hub-bar:not(.grid) button:has(.ic) .ic svg,
.hub-bar.grid button:has(.ic) .ic svg,
.hub-bar:not(.grid) button:has(.ic) .appic,
.hub-bar.grid button:has(.ic) .appic{width:22px!important;height:22px!important}
/* 选中：纯字格灌墨藍，图标格只灌豆 */
.hub-bar button.on,.hub-bar.grid button.on{
  background:#1A1A1A!important;
  border-color:#1A1A1A!important;color:#E8E8E8!important;font-weight:700!important;
  box-shadow:none!important;
}
.hub-bar button:has(.ic).on,.hub-bar.grid button:has(.ic).on{
  background:transparent!important;background-image:none!important;
  border:none!important;box-shadow:none!important;color:#1A1A1A!important;
}
.hub-bar button:has(.ic).on .ic,.hub-bar.grid button:has(.ic).on .ic{
  background:#1A1A1A!important;
  border-color:#1A1A1A!important;color:#E8E8E8!important;
  box-shadow:none!important;
}
.hub-bar button:active{transform:scale(.97)!important}


/* 格子高度收一档：九格一屏放得下，两三格也不至于撑成一块板 */
.hub-bar button,.hub-bar.grid button,
.hub-bar:not(.grid) button:has(.ic),.hub-bar.grid button:has(.ic){
  height:clamp(88px,calc((100dvh - 312px)/3),112px)!important;
}
/* 只有一两个入口的，不做宫格：那是视图切换，回到一颗胖胶囊页签 */
.hub-bar:not(.grid):not(:has(>button:nth-child(3))){
  display:flex!important;flex-wrap:wrap!important;justify-content:flex-start!important;gap:8px!important;
}
.hub-bar:not(.grid):not(:has(>button:nth-child(3))) button{
  width:auto!important;height:46px!important;min-height:46px!important;max-height:46px!important;
  flex-direction:row!important;padding:0 20px!important;gap:7px!important;
  border-radius:999px!important;font-size:14px!important;font-weight:700!important;
  background:#E8E8E8!important;
  border:1px solid #E8E8E8!important;box-shadow:none;
}
.hub-bar:not(.grid):not(:has(>button:nth-child(3))) button .ic{width:22px!important;height:22px!important;background:none!important;border:none!important;box-shadow:none!important}
.hub-bar:not(.grid):not(:has(>button:nth-child(3))) button .ic svg{width:18px!important;height:18px!important}
.hub-bar:not(.grid):not(:has(>button:nth-child(3))) button.on{
  background:#1A1A1A!important;
  border-color:#1A1A1A!important;color:#E8E8E8!important;
}
.hub-bar:not(.grid):not(:has(>button:nth-child(3))) button.on .ic{color:#E8E8E8!important}


/* ================================================================
   深水区同一套（2026-11-03）
   ----------------------------------------------------------------
   第几层都别另起炉灶。表格里的「导出 / 改为暂停」、工具条上的「新增」、
   桌面顶栏那三个圆钮，全都是同一颗豆或同一颗圆钮。
   之前漏掉的是 .btn.sm —— 它的权重比 .btn 高，一直卡在 40 高、8 圆角。
   ================================================================ */
.btn.sm,.btn.sm.ghost,.btn.sm.danger,.btn.sm.green,.btn.sm.primary,.btn.lg{
  height:46px!important;min-height:46px!important;max-height:none!important;
  border-radius:999px!important;
  padding:0 20px!important;
  font-size:14px!important;font-weight:700!important;
  letter-spacing:.01em!important;
  background:#E8E8E8!important;
  border:1px solid #E8E8E8!important;color:#1A1A1A!important;
  box-shadow:none;text-shadow:0 1px 0 rgba(255,255,255,.9)!important;
  ;
}
.btn.sm.primary{background:#1A1A1A!important;border-color:#1A1A1A!important;color:#E8E8E8!important}
.btn.sm.danger{background:#FAFAFA!important;border-color:#6E6E6E!important;color:#6E6E6E!important}
.btn.sm:active,.btn.lg:active{transform:scale(.97)!important;box-shadow:none}

/* 桌面顶栏三颗小圆钮：同族，正圆 42 */
.ent-burger,.ent-show,.ent-help,.ent-bell{
  border-radius:50%!important;width:42px!important;height:42px!important;min-height:42px!important;
  padding:0!important;border:1px solid #E8E8E8!important;
  background:#E8E8E8!important;
  box-shadow:none!important;
}
.ent-bell.on,.ent-bell[data-n]:not([data-n="0"]){background:#1A1A1A!important;border-color:#1A1A1A!important;color:#E8E8E8!important}
/* 拨档里的小段：仍是豆，只是小一号，别在开关里露出直角 */
.nq-seg button,.seg button{
  border-radius:999px!important;
  height:38px!important;min-height:38px!important;
  font-weight:700!important;
}
/* 纯文字宫格与图标宫格同一个圆角 */
.hub-bar button,.hub-bar.grid button{border-radius:2px!important}
.hub-bar button.on,.hub-bar.grid button.on{border-radius:2px!important}


/* ================================================================
   棋子层（2026-11-03 终稿）
   ----------------------------------------------------------------
   按钮按围棋子做，不是按糖果做。
     白子  云子白，冷边，左上角一团高光，底下坐着一圈影
     黑子  墨藍黑，左上同样的反光，底部压深，像刚落在棋盘上
     厚度  不是描边给的，是内侧底部那 7 像素的暗 + 外侧 3 像素的落地影
   形状只有两种：图标键是正圆，文字键是拉长的棋子（两端半圆）。
   文字一律在棋子外面，不压进子面。
   ================================================================ */
:root{
  --stone-hi:inset 0 2px 1px rgba(255,255,255,.98),inset 0 -7px 12px rgba(28,27,25,.13);
  --stone-drop:none;
  --stone-press:none;
}
/* ---------- 白子：所有普通键 ---------- */
button[data-ai="1"],.btn,.btn.ghost,.btn.green,.btn.sm,.btn.sm.ghost,.btn.lg,
.nq-btn,.bq-btn,.ctool-btn,.wt-btn,.td-btn,.hr-mini,.qs-tidy,.vf-btn,.fu-b,
.nq-add,.nq-reset,.hr-viewbtn,.sal-mbtn,
button:not([class]):not(#camSnap){
  background-color:transparent!important;
  background:#E8E8E8!important;
  border:1px solid #E8E8E8!important;
  box-shadow:none;
  text-shadow:0 1px 0 rgba(255,255,255,.95)!important;
  color:#1A1A1A!important;
}
/* ---------- 黑子：主键与选中的导航 ---------- */
button[data-ai="1"][data-kind="primary"],.btn.primary,.btn.sm.primary{
  background:#1A1A1A!important;
  border-color:#1A1A1A!important;color:#E8E8E8!important;
  text-shadow:0 1px 1px rgba(0,0,0,.5)!important;
  box-shadow:none!important;
}
/* ---------- 红子：危险键，朱砂 ---------- */
button[data-ai="1"][data-kind="danger"],.btn.danger,.btn.sm.danger{
  background:#6E6E6E!important;
  border-color:#6E6E6E!important;color:#FFFFFF!important;
  box-shadow:none;
}
button[data-ai="1"][data-kind="quiet"]{
  background-image:none!important;background:transparent!important;
  border-color:transparent!important;box-shadow:none!important;text-shadow:none!important;
}
/* 按下：棋子往棋盘里陷一点 */
button[data-ai="1"]:active,.btn:active,.btn.sm:active,.nq-btn:active,.bq-btn:active,
.ctool-btn:active,.wt-btn:active,.td-btn:active,.hr-mini:active,.qs-tidy:active,
.vf-btn:active,.fu-b:active,.nq-add:active,.nq-reset:active,
button:not([class]):not(#camSnap):active{
  transform:scale(.96)!important;
  box-shadow:none;
}

/* ---------- 导航豆：白子 / 黑子 ---------- */
#topnav.topnav button .ic,
.subnav button .ic,
.hub-bar:not(.grid) button .ic,
.hub-bar.grid button .ic{
  background-color:transparent!important;
  background:#E8E8E8!important;
  border:1px solid #E8E8E8!important;
  box-shadow:none!important;
}
#topnav.topnav button.on .ic,
.subnav button.on .ic,
.hub-bar:not(.grid) button.on .ic,
.hub-bar.grid button.on .ic{
  background:#1A1A1A!important;
  border-color:#1A1A1A!important;color:#E8E8E8!important;
  box-shadow:none!important;
}
/* 选中格里的文字：跟着棋子变深，但不加底色 */
#topnav.topnav button.on,.subnav button.on,
.hub-bar button.on,.hub-bar.grid button.on{color:#1A1A1A!important}
/* 纯文字宫格：一颗摊平的白子/黑子，仍是棋子 */
.hub-bar button:not(:has(.ic)){
  background:#E8E8E8!important;
  border:1px solid #E8E8E8!important;
  box-shadow:none!important;
}
.hub-bar button:not(:has(.ic)).on{
  background:#1A1A1A!important;
  border-color:#1A1A1A!important;color:#E8E8E8!important;
}
/* 浮动键：一颗黑子 */
.fab,.bot-fab{
  background:#1A1A1A!important;
  border-color:#1A1A1A!important;
  box-shadow:none!important;
}
/* 桌面三颗小圆钮：同样白子 */
.ent-burger,.ent-show,.ent-help,.ent-bell{
  background:#E8E8E8!important;
  border-color:#9E9E9E!important;
  box-shadow:none;
}


/* 浮动那颗棋子原来压在底栏“首页”上，抬到底栏上方 */
@media (max-width:900px){
  .bot-fab{left:16px!important;bottom:calc(96px + var(--sab))!important;
    width:48px!important;height:48px!important}
}


/* ================================================================
   纹理层（2026-11-03 补）
   ----------------------------------------------------------------
   圆胖不等于塑料。棋子是车出来的，不是吹出来的：
     子面  0 度细横纹，两像素一道，光斜着扫过去才看得见
     地    90 度竖拉丝，冷灰，顶端一层环境光
     板    横纹 + 折边渐变，仍是折过的钢板
     槽    输入框里也有极淡的纹，光进去出不来
   纹理只做在材质上，不参与形状——形还是圆的、胖的。
   ================================================================ */
:root{
  --tex-steel:none;
  --tex-steel-dark:none;

  --stone-white-img:#9E9E9E;
  --stone-black-img:#1A1A1A;
  --stone-red-img:#6E6E6E;
}

/* 地：竖着拉的丝重新放回来 */
body,body.plain{
  background:#E8E8E8!important;
  background-attachment:fixed!important;
}
/* 板：横纹回到钢板上 */
.panel,.fold,.stat,.kpi,.kpi-card,.dl-item,.qs-req,.sys-mode,.hr-card,
.bq-item,.bq-sum,.blank-box,.sal-row,.nv-card{
  background:#E8E8E8!important;
}
header,.ent-top{
  background:#E8E8E8!important;
}
/* 棋子：白 / 黑 / 红，三张脸都带车削纹 */
button[data-ai="1"],.btn,.btn.ghost,.btn.green,.btn.sm,.btn.sm.ghost,.btn.lg,
.nq-btn,.bq-btn,.ctool-btn,.wt-btn,.td-btn,.hr-mini,.qs-tidy,.vf-btn,.fu-b,
.nq-add,.nq-reset,.hr-viewbtn,.sal-mbtn,
button:not([class]):not(#camSnap){
  background-image:var(--stone-white-img)!important;
}
button[data-ai="1"][data-kind="primary"],.btn.primary,.btn.sm.primary{
  background-image:var(--stone-black-img)!important;
}
button[data-ai="1"][data-kind="danger"],.btn.danger,.btn.sm.danger{
  background-image:var(--stone-red-img)!important;
}
#topnav.topnav button .ic,.subnav button .ic,
.hub-bar:not(.grid) button .ic,.hub-bar.grid button .ic{
  background-image:var(--stone-white-img)!important;
}
#topnav.topnav button.on .ic,.subnav button.on .ic,
.hub-bar:not(.grid) button.on .ic,.hub-bar.grid button.on .ic{
  background-image:var(--stone-black-img)!important;
}
.hub-bar button:not(:has(.ic)){
  background-image:var(--stone-white-img)!important;
}
.hub-bar button:not(:has(.ic)).on{background-image:var(--stone-black-img)!important}
.fab,.bot-fab{background-image:var(--stone-black-img)!important}
.ent-burger,.ent-show,.ent-help,.ent-bell{background-image:var(--stone-white-img)!important}
/* 槽：铣出来的细纹 */
input:not([type="checkbox"]):not([type="radio"]):not([type="range"]),select,textarea{
  background:transparent!important;
}
/* 标牌：冲压面也留纹 */
.tag{
  background:#E8E8E8!important;
}
/* 仪表台：拉丝更明显一点，四角螺丝留在盘面上 */
.fin-hero{
  background:#1A1A1A!important;
}
.fin-k{
  background:transparent!important;
}


/* 纹理再压重一档：手机屏上也要看得见，但不至于变成布纹 */
:root{
  --stone-white-img:#9E9E9E;
  --stone-black-img:#1A1A1A;
  --stone-red-img:#6E6E6E;
}
body,body.plain{
  background:#E8E8E8!important;
  background-attachment:fixed!important;
}
.panel,.fold,.stat,.kpi,.kpi-card,.dl-item,.qs-req,.sys-mode,.hr-card,
.bq-item,.bq-sum,.blank-box,.sal-row,.nv-card{
  background:#E8E8E8!important;
}


/* ================================================================
   金属材料层（2026-11-03 终）
   ----------------------------------------------------------------
   材料只有三种，全站不许出现第四种：
     拉丝不锈钢  地面、顶栏、面板 —— 单向丝纹，冷灰
     车削不锈钢  按钮、导航豆     —— 同心刀纹，银白，边缘见刀口
     发黑钢      选中、主键、浮钮 —— 同心刀纹压在黑上，反光更窄更亮
   金属的规矩：高光要窄、要硬；暗部要沉；边缘一定要有刀口，
   也就是一圈 1px 的亮线接一圈 1px 的暗线。柔光一多就成塑料。
   ================================================================ */
:root{
  /* 白钢：同心车纹 + 左上一点硬高光 + 斜向一道反光带 */
  --stone-white-img:#9E9E9E;
  /* 黑钢 */
  --stone-black-img:#1A1A1A;
  /* 红钢（危险键）：也是金属，不是糖果 */
  --stone-red-img:#6E6E6E;

  /* 刀口阴影：亮边 1px + 暗边 1px + 底部沉 7px + 落地硬影 + 散影 */
  --stone-hi:
    inset 0 1px 0 rgba(255,255,255,1),
    inset 0 0 0 1px rgba(255,255,255,.55),
    inset 0 -7px 12px rgba(28,27,25,.16),
    inset 0 7px 9px rgba(255,255,255,.30);
  --stone-drop:none;
}
:root{--stone-press:none}

/* 面板：拉丝方向改成横向，与地面的竖纹区分开 */
.panel,.fold,.stat,.kpi,.kpi-card,.dl-item,.qs-req,.sys-mode,.hr-card,
.bq-item,.bq-sum,.blank-box,.sal-row,.nv-card{
  background:#E8E8E8!important;
  border-color:#9E9E9E!important;
  box-shadow:none!important;
}
/* 顶栏与底栏的托板：拉丝更细，边缘见折边 */
header,.ent-top{
  background:#E8E8E8!important;
  border-bottom:1px solid #E8E8E8!important;
}
#topnav.topnav,.subnav{
  background:#E8E8E8!important;
}
/* 棋子的刀口：统一给硬边，别让边缘糊掉 */
#topnav.topnav button .ic,.subnav button .ic,
.hub-bar:not(.grid) button .ic,.hub-bar.grid button .ic{
  border-color:#9E9E9E!important;
  box-shadow:none;
}
#topnav.topnav button.on .ic,.subnav button.on .ic,
.hub-bar:not(.grid) button.on .ic,.hub-bar.grid button.on .ic{
  border-color:#1A1A1A!important;
  box-shadow:none!important;
}


/* 角标也是圆的：红点上不留直角 */
.ent-bell .dot,.bot-fab .dot,#entBellDot{
  border-radius:999px!important;border:1px solid #E8E8E8!important;
  box-shadow:none!important;
  font-weight:800!important;letter-spacing:0!important;
}

/* ================================================================
   报价对比 · 客户价值（2026-11-03）
   ----------------------------------------------------------------
   两块东西，都是给「这一单该不该按这个价签」和「这个客户值不值
   多跑两趟」提供依据的，不是装饰。

   对比条不画坐标轴，只画三根等长的槽：本单 / 上次 / 同类中位。
   同一把尺子量，长短一眼看得出，不用读数字。
   ================================================================ */
.qv-card{
  margin:0 0 12px;padding:13px 14px 12px;
  border-radius:2px;border:1px solid #E8E8E8;
  background:#E8E8E8;
  box-shadow:none;
}
.qv-hd{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:10px}
.qv-hd b{font-size:14px;font-weight:800;letter-spacing:.02em;color:#1A1A1A}
.qv-hd span{font-size:12px;color:#1A1A1A;font-weight:600}
.qv-lv{font-size:12px;font-weight:800;padding:3px 10px;border-radius:999px;letter-spacing:.02em}
.qv-lv.A{background:#FAFAFA;color:#6E6E6E;border:1px solid #E8E8E8}
.qv-lv.B{background:#FAFAFA;color:#9E9E9E;border:1px solid #E8E8E8}
.qv-lv.C{background:#E8E8E8;color:#1A1A1A;border:1px solid #1A1A1A}
.qv-lv.D{background:#E8E8E8;color:#1A1A1A;border:1px solid #E8E8E8}

.qv-row{display:flex;align-items:center;gap:9px;margin:6px 0}
.qv-lb{flex:0 0 62px;font-size:12px;color:#1A1A1A;font-weight:600;white-space:nowrap}
.qv-bar{flex:1 1 auto;height:9px;border-radius:999px;background:#E8E8E8;
  box-shadow:none;overflow:hidden}
.qv-bar i{display:block;height:100%;border-radius:999px;
  background:#1A1A1A;
  box-shadow:none}
.qv-bar i.pale{background:#9E9E9E}
.qv-v{flex:0 0 auto;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;
  font-size:12px;font-weight:700;color:#1A1A1A;min-width:56px;text-align:right}
.qv-delta{font-size:12px;font-weight:800;margin-left:2px}
.qv-delta.up{color:#6E6E6E}
.qv-delta.dn{color:#1A1A1A}
.qv-delta.flat{color:#1A1A1A}

.qv-verdict{
  margin-top:10px;padding:8px 11px;border-radius:2px;font-size:12px;line-height:1.6;
  font-weight:600;background:#E8E8E8;color:#1A1A1A;border:1px solid #E8E8E8
}
.qv-verdict.high{background:#FAFAFA;border-color:#6E6E6E;color:#6E6E6E}
.qv-verdict.low{background:#FAFAFA;border-color:#1A1A1A;color:#1A1A1A}
.qv-verdict.ok{background:#E8E8E8;border-color:#1A1A1A;color:#1A1A1A}

.qv-score{display:flex;align-items:baseline;gap:6px;margin:-2px 0 8px}
.qv-score b{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;
  font-size:20px;font-weight:800;letter-spacing:-.02em;color:#1A1A1A}
.qv-score span{font-size:12px;color:#1A1A1A;font-weight:600}
.qv-dims{display:grid;grid-template-columns:repeat(4,1fr);gap:6px;margin-bottom:9px}
.qv-dim{background:#E8E8E8;border:1px solid #E8E8E8;border-radius:2px;padding:5px 6px;text-align:center}
.qv-dim em{display:block;font-style:normal;font-size:10.5;color:#1A1A1A;font-weight:700;margin-bottom:2px}
.qv-dim b{font-family:ui-monospace,monospace;font-size:12px;color:#1A1A1A}
.qv-meta{font-size:12px;color:#1A1A1A;line-height:1.85}
.qv-meta b{color:#1A1A1A;font-weight:700}
.qv-act{margin-top:8px;font-size:12px;line-height:1.6;color:#1A1A1A;
  padding:7px 10px;border-radius:2px;background:#E8E8E8;border:1px solid #E8E8E8;font-weight:600}

/* 台账卡片上那一行对比：不抢金额的位置，只在下面小一号 */
.nq-qcard-cmp{margin-top:4px;font-size:12px;font-weight:600;color:#1A1A1A;letter-spacing:.01em}
.nq-qcard-cmp b{font-weight:800}
.nq-qcard-cmp b.up{color:#6E6E6E}
.nq-qcard-cmp b.dn{color:#1A1A1A}

/* 客户价值分级：四档并排，像四颗按钮，点一下只看这一档 */
.qv-grades{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-bottom:10px}
.qv-grade{border-radius:2px;padding:9px 6px;text-align:center;border:1px solid #E8E8E8;
  background:#E8E8E8;
  box-shadow:none}
.qv-grade em{display:block;font-style:normal;font-size:11;font-weight:800;color:#1A1A1A;margin-bottom:2px}
.qv-grade b{font-family:ui-monospace,monospace;font-size:20px;font-weight:800;color:#1A1A1A}
.qv-grade i{display:block;font-style:normal;font-size:10.5;color:#1A1A1A;margin-top:1px}

/* ================================================================
   客户直联（2026-11-03）
   ----------------------------------------------------------------
   报表上看见一个客户，下一步一定是「找他」。中间不该再有第三跳：
   不在客户页里翻名字、不在通讯录里找号码，就地拨、就发、就导航。

   三个原则：
     一 号码不整屏铺开，先给一颗大按钮，要复制再复制
     二 没有权限就脱敏，连拨号也不给，别用「打过去是空号」暴露信息
     三 话术是现成的，按这一单的金额和单号生成，不用自己组织语言
   ================================================================ */
.dc-top{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px}
.dc-who b{font-size:14px;font-weight:800;color:#1A1A1A;letter-spacing:.01em}
.dc-who span{display:block;font-size:12px;color:#1A1A1A;margin-top:2px}

.dc-tel{
  display:flex;align-items:center;justify-content:space-between;gap:10px;
  padding:12px 14px;border-radius:2px;margin-bottom:11px;
  border:1px solid #E8E8E8;
  background:#E8E8E8;
  box-shadow:none}
.dc-tel em{display:block;font-style:normal;font-size:12px;color:#1A1A1A;font-weight:700;margin-bottom:3px}
.dc-tel b{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;
  font-size:20px;font-weight:800;letter-spacing:.02em;color:#1A1A1A}
.dc-tel i{font-style:normal;font-size:12px;color:#1A1A1A}

.dc-acts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-bottom:10px}
.dc-act{
  display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;
  height:62px;border-radius:2px;text-decoration:none;cursor:pointer;
  border:1px solid #E8E8E8;color:#1A1A1A;
  background:#E8E8E8;
  box-shadow:none;
  ;
}
.dc-act:active{transform:scale(.96)}
.dc-act b{font-size:12px;font-weight:800;letter-spacing:.01em}
.dc-act span{font-size:11;color:#1A1A1A;font-weight:600}
.dc-act.primary{
  border-color:#1A1A1A;color:#E8E8E8;
  background:#1A1A1A;
  box-shadow:none;
}
.dc-act.primary span{color:#E8E8E8}
.dc-act.off{opacity:.45;pointer-events:none}
.dc-note{font-size:12px;color:#1A1A1A;line-height:1.8;padding:8px 11px;
  border-radius:2px;background:#E8E8E8;border:1px solid #E8E8E8;margin-bottom:10px}
.dc-note b{color:#1A1A1A}

/* 报表这张表列多，用等宽 flex 会把客户名挤成竖排 —— 改成定宽网格 */
.qv-tbl .qa-tr{
  display:grid!important;
  grid-template-columns:20px minmax(0,1fr) 48px 32px 62px 44px;
  column-gap:5px!important;align-items:center;
}
.qv-tbl .qa-td{
  flex:none!important;white-space:nowrap!important;
  overflow:hidden;text-overflow:ellipsis;
  font-size:12px!important;padding:0!important;
}
.qv-tbl .qa-td:nth-child(2){white-space:normal!important;word-break:normal!important;line-height:1.35}
.qv-tbl .dc-ic{width:19px;height:19px;font-size:11;margin-left:4px;vertical-align:-3px}
.qv-tbl .tag{padding:1px 5px!important;font-size:11!important}

/* 报表里那个小电话：不占一列，贴在客户名后面 */
.dc-ic{display:inline-flex;align-items:center;justify-content:center;
  width:22px;height:22px;border-radius:50%;margin-left:5px;vertical-align:-4px;
  font-size:12px;line-height:1;cursor:pointer;color:#1A1A1A;
  border:1px solid #E8E8E8;
  background:#E8E8E8;
  box-shadow:none}
.dc-ic:active{transform:scale(.94)}

/* ---------- 客户贡献业绩：两行一档，金额靠右，长的部分用条 ---------- */
.qc-kpis{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-bottom:11px}
.qc-kpi{
  padding:9px 11px;border-radius:2px;border:1px solid #E8E8E8;
  background:#E8E8E8;
  box-shadow:none}
.qc-kpi em{display:block;font-style:normal;font-size:11;font-weight:700;color:#1A1A1A;letter-spacing:.04em}
.qc-kpi b{display:block;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;
  font-size:20px;font-weight:800;color:#1A1A1A;letter-spacing:-.01em;margin:1px 0 1px}
.qc-kpi span{display:block;font-size:11;color:#1A1A1A;font-weight:600}

.qc-row{display:flex;align-items:center;gap:9px;padding:9px 2px;border-bottom:1px solid #E8E8E8}
.qc-row:last-of-type{border-bottom:none}
.qc-rk{
  flex:0 0 22px;height:22px;line-height:22px;text-align:center;border-radius:50%;
  font-family:ui-monospace,monospace;font-size:12px;font-weight:800;color:#1A1A1A;
  background:#E8E8E8;border:1px solid #E8E8E8
}
.qc-rk.hot{background:#FAFAFA;border-color:#6E6E6E;color:#6E6E6E}
.qc-main{flex:1 1 auto;min-width:0}
.qc-t{display:flex;align-items:center;gap:2px;min-width:0}
.qc-t b{font-size:12px;font-weight:700;color:#1A1A1A;white-space:nowrap;overflow:hidden;
  text-overflow:ellipsis;max-width:100%}
.qc-t .dc-ic{flex:0 0 auto;width:19px;height:19px;font-size:11;margin-left:3px}
.qc-sub{font-size:11;color:#1A1A1A;font-weight:600;margin:2px 0 4px;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.qc-bar{height:6px;border-radius:999px;background:#E8E8E8;box-shadow:none;overflow:hidden}
.qc-bar i{display:block;height:100%;border-radius:999px;
  background:#1A1A1A}
.qc-amt{flex:0 0 76px;text-align:right}
.qc-amt b{display:block;font-family:ui-monospace,monospace;font-size:12px;font-weight:800;color:#1A1A1A}
.qc-amt span{display:block;font-size:11;color:#1A1A1A;font-weight:700;margin-top:1px}

/* ---------- 一客一评估：上半张自己跟自己比，下半张跟同侪比 ---------- */
.rv-hd{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;
  padding:11px 13px;border-radius:2px;margin-bottom:11px;border:1px solid #E8E8E8;
  background:#E8E8E8;
  box-shadow:none}
.rv-hl b{display:block;font-size:14px;font-weight:800;color:#1A1A1A}
.rv-hl span{display:block;font-size:12px;color:#1A1A1A;margin-top:3px;font-weight:600}
.rv-hr{flex:0 0 auto;text-align:right}
.rv-hr b{display:block;font-family:ui-monospace,monospace;font-size:20px;font-weight:800;
  color:#1A1A1A;line-height:1;letter-spacing:-.02em}
.rv-hr span{font-size:11;color:#1A1A1A;font-weight:700}

.rv-sec{padding:11px 12px;border-radius:2px;margin-bottom:10px;border:1px solid #E8E8E8;
  background:#E8E8E8;box-shadow:none}
.rv-ttl{font-size:12px;font-weight:800;color:#1A1A1A;letter-spacing:.02em;margin-bottom:9px}
.rv-ttl em{font-style:normal;font-weight:600;font-size:12px;color:#1A1A1A;margin-left:5px}

.rv-chart{display:flex;align-items:flex-end;gap:3px;height:74px;padding:0 1px;
  border-bottom:1px solid #E8E8E8;margin-bottom:5px}
.rv-b{flex:1 1 0;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;height:100%}
.rv-b i{display:block;width:100%;border-radius:2px;
  background:#1A1A1A;
  box-shadow:none;min-height:0}
.rv-b em{font-style:normal;font-size:9.5;color:#9E9E9E;margin-top:2px;line-height:1;
  font-family:ui-monospace,monospace}

.rv-nums{display:grid;grid-template-columns:repeat(4,1fr);gap:5px;margin:8px 0 6px}
.rv-nums>div{background:#E8E8E8;border:1px solid #E8E8E8;border-radius:2px;padding:5px 4px;text-align:center}
.rv-nums span{display:block;font-size:10.5;color:#1A1A1A;font-weight:700;margin-bottom:2px}
.rv-nums b{font-family:ui-monospace,monospace;font-size:12px;color:#1A1A1A}
.rv-nums b.up{color:#6E6E6E}
.rv-nums b.dn{color:#1A1A1A}
.rv-nums b.flat{color:#1A1A1A}
.rv-line{font-size:12px;color:#1A1A1A;line-height:1.75;font-weight:600}

.rv-cmp{display:flex;align-items:center;gap:7px;margin:7px 0}
.rv-cl{flex:0 0 56px;font-size:12px;color:#1A1A1A;font-weight:700}
.rv-cbar{position:relative;flex:1 1 auto;height:9px;border-radius:999px;background:#E8E8E8;
  box-shadow:none}
.rv-cbar i{display:block;height:100%;border-radius:999px;
  background:#1A1A1A}
.rv-cbar u{position:absolute;top:-3px;bottom:-3px;width:2px;background:#6E6E6E;border-radius:2px}
.rv-cv{flex:0 0 86px;text-align:right;font-family:ui-monospace,monospace;font-size:12px;
  font-weight:800;color:#1A1A1A}
.rv-cv em{display:block;font-style:normal;font-family:-apple-system,"PingFang SC",sans-serif;
  font-size:10.5;font-weight:600;color:#9E9E9E;margin-top:1px}

.rv-pct{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;margin:9px 0 6px}
.rv-pct>div{background:#E8E8E8;border:1px solid #E8E8E8;border-radius:2px;padding:5px 4px;text-align:center}
.rv-pct span{display:block;font-size:10.5;color:#1A1A1A;font-weight:700;margin-bottom:2px}
.rv-pct b{font-size:12px;color:#1A1A1A;font-weight:800}

.rv-concl{border-radius:2px;padding:12px 13px;margin-bottom:11px;border:1px solid #E8E8E8;
  background:#FFFFFF}
.rv-concl b{display:block;font-size:12px;font-weight:800;color:#9E9E9E;letter-spacing:.06em;margin-bottom:5px}
.rv-concl p{margin:0 0 7px;font-size:12px;line-height:1.7;color:#9E9E9E;font-weight:600}
.rv-concl ol{margin:0;padding-left:17px;font-size:12px;line-height:1.85;color:#1A1A1A}

/* ================== 老板价值报表 ==================
   一张纸上两本账：人一本、客户一本，用同一把尺子量。
   配色只表达一件事：绿=进来的钱，红=出去的钱，墨=剩下的。 */
.bv-seg{display:flex;gap:6px;margin:0 0 11px}
.bv-seg button{flex:1 1 0;height:38px;border-radius:999px;border:1px solid #E8E8E8;
  background:#E8E8E8;font-size:12px;font-weight:700;color:#1A1A1A;
  box-shadow:none;font-family:inherit}
.bv-seg button.on{color:#E8E8E8;border-color:#1A1A1A;
  background:#1A1A1A;
  box-shadow:none}

.bv-kpi{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:10px}
.bv-kpi>div{padding:11px 12px 10px;border-radius:2px;border:1px solid #E8E8E8;
  background:#E8E8E8;
  box-shadow:none}
.bv-kpi span{display:block;font-size:12px;font-weight:700;color:#1A1A1A;letter-spacing:.03em}
.bv-kpi b{display:block;font-family:ui-monospace,monospace;font-size:20px;font-weight:800;
  letter-spacing:-.02em;color:#1A1A1A;margin:3px 0 2px;line-height:1.08}
.bv-kpi i{display:block;font-style:normal;font-size:11;color:#1A1A1A;font-weight:600}
.bv-kpi b.up{color:#1A1A1A}     /* 进来的钱 */
.bv-kpi b.dn{color:#6E6E6E}     /* 出去的钱 */
.bv-kpi>div.on{border-color:#1A1A1A;box-shadow:none}

/* 数据可信度：数字从哪来，不藏 */
.bv-cov{padding:10px 12px;border-radius:2px;border:1px solid #E8E8E8;margin-bottom:11px;
  background:#FFFFFF;box-shadow:none}
.bv-cov-t{display:flex;align-items:baseline;gap:6px;font-size:12px;font-weight:800;color:#9E9E9E}
.bv-cov-t em{font-style:normal;margin-left:auto;font-family:ui-monospace,monospace;font-size:12px;color:#9E9E9E}
.bv-cov-b{display:flex;height:7px;border-radius:999px;overflow:hidden;background:#FAFAFA;
  margin:7px 0 5px;box-shadow:none}
.bv-cov-b i{display:block;height:100%}
.bv-cov p{margin:0;font-size:12px;line-height:1.7;color:#9E9E9E;font-weight:600}

.bv-tabs{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:10px}
.bv-tabs button{height:44px;border-radius:2px;border:1px solid #E8E8E8;font-family:inherit;
  background:#E8E8E8;font-size:12px;font-weight:800;color:#1A1A1A;
  box-shadow:none}
.bv-tabs button.on{color:#E8E8E8;border-color:#1A1A1A;
  background:#1A1A1A;
  box-shadow:none}

/* 一张人卡：名字 + 三个数 + 一条毛利条 */
.bv-card{padding:10px 12px 11px;border-radius:2px;border:1px solid #E8E8E8;margin-bottom:8px;
  background:#E8E8E8;box-shadow:none;
  cursor:pointer}
.bv-chd{display:flex;align-items:center;gap:7px}
.bv-av{flex:0 0 28px;height:28px;border-radius:2px;display:flex;align-items:center;justify-content:center;
  font-size:12px;font-weight:800;color:#E8E8E8;background:#1A1A1A;
  box-shadow:none}
.bv-nm{font-size:14px;font-weight:800;color:#1A1A1A;line-height:1.2}
.bv-sub{font-size:11;color:#1A1A1A;font-weight:600;margin-top:1px}
.bv-num{margin-left:auto;text-align:right}
.bv-num b{display:block;font-family:ui-monospace,monospace;font-size:14px;font-weight:800;color:#1A1A1A;line-height:1.1}
.bv-num b.up{color:#1A1A1A}.bv-num b.dn{color:#6E6E6E}
.bv-num em{font-style:normal;font-size:10.5;color:#1A1A1A;font-weight:700}

.bv-bar{display:flex;height:9px;border-radius:999px;overflow:hidden;margin:8px 0 6px;background:#E8E8E8;
  box-shadow:none}
.bv-bar i{display:block;height:100%}
.bv-bar i.cost{background:#9E9E9E}
.bv-bar i.prof{background:#1A1A1A}
.bv-meta{display:flex;flex-wrap:wrap;gap:4px 9px;font-size:11;color:#1A1A1A;font-weight:600}
.bv-meta b{font-family:ui-monospace,monospace;color:#1A1A1A;font-weight:800}
.bv-meta b.pay{color:#1A1A1A}
.bv-meta b.spend{color:#6E6E6E}

/* 宽屏：一列拉太长，改两列（2026-11-03）
   ----------------------------------------------------------------
   1440 的屏上，一张人卡本来就三行字，却横着铺满 1000 像素，
   名字在最左、金额在最右，眼睛得跑一个来回。两列之后，
   一屏能看到的人数翻倍，每张卡也回到「一眼看完」的宽度。 */
@media (min-width:1100px){
  .bv-kpi{grid-template-columns:repeat(4,minmax(0,1fr))}
  .bv-list{display:grid;grid-template-columns:1fr 1fr;gap:9px;align-items:start}
  .bv-list .bv-card,.bv-list .bv-crow{margin-bottom:0}
  .bv-list .bv-empty{grid-column:1/-1}
}

/* 客户双条：她付的 / 我花的，两根并排才看得出谁养谁 */
.bv-crow{padding:10px 12px;border-radius:2px;border:1px solid #E8E8E8;margin-bottom:8px;
  background:#E8E8E8;box-shadow:none}
.bv-crow .bv-chd{cursor:pointer}
.bv-dual{margin-top:8px}
.bv-dl{display:flex;align-items:center;gap:7px;margin-bottom:4px}
.bv-dl span{flex:0 0 34px;font-size:10.5;font-weight:800;color:#1A1A1A;letter-spacing:.02em}
.bv-dl .tb{flex:1 1 auto;height:7px;border-radius:999px;background:#E8E8E8;position:relative;
  box-shadow:none}
.bv-dl .tb i{display:block;height:100%;border-radius:999px;min-width:2px}
.bv-dl .tb i.pay{background:#1A1A1A}
.bv-dl .tb i.deal{background:#1A1A1A}
.bv-dl .tb i.cost{background:#9E9E9E}
.bv-dl em{flex:0 0 62px;text-align:right;font-style:normal;font-family:ui-monospace,monospace;
  font-size:12px;font-weight:800;color:#1A1A1A}
.bv-dl em.pay{color:#1A1A1A}.bv-dl em.cost{color:#9E9E9E}

.bv-rank{display:flex;height:12px;border-radius:999px;overflow:hidden;margin:0 0 9px;background:#E8E8E8;
  box-shadow:none}
.bv-rank i{display:block;height:100%}
.bv-lg{display:flex;flex-wrap:wrap;gap:4px 10px;font-size:10.5;color:#1A1A1A;font-weight:700}
.bv-lg b{display:inline-block;width:7px;height:7px;border-radius:2px;margin-right:3px;vertical-align:-.5px}

.bv-alert{margin:2px 0 10px;padding:10px 12px;border-radius:2px;border:1px solid #E8E8E8;
  background:#FAFAFA}
.bv-alert b{display:block;font-size:12px;font-weight:800;color:#6E6E6E;margin-bottom:5px}
.bv-alert .r{display:flex;justify-content:space-between;font-size:12px;padding:3px 0;
  border-top:1px dashed rgba(110,110,110,.18);color:#6E6E6E;font-weight:600}
.bv-alert .r:first-of-type{border-top:0}
.bv-alert .r em{font-style:normal;font-family:ui-monospace,monospace;font-weight:800;color:#6E6E6E}

.bv-note{font-size:11;line-height:1.85;color:#9E9E9E;font-weight:600;padding:2px 2px 4px}
.bv-note b{color:#1A1A1A}
.bv-empty{padding:22px 10px;text-align:center;font-size:12px;color:#1A1A1A;font-weight:600}


/* ================================================================
   第四层往后：收进抽屉（2026-11-03）
   ----------------------------------------------------------------
   一到三层是固定的：底栏 → 门 → 抽屉。
   再往下如果还摊一排小胶囊，第四层、第五层都在抢同一块竖向空间，
   字越挤越小，点还得挑 —— 那不是层级，是堆。
   所以第四层起一律收：页面上只留一颗触发器（写着当前选中的是什么），
   点开从底下升一个抽屉，抽屉里摆豆豆。
   豆豆的规矩跟棋子一样：圆钮只装一个符号（多半是这一项的数字），
   文字落在钮外下方。钮里塞字，读起来就变成"小字按钮"了。
   ================================================================ */
/* 「现在就能用的三件事」：老板打开这一页，先看见能立刻动手的事，
   而不是一堆口径说明。没有数据就直说没有，不许拿"以后会好"顶上。 */
.bv-now{border:1px solid #E8E8E8;border-radius:2px;margin:0 0 10px;padding:9px 12px 4px;
  background:#FFFFFF;
  box-shadow:none}
.bv-now h4{margin:0 0 2px;font-size:12px;font-weight:800;color:#1A1A1A;letter-spacing:.2px;
  display:flex;align-items:baseline;justify-content:space-between;gap:8px}
.bv-now h4 em{font-style:normal;font-size:11;font-weight:700;color:#9E9E9E;font-family:ui-monospace,monospace}
.bv-nrow{display:flex;align-items:center;gap:9px;padding:8px 0;border-top:1px solid #E8E8E8;cursor:pointer}
.bv-now h4 + .bv-nrow{border-top:0}
.bv-nrow:active{opacity:.7}
.bv-ni{width:20px;height:20px;border-radius:50%;flex:0 0 auto;display:flex;align-items:center;justify-content:center;
  background:#1A1A1A;color:#E8E8E8;
  font-size:12px;font-weight:800;font-family:ui-monospace,monospace;
  box-shadow:none}
.bv-nt{flex:1 1 auto;min-width:0}
.bv-nt b{display:block;font-size:12px;font-weight:800;color:#1A1A1A;line-height:1.35;
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.bv-nt i{display:block;font-style:normal;font-size:12px;font-weight:600;color:#1A1A1A;line-height:1.4;margin-top:1px}
.bv-na{flex:0 0 auto;font-size:12px;font-weight:800;color:#1A1A1A;white-space:nowrap}
.bv-na.todo{color:#6E6E6E}
.dk-bar{display:flex;flex-wrap:wrap;gap:8px;margin:2px 0 8px}
.dk-trig{
  display:inline-flex;align-items:center;gap:7px;height:38px;padding:0 8px 0 15px;
  border-radius:999px;border:1px solid #E8E8E8;
  background:#E8E8E8;
  box-shadow:none;
  font:inherit;font-size:12px;font-weight:700;color:#1A1A1A;cursor:pointer;
  max-width:100%;-webkit-tap-highlight-color:transparent;
}
.dk-trig:active{box-shadow:none}
.dk-trig .v{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:150px}
.dk-trig .n{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:12px;font-weight:700;color:#9E9E9E;letter-spacing:-.3px}
.dk-trig .cv{
  width:22px;height:22px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;
  background:#1A1A1A;color:#E8E8E8;
  font-size:11;font-weight:800;flex:0 0 auto;box-shadow:none;
}
.dk-trig .arw{width:7px;height:7px;border-right:1px solid #1A1A1A;border-bottom:1px solid #1A1A1A;
  transform:rotate(45deg) translateY(-2px);margin-left:1px;margin-right:5px;flex:0 0 auto}

.dk-trig .ic3{width:14px;height:10px;flex:0 0 auto;display:inline-block;
  background:#1A1A1A;
  background-size:14px 1.7px,10px 1.7px,6px 1.7px;
  background-position:0 0,0 4.15px,0 8.3px;background-repeat:no-repeat;
  opacity:.8}
#dk{position:fixed;inset:0;z-index:9700;display:none}
#dk.on{display:block}
.dk-mask{position:absolute;inset:0;background:rgba(28,27,25,.46);opacity:0;transition:opacity .22s ease}
#dk.on .dk-mask{opacity:1}
.dk-panel{
  position:absolute;left:0;right:0;bottom:0;max-height:78vh;overflow:auto;-webkit-overflow-scrolling:touch;
  background:#FAFAFA;border-radius:2px;
  padding:8px 14px calc(14px + env(safe-area-inset-bottom));
  box-shadow:none;
  transform:translate3d(0,calc(102% + var(--dk-y,0px)),0);
  ;
  will-change:transform;
}
#dk.on .dk-panel{transform:translate3d(0,var(--dk-y,0px),0)}
.dk-panel::before{content:"";display:block;width:36px;height:5px;border-radius:2px;background:#E8E8E8;margin:0 auto 9px}
.dk-hd{display:flex;align-items:baseline;justify-content:space-between;padding:0 2px 2px}
.dk-hd b{font-size:14px;color:#1A1A1A;letter-spacing:.2px}
.dk-hd em{font-style:normal;font-size:12px;font-weight:700;color:#9E9E9E;font-family:ui-monospace,monospace}
.dk-tip{font-size:12px;color:#1A1A1A;font-weight:600;line-height:1.6;margin:0 2px 9px}
#dk-grid>div{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px 6px;
  background:none!important;border:0!important;box-shadow:none!important;padding:0!important;margin:0!important;
  overflow:visible!important;border-radius:2px!important}
#dk-grid .dk-b{
  display:flex!important;flex-direction:column;align-items:center;justify-content:flex-start;gap:8px;
  width:100%!important;height:auto!important;min-height:0!important;padding:0!important;
  background:none!important;border:0!important;box-shadow:none!important;border-radius:2px!important;
  font:inherit;cursor:pointer;-webkit-tap-highlight-color:transparent;text-shadow:none!important;
}
#dk-grid .dk-b i{
  width:46px;height:46px;border-radius:50%;flex:0 0 auto;
  display:flex;align-items:center;justify-content:center;
  font-style:normal;font-size:12px;font-weight:800;letter-spacing:-.4px;color:#1A1A1A;
  background:#E8E8E8;
  border:1px solid #E8E8E8;
  box-shadow:none;
}
#dk-grid .dk-b span{
  font-size:12px;font-weight:700;line-height:1.25;color:#1A1A1A;text-align:center;
  max-width:100%;padding:0 1px;word-break:break-word;
}
#dk-grid .dk-b.on i{
  background:#1A1A1A;
  border-color:#1A1A1A;color:#E8E8E8;
  box-shadow:none;
}
#dk-grid .dk-b.on span{color:#1A1A1A;font-weight:800}
#dk-grid .dk-b.on span::after{content:"";display:block;width:14px;height:2px;border-radius:2px;background:#1A1A1A;margin:3px auto 0}
.dk-done{display:block;width:100%;height:44px;margin-top:14px;border-radius:999px;border:1px solid #E8E8E8;
  background:#E8E8E8;
  box-shadow:none;
  font:inherit;font-size:14px;font-weight:800;color:#1A1A1A;cursor:pointer}
.dk-done:active{box-shadow:none}
@media (min-width:760px){
  #dk-grid>div{grid-template-columns:repeat(4,minmax(0,1fr))}
  .dk-panel{left:50%;right:auto;width:520px;border-radius:2px;
    transform:translate3d(-50%,calc(102% + var(--dk-y,0px)),0)}
  #dk.on .dk-panel{transform:translate3d(-50%,var(--dk-y,0px),0)}
}
@media (prefers-reduced-motion:reduce){
  .dk-panel{transition:none}
  #dk .dk-mask{transition:none}
}

/* ================================================================
   输入框的高度地板（2026-11-03）
   ----------------------------------------------------------------
   字抬到 11 之后，才发现真正难按的是输入框：28 高、25 高的下拉，
   手指点上去得瞄准。凡是给人填的地方，一律不低于 42。
   密集表格里的单元格输入（工资、花名册）保留原样，
   那是「一格一格填」的场景，抬高了反而一屏看不完一行。
   ================================================================ */
#main input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=hidden]):not([type=file]),
#main select{
  min-height:42px;
}
#main table input:not([type=checkbox]):not([type=radio]),
#main .sal-cell input,#main .hf-cell input,#main .pi-tools input,#main .hr-tbl input{
  min-height:0;
}
#main input[type=time],#main input[type=date],#main input[type=number]{min-height:42px}

/* ================================================================
   大金额一行写完（2026-11-03）
   ----------------------------------------------------------------
   320 宽的屏上，「¥2,279,989」被折成「¥2,279,98 / 9」两行，
   看着像两个数。数字比字号重要：宁可小两像素，也要一行写完。
   窄屏按视宽缩，宽屏封顶 23，避免 375 和 1440 两种字号打架。
   ================================================================ */
/* 临时权限：一条横条 + 一张可批的单（2026-11-03） */
.perm-bar{display:flex;align-items:center;gap:9px;width:100%;margin:0 0 10px;padding:11px 13px;
  background:#FAFAFA;border:1px solid #E8E8E8;border-radius:2px;font-size:12px;color:#9E9E9E;
  text-align:left;font-family:inherit}
.perm-bar:active{transform:scale(.995)}
.pb-dot{width:7px;height:7px;border-radius:50%;background:#9E9E9E;flex:none}
.pb-tx{flex:1;min-width:0;line-height:1.5}
.pb-go{color:#9E9E9E;font-weight:700;flex:none;white-space:nowrap}
.perm-bar.mine{background:#E8E8E8;border-color:#E8E8E8;color:#1A1A1A}
.pb-dot.blue{background:#1A1A1A}
.perm-log{display:flex;justify-content:space-between;gap:10px;font-size:12px;color:#1A1A1A;
  padding:7px 2px;border-bottom:1px solid #E8E8E8}
.perm-log em{font-style:normal;font-size:12px;white-space:nowrap}
.perm-log em.ok{color:#1A1A1A}
.perm-log em.no{color:#9E9E9E}
.perm-item{border:1px solid #E8E8E8;border-radius:2px;padding:12px;margin-bottom:9px;background:#FFFFFF}
.pi-hd{display:flex;align-items:baseline;gap:8px;font-size:14px;font-weight:700}
.pi-hd span{font-size:12px;color:#1A1A1A;font-weight:400}
.pi-why{margin-top:7px;font-size:12px;color:#1A1A1A;line-height:1.7;background:#FFFFFF;border-radius:2px;padding:8px 10px}
.pi-md{margin-top:7px;font-size:12px;color:#9E9E9E}
.pi-act{display:flex;gap:8px;margin-top:10px}
.pi-act .btn{flex:1}

.kpi .kv2,.qc-kpi b,.bv-kpi b,.bv-num b,.bv-dl em{white-space:nowrap}
.kpi .kv2{font-size:clamp(15px,4.6vw,23px)}
@media (min-width:900px){ .kpi .kv2{font-size:20px} }

/* ================================================================
   桌面端：导航只留一套（2026-11-03）
   ----------------------------------------------------------------
   企业版在宽屏上本来已经用左侧栏承载全部入口，但 #topnav 是 ID 选择器，
   权重高过 body.ent .topnav，于是 5 组图标又原样摊在主区上方，
   二级导航再跟一条 —— 同一套导航在一屏里出现三遍，
   最后一个「运维图表」还被挤到下一行，孤零零挂在左边。
   这里用同样的权重压回去：宽屏只认侧栏，窄屏才用底部 Tab。
   ================================================================ */
@media (min-width:900px){
  body.ent #topnav, body.ent #subnav{ display:none!important; }
  /* 「客户展示」在宽屏上原本留了字，可顶栏这一格是固定宽的：
     字被挤成竖排、贴着搜索框，看着像没写完的按钮。
     宽屏一律只留图标，字放进悬停提示里。 */
  body.ent .ent-show{ width:42px!important; height:42px!important; padding:0!important; }
  body.ent .ent-show .tx{ display:none!important; }
}

/* ================================================================
   版式收敛：先紧凑，再谈好看（2026-11-03 下午）
   ----------------------------------------------------------------
   问题不是「没留白」，是「白得太散」。
   1440 的屏上，内容从侧栏 236 一路铺到 1416，
   一行「金额 ——————— 状态」中间空出八百像素，
   眼睛读一行要来回跑两趟，看久了就是累。

   这一层只做三件事，不碰配色、不碰字体：
   ① 内容区封顶 1160，宽屏左右留白对称，视线不用横扫；
   ② 面板 / 卡片 / 统计条的竖向间距压回去，一屏多看两行；
   ③ 手机再收一档：字不缩小，只把空气挤掉。
   ================================================================ */
@media (min-width:900px){
  /* 关键：原来 max-width:none，等于有多大铺多大。
     960 是一条读起来不用摆头的宽度：一行字 30-40 个，
     表格五列也放得下。1440 的屏上两边各留 122。 */
  body.ent #main{
    max-width:none!important;
    margin-left:236px!important;
    padding:16px max(20px, calc((100vw - 236px - 960px)/2)) 44px!important;
  }
  .pg-hd{margin:0 0 12px!important;padding:0 1px 9px!important}
  .pg-hd h2{font-size:20px!important}
  .panel{padding:15px 17px!important;margin-bottom:11px!important}
  .panel h3{margin-bottom:9px!important}
  .card{padding:10px 13px!important;margin-bottom:7px!important}
  .card .meta{margin-top:4px!important;line-height:1.6!important}
  .stat-row{gap:10px!important;margin-bottom:10px!important}
  .stat{padding:13px 8px!important}
  .stat .num{font-size:20px!important}
  .kv{gap:7px!important}
  .hub-bar{margin-bottom:10px!important}
  .list-item{padding:8px 0!important}
  .bv-kpi{gap:10px!important;margin-bottom:10px!important}
  .modal{padding:20px!important}
}
/* 按钮：收薄一档。大不等于好用，一块黑板压在页面上只会显得笨 */
.btn{font-weight:600!important;letter-spacing:.01em!important}
.btn.ghost{border-color:#FAFAFA!important}
/* 弹窗按钮 44 够大拇指；46 就成了一块色卡 */
.dl-in .dl-act .btn{height:44px!important;min-height:44px!important;font-size:14px!important;border-radius:2px!important}
.modal .act-bar .btn,.modal .ask-act .btn{border-radius:2px!important}
/* 圆角统一：一个页面里不该同时出现 2px 和 13px 两种语言 */
.panel,.card,.stat,.search,.field input,.field select,.field textarea,.modal{border-radius:2px!important}
.tag{border-radius:2px!important}
@media (max-width:899px){
  .dl-in .dl-act .btn{height:44px!important;min-height:44px!important}
  body.ent #main{padding:10px 11px 84px!important}
  .pg-hd{margin:0 0 10px!important;padding-bottom:8px!important}
  .pg-hd h2{font-size:20px!important;line-height:1.3!important}
  .panel{padding:12px!important;margin-bottom:9px!important}
  .panel h3{margin-bottom:8px!important;font-size:12px!important}
  .card{padding:10px 11px!important;margin-bottom:7px!important}
  .card .meta{margin-top:4px!important;line-height:1.55!important}
  .stat-row{gap:7px!important;margin-bottom:10px!important}
  .stat{padding:11px 4px!important}
  .stat .num{font-size:20px!important}
  .stat .label{font-size:12px!important;margin-top:2px!important}
  .hub-bar{gap:4px!important;padding:4px!important;margin-bottom:9px!important}
  .hub-bar button{padding:7px 6px!important;font-size:12px!important}
  .list-item{padding:8px 0!important}
  .btn{padding:10px 14px!important}
  .empty{padding:18px 0!important}
}

/* ================================================================
   按钮归位：小、薄、一眼认得出（2026-11-03 下午，第二版）
   ----------------------------------------------------------------
   「豆按钮」那一版把能按的东西都做成了 46 高的胶囊：
   导出被拉成半屏长条，「困人 / 停梯」撑成 385×112 的白格子，
   一个页面里横着七八条白胖块，用户问「这些按钮咋玩儿」——
   按钮大不等于好按，认不出才是真难用。

   这里把尺寸和形状收回来：
     高 34 / 圆角 8 / 左右 13 / 字 13，主键墨蓝实底，次键白底细边。
   同时把「钢纹 + 22 圆角」的厚重皮肤换回纸面：
     背景米白、卡片白纸、12 圆角、一道极浅的边。
   ================================================================ */
html,body,body.plain{background:#FAFAFA!important;background-image:none!important}
.panel,.fold,.stat,.kpi,.kpi-card,.dl-item,.qs-req,.sys-mode,.hr-card,
.bq-item,.bq-sum,.blank-box,.sal-row,.nv-card,.card,.list-item,.fin-todo{
  border-radius:2px!important;
  border-color:#FAFAFA!important;
  background:#FAFAFA!important;background-image:none!important;
  box-shadow:none!important;
}
header,.ent-top{background-image:none!important;background:#FAFAFA!important}

/* 只在电脑上生效：手机版的按钮尺寸是另一套，别被这里带跑 */
@media (min-width:900px){
button[data-ai="1"],.btn,.btn.ghost,.btn.danger,.btn.green,.btn.primary,.btn.sm,.btn.lg,
.nq-btn,.bq-btn,.ctool-btn,.wt-btn,.td-btn,.hr-mini,.qs-tidy,.vf-btn,.fu-b,
.nq-add,.nq-reset,.hr-viewbtn,.sal-mbtn{
  border-radius:2px!important;
  background-image:none!important;
  box-shadow:none!important;
  text-shadow:none!important;
  height:32px!important;min-height:32px!important;max-height:none!important;
  padding:0 12px!important;
  font-size:12px!important;font-weight:600!important;letter-spacing:0!important;
}
/* 选择器要和上面那层「豆」写得一样长，否则压不住 */
.btn.sm,.btn.sm.ghost,.btn.sm.danger,.btn.sm.green,.btn.sm.primary,.td-btn,.hr-mini,
.qs-tidy,.hr-viewbtn,.sal-mbtn{
  height:28px!important;min-height:28px!important;max-height:none!important;
  padding:0 10px!important;font-size:12px!important;border-radius:2px!important;
  background-image:none!important;box-shadow:none!important;text-shadow:none!important;
}
/* .lg 只留给登录和弹窗底栏：那两处按不准会出事，36 是下限 */
.btn.lg,.act-bar .btn,.ask-act .btn,.login-box .btn{
  height:36px!important;min-height:36px!important;font-size:12px!important;
}
.btn,.btn.primary,button[data-ai="1"][data-kind="primary"]{
  background:#1A1A1A!important;border:1px solid #1A1A1A!important;color:#FFFFFF!important;
}
.btn.ghost,button[data-ai="1"][data-kind="ghost"]{
  background:#FFFFFF!important;border:1px solid #E8E8E8!important;color:#1A1A1A!important;
}
.btn.danger,button[data-ai="1"][data-kind="danger"]{
  background:#FFFFFF!important;border:1px solid #E8E8E8!important;color:#6E6E6E!important;
}
.btn.green{background:#1A1A1A!important;border-color:#1A1A1A!important;color:#FFFFFF!important}
.btn:disabled,button[data-ai="1"]:disabled{opacity:.4!important}
button[data-ai="1"] .ai-ic{width:15px!important;height:15px!important;margin-right:6px!important}
button[data-ai="1"] .ai-ic svg{width:15px!important;height:15px!important}

/* 抽屉条：一排小按钮，不是一排大白格 */
.hub-bar,.hub-bar.grid{
  display:flex!important;flex-wrap:wrap!important;align-items:center!important;justify-content:flex-start!important;
  gap:6px!important;padding:0!important;background:none!important;background-image:none!important;
  border:0!important;box-shadow:none!important;border-radius:2px!important;
  max-width:none!important;margin:0 0 12px!important;
}
.hub-bar button,.hub-bar.grid button,
.hub-bar:not(.grid) button:has(.ic),.hub-bar.grid button:has(.ic){
  flex:0 0 auto!important;width:auto!important;min-width:0!important;
  height:32px!important;min-height:32px!important;max-height:none!important;
  padding:0 11px!important;border-radius:2px!important;
  flex-direction:row!important;gap:6px!important;
  background:#FFFFFF!important;background-image:none!important;
  border:1px solid #E8E8E8!important;color:#1A1A1A!important;
  font-size:12px!important;font-weight:600!important;box-shadow:none!important;
}
/* 只有一两个入口的那条窄轨（46 高胖胶囊）也一起收 */
.hub-bar:not(.grid):not(:has(>button:nth-child(3))) button{
  height:32px!important;min-height:32px!important;max-height:none!important;
  padding:0 11px!important;border-radius:2px!important;font-size:12px!important;
  background:#FFFFFF!important;background-image:none!important;
  border:1px solid #E8E8E8!important;color:#1A1A1A!important;box-shadow:none!important;
}
.hub-bar button.on,.hub-bar.grid button.on,
.hub-bar button:has(.ic).on,.hub-bar.grid button:has(.ic).on{
  background:#1A1A1A!important;background-image:none!important;
  border:1px solid #1A1A1A!important;color:#FFFFFF!important;
}
.hub-bar button .ic,.hub-bar.grid button .ic,
.hub-bar:not(.grid):not(:has(>button:nth-child(3))) button .ic{
  width:15px!important;height:15px!important;font-size:14px!important;
  margin:0!important;background:none!important;background-image:none!important;box-shadow:none!important;border:none!important;
}
.hub-bar button .ic svg,.hub-bar.grid button .ic svg{width:15px!important;height:15px!important}
}


/* ================================================================
   桌面重排（2026-11-03 下午，第三版）
   ----------------------------------------------------------------
   宽度收到 960 只是第一步。真正让版面散的是这几件事：
   工具条上两颗按钮各占半屏、搜索框拉成一整行、
   右下角一颗黑球压着列表、体检条横在标题上。
   这一层把它们各自归位，不动页面结构。
   ================================================================ */
@media (min-width:900px){
  /* 按钮按内容宽走，不再被父级 flex 拉成白带 */
  #main .btn,#main .btn.sm{flex:0 0 auto!important;width:auto!important;max-width:100%!important}
  /* 搜索框不铺满：460 够打完整项目名 */
  #main .search{max-width:460px!important}
  /* 列表行左右各收 14，别把两端顶到屏幕边 */
  #main .card,#main .list-item{padding-left:14px!important;padding-right:14px!important}
  /* AI 球在桌面上多余（顶栏有铃铛），只留一颗 ＋ */
  body.ent .bot-fab{display:none!important}
  body.ent .fab{right:26px!important;bottom:26px!important;width:46px!important;height:46px!important;font-size:20px!important}
  /* 体检提示：以前浮在右下角，正好压住首页第三张入口卡（下现场）。
     现在跟手机端一个做法 —— 塞进内容流最后，跟着页面滚，谁都不挡。 */
  .hc-toast{position:static!important;top:auto!important;bottom:auto!important;right:auto!important;left:auto!important;
    transform:none!important;animation:none!important;max-width:none!important;width:auto!important;
    margin:14px 0 0!important}
  /* 页头一行说完 */
  .pg-hd{margin:0 0 10px!important;padding-bottom:8px!important}
  .pg-hd h2{font-size:20px!important}

  /* 顶栏工具条：54 高、42 圆钮，像三颗挂件飘在栏上。
     收到 46 高、30 方钮，图标 16，和页面里的按钮同一个尺寸语言。 */
  body.ent .ent-top{height:46px!important;padding:0 20px!important;gap:10px!important}
  body.ent .ent-crumb{font-size:12px!important}
  body.ent .ent-search{width:200px!important;padding:4px 10px!important;border-radius:2px!important}
  body.ent .ent-search input{font-size:12px!important}
  body.ent .ent-show,body.ent .ent-help,body.ent .ent-bell{
    width:32px!important;height:32px!important;min-height:32px!important;border-radius:2px!important;
    background:#FFFFFF!important;background-image:none!important;
    border:1px solid #E8E8E8!important;box-shadow:none!important;color:#1A1A1A!important;
  }
  body.ent .ent-show .appic,body.ent .ent-help .appic,body.ent .ent-bell .appic{
    width:16px!important;height:16px!important;
  }
  /* 侧栏底部：角色名一行写不完就省略，红标缩到角上，不再压字 */
  .ent-u-tx{padding-right:24px!important}
  .ent-u-rl{white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
  .ent-u-dot{top:8px!important;right:11px!important;min-width:14px!important;height:14px!important;
    font-size:12px!important;padding:0 3px!important;border-radius:2px!important}
  /* 右下那颗 ＋ 收到 42，别压住最后一行的操作键 */
  body.ent .fab{width:42px!important;height:42px!important;right:20px!important;bottom:18px!important;font-size:20px!important}

  /* 列表：卡片改成「一行三段」——名字 / 说明 / 操作，
     像一张表，不再是一条卡片占三行、右边空半屏。 */
  #main .card:has(> .name):has(> .meta){
    display:flex!important;align-items:center!important;gap:14px!important;
    padding:9px 14px!important;margin-bottom:6px!important;
  }
  #main .card:has(> .name):has(> .meta) > .name{
    flex:0 0 220px!important;min-width:0!important;display:flex!important;
    align-items:center!important;justify-content:flex-start!important;gap:8px!important;
    white-space:nowrap!important;overflow:hidden!important;
  }
  #main .card:has(> .name):has(> .meta) > .name > span:first-child{
    overflow:hidden!important;text-overflow:ellipsis!important;
  }
  #main .card:has(> .name):has(> .meta) > .meta{
    flex:1 1 auto!important;min-width:0!important;margin:0!important;
    font-size:12px!important;line-height:1.5!important;
    white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;
  }
  #main .card:has(> .name):has(> .meta) > div:last-child:not(.name):not(.meta){
    flex:0 0 auto!important;margin:0!important;display:flex!important;gap:6px!important;
  }
}

/* 页签条最终态：贴左、按内容宽，不再是一条横贯整行的灰底槽。
   前面几层用的是同一个特异性，这里加 body 前缀确保压住。 */
body .hub-bar,body .hub-bar.grid{
  display:flex!important;flex-wrap:wrap!important;justify-content:flex-start!important;align-items:center!important;
  width:fit-content!important;max-width:100%!important;
  gap:6px!important;padding:0!important;margin:0 0 12px!important;
  background:transparent!important;background-image:none!important;
  border:0!important;border-radius:2px!important;box-shadow:none!important;
  grid-template-columns:none!important;
}

/* 抹零 / 签章栏：一行一道选择题，点一下就成。
   用独立类名 qx-pick —— bq-pick 是「选客户」那一行的，借用会连带皮一起变。
   四个选项做成一段分段控件：一条边、里面几格，比四颗独立白胶囊省一半宽。 */
.qx-pick{display:flex!important;align-items:center!important;gap:9px!important;flex-wrap:wrap!important;margin-top:9px!important}
.qx-pick-l{font-size:12px!important;color:#1A1A1A!important;flex:0 0 40px!important;font-weight:600!important}
.qx-pick-opts{display:inline-flex!important;gap:0!important;flex-wrap:nowrap!important;
  border:1px solid #E8E8E8!important;border-radius:2px!important;overflow:hidden!important;
  background:#FFFFFF!important;background-image:none!important}
.modal .qx-pick-opts button,.qx-pick-opts button{
  height:30px!important;min-height:30px!important;padding:0 12px!important;margin:0!important;
  border:0!important;border-right:1px solid #E8E8E8!important;border-radius:2px!important;
  background:#FFFFFF!important;background-image:none!important;box-shadow:none!important;
  color:#1A1A1A!important;font-size:12px!important;font-weight:600!important;
  font-family:inherit!important;line-height:1!important;cursor:pointer!important;
}
.qx-pick-opts button:last-child{border-right:0!important}
.modal .qx-pick-opts button.on,.qx-pick-opts button.on{
  background:#1A1A1A!important;background-image:none!important;color:#FFFFFF!important;border-color:#1A1A1A!important;
}
.qx-pick-hint{font-style:normal!important;font-size:12px!important;color:#9E9E9E!important}
/* 报价单里的按钮：跟全站一个尺寸，别再是两条白胶囊 */
.bq-btn,.bq-btn.primary{
  height:40px!important;min-height:40px!important;border-radius:2px!important;
  background-image:none!important;box-shadow:none!important;
  font-size:14px!important;font-weight:600!important;
}
.bq-btn{background:#FFFFFF!important;border:1px solid #E8E8E8!important;color:#1A1A1A!important}
.bq-btn.primary{background:#1A1A1A!important;border:1px solid #1A1A1A!important;color:#FFFFFF!important}
.bq-sec-btns button,.bq-mini{
  height:28px!important;min-height:28px!important;padding:0 10px!important;
  border-radius:2px!important;background:#FFFFFF!important;background-image:none!important;
  border:1px solid #E8E8E8!important;color:#1A1A1A!important;
  font-size:12px!important;font-weight:500!important;box-shadow:none!important;
}
/* 「下载 PDF」是这屏该按的那个：不管图标层把它认成什么，都按主键画 */
.bq-actions .bq-btn:first-child{
  background:#1A1A1A!important;border:1px solid #1A1A1A!important;color:#FFFFFF!important;
}

/* ================================================================
   电脑版收口（2026-11-03 下午，第四版）
   ----------------------------------------------------------------
   按钮已经统一成 32 / 6 / 12.5，剩下的「散」来自留白：
   首页四条待办每条 64 高、行间再留 8，四行吃掉 280；
   面板内距 15/17，一屏只放得下两块。
   这里只动电脑：手机版一行不改。
   ================================================================ */
@media (min-width:900px){
  /* 面板：内距 14，块间距 12，一屏能多看见一块 */
  #main .panel{padding:14px 16px!important;margin-bottom:12px!important}
  #main .fold{margin-bottom:12px!important}
  /* 首页四条待办：64 → 52，说明文字压到一行，箭头贴右 */
  #main .card.fin-todo{
    padding:7px 12px!important;margin-bottom:5px!important;
    min-height:0!important;border-radius:2px!important;
  }
  #main .fin-todo-hd{margin-bottom:7px!important;gap:8px!important}
  #main .fin-todo-t{font-size:12px!important;line-height:1.35!important}
  #main .fin-todo-d{font-size:12px!important;line-height:1.4!important;margin-top:2px!important;
    white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
  #main .fin-todo-ic{width:20px!important;height:20px!important;margin-right:8px!important}
  #main .fin-todo-go{font-size:14px!important;opacity:.32!important;margin-left:10px!important}
  /* 列表行：47 → 42，一行一个案子，扫得动 */
  #main .card:has(> .name):has(> .meta){padding:7px 14px!important;margin-bottom:6px!important}
  /* 顶栏三颗钮：跟着页面里的按钮走，32 见方 */
  body.ent .ent-top .ent-show,body.ent .ent-top .ent-help,body.ent .ent-top .ent-bell{
    width:32px!important;height:32px!important;min-height:32px!important;border-radius:2px!important;
  }
  body.ent .ent-top .ent-show .appic,body.ent .ent-top .ent-help .appic,body.ent .ent-top .ent-bell .appic{
    width:16px!important;height:16px!important;
  }
  /* 页签里的图标：这一条必须写在 #main 下。
     前面「豆」那版是 .hub-bar:not(.grid) button .ic{44×44 圆形}，
     三个类压得住 .hub-bar button .ic（两个），于是按钮 32 高、
     里面的豆 46 高，豆顶出按钮、把字挤掉半截——现场看到的就是这个。
     这里用 id 提一层，尺寸和圆都拨回图标该有的样子。 */
  #main .hub-bar button .ic,#main .hub-bar.grid button .ic,
  #main .hub-bar:not(.grid) button .ic{
    width:15px!important;height:15px!important;min-width:15px!important;min-height:15px!important;
    flex:0 0 15px!important;margin:0!important;padding:0!important;
    border-radius:2px!important;border:0!important;
    background:none!important;background-image:none!important;
    box-shadow:none!important;text-shadow:none!important;
    display:inline-flex!important;align-items:center!important;justify-content:center!important;
    position:static!important;
  }
  #main .hub-bar button .ic svg,#main .hub-bar.grid button .ic svg,
  #main .hub-bar button .appic,#main .hub-bar.grid button .appic{
    width:15px!important;height:15px!important;
  }
  /* 按钮本体兜一层：图标再野也裁不出去 */
  #main .hub-bar button,#main .hub-bar.grid button{
    overflow:hidden!important;
  }

  /* 搜索框：跟按钮同高，不再是一条胖白条 */
  body.ent .ent-search{width:220px!important;padding:0 10px!important;height:32px!important;border-radius:2px!important}
  body.ent .ent-search input{font-size:12px!important}
  /* 报价台账的卡片：120 高主要是行距撑的，收一档后一屏多看两张 */
  #main .nq-qcard{padding:9px 14px!important;margin-bottom:7px!important;border-radius:2px!important}
  #main .nq-qcard-h{font-size:14px!important;margin-bottom:2px!important;line-height:1.35!important}
  #main .nq-qcard-no{font-size:12px!important;margin-bottom:3px!important;line-height:1.4!important}
  #main .nq-qcard-b{font-size:14px!important;line-height:1.35!important}
  #main .nq-qcard-cmp{font-size:12px!important;margin-top:2px!important;line-height:1.35!important}

  /* ============================================================
     选择器做成一条长条（第五版）
     ------------------------------------------------------------
     原来是一颗颗独立的白方块：两个就占两格宽度、颜色还各不一样，
     页签多的页（系统工具八个）直接折成第二排，页头越看越乱。
     现在连成一条：一个外框、格与格之间一条细线、选中格填深色。
     硬不换行——真放不下就在条里横滑，绝不折行。
     ============================================================ */
  /* ============================================================
     页签条（第七版 · 分段控件）
     ------------------------------------------------------------
     前几版一直在「加框、加线、加色块」：格与格一条竖线、选中格
     整块填黑、外面再套一个框。三样叠一起，页签看着像一张小表格，
     跟页面里的圆角卡片、描边按钮不是一套语言。
     这一版把装饰全撤掉，只留三层，跟 macOS / iOS 的分段控件同一套：
       ① 一条浅灰圆角槽 —— 只暗示「这几个是一组」，不画边；
       ② 选中的那一格 —— 白底、圆角、一层薄影，像从槽里浮起来；
       ③ 其余 —— 透明、灰字，指上去才浮一点。
     切换时白块平移过去（JS 量位置），不是硬切 —— 这一下最像苹果。
     ============================================================ */
  #main .hub-bar,#main .hub-bar.grid{
    display:inline-flex!important;
    flex-wrap:nowrap!important;
    align-items:center!important;
    gap:2px!important;
    width:auto!important;max-width:100%!important;
    padding:3px!important;margin:0 0 16px!important;
    background:#FAFAFA!important;background-image:none!important;
    border:0!important;
    border-radius:2px!important;
    box-shadow:none!important;
    position:relative!important;
    overflow-x:auto!important;overflow-y:hidden!important;
    scrollbar-width:none;
  }
  #main .hub-bar::-webkit-scrollbar{display:none!important;height:0!important}
  /* 浮起来的白块：位置由 JS 算，只在两格之间平移 */
  #main .hub-bar .hub-pill{
    display:block!important;
    position:absolute!important;
    top:3px!important;bottom:3px!important;left:0!important;
    border-radius:2px!important;
    background:#FFFFFF!important;background-image:none!important;
    box-shadow:none!important;
    pointer-events:none!important;z-index:0!important;
    ;
  }
  /* 白块在了，选中格自己就不再刷一遍底色 —— 两层白叠起来会发灰 */
  #main .hub-bar.has-pill button.on{
    background:transparent!important;box-shadow:none!important;
  }

  #main .hub-bar button,#main .hub-bar.grid button,
  #main .hub-bar:not(.grid) button:has(.ic),#main .hub-bar.grid button:has(.ic){
    flex:0 0 auto!important;
    width:auto!important;min-width:0!important;max-width:none!important;
    height:32px!important;min-height:32px!important;max-height:32px!important;
    margin:0!important;padding:0 18px!important;
    border:0!important;
    border-radius:2px!important;
    background:transparent!important;background-image:none!important;
    box-shadow:none!important;text-shadow:none!important;
    color:#1A1A1A!important;
    font-size:12px!important;font-weight:500!important;letter-spacing:0!important;
    flex-direction:row!important;align-items:center!important;
    justify-content:center!important;gap:7px!important;
    white-space:nowrap!important;
    position:relative!important;z-index:1!important;
    transition:background .18s ease,color .18s ease!important;
  }
  /* 图标随字走：15 压在 13 号字旁边最稳，大了整条就显笨 */
  #main .hub-bar button .ic,#main .hub-bar.grid button .ic,
  #main .hub-bar:not(.grid) button:has(.ic) .ic{
    width:15px!important;height:15px!important;min-width:15px!important;min-height:15px!important;
    flex:0 0 15px!important;
  }
  #main .hub-bar button .appic,#main .hub-bar.grid button .appic,
  #main .hub-bar button .ic svg,#main .hub-bar.grid button .ic svg{
    width:15px!important;height:15px!important;
  }
  /* 图标跟着字走：选中用正黑，未选中退半步 —— 别在白底上淡成水印。
     注意 .ic 的 color 被上一版（黑底白字）写死成 #E8E8E8，
     白块上等于隐形，这里必须 inherit 回文字色。 */
  #main .hub-bar button .ic,#main .hub-bar.grid button .ic,
  #main .hub-bar button .appic,#main .hub-bar.grid button .appic{color:inherit!important}
  #main .hub-bar button .ic,#main .hub-bar button .appic,
  #main .hub-bar.grid button .ic,#main .hub-bar.grid button .appic{opacity:1!important}
  #main .hub-bar button:not(.on) .ic,#main .hub-bar button:not(.on) .appic,
  #main .hub-bar.grid button:not(.on) .ic,#main .hub-bar.grid button:not(.on) .appic{opacity:.72!important}
  /* 没装白块的降级态（JS 还没跑）：自己刷白，选中照样看得出来 */
  #main .hub-bar:not(.has-pill) button.on,#main .hub-bar.grid:not(.has-pill) button.on{
    background:#FFFFFF!important;color:#1A1A1A!important;font-weight:600!important;
    box-shadow:none!important;
  }
  #main .hub-bar button.on{color:#1A1A1A!important;font-weight:600!important}
  /* 八格以上（系统工具那条）收一档内距：九格也能一屏看全，不用横滑 */
  #main .hub-bar:has(> button:nth-child(8)) button,
  #main .hub-bar.grid:has(> button:nth-child(8)) button,
  #main .hub-bar:not(.grid):has(> button:nth-child(8)) button:has(.ic),
  #main .hub-bar.grid:has(> button:nth-child(8)) button:has(.ic){
    padding:0 12px!important;gap:6px!important;
  }
  /* 未选中的格：指上去浮一层墨色（4.5% 就够，再多就脏了） */
  #main .hub-bar button:not(.on):hover{
    background:rgba(28,27,25,.055)!important;color:#1A1A1A!important;
  }
  /* 按下时缩一点点，手感像真按到东西 */
  #main .hub-bar button:active{transform:scale(.97)!important}
  /* 键盘走到哪一格，得看得见 —— 电脑上的规矩 */
  #main .hub-bar button:focus-visible{
    outline:2px solid #1A1A1A!important;outline-offset:-2px!important;
  }
}
/* 页签白块只在电脑版存在；手机端是方块页签，这块 span 不能占位 */
.hub-pill{display:none!important}

/* ============================================================
   ④ 相关方（报价单里那张小表）
   ------------------------------------------------------------
   一方一张卡：角色 / 单位 / 电话 一行，分工一行胶囊。
   电脑上排成一行扫得快；手机上每个字段独占一行，不挤成一条缝。
   默认不显示卡（只有一行虚线提示），不加就不影响老流程。
   ============================================================ */
.pt-empty{border:1px solid #E8E8E8!important;border-radius:2px!important;
  padding:15px 14px!important;text-align:center!important;background:#FAFAFA!important}
.pt-empty-t{font-size:12px!important;color:#9E9E9E!important;margin-bottom:10px!important}
.pt-row{border:1px solid #E8E8E8!important;border-radius:2px!important;
  background:#FAFAFA!important;padding:10px 12px!important;margin-bottom:8px!important}
.pt-hd{display:flex!important;gap:8px!important;align-items:center!important;flex-wrap:wrap!important}
.pt-role{height:34px!important;flex:0 0 auto!important;min-width:106px!important;
  border:1px solid #E8E8E8!important;border-radius:2px!important;background:#FFFFFF!important;
  color:#1A1A1A!important;font-size:12px!important;font-family:inherit!important;padding:0 8px!important}
.pt-name{flex:1 1 170px!important;min-width:0!important;height:34px!important;
  border:1px solid #E8E8E8!important;border-radius:2px!important;background:#FFFFFF!important;
  padding:0 10px!important;font-size:12px!important;color:#1A1A1A!important}
.pt-tel{flex:0 1 150px!important;min-width:0!important;height:34px!important;
  border:1px solid #E8E8E8!important;border-radius:2px!important;background:#FFFFFF!important;
  padding:0 10px!important;font-size:12px!important;color:#1A1A1A!important}
.pt-x{flex:0 0 30px!important;width:30px!important;height:30px!important;padding:0!important;
  border:1px solid #E8E8E8!important;border-radius:2px!important;background:#FFFFFF!important;
  color:#9E9E9E!important;font-size:14px!important;line-height:1!important;cursor:pointer!important}
.pt-x:hover{color:#6E6E6E!important;border-color:#6E6E6E!important}
.pt-duty{display:flex!important;align-items:center!important;gap:6px!important;
  flex-wrap:wrap!important;margin-top:9px!important}
.pt-duty>span{font-size:12px!important;color:#9E9E9E!important;letter-spacing:.06em!important}
.pt-d{height:27px!important;min-height:27px!important;padding:0 11px!important;
  border:1px solid #E8E8E8!important;border-radius:2px!important;background:#FFFFFF!important;
  color:#1A1A1A!important;font-size:12px!important;font-family:inherit!important;cursor:pointer!important}
.pt-d.on{background:#1A1A1A!important;border-color:#1A1A1A!important;color:#FFFFFF!important;font-weight:600!important}
.pt-foot{display:flex!important;align-items:center!important;gap:9px!important;
  flex-wrap:wrap!important;margin-top:2px!important}
.pt-tip{font-style:normal!important;font-size:12px!important;color:#9E9E9E!important}

@media (max-width:520px){
  .pt-role,.pt-name,.pt-tel{flex:1 1 100%!important;width:100%!important}
  .pt-x{position:absolute!important;top:8px!important;right:8px!important}
  .pt-row{position:relative!important;padding-right:44px!important}
}

/* ================================================================
   钉钉骨架（2026-11-03 下午 · 只电脑版）
   ----------------------------------------------------------------
   这一版不换配色，只换骨架。钉钉那套耐看，靠的不是蓝，是四条规矩：

     ① 一屏只有两种底 —— 浅灰的页、纯白的卡，中间不许有第三种；
     ② 卡片不画重边、不压阴影，靠底色差自然浮起；
     ③ 所有控件同一套圆角、同一套边框，输入框不搞立体；
     ④ 行与行排齐，行高一致，指上去有反馈。

   这套系统原先不是这样：
     · 页面是暖米 #FAFAFA，台账卡片却是冷灰 #FAFAFA，冷暖并排，脏；
     · 还留着上一版「豆按钮」的渐变 + 内阴影，输入框像个凹槽；
     · 圆角一会儿 2、一会儿 9、一会儿 14，没有语言。
   这一节把三件事收干净：暖米页 + 纯白卡 + 墨黑字。
   手机版一个字不动，全部关在 900px 以上。
   ================================================================ */
@media (min-width:900px){

  /* ---------- ① 两种底：米灰的页，纯白的卡 ---------- */
  html,body,body.ent,body.plain{
    background:#FAFAFA!important;background-image:none!important;
  }
  #main .panel,#main .card,#main .nq-qcard,#main .stat,#main .fin-todo,
  #main .sys-mode,#main .hr-card,#main .bq-item,#main .fold,#main .kpi-card,
  #main .dl-item,#main .nv-card,#main .sal-row,#main .blank-box,#main .qs-req{
    background:#FFFFFF!important;background-image:none!important;
    border:1px solid #E8E8E8!important;
    border-radius:2px!important;
    box-shadow:none!important;
  }
  /* 汇总条、提示条：也是白卡，别做成一整块灰底 */
  #main .fu-bar,#main .fu-sum,#main .dk-bar{
    background:#FFFFFF!important;background-image:none!important;
    border:1px solid #E8E8E8!important;border-radius:2px!important;
    box-shadow:none!important;
  }
  /* 能点的卡，指上去要有反应；不给反馈，人就不确定能不能点 */
  #main .card:hover,#main .nq-qcard:hover,#main .hr-card:hover,
  #main .bq-item:hover,#main .fin-todo:hover{
    border-color:#6E6E6E!important;
    box-shadow:none!important;
  }

  /* ---------- ② 输入控件：白底、一条细边、别再凹进去 ---------- */
  input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="submit"]):not([type="button"]),
  select,textarea{
    background:#FFFFFF!important;background-image:none!important;
    border:1px solid #E8E8E8!important;
    border-radius:2px!important;
    box-shadow:none!important;
  }
  input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):focus,
  select:focus,textarea:focus{
    border-color:#1A1A1A!important;
    box-shadow:none!important;
    outline:none!important;
  }
  #main input.search,#main .search{
    height:36px!important;min-height:36px!important;
    background:#FFFFFF!important;border:1px solid #E8E8E8!important;
    border-radius:2px!important;box-shadow:none!important;
    font-size:12px!important;
  }
  #main input.search::placeholder{color:#9E9E9E!important}

  /* ---------- ③ 标签、芯片：去掉立体渐变，收成平的 ---------- */
  .chip,.nq-cat,.tag,.seg,.nq-seg{
    border-radius:2px!important;
    background-image:none!important;
    box-shadow:none!important;
  }
  .chip,.nq-cat{
    background:#FFFFFF!important;
    border:1px solid #E8E8E8!important;
    color:#1A1A1A!important;
  }
  .chip.on,.nq-cat.on{
    background:#1A1A1A!important;border-color:#1A1A1A!important;color:#FFFFFF!important;
  }

  /* ---------- ④ 表格：表头浅底，行线细，不要竖线 ---------- */
  #main table{border-collapse:separate!important;border-spacing:0!important}
  #main th{
    background:#FAFAFA!important;background-image:none!important;
    font-size:12px!important;font-weight:600!important;color:#1A1A1A!important;
    letter-spacing:.04em!important;border-bottom:1px solid #E8E8E8!important;
  }
  #main td{border-bottom:1px solid #E8E8E8!important;border-top:0!important}
  #main tr:last-child td{border-bottom:0!important}

  /* ---------- ⑤ 页头与统计：字号收一档，字重提一档 ---------- */
  #main .pg-hd h2{font-size:20px!important;font-weight:600!important;letter-spacing:.01em!important}
  #main .pg-hd p{font-size:12px!important;color:#9E9E9E!important}
  #main .stat .num{font-size:20px!important;font-weight:700!important;letter-spacing:-.01em!important}
  #main .stat .label{font-size:12px!important;color:#9E9E9E!important;margin-top:4px!important}
  #main .panel h3{font-size:14px!important;font-weight:600!important;letter-spacing:.01em!important}

  /* ---------- ⑥ 节奏：间距统一到 8 的倍数，卡片之间不忽宽忽窄 ---------- */
  #main .panel,#main .card,#main .nq-qcard,#main .fu-bar,#main .fu-sum{
    margin-bottom:10px!important;
  }
  #main .nq-qcard{padding:11px 16px!important}
  #main .panel{padding:16px 18px!important}
}

/* ---------- ⑦ 连续的列表卡，合成一张表 ----------
   钉钉的列表是「一张白卡里排很多行」，不是「一行一张卡摞起来」。
   后者每行都要读一次边框和缝隙，眼睛一直在被打断。
   这里不改结构（几千行都是直接挂在主区上的），只用相邻选择器
   把连着的卡粘成一整块：中间直角、细线分隔，首尾才留圆角。 */
@media (min-width:900px){
  #main > div.card:has(+ div.card),
  #main > div.nq-qcard:has(+ div.nq-qcard){
    margin-bottom:0!important;
    border-bottom:0!important;
    border-bottom-left-radius:0!important;
    border-bottom-right-radius:0!important;
  }
  #main > div.card + div.card,
  #main > div.nq-qcard + div.nq-qcard{
    margin-top:-1px!important;
    border-top-left-radius:0!important;
    border-top-right-radius:0!important;
  }
  /* 粘连处 hover：整行浮起，别让透明边把线吃掉 */
  #main > .card:hover,
  #main > .nq-qcard:hover{position:relative!important;z-index:2!important}

  /* ---------- ⑧ 下拉筛选：灰胶囊收成白底方角 ---------- */
  #main .dk-trig{
    height:34px!important;min-height:34px!important;
    background:#FFFFFF!important;background-image:none!important;
    border:1px solid #E8E8E8!important;
    border-radius:2px!important;
    box-shadow:none!important;
    font-size:12px!important;color:#1A1A1A!important;
  }
  #main .dk-trig:hover{border-color:#6E6E6E!important;background:#FAFAFA!important}
}

/* ---------- ⑨ 列表行粘连（补：压过 .card:has(> .name):has(> .meta) 的 6px） ----------
   上一节的 :has(+ .card) 特异性是 (1,3,0)，
   而早先给列表行写的 #main .card:has(> .name):has(> .meta) 是 (1,4,0)，
   后者带着 margin-bottom:6px!important 把缝隙又撑开了。
   这里把家谱补齐，连同子元素特征一起带上，才压得住。 */
@media (min-width:900px){
  #main > div.card:has(> .name):has(> .meta):has(+ div.card),
  #main > div.card:has(> .name):has(> .meta):has(+ div.nq-qcard){
    margin-bottom:0!important;
    border-bottom:0!important;
    border-bottom-left-radius:0!important;
    border-bottom-right-radius:0!important;
  }
  #main > div.card + div.card:has(> .name):has(> .meta),
  #main > div.nq-qcard + div.card:has(> .name):has(> .meta){
    margin-top:-1px!important;
    border-top-left-radius:0!important;
    border-top-right-radius:0!important;
  }
}

/* ---------- ⑩ 收口：工具条不该变成输入框 ----------
   .dk-bar 是筛选按钮的「容器」，宽度占满一行。
   上一节把它一起刷成了白卡，结果整条看着像一个巨大的输入框，
   里面还飘着两个按钮 —— 按钮反而像是框里的字。
   容器就该是透明的，让按钮自己立在那儿。 */
@media (min-width:900px){
  #main .dk-bar{
    background:transparent!important;
    border:0!important;
    box-shadow:none!important;
    border-radius:2px!important;
    padding:0!important;
  }
  /* 同一行里的筛选项，高度对齐（34），别再一个 34 一个 38 */
  #main .chip,#main .fchips .chip,#main .dk-bar .chip{
    height:34px!important;min-height:34px!important;
    padding:0 13px!important;
    font-size:12px!important;
  }

  /* ---------- ⑪ 表格收进白卡：表头贴着卡顶，四角圆起来 ---------- */
  #main table{
    background:#FFFFFF!important;
    border:1px solid #E8E8E8!important;
    border-radius:2px!important;
    border-spacing:0!important;
    overflow:hidden!important;
  }
  #main table thead th:first-child{border-top-left-radius:10px!important}
  #main table thead th:last-child{border-top-right-radius:10px!important}
  #main table tr:last-child td:first-child{border-bottom-left-radius:10px!important}
  #main table tr:last-child td:last-child{border-bottom-right-radius:10px!important}
  /* 表格如果已经包在带边的容器里，就别再套一层框 */
  #main .panel table,#main .card table,#main .box-bd table{
    border:0!important;border-radius:2px!important;
  }
}

/* ---------- ⑫ 合同页的列表行（.ct-card 挂在面板里，不是主区直挂） ----------
   同一件事，换了个类名就得再说一遍：合同到期、备件、财务这些页的行
   都是自己一套 card 类，各自 margin 10~12px，所以还是纸条。
   这里按同一套规矩收：中间直角、细线分隔，首尾留圆角。
   左边那条红/黄的逾期竖线会因为粘在一起而连成一条，反而更像"整批逾期"。 */
@media (min-width:900px){
  #main .ct-card:has(+ .ct-card),
  #main .bq-item:has(+ .bq-item),
  #main .fin-todo:has(+ .fin-todo){
    margin-bottom:0!important;
    border-bottom:0!important;
    border-bottom-left-radius:0!important;
    border-bottom-right-radius:0!important;
  }
  #main .ct-card + .ct-card,
  #main .bq-item + .bq-item,
  #main .fin-todo + .fin-todo{
    margin-top:-1px!important;
    border-top-left-radius:0!important;
    border-top-right-radius:0!important;
  }
}

/* ================================================================
   第十三版：钉钉的骨架，苹果的界面（2026-11-03 傍晚 · 只电脑版）
   ----------------------------------------------------------------
   老板三句话：钉钉框架、乔布斯设计、精简展示。落成三条：

     ① 骨架照钉钉：左栏 232 + 顶栏 52 + 内容区，栏白、页灰、卡白；
     ② 皮肤照苹果：不用色块分区，用留白和字重分区。
        全站只留一个强调色（墨黑），其余全是灰阶；
     ③ 精简：数字放大、说明缩小、装饰删掉。
        页头那句解释只留一行，超了就省略 —— 想看细节点进去看。

   手机版一行不动，全部关在 900px 以上。
   ================================================================ */
@media (min-width:900px){

  /* ---------- ① 三种底，一种字色 ----------
     旧版是暖米纸 + 暖白卡，暖上加暖，块与块之间只能靠描边分开。
     苹果的办法相反：页是冷灰的，卡是纯白的，中间不画线 ——
     白自己会浮起来，画了线反而脏。 */
  html,body,body.ent,body.plain{
    background:#FAFAFA!important;background-image:none!important;
  }
  body.ent{
    --ent-bg:#FAFAFA; --ent-side:#FFFFFF; --ent-bd:#E8E8E8;
    --bg:#FAFAFA; --card:#FFFFFF; --t:#1A1A1A; --m:#1A1A1A; --bd:#E8E8E8;
    --ink:#1A1A1A; --ink-2:#1A1A1A; --ink-3:#1A1A1A; --ink-4:#9E9E9E;
    --p:#1A1A1A; --pd:#1A1A1A; --brand:#1A1A1A; --brand-bg:#FAFAFA;
    color:#1A1A1A!important;
  }

  /* ---------- ② 左栏：把「导航菜单」还原成「导航」 ----------
     分组头原来带一个大图标、字是加粗的，二级项左边还有一道 2px 色条，
     一栏里三层强调，眼睛不知道该看哪。
     现在：分组头只剩一行小灰字（图标删掉），二级项没有色条，
     选中的那一条用浅灰底 + 黑字，安静地亮一下。 */
  .ent-side{
    width:232px!important;background:#FFFFFF!important;
    border-right:1px solid #E8E8E8!important;
  }
  .ent-brand{height:56px!important;padding:0 18px!important;border-bottom:0!important;gap:10px!important}
  .ent-logo{
    width:28px!important;height:28px!important;border-radius:2px!important;
    background:#1A1A1A!important;font-size:14px!important;letter-spacing:0!important;
  }
  .ent-brand-n{font-size:14px!important;font-weight:600!important;letter-spacing:.02em!important}
  .ent-brand-s{font-size:12px!important;color:#9E9E9E!important;letter-spacing:.06em!important;margin-top:1px!important}
  .ent-nav{padding:2px 12px 16px!important}
  .ent-grp{margin-top:20px!important}
  .ent-grp:first-child{margin-top:6px!important}
  .ent-grp-h{
    padding:0 9px 7px!important;font-size:12px!important;font-weight:600!important;
    color:#9E9E9E!important;letter-spacing:.1em!important;
  }
  .ent-grp-h .gi{display:none!important}
  .ent-sub{
    height:34px!important;padding:0 9px!important;margin:1px 0!important;
    border-radius:2px!important;border-left:0!important;
    font-size:12px!important;font-weight:500!important;color:#1A1A1A!important;
    gap:10px!important;letter-spacing:0!important;
  }
  .ent-sub .si{width:17px!important;opacity:.62;transition:opacity .15s}
  .ent-sub:hover{background:#FAFAFA!important;color:#1A1A1A!important}
  .ent-sub.on{background:#FAFAFA!important;color:#1A1A1A!important;font-weight:600!important}
  .ent-sub.on .si{opacity:1}
  .ent-u{padding:12px 16px!important;border-top:1px solid #E8E8E8!important;gap:10px!important}
  .ent-u .av{width:28px!important;height:28px!important;border-radius:50%!important;background:#1A1A1A!important;font-size:12px!important}
  .ent-u-tx #entUName{font-size:12px!important;font-weight:600!important}
  .ent-u-rl{font-size:12px!important;color:#9E9E9E!important}

  /* ---------- ③ 顶栏：52 高，白到快透明 ----------
     以前顶栏是实白 + 一条深边，像另一块面板。
     现在让灰底透上来（78% 白 + 毛玻璃），只留一条发丝线。 */
  .ent-top{
    height:52px!important;
    padding-left:max(26px,calc((100vw - 232px - 1040px)/2))!important;
    padding-right:max(26px,calc((100vw - 232px - 1040px)/2))!important;
    background:rgba(255,255,255,.78)!important;
    -webkit-backdrop-filter:saturate(180%) blur(18px)!important;
    backdrop-filter:saturate(180%) blur(18px)!important;
    border-bottom:1px solid #E8E8E8!important;
  }
  /* 汉堡是手机抽屉的开关，电脑上永远用不到；留着只会让人点一下没反应 */
  .ent-burger{display:none!important}
  .ent-crumb{font-size:12px!important;font-weight:500!important;color:#9E9E9E!important;letter-spacing:0!important}
  .ent-crumb b{color:#1A1A1A!important;font-weight:600!important}
  .ent-crumb .cb-g{color:#9E9E9E!important}
  .ent-search{
    width:200px!important;height:32px!important;padding:0 10px!important;
    background:#FAFAFA!important;border:0!important;border-radius:2px!important;
  }
  .ent-search:focus-within{background:#FFFFFF!important;box-shadow:none!important}
  .ent-search input{font-size:12px!important}
  .ent-bell{
    width:32px!important;height:32px!important;border:0!important;
    background:transparent!important;border-radius:2px!important;color:#1A1A1A!important;
  }
  .ent-bell:hover{background:#FAFAFA!important}

  /* ---------- ④ 内容区：一条 1040 的阅读线 ---------- */
  body.ent #main{
    margin-left:232px!important;max-width:none!important;
    padding:26px max(26px,calc((100vw - 232px - 1040px)/2)) 48px!important;
  }

  /* ---------- ⑤ 卡片：不画边，白自己浮 ---------- */
  #main .panel,#main .card,#main .nq-qcard,#main .stat,#main .kpi-card,
  #main .fin-todo,#main .sys-mode,#main .hr-card,#main .bq-item,#main .fold,
  #main .dl-item,#main .nv-card,#main .sal-row,#main .blank-box,#main .qs-req,
  #main .ct-card{
    background:#FFFFFF!important;background-image:none!important;
    border:0!important;border-radius:2px!important;
    box-shadow:none!important;
  }
  #main .card:hover,#main .nq-qcard:hover,#main .hr-card:hover,
  #main .bq-item:hover,#main .fin-todo:hover,#main .ct-card:hover{
    box-shadow:none!important;
  }
  #main .panel{padding:18px 20px!important;margin-bottom:12px!important}
  #main .panel h3{
    font-size:14px!important;font-weight:600!important;
    letter-spacing:-.01em!important;color:#1A1A1A!important;
    margin-bottom:10px!important;padding-bottom:0!important;
  }
  #main .card{padding:12px 15px!important;margin-bottom:8px!important}
  #main .card .name>span:first-child{font-size:14px!important;font-weight:600!important}
  #main .card .meta{font-size:12px!important;line-height:1.55!important;color:#9E9E9E!important}

  /* ---------- ⑥ 页头：字号拉开一档，说明只留一行 ----------
     以前 h2 21px、说明 12.5px 且能折两三行，标题和正文糊在一起。
     现在 22 对 12：一眼先看到页名，再看到数，最后才是解释。 */
  #main .pg-hd{
    margin:0 0 16px!important;padding:0 2px 14px!important;
    border-bottom:1px solid #E8E8E8!important;
  }
  #main .pg-hd h2{
    font-size:20px!important;font-weight:600!important;
    letter-spacing:-.022em!important;line-height:1.25!important;color:#1A1A1A!important;
  }
  #main .pg-hd p{
    font-size:12px!important;color:#9E9E9E!important;margin-top:4px!important;line-height:1.5!important;
    white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;
    max-width:820px!important;
  }

  /* ---------- ⑦ 数字：等宽，别一跳一位 ---------- */
  #main .stat .num,#main .kpi .kv,#main .ov-num,#main .fin-k b,#main .fin-hero .big{
    font-variant-numeric:tabular-nums!important;letter-spacing:-.02em!important;
  }
  #main .stat{padding:14px 10px!important}
  #main .stat .num{font-size:20px!important;font-weight:600!important}
  #main .stat .label{font-size:12px!important;color:#9E9E9E!important;margin-top:3px!important;letter-spacing:.01em!important}

  /* ---------- ⑧ 表格：只留横线，不留框 ---------- */
  #main table{
    background:transparent!important;border:0!important;border-radius:2px!important;
    box-shadow:none!important;
  }
  #main th{
    background:transparent!important;background-image:none!important;
    font-size:12px!important;font-weight:600!important;color:#9E9E9E!important;
    letter-spacing:.09em!important;border-bottom:1px solid #E8E8E8!important;
    padding:9px 12px!important;
  }
  #main td{
    border-bottom:1px solid #E8E8E8!important;border-top:0!important;
    padding:12px!important;font-size:12px!important;color:#1A1A1A!important;
  }
  #main tbody tr:hover td{background:#FFFFFF!important}
  #main table thead th:first-child,#main table thead th:last-child,
  #main table tr:last-child td:first-child,#main table tr:last-child td:last-child{
    border-radius:2px!important;
  }

  /* ---------- ⑨ 页签：苹果的分段控件，冷灰底白滑块 ---------- */
  #main .hub-bar,#main .hub-bar.grid{
    background:#E8E8E8!important;border-radius:2px!important;padding:3px!important;
  }
  #main .hub-bar .hub-pill{
    background:#FFFFFF!important;
    box-shadow:none!important;
  }
  #main .hub-bar button{font-size:12px!important;color:#1A1A1A!important;font-weight:500!important}
  #main .hub-bar button.on{color:#1A1A1A!important;font-weight:600!important}

  /* ---------- ⑩ 深色块：黑就黑到底，不要渐变 ---------- */
  #main .fin-hero{
    background:#1A1A1A!important;border:0!important;border-radius:2px!important;
  }
  #main .fin-k{background:rgba(255,255,255,.06)!important;border:.5px solid rgba(255,255,255,.12)!important;border-radius:2px!important}
  #main .fin-k.hot{background:rgba(255,255,255,.11)!important}

  /* ---------- ⑪ 控件：一条细边，别再凹进去 ---------- */
  #main input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="submit"]):not([type="button"]),
  #main select,#main textarea,.ent-search input{
    background:#FFFFFF!important;border:1px solid #E8E8E8!important;border-radius:2px!important;
    box-shadow:none!important;
  }
  #main input:not([type="checkbox"]):not([type="radio"]):focus,
  #main select:focus,#main textarea:focus{
    border-color:#1A1A1A!important;box-shadow:none!important;outline:none!important;
  }
  #main .btn.primary,#main .btn.blue,#main .nq-btn.pri{
    background:#1A1A1A!important;border-color:#1A1A1A!important;color:#FFFFFF!important;
  }
  #main .btn.ghost{background:#FFFFFF!important;border-color:#E8E8E8!important}

  /* ---------- ⑫ 收口：三处补丁 ----------
     ① 侧栏图标一半是线条、一半是兜底的「•」，混排比完全没有更乱。
        干脆全撤掉，做一份纯文字目录 —— 这也是"精简"最省事的一刀；
     ② 汇总条、提示条还在用暖边（#FAFAFA），和冷灰页面对不上；
     ③ 粘成整表的列表，中间那道线被 -1px 吃掉了，行与行糊在一起。 */
  .ent-sub .si{display:none!important}
  .ent-sub{padding-left:12px!important;gap:0!important}
  .ent-grp-h{padding-left:12px!important}

  #main .fu-bar,#main .fu-sum{
    background:#FFFFFF!important;border:0!important;border-radius:2px!important;
    box-shadow:none!important;
  }
  #main .dk-bar{background:transparent!important;box-shadow:none!important;border:0!important}

  #main > div.card + div.card,
  #main > div.nq-qcard + div.nq-qcard{
    box-shadow:none!important;
  }
  #main .nq-qcard{padding:11px 16px!important}
  #main .nq-qcard-b{margin-top:5px!important}
  #main .nq-qcard-nm{font-size:14px!important;letter-spacing:-.01em!important}
  #main .nq-qcard-no{font-size:12px!important;color:#9E9E9E!important}

  /* 体检提示：橙底 + 4px 橙边，整屏就它最吵。收成白卡，只留一颗橙点。 */
  .hc-toast{
    background:#FFFFFF!important;border:0!important;color:#1A1A1A!important;
    border-radius:2px!important;padding:12px 16px!important;
    box-shadow:none!important;
  }
}

/* ================================================================
   第十四版：回到纸面（2026-11-03 傍晚）
   ----------------------------------------------------------------
   老板说钉钉那套"不舒服"。想了一下，问题不在骨架，在质感：
   冷灰底 + 白卡 + 12 圆角 + 投影，是"企业软件"的标准脸 ——
   干净，但没有温度，看久了像在看报表系统。

   日本版面的做法正好相反，五条：
     ① 底是纸，不是灰。米白 #FAFAFA，卡片 #FAFAFA，两者只差一丝；
     ② 不画投影，画线。0.5~1px 浅褐细线，像印刷品的分栏；
     ③ 圆角要小。3px 就够 —— 圆角一大就"软"，一软就成了手机 App；
     ④ 字距放开。汉字之间留一口气（.05em）；
        负字距是苹果的英文逻辑，中文挤在一起反而难认；
     ⑤ 颜色只用三种：墨、灰褐、朱红。朱红只在"你现在在哪"出现一次。

   乔布斯的部分留着：控件只有一种形状、一种高度；
   能删的字都删；一屏只让人看一件事。
   ================================================================ */

/* ---------- 登录页：把紫蓝渐变换成一张纸 ----------
   渐变是 2018 年的科技感，和里面的纸面系统不是一套语言。
   换成米白底 + 一张近白卡片 + 一道细边，安静，也像一份文件。 */
.login{background:#FAFAFA!important;background-image:none!important}
.login-box{
  background:#FAFAFA!important;border:1px solid #E8E8E8!important;
  border-radius:2px!important;box-shadow:none!important;
}
.login-box h2{letter-spacing:.06em!important;font-weight:600!important}
.login-box .tip{letter-spacing:.03em!important}
/* 登录页不在 #main 里，前面那套按钮规则管不到；这里单独写一套，
   特异性要压过手机端的「金属凹槽」输入框和渐变按钮。 */
#loginPage .login-box .btn{
  background:#1A1A1A!important;background-image:none!important;
  color:#FAFAFA!important;border:1px solid #1A1A1A!important;
  border-radius:2px!important;height:44px!important;font-size:12px!important;
  font-weight:500!important;letter-spacing:.24em!important;text-indent:.24em;
  box-shadow:none!important;text-shadow:none!important;
}
#loginPage .login-box .field input,
#loginPage .login-box input{
  border-radius:2px!important;border:1px solid #E8E8E8!important;
  background:#FAFAFA!important;background-image:none!important;
  box-shadow:none!important;color:#1A1A1A!important;
}
#loginPage .login-box .field input:focus,
#loginPage .login-box input:focus{
  border-color:#1A1A1A!important;box-shadow:none!important;outline:none!important;
}
#loginPage .login-box{border-radius:2px!important}
#loginPage .login-box .field label{letter-spacing:.08em!important;color:#1A1A1A!important}

@media (min-width:900px){

  /* ---------- ① 纸与墨 ---------- */
  html,body,body.ent,body.plain{background:#FAFAFA!important;background-image:none!important}
  body.ent{
    --ent-bg:#FAFAFA; --ent-side:#FAFAFA; --ent-bd:#FAFAFA;
    --bg:#FAFAFA; --card:#FAFAFA; --t:#1A1A1A; --m:#1A1A1A; --bd:#FAFAFA;
    --ink:#1A1A1A; --ink-2:#1A1A1A; --ink-3:#1A1A1A; --ink-4:#9E9E9E;
    --p:#1A1A1A; --pd:#1A1A1A; --brand:#6E6E6E; --brand-bg:rgba(110,110,110,.06);
    color:#1A1A1A!important;
  }

  /* ---------- ② 左栏：一条朱红线，标出"你在这儿" ----------
     钉钉用灰底块标选中，像文件夹；日式用一道细线，
     像书页边上的一枚签 —— 更轻，也更准。 */
  .ent-side{
    width:232px!important;background:#FAFAFA!important;
    border-right:1px solid #E8E8E8!important;
  }
  .ent-brand{height:56px!important;padding:0 18px!important;border-bottom:1px solid #E8E8E8!important;gap:10px!important}
  .ent-logo{width:26px!important;height:26px!important;border-radius:2px!important;background:transparent!important;font-size:0!important}
  .ent-brand-n{font-size:12px!important;font-weight:600!important;letter-spacing:.12em!important}
  .ent-brand-s{font-size:12px!important;color:#9E9E9E!important;letter-spacing:.16em!important;margin-top:2px!important}
  .ent-nav{padding:4px 10px 16px!important}
  .ent-grp{margin-top:20px!important}
  .ent-grp:first-child{margin-top:8px!important}
  .ent-grp-h{
    padding:0 10px 7px!important;font-size:12px!important;font-weight:600!important;
    color:#9E9E9E!important;letter-spacing:.2em!important;
  }
  .ent-sub{
    height:34px!important;padding:0 10px!important;margin:0!important;
    border-radius:2px!important;border-left:2px solid transparent!important;
    font-size:12px!important;font-weight:400!important;color:#1A1A1A!important;
    gap:0!important;letter-spacing:.05em!important;
  }
  .ent-sub:hover{background:#FAFAFA!important;color:#1A1A1A!important}
  .ent-sub.on{
    background:transparent!important;color:#1A1A1A!important;
    font-weight:600!important;border-left-color:#6E6E6E!important;
  }
  .ent-u{padding:12px 18px!important;border-top:1px solid #E8E8E8!important}
  .ent-u .av{width:26px!important;height:26px!important;border-radius:2px!important;background:#1A1A1A!important;font-size:12px!important}
  .ent-u-tx #entUName{font-size:12px!important;font-weight:600!important;letter-spacing:.04em!important}
  .ent-u-rl{font-size:12px!important;color:#9E9E9E!important;letter-spacing:.06em!important}

  /* ---------- ③ 顶栏：实色纸，不用毛玻璃 ---------- */
  .ent-top{
    height:52px!important;
    padding-left:max(30px,calc((100vw - 232px - 1040px)/2))!important;
    padding-right:max(30px,calc((100vw - 232px - 1040px)/2))!important;
    background:#FAFAFA!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important;
    border-bottom:1px solid #E8E8E8!important;
  }
  .ent-crumb{font-size:12px!important;font-weight:400!important;color:#9E9E9E!important;letter-spacing:.08em!important}
  .ent-crumb b{color:#1A1A1A!important;font-weight:600!important}
  .ent-search{width:200px!important;height:30px!important;padding:0 10px!important;
    background:#FAFAFA!important;border:1px solid transparent!important;border-radius:2px!important}
  .ent-search:focus-within{background:#FAFAFA!important;border-color:#FAFAFA!important;box-shadow:none!important}
  .ent-search input{font-size:12px!important;letter-spacing:.03em!important}
  .ent-bell{width:30px!important;height:30px!important;border:0!important;background:transparent!important;border-radius:2px!important;color:#1A1A1A!important}

  /* ---------- ④ 内容区与卡片：印在纸上的一栏一栏 ---------- */
  body.ent #main{
    margin-left:232px!important;max-width:none!important;
    padding:28px max(30px,calc((100vw - 232px - 1040px)/2)) 52px!important;
  }
  #main .panel,#main .card,#main .nq-qcard,#main .stat,#main .kpi-card,
  #main .fin-todo,#main .sys-mode,#main .hr-card,#main .bq-item,#main .fold,
  #main .dl-item,#main .nv-card,#main .sal-row,#main .blank-box,#main .qs-req,
  #main .ct-card,#main .fu-bar,#main .fu-sum{
    background:#FAFAFA!important;background-image:none!important;
    border:1px solid #E8E8E8!important;border-radius:2px!important;
    box-shadow:none!important;
  }
  #main .card:hover,#main .nq-qcard:hover,#main .hr-card:hover,
  #main .bq-item:hover,#main .fin-todo:hover,#main .ct-card:hover{
    border-color:#6E6E6E!important;box-shadow:none!important;
  }
  #main .panel{padding:20px 22px!important;margin-bottom:14px!important}
  #main .panel h3{
    font-size:12px!important;font-weight:600!important;color:#1A1A1A!important;
    letter-spacing:.1em!important;margin-bottom:12px!important;padding-bottom:0!important;
  }
  #main .card{padding:14px 16px!important;margin-bottom:0!important}
  #main .card .name>span:first-child{font-size:14px!important;font-weight:600!important;letter-spacing:.03em!important}
  #main .card .meta{font-size:12px!important;line-height:1.7!important;color:#9E9E9E!important;letter-spacing:.02em!important}

  /* ---------- ⑤ 页头：一枚标题，一条线 ---------- */
  #main .pg-hd{
    margin:0 0 20px!important;padding:0 0 14px!important;
    border-bottom:1px solid #E8E8E8!important;
  }
  #main .pg-hd h2{
    font-size:20px!important;font-weight:600!important;
    letter-spacing:.08em!important;line-height:1.4!important;color:#1A1A1A!important;
  }
  #main .pg-hd p{
    font-size:12px!important;color:#9E9E9E!important;margin-top:6px!important;
    line-height:1.7!important;letter-spacing:.04em!important;
    white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;
    max-width:820px!important;
  }

  /* ---------- ⑥ 按钮：全站一种形状 ----------
     之前圆角 6、高 32、字距 0，是"网页按钮"。
     日式的按钮像一枚木牌：直角、细边、字距放开、白底墨字。
     主按钮反过来 —— 墨底白字，一枚黑印章。 */
  /* 主操作：墨底白字，像一枚黑印章 */
  #main .btn,#main .btn.primary,#main .nq-btn,#main .bq-btn,#main .ctool-btn,#main .wt-btn,
  #main .vf-btn,#main .fu-b,#main .nq-add,#main .nq-reset,#main button[data-ai="1"]{
    height:32px!important;min-height:32px!important;padding:0 16px!important;
    border:1px solid #1A1A1A!important;border-radius:2px!important;
    background:#1A1A1A!important;background-image:none!important;
    color:#FAFAFA!important;font-size:12px!important;font-weight:500!important;
    letter-spacing:.1em!important;box-shadow:none!important;text-shadow:none!important;
  }
  /* 次要操作：一张白纸，一道细边 */
  #main .btn.ghost,#main .btn.danger,#main .btn.green,
  #main .btn.sm,#main .btn.sm.ghost,#main .btn.sm.primary,#main .btn.sm.green,
  #main .td-btn,#main .hr-mini,#main .qs-tidy,#main .hr-viewbtn,#main .sal-mbtn{
    background:#FAFAFA!important;color:#1A1A1A!important;
    border:1px solid #E8E8E8!important;box-shadow:none!important;
  }
  #main .btn.sm,#main .btn.sm.ghost,#main .btn.sm.primary,#main .btn.sm.green,
  #main .td-btn,#main .hr-mini,#main .qs-tidy,#main .hr-viewbtn,#main .sal-mbtn{
    height:28px!important;min-height:28px!important;padding:0 11px!important;
    font-size:12px!important;border-radius:2px!important;letter-spacing:.06em!important;
  }
  #main .btn.ghost:hover,#main .btn.sm:hover,#main .td-btn:hover,
  #main .hr-mini:hover,#main .btn:hover{border-color:#6E6E6E!important}
  #main .btn.danger{color:#6E6E6E!important;border-color:#6E6E6E!important}
  #main .btn.green{color:#1A1A1A!important;border-color:#1A1A1A!important}
  #main .btn:active{opacity:.82!important}

  /* ---------- ⑦ 页签：一排纸签，选中的翻成墨 ----------
     钉钉那版是"灰槽里滑一块白"（iOS 分段控件），太像设置面板。
     日式是一排并排的纸签，选中就整枚翻黑 —— 像印章按下去。 */
  #main .hub-bar,#main .hub-bar.grid{
    display:inline-flex!important;flex-wrap:nowrap!important;align-items:center!important;
    gap:0!important;padding:0!important;margin:0 0 18px!important;
    background:transparent!important;border:0!important;border-radius:2px!important;
    box-shadow:none!important;overflow-x:auto!important;
  }
  #main .hub-bar .hub-pill{display:none!important}
  /* 选择器要写全：旧版给"带图标的页签"单独写过高特异性规则（66 高、圆角 8），
     只写 .hub-bar button 压不住，页签会一半纸签一半胶囊。 */
  #main .hub-bar button,#main .hub-bar.grid button,
  #main .hub-bar.has-pill button,
  #main .hub-bar:not(.grid) button:has(.ic),#main .hub-bar.grid button:has(.ic){
    height:37px!important;min-height:37px!important;max-height:37px!important;
    padding:0 16px!important;display:inline-flex!important;align-items:center!important;
    border:1px solid #E8E8E8!important;border-right:0!important;border-radius:2px!important;
    background:#FAFAFA!important;background-image:none!important;color:#1A1A1A!important;
    font-size:12px!important;font-weight:400!important;letter-spacing:.08em!important;
    box-shadow:none!important;transform:none!important;
  }
  /* 页签上的小图标一律不显示：一半有一半没有，排出来参差不齐 */
  #main .hub-bar button .ic,#main .hub-bar button .appic,
  #main .hub-bar.grid button .ic,#main .hub-bar.grid button .appic{display:none!important}
  #main .hub-bar button:first-of-type{border-radius:2px!important}
  #main .hub-bar button:last-of-type{border-right:1px solid #E8E8E8!important;border-radius:2px!important}
  #main .hub-bar button:hover{background:#FAFAFA!important}
  #main .hub-bar button.on,#main .hub-bar.grid button.on,
  #main .hub-bar.has-pill button.on,
  #main .hub-bar button:has(.ic).on,#main .hub-bar.grid button:has(.ic).on{
    background:#1A1A1A!important;border-color:#1A1A1A!important;
    color:#FAFAFA!important;font-weight:600!important;
  }
  /* 九格以上：内距收一档，一行放得下 */
  #main .hub-bar:has(>button:nth-child(8)) button{padding:0 11px!important}

  /* ---------- ⑧ 表格：只用横线，不要竖线 ---------- */
  #main table{background:transparent!important;border:0!important;border-radius:2px!important;box-shadow:none!important}
  #main th{
    background:transparent!important;background-image:none!important;
    font-size:12px!important;font-weight:600!important;color:#9E9E9E!important;
    letter-spacing:.16em!important;border-bottom:1px solid #E8E8E8!important;
    padding:10px 12px!important;
  }
  #main td{
    border-bottom:1px solid #E8E8E8!important;border-top:0!important;
    padding:13px 12px!important;font-size:12px!important;color:#1A1A1A!important;
    letter-spacing:.02em!important;
  }
  #main tbody tr:hover td{background:#FAFAFA!important}

  /* ---------- ⑨ 控件：一条细边，二像素圆角 ---------- */
  #main input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="submit"]):not([type="button"]),
  #main select,#main textarea{
    background:#FAFAFA!important;border:1px solid #E8E8E8!important;border-radius:2px!important;
    box-shadow:none!important;font-size:12px!important;letter-spacing:.03em!important;
  }
  #main input:not([type="checkbox"]):not([type="radio"]):focus,
  #main select:focus,#main textarea:focus{
    border-color:#1A1A1A!important;box-shadow:none!important;outline:none!important;
  }
  #main .chip,#main .fchips .chip,#main .dk-bar .chip{
    height:32px!important;min-height:32px!important;padding:0 13px!important;
    border-radius:2px!important;font-size:12px!important;letter-spacing:.06em!important;
    background:#FAFAFA!important;border:1px solid #E8E8E8!important;color:#1A1A1A!important;
    box-shadow:none!important;
  }
  #main .chip.on,#main .fchips .chip.on{background:#1A1A1A!important;border-color:#1A1A1A!important;color:#FAFAFA!important}
  #main .dk-trig{
    height:32px!important;background:#FAFAFA!important;border:1px solid #E8E8E8!important;
    border-radius:2px!important;font-size:12px!important;letter-spacing:.04em!important;box-shadow:none!important;
  }

  /* ---------- ⑩ 数字与统计 ---------- */
  #main .stat{padding:15px 10px!important}
  #main .stat .num{font-size:20px!important;font-weight:600!important;letter-spacing:.01em!important}
  #main .stat .label{font-size:12px!important;color:#9E9E9E!important;margin-top:4px!important;letter-spacing:.14em!important}
  #main .stat .num,#main .kpi .kv,#main .ov-num,#main .fin-k b,#main .fin-hero .big{
    font-variant-numeric:tabular-nums!important;
  }

  /* ---------- ⑪ 深色块：墨，不是黑 ---------- */
  #main .fin-hero{background:#1A1A1A!important;border:0!important;border-radius:2px!important}
  #main .fin-k{background:rgba(255,255,255,.05)!important;border:.5px solid rgba(255,255,255,.13)!important;border-radius:2px!important}
  #main .fin-k.hot{background:rgba(255,255,255,.1)!important}

  /* ---------- ⑫ 报价行：左右两栏，金额靠右成一条数字栏 ----------
     原来一行只有左三分之一有字，状态标签和「谁·几件」飘到最右边，
     中间空掉三分之二 —— 眼睛要从左扫到右，读一张单子像读两列。
     改成一张账本式的行：
       左栏：客户名 + 状态 · 单号·日期 · 同比
       右栏：金额（大字）+ 经手人·件数（小字），一律右对齐
     display:contents 把原来的外层行拆掉，让每个元素直接落进网格。 */
  #main .nq-qcard{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) auto;
    column-gap:26px!important;row-gap:0!important;
    align-items:baseline!important;
  }
  #main .nq-qcard-h{
    grid-column:1!important;grid-row:1!important;
    justify-content:flex-start!important;gap:9px!important;
    min-width:0!important;margin-bottom:0!important;
  }
  #main .nq-qcard-nm{flex:0 1 auto!important;min-width:0!important}
  #main .nq-qcard-h .tag{flex:0 0 auto!important}
  #main .nq-qcard-b{display:contents!important}
  #main .nq-qcard-amt{
    grid-column:2!important;grid-row:1!important;
    justify-self:end!important;text-align:right!important;
    font-size:14px!important;line-height:1.3!important;letter-spacing:0!important;
  }
  #main .nq-qcard-meta{
    grid-column:2!important;grid-row:2!important;
    justify-self:end!important;text-align:right!important;
    max-width:260px!important;overflow:hidden!important;
    text-overflow:ellipsis!important;white-space:nowrap!important;
  }
  /* 名称与金额之间画一串点，像餐厅菜单的「菜名 …… 价格」。
     不画这串点，两端各站一个数字，中间五百像素是空的，眼睛要跳过去。 */
  #main .nq-qcard-h::after{
    content:"";flex:1 1 auto;min-width:16px;
    border-bottom:1px solid #E8E8E8;margin:0 2px 5px 4px;
  }
  #main .nq-qcard-no{grid-column:1!important;grid-row:2!important;min-width:0!important}
  #main .nq-qcard-cmp{grid-column:1/-1!important;grid-row:3!important;margin-top:5px!important}

  /* ---------- ⑬ 状态标签：做成小印章 ----------
     原来是淡黄底 + 6px 圆角的胶囊，一眼就是"网页标签"。
     日式的做法：白纸底、一道细边、彩色的只留字 —— 像盖上去的印。 */
  #main .tag,#main .tag.o,#main .tag.g,#main .tag.r,#main .tag.p,
  #main .tag.c,#main .tag.gray{
    border-radius:2px!important;border:1px solid #E8E8E8!important;
    background:#FAFAFA!important;background-image:none!important;
    color:#1A1A1A!important;padding:1px 7px!important;
    font-size:12px!important;font-weight:500!important;letter-spacing:.08em!important;
  }
  #main .tag.o{color:#9E9E9E!important;border-color:#6E6E6E!important}
  #main .tag.g{color:#1A1A1A!important;border-color:#1A1A1A!important}
  #main .tag.r{color:#6E6E6E!important;border-color:#6E6E6E!important}
  #main .tag.p,#main .tag.c{color:#1A1A1A!important}

  /* ---------- ⑭ 顶栏那三枚圆按钮：改成方块 ---------- */
  body.ent .ent-show,body.ent .ent-help,body.ent .ent-bell{
    width:30px!important;height:30px!important;min-width:30px!important;
    border:1px solid #E8E8E8!important;border-radius:2px!important;
    background:#FAFAFA!important;color:#1A1A1A!important;
  }
  body.ent .ent-show:hover,body.ent .ent-help:hover,body.ent .ent-bell:hover{
    background:#FAFAFA!important;border-color:#6E6E6E!important;
  }

  /* ---------- ⑭ 面板里的待办行：去掉小卡边框，只留一条线 ----------
     四件事原来是四张带框的小卡，框叠着框，像四个抽屉。
     日式排法是同一张纸上四行字，行与行之间一条细线。 */
  #main .fin-todo{
    border:0!important;border-bottom:1px solid #E8E8E8!important;
    border-radius:2px!important;box-shadow:none!important;margin-bottom:0!important;
    background:transparent!important;
  }
  #main .fin-todo:last-child{border-bottom:0!important}
  #main .fin-todo-t{letter-spacing:.03em!important}
  #main .fin-todo-d{letter-spacing:.02em!important;color:#9E9E9E!important}

  /* ---------- ⑮ 两个偏空的面板并排 ----------
     环形图和快速补录各自只占面板左边一小块，两个面板右边都空着一大片。
     合到一行里，左边看构成、右边动手补录，一屏就够。 */
  #main .md-two{
    display:grid!important;
    grid-template-columns:minmax(0,.82fr) minmax(0,1.18fr)!important;
    gap:14px!important;margin-bottom:14px!important;align-items:stretch!important;
  }
  #main .md-two > .panel{margin-bottom:0!important;height:100%!important}
  #main .md-two .ch-donut{gap:18px!important}
  #main .md-two .ch-legend{gap:7px!important}
  #main .md-two .ch-lg{font-size:12px!important;letter-spacing:.02em!important}
  #main .md-two .ch-lg i{width:9px!important;height:9px!important}
  #main .md-two .ch-lg b{margin-left:3px!important;font-weight:600!important}

  /* ---------- ⑯ 粘连的列表：中线画出来 ---------- */
  #main > div.card + div.card,
  #main > div.nq-qcard + div.nq-qcard{
    margin-top:-1px!important;
    border-top:1px solid #E8E8E8!important;
    box-shadow:none!important;
  }
  #main .nq-qcard{padding:12px 16px!important}
  #main .nq-qcard-nm{font-size:14px!important;letter-spacing:.03em!important}
  #main .nq-qcard-no{font-size:12px!important;color:#9E9E9E!important;letter-spacing:.08em!important}

  /* ================================================================
     第十五版：一屏（2026-11-03 傍晚）
     ----------------------------------------------------------------
     老板的原话是「一页就看完了，不要向下滚动」。
     往下滚最烦的不是滚本身，是滚过之后忘了自己在看哪一页 ——
     标题、筛选、合计都跟着走了，屏幕底下只剩半张表。

     做法：把整页钉在窗口高度里，滚动的只有内容区。
     侧栏、顶栏、页头都留在原地，像一张摊开的桌面：
     桌面是固定的，纸在桌面上滑动。
     ================================================================ */

  html{overflow:hidden!important}
  html,body{height:100%!important}
  body.ent{overflow:hidden!important}
  body.ent #main{
    /* 高度要扣掉桌面上真正压在内容上面的两截：页头 102 + 面包屑 34 = 136。
       原来写的 52 是手机端头部的高度 —— 直接抄过来，
       结果 #main 底边到 984，屏幕只有 900，页脚永远沉在屏幕外 84 像素。 */
    height:calc(100vh - 136px)!important;
    max-height:calc(100vh - 136px)!important;
    overflow-y:auto!important;overflow-x:hidden!important;
    padding-bottom:22px!important;
    overscroll-behavior:contain;
    /* 纵向排：上面的页头、筛选保持原高，最后那个列表槽吃掉剩下的高度 */
    display:flex!important;flex-direction:column!important;
  }
  body.ent #main > *{flex:0 0 auto!important}
  /* 列表槽：自己滚，页头和筛选留在原地。
     右下角那道内阴影是「还有更多」的暗示，不用画滚动条也知道下面还有。 */
  body.ent #main > .fit-scroll{
    flex:1 1 auto!important;min-height:160px!important;
    overflow-y:auto!important;overflow-x:hidden!important;
    overscroll-behavior:contain;
    margin-right:-10px!important;padding-right:10px!important;
  }
  body.ent #main > .fit-scroll::-webkit-scrollbar{width:10px}
  body.ent #main > .fit-scroll::-webkit-scrollbar-thumb{
    background:#FAFAFA;border-radius:2px;border:1px solid #E8E8E8;
  }
  body.ent #main > .fit-scroll::-webkit-scrollbar-track{background:transparent}
  /* ---------- 有列表的页面：头一律瘦一轮 ----------
     一屏能看见几行，取决于上面那堆东西吃掉多少。
     标题、说明、筛选、搜索挨个收一档，列表就多出两行。 */
  body.ent #main:has(> .fit-scroll) > .pg-hd{
    margin:0 0 10px!important;padding:0 0 9px!important;
  }
  body.ent #main:has(> .fit-scroll) > .pg-hd h2{font-size:20px!important;letter-spacing:.06em!important}
  body.ent #main:has(> .fit-scroll) > .pg-hd p{margin-top:3px!important;font-size:12px!important;line-height:1.5!important}
  body.ent #main:has(> .fit-scroll) > .hint{margin:3px 0!important;font-size:12px!important}
  body.ent #main:has(> .fit-scroll) > .search{margin:5px 0!important;height:32px!important}
  body.ent #main:has(> .fit-scroll) > .dk-bar{margin:5px 0 9px!important}
  body.ent #main:has(> .fit-scroll) > .chips.fchips{margin:4px 0 8px!important}
  /* 统计条压一档：四个数字站得高，看着像四张海报 */
  body.ent #main:has(> .fit-scroll) > .fu-sum > *{padding-top:9px!important;padding-bottom:9px!important}
  body.ent #main:has(> .fit-scroll) > .fu-bar{padding-top:7px!important;padding-bottom:7px!important}

  /* 包进槽之后，相邻卡片的粘连规则要跟着换父亲 */
  body.ent #main .fit-scroll > div.card + div.card,
  body.ent #main .fit-scroll > div.nq-qcard + div.nq-qcard,
  body.ent #main .fit-scroll > div.bq-item + div.bq-item,
  body.ent #main .fit-scroll > div.fin-todo + div.fin-todo{
    margin-top:-1px!important;border-top:1px solid #E8E8E8!important;
    border-top-left-radius:0!important;border-top-right-radius:0!important;
  }
  body.ent #main .fit-scroll > *:first-child{border-top-left-radius:3px!important;border-top-right-radius:3px!important}
  body.ent #main .fit-scroll > *:last-child{border-bottom-left-radius:3px!important;border-bottom-right-radius:3px!important}
  /* ---------- 收紧：铺满宽度之后，行距和内距同步压一档 ----------
     米白纸底 + 满宽，最大的问题不是颜色，是"稀"：
     卡片隔着 12px 漂着，表格行 48 高，眼睛扫一屏只落到三行字上。
     这一段把间距全收一档，密度提上来。 */
  #main .panel{margin-bottom:10px!important;padding:13px 16px!important}
  #main .panel h3{margin-bottom:8px!important}
  #main .pg-hd{margin-bottom:12px!important;padding-bottom:10px!important}
  body.ent #main{padding-top:16px!important}
  #main .nq-qcard,#main .card.mini{margin-bottom:6px!important}
  #main .nq-qcard{padding:12px 18px!important}
  #main .fin-todo{padding:8px 2px!important;margin-bottom:0!important}
  #main .fin-todo+.fin-todo{border-top:1px solid #E8E8E8!important}
  #main .stat{padding:11px 12px!important}
  #main .stat .num{font-size:20px!important;line-height:1.2!important}
  #main .fin-k{padding:10px 14px!important}
  #main .fin-k>b{font-size:20px!important;margin:2px 0!important}
  #main .fin-row.solo .fin-k>b{font-size:20px!important}
  #main .fin-age{margin-top:10px!important;padding-top:8px!important}
  #main .panel table td,#main .card table td{padding-top:9px!important;padding-bottom:9px!important}
  #main .nq-empty{padding:26px 12px!important}

  /* 表单页别拉成跑道 */
  #main .panel.rp-form,#main .panel.rp-form+.panel{max-width:760px!important}
  #main .panel input,#main .panel select,#main .panel textarea{width:100%}

  /* ---------- 全部功能：一页目录 ----------
     不是「更多」的垃圾桶，是一张按干活顺序排的清单。
     一行四个，块与块之间只有一条线，读起来像一份目录而不是一堆按钮。 */
  #main .all-panel{padding:0!important;overflow:hidden!important}
  #main .all-grid{
    display:grid!important;grid-template-columns:repeat(4,1fr)!important;
    gap:1px!important;background:#FAFAFA!important;
  }
  #main a.all-item{
    display:flex!important;flex-direction:column!important;align-items:flex-start!important;
    justify-content:center!important;gap:3px!important;
    padding:12px 15px!important;background:#FAFAFA!important;background-image:none!important;
    border:0!important;border-radius:2px!important;text-align:left!important;
    box-shadow:none!important;height:60px!important;min-height:0!important;
    cursor:pointer!important;text-decoration:none!important;
  }
  #main a.all-item:hover{background:#FAFAFA!important;background-image:none!important}
  #main .all-item .ai-t{font-size:14px!important;font-weight:500!important;color:#1A1A1A!important;letter-spacing:.02em!important}
  #main .all-item .ai-g{font-size:12px!important;color:#9E9E9E!important;letter-spacing:.06em!important}
  #main .all-empty{padding:26px!important;text-align:center!important;color:#9E9E9E!important;font-size:12px!important}
  /* 目录页的五组不是五个页面，是一份清单的五段：
     页签做成一行细字 + 一条下划线，不做成五个按钮，
     否则又变成"要点五次才能看全"的抽屉。 */
  #main:has(.all-grid) .hub-bar{
    background:transparent!important;padding:0 0 2px!important;
    border-radius:2px!important;border-bottom:1px solid #E8E8E8!important;
    margin-bottom:2px!important;display:flex!important;flex-wrap:wrap!important;
  }
  #main:has(.all-grid) .hub-bar button,
  #main:has(.all-grid) .hub-bar.grid button{
    background:transparent!important;border:0!important;border-radius:2px!important;
    height:34px!important;min-height:34px!important;box-shadow:none!important;
    font-size:12px!important;color:#1A1A1A!important;font-weight:400!important;
    padding:0 14px!important;letter-spacing:.04em!important;
    border-bottom:2px solid transparent!important;margin-bottom:-1px!important;
  }
  #main:has(.all-grid) .hub-bar button.on{
    background:transparent!important;color:#1A1A1A!important;font-weight:600!important;
    border-bottom-color:#6E6E6E!important;
  }
  #main:has(.all-grid) .hub-bar button:hover{background:#FAFAFA!important}
  @media (max-width:1100px){ #main .all-grid{grid-template-columns:repeat(3,1fr)!important} }

  /* 滚动条收窄：9px 的槽里只画 3px 的线，不抢内容的边 */
  body.ent #main::-webkit-scrollbar{width:10px}
  body.ent #main::-webkit-scrollbar-thumb{
    background:#FAFAFA;border-radius:2px;border:1px solid #E8E8E8;
  }
  body.ent #main::-webkit-scrollbar-track{background:transparent}

  /* ── 抽屉：一屏装不下的块，收成一行标题，点开才展开 ── */
  #main .nq-fold-hd{
    display:flex!important;align-items:center!important;justify-content:space-between!important;
    gap:12px!important;cursor:pointer!important;user-select:none!important;
    padding:2px 0!important;margin:0!important;
  }
  #main .nq-fold-hd:hover .nq-fold-t b{color:#6E6E6E!important}
  #main .nq-fold-t{display:flex!important;align-items:baseline!important;gap:9px!important;min-width:0!important}
  #main .nq-fold-t b{
    font-size:12px!important;font-weight:600!important;color:#1A1A1A!important;
    letter-spacing:.1em!important;flex:0 0 auto!important;
  }
  #main .nq-fold-t em{
    font-style:normal!important;font-size:12px!important;color:#9E9E9E!important;
    letter-spacing:.03em!important;overflow:hidden!important;
    text-overflow:ellipsis!important;white-space:nowrap!important;
  }
  #main .nq-fold-b{
    flex:0 0 auto!important;font-size:12px!important;color:#6E6E6E!important;
    letter-spacing:.1em!important;border-bottom:1px solid rgba(110,110,110,.35)!important;
    padding-bottom:1px!important;
  }
  #main .nq-fold.open .nq-fold-hd{margin-bottom:12px!important}
  #main .nq-fold-bd{padding-top:2px!important}
  /* 嵌在面板里的抽屉（更多设置 / 相关方）：上面一条细线，不另起一张卡 */
  #main .nq-fold-sub{
    border-top:1px solid #E8E8E8!important;margin-top:14px!important;padding-top:11px!important;
  }
  #main .nq-fold-sub .nq-fold-bd{padding-top:6px!important}
  #main .nq-fold-sub .nq-fold-hd{margin-bottom:0!important}
  #main .nq-fold-sub.open .nq-fold-hd{margin-bottom:11px!important}
  /* 相关方整节收掉时，只留这一行小入口 —— 需要才点，不需要看不见 */
  #main .nq-party-add{
    display:flex!important;align-items:baseline!important;gap:10px!important;flex-wrap:wrap!important;
    border-top:1px solid #E8E8E8!important;margin-top:14px!important;padding-top:10px!important;
  }
  #main .nq-party-add button{
    background:none!important;border:0!important;padding:0!important;cursor:pointer!important;
    font-size:12px!important;color:#6E6E6E!important;letter-spacing:.08em!important;
    border-bottom:1px dashed rgba(110,110,110,.35)!important;line-height:1.7!important;
  }
  #main .nq-party-add button:hover{color:#1A1A1A!important;border-bottom-color:rgba(28,27,25,.4)!important}
  #main .nq-party-add em{
    font-style:normal!important;font-size:11px!important;color:#9E9E9E!important;letter-spacing:.03em!important;
  }
  /* 折叠头右侧的「这张单用不上」关闭钮 */
  #main .nq-fold-x{
    flex:0 0 auto!important;font-size:11px!important;color:#9E9E9E!important;line-height:1!important;
    padding:2px 3px!important;cursor:pointer!important;
  }
  #main .nq-fold-x:hover{color:#6E6E6E!important}

  /* ---------- 新报价：一张长页，从上到下 ----------
     2026-11-04 改：客户 → 配件 → 出单，三块平铺，一条滚动条。
     不用分两栏、不用在框里单独滚 —— 填到出单按钮就是最后一步。 */

  /* 页头瘦身：面包屑已经写着「报价 / 新建报价」，
     页面里再压一行同名的粗体大字，等于同一句话说两遍，还白占 70 像素。
     那 70 像素给下面的配件表，能多放一整行。 */
  #main:has(.nq-hd) > .pg-hd{display:none!important}
  #main:has(.nq-hd) > .hub-bar{margin:0 0 12px!important;align-self:flex-start!important}
  #main:has(.nq-hd) .nq-hd{
    padding:0 0 9px!important;margin:0 0 10px!important;
    border-bottom:1px solid #E8E8E8!important;align-items:flex-end!important;
  }
  #main:has(.nq-hd) .nq-hd-t{font-size:14px!important;letter-spacing:.06em!important}
  #main:has(.nq-hd) .nq-hd-s{margin-top:3px!important;font-size:12px!important}
  /* 步骤条整条撤掉：三个面板的标题已经写着 ①②③，
     上面再来一条「1 选客户 — 2 选配件 — 3 出报价单」，是第三遍。 */
  #main:has(.nq-hd) .nq-step{display:none!important}
  /* 合计区收一档行距：七行数字挤一挤，能省出 30 像素 */
  #main:has(.nq-hd) .nq-sum{margin-top:10px!important;padding-top:9px!important}
  #main:has(.nq-hd) .nq-sum-r{padding:3px 0!important}
  #main:has(.nq-hd) .nq-sum-t{padding-top:8px!important;margin-top:6px!important}
  #main:has(.nq-hd) .nq-sum-c{margin-top:6px!important;line-height:1.5!important}
  #main:has(.nq-hd) .nq-out{margin-top:11px!important;gap:8px!important}
  #main:has(.nq-hd) .nq-outfoot{margin-top:5px!important;font-size:12px!important}
  #main:has(.nq-hd) .nq-g3{gap:8px!important}
  #main:has(.nq-hd) .nq-g3 label span{font-size:12px!important}
  #main:has(.nq-hd) .nq-g3 input{height:32px!important}
  /* 业务员那两格横过来：标签在左、输入框在右，一行 32 像素，
     原来是「标签一行 + 输入框一行」，两个字段白占 90 像素。 */
  #main:has(.nq-hd) .nq-g2{gap:10px!important}
  #main:has(.nq-hd) .nq-g2 label{
    display:flex!important;flex-direction:row!important;
    align-items:center!important;gap:7px!important;min-width:0!important;
  }
  #main:has(.nq-hd) .nq-g2 label span{
    flex:0 0 auto!important;margin:0!important;white-space:nowrap!important;
    font-size:12px!important;letter-spacing:.06em!important;
  }
  #main:has(.nq-hd) .nq-g2 label input{flex:1 1 auto!important;min-width:0!important;height:32px!important}

  /* 三个面板之间的行距收一档 */
  #main .nq-sec{margin-bottom:10px!important}
  #main .nq-sec h3{margin-bottom:9px!important}

  /* 空态提示居中一点 */
  #main .nq-sec-main:has(.nq-empty) > .nq-addbtns{display:none!important}
  #main .nq-empty-t{font-size:14px!important;font-weight:600!important;color:#1A1A1A!important;letter-spacing:.06em!important}
  #main .nq-empty-s{font-size:12px!important;color:#9E9E9E!important;letter-spacing:.02em!important;margin-bottom:6px!important}
  #main .nq-sec-main > .nq-empty{
    display:flex!important;flex-direction:column!important;align-items:center!important;
    justify-content:center!important;gap:8px!important;
    padding:34px 12px!important;line-height:1.8!important;
  }

  /* 满了的配件行已经够长，按钮别占一整条，并排站着就行 */
  #main .nq-addbtns{gap:8px!important;flex-wrap:wrap!important;margin-top:10px}
  #main .nq-add{width:auto!important;flex:0 0 auto!important}
}

/* ================================================================
   待办首屏（v3.0）
   ----------------------------------------------------------------
   首页只回答一个问题：今天要我动手的有几件，分别去哪办。
   所以这里不做驾驶舱、不做图表，只做一张「清单 + 三个大入口」。
   清单每行右端写去哪儿（收款台 / 报价 / 年检），点整行就走 ——
   用户不用先想"这事归哪个模块"，跟着字走就行。
   ================================================================ */
.td-head{
  display:flex; align-items:flex-end; gap:10px; flex-wrap:wrap;
  padding:2px 2px 12px; border-bottom:1px solid var(--tz-line);
}
.td-head .td-hi{ font-size:14px; font-weight:800; letter-spacing:.02em; color:#1A1A1A; }
.td-head .td-dt{ font-size:12px; color:#1A1A1A; letter-spacing:.04em; padding-bottom:2px; }
.td-head .td-sum{ margin-left:auto; font-size:12px; color:#1A1A1A; }
.td-head .td-sum b{ font-size:14px; color:#1A1A1A; margin:0 2px; font-variant-numeric:tabular-nums; }
.td-head .td-sum b.hot{ color:#6E6E6E; }

/* 清单：一张纸，横线分行。不做卡片套卡片 */
.td-list{ background:var(--tz-paper); border:1px solid var(--tz-line); margin:0 0 14px; }
.td-row{
  display:flex; align-items:center; gap:12px;
  padding:13px 14px; border-top:1px solid var(--tz-line); cursor:pointer;
  transition:background .12s;
}
.td-row:first-child{ border-top:none; }
.td-row:hover{ background:#FAFAFA; }
/* 左侧一道朱线：只有真要命的才红，其余留白，一屏里红的地方越少越准 */
.td-row.hot{ box-shadow:none; }
.td-row.warm{ box-shadow:none; }
/* 48px 只装得下两位数：「200件」量出来 53px，被挤出 5px 压到右边字上。
   宽到 54px，三位数加单位也放得下；各列同宽，数字右边界还是齐的。 */
.td-n{
  flex:none; width:54px; text-align:right; white-space:nowrap;
  font-size:20px; font-weight:800; letter-spacing:-.4px; color:#1A1A1A;
  font-variant-numeric:tabular-nums; line-height:1.1;
}
.td-n em{ font-style:normal; font-size:12px; font-weight:600; color:#1A1A1A; margin-left:2px; letter-spacing:0; }
.td-n.hot{ color:#6E6E6E; }
.td-n.warm{ color:#9E9E9E; }
.td-b{ flex:1; min-width:0; }
.td-t{ font-size:14px; font-weight:700; color:#1A1A1A; line-height:1.4; }
/* 这枚小签原来 22px 高、行高 20，比 14px 的标题还高，挂下来正好压在
   「续签」两个字上，看着像糊了一块墨。收成 16px 高，跟字身对齐。 */
.td-t .tag{ margin-left:8px; vertical-align:2px; padding:1px 6px;
  font-size:11px; line-height:16px; border-radius:2px; }
.td-d{ font-size:12px; color:#1A1A1A; line-height:1.5; margin-top:2px;
  overflow:hidden; display:-webkit-box; -webkit-line-clamp:1; -webkit-box-orient:vertical; }
.td-go{
  flex:none; font-size:12px; color:#1A1A1A; letter-spacing:.06em;
  border-left:1px solid var(--tz-line); padding-left:11px; min-width:52px; text-align:right;
}
.td-row:hover .td-go{ color:#1A1A1A; }
.td-clean{ padding:30px 16px; text-align:center; }
.td-clean b{ display:block; font-size:14px; font-weight:700; color:#1A1A1A; letter-spacing:.04em; }
.td-clean span{ display:block; font-size:12px; color:#1A1A1A; margin-top:5px; }

/* 三个大入口：进门第一眼就该看见"我要开单/要收钱/要下现场" */
/* minmax(0,1fr)：三列不许被里面的字撑破。1fr 的默认下限是 auto，
   手机上「客户展示」四个字就能把第三张卡顶出屏幕半边。 */
/* 门的个数决定列数；窄屏只给两列 —— 390 宽排四列时，
   「价值·毛利·趋势」被折成「价值·毛利·趋 / 势」，一句话读成两截。 */
.td-doors{ display:grid; grid-template-columns:repeat(var(--dn,3),minmax(0,1fr)); gap:9px; margin:0 0 14px; }
@media (max-width:640px){
  .td-doors{ grid-template-columns:repeat(2,minmax(0,1fr))!important; gap:8px; }
  /* 三扇门排成 2+1：第三张孤零零占半行，右边空出一块，看着像没排完。
     390 宽下三列每格 115 像素，四个字的标题放得下，说明折两行 ——
     等宽三格比「两个大、一个小」整齐得多。偶数门（2/4）仍是两列。 */
  .td-doors[data-n="3"]{ grid-template-columns:repeat(3,minmax(0,1fr))!important; }
  .td-doors[data-n="3"] .td-door{ padding:12px 9px 11px; }
  .td-doors[data-n="3"] .td-dt2{ font-size:12px; }
  .td-doors[data-n="3"] .td-dd{ font-size:11px; line-height:1.5; }
  .td-door{ padding:13px 11px 12px; }
}
.td-door{
  background:var(--tz-paper); border:1px solid var(--tz-line);
  min-width:0; overflow:hidden;
  padding:15px 12px 13px; cursor:pointer; text-align:left;
  transition:border-color .12s,background .12s;
}
.td-door:hover{ border-color:#6E6E6E; background:#FAFAFA; }
.td-door .td-dc{ color:#6E6E6E; margin-bottom:9px; }
.td-door .td-dt2{ font-size:12px; font-weight:700; letter-spacing:.06em; color:#1A1A1A; }
.td-door .td-dd{ font-size:12px; color:#1A1A1A; margin-top:3px; letter-spacing:0;
  white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.td-door.pri{ background:#1A1A1A; border-color:#1A1A1A; }
.td-door.pri .td-dc,.td-door.pri .td-dt2{ color:#FAFAFA; }
.td-door.pri .td-dd{ color:#9E9E9E; }
.td-door.pri:hover{ background:#1A1A1A; }

/* 全部功能：留在最底下，兜底不抢戏 */
.td-all{
  text-align:center; font-size:12px; color:#1A1A1A; letter-spacing:.08em;
  padding:12px 0 4px; cursor:pointer;
}
.td-all:hover{ color:#1A1A1A; }

@media(max-width:420px){
  .td-n{ width:42px; font-size:14px; }
  .td-go{ min-width:44px; padding-left:9px; font-size:12px; }
  .td-door{ padding:12px 9px 11px; }
  .td-door .td-dt2{ font-size:12px; letter-spacing:.03em; }
}

/* ================================================================
   毛利与价值 · 第二版（v3.1）
   ----------------------------------------------------------------
   第一版的问题：一屏六种字号四种字重，毛利额和毛利率混在四格 KPI
   里，老板要在小字里找答案。第二版只守三条：
     ① 毛利额是全页唯一的大数（34px/700），其余数字一律 15px 以内；
     ② 字号只留三档：正文 13.5 / 辅助 11.5 / 标题 15；
     ③ 字重只留两档：正文 400、强调 700。500/600/800 不再出现。
   ================================================================ */
.bv2-ans{
  position:relative; background:var(--tz-paper); border:1px solid var(--tz-line);
  padding:20px 18px 16px; margin:0 0 14px;
}
.bv2-range{
  position:absolute; top:14px; right:14px; display:flex;
  border:1px solid var(--tz-line); background:#FAFAFA;
}
.bv2-range button{
  border:none; background:none; padding:5px 10px; font-size:12px; font-weight:700;
  color:#1A1A1A; cursor:pointer; letter-spacing:.02em;
}
.bv2-range button.on{ background:#1A1A1A; color:#FAFAFA; }
.bv2-range button + button{ border-left:1px solid var(--tz-line); }
.bv2-lab{ font-size:12px; color:#1A1A1A; letter-spacing:.08em; margin-bottom:6px; }
.bv2-big{
  font-size:20px; font-weight:700; color:#1A1A1A; letter-spacing:-.02em; line-height:1.1;
  font-variant-numeric:tabular-nums; font-feature-settings:"tnum";
}
.bv2-big em{ font-style:normal; font-size:14px; font-weight:700; color:#1A1A1A; margin-left:4px; letter-spacing:0; }
.bv2-big.dn{ color:#6E6E6E; }
.bv2-sub{
  font-size:12px; color:#1A1A1A; margin-top:8px; line-height:1.6;
  font-variant-numeric:tabular-nums;
}
.bv2-sub b{ color:#1A1A1A; font-weight:700; }
.bv2-trust{ font-size:12px; color:#9E9E9E; margin-top:4px; }

/* 结论：最多两条。一条一个人——谁替我赚了钱、钱从哪来 */
.bv2-con{ margin:0 0 14px; }
.bv2-crow{
  display:flex; align-items:center; gap:12px; cursor:pointer;
  background:var(--tz-paper); border:1px solid var(--tz-line); border-top:none;
  padding:12px 14px;
}
.bv2-crow:first-child{ border-top:1px solid var(--tz-line); }
.bv2-crow:hover{ background:#FAFAFA; }
.bv2-crow .c-b{ flex:1; min-width:0; }
.bv2-crow .c-t{ font-size:14px; font-weight:700; color:#1A1A1A; line-height:1.4; }
.bv2-crow .c-t b{ font-variant-numeric:tabular-nums; }
.bv2-crow .c-i{ font-size:12px; color:#1A1A1A; margin-top:2px; }
/* 「看榜 ›」贴右会被容器裁掉半个字：给它一点右边距，并且不许换行 */
/* 「看榜」做成一颗描边小标签：贴右边缘的行内文字看着像被切了一半，
   加一圈细框它自己就立住了，也不再跟右边界较劲 */
.bv2-crow .c-go{
  flex:0 0 auto; font-size:12px; font-weight:700; color:#6E6E6E;
  letter-spacing:.04em; white-space:nowrap;
  border:1px solid #E8E8E8; padding:4px 9px; line-height:1;
}
.bv2-none{
  background:var(--tz-paper); border:1px solid var(--tz-line);
  padding:16px 14px; font-size:12px; color:#1A1A1A; line-height:1.7;
}
.bv2-none b{ display:block; font-size:14px; color:#1A1A1A; margin-bottom:3px; }
.bv2-none a{ color:#6E6E6E; font-weight:700; cursor:pointer; }

/* 榜：人和客户两张，上下叠放。各列前 5，其余一点展开 */
.bv2-bd{
  background:var(--tz-paper); border:1px solid var(--tz-line); margin:0 0 14px;
}
.bv2-hd{
  display:flex; align-items:baseline; gap:8px; padding:12px 14px 10px;
  border-bottom:1px solid var(--tz-line); background:#FAFAFA;
}
.bv2-hd b{ font-size:12px; font-weight:700; letter-spacing:.06em; color:#1A1A1A; }
.bv2-hd span{ font-size:12px; color:#1A1A1A; }
.bv2-row{
  display:flex; align-items:center; gap:11px; padding:11px 14px; cursor:pointer;
  border-top:1px solid var(--tz-line);
}
.bv2-row:first-of-type{ border-top:none; }
.bv2-row:hover{ background:#FAFAFA; }
.bv2-rk{
  flex:none; width:20px; text-align:center; font-size:12px; font-weight:700;
  color:#6E6E6E; font-variant-numeric:tabular-nums;
}
.bv2-rk.t1{ color:#6E6E6E; }
.bv2-nm{ flex:1; min-width:0; }
.bv2-nm .t{ font-size:14px; font-weight:700; color:#1A1A1A;
  overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.bv2-nm .s{ font-size:12px; color:#1A1A1A; margin-top:2px; }
.bv2-amt{ flex:none; text-align:right; }
.bv2-amt b{
  display:block; font-size:14px; font-weight:700; color:#1A1A1A; line-height:1.2;
  font-variant-numeric:tabular-nums;
}
.bv2-amt b.dn{ color:#6E6E6E; }
.bv2-amt em{ display:block; font-style:normal; font-size:12px; color:#1A1A1A; margin-top:1px;
  font-variant-numeric:tabular-nums; }
/* 成本/毛利分条：一根 5px 的细线，褐是花出去的，墨绿是剩下的 */
.bv2-bar{ height:5px; background:#FAFAFA; margin:0 14px 6px; display:flex; overflow:hidden; }
/* 刻度说明：一根条横跨「成交额」，两端各占一份。写一句就够，别画坐标轴 */
.bv2-scale{
  display:flex; justify-content:space-between; margin:0 14px 5px;
  font-size:12px; color:#9E9E9E; letter-spacing:.02em;
}
.bv2-scale span:first-child{ text-align:left; }
.bv2-bar i{ display:block; height:100%; }
.bv2-bar i.c{ background:#6E6E6E; }
.bv2-bar i.p{ background:#1A1A1A; }
.bv2-more{
  text-align:center; padding:10px 0; font-size:12px; font-weight:700; color:#1A1A1A;
  border-top:1px solid var(--tz-line); cursor:pointer; letter-spacing:.08em;
}
.bv2-more:hover{ color:#1A1A1A; }
.bv2-tail{ display:none; }
.bv2-bd.open .bv2-tail{ display:block; }
.bv2-bd.open .bv2-more .open-t{ display:none; }
.bv2-bd .bv2-more .close-t{ display:none; }
.bv2-bd.open .bv2-more .close-t{ display:inline; }

/* 赚得薄的客户：一条朱红细边，不铺满红块 */
.bv2-quiet{
  font-size:12px; color:#1A1A1A; line-height:1.7; margin:-4px 0 14px; padding:0 2px;
}
.bv2-quiet a{ color:#6E6E6E; font-weight:700; cursor:pointer; }
.bv2-thin{
  border:1px solid #E8E8E8; border-left:1px solid #E8E8E8; background:var(--tz-paper);
  padding:11px 14px; margin:0 0 14px;
}
.bv2-thin b{ display:block; font-size:12px; font-weight:700; color:#6E6E6E; margin-bottom:6px; }
.bv2-thin .r{
  display:flex; justify-content:space-between; align-items:baseline;
  font-size:12px; color:#1A1A1A; padding:4px 0; border-top:1px solid #E8E8E8;
}
.bv2-thin .r:first-of-type{ border-top:none; }
.bv2-thin .r em{ font-style:normal; font-weight:700; color:#6E6E6E; font-variant-numeric:tabular-nums; }
.bv2-thin .ft{ font-size:12px; color:#9E9E9E; margin-top:7px; }

@media(max-width:640px){
  .bv2-big{ font-size:20px; }
  .bv2-big em{ display:block; margin:3px 0 0; font-size:12px; font-weight:400; }
  .bv2-row{ padding:10px 11px; gap:9px; }
  .bv2-hd,.bv2-ans{ padding-left:12px; padding-right:12px; }
  .bv2-ans{ padding-top:12px; }
  /* 小屏上绝对定位的切换钮会压到大数字头上：
     改成跟「近 12 月 · 毛利」同一行，靠右，大数字独占一整行 */
  .bv2-range{ position:static; float:right; margin:-4px 0 4px 8px; }
  .bv2-range button{ padding:4px 8px; font-size:12px; }
  .bv2-lab{ min-height:24px; line-height:24px; margin-bottom:2px; }
  .bv2-scale{ font-size:12px; }
  .bv2-amt b{ font-size:14px; }
}

/* ===== 今日排班：一句话看明白自己今天去哪、干什么 ===== */
.shift{background:#FAFAFA;border:1px solid #E8E8E8;border-radius:2px;padding:13px 16px;margin:0 0 12px;cursor:pointer;transition:border-color .15s}
.shift:hover{border-color:#6E6E6E}
.shift.me{border-left:1px solid #E8E8E8;padding-left:14px}
.shift-hd{display:flex;align-items:baseline;gap:8px;flex-wrap:wrap}
.shift-day{font-size:12px;color:#1A1A1A;font-weight:700;letter-spacing:.5px}
.shift-n{font-size:14px;font-weight:800;color:#1A1A1A;line-height:1.6}
.shift-n em{font-style:normal;color:#6E6E6E}
.shift-line{display:flex;align-items:baseline;gap:6px;margin-top:5px;font-size:12px;line-height:1.7;min-width:0}
.shift-who{font-weight:700;color:#1A1A1A;flex:0 0 auto}
.shift-task{color:#1A1A1A;flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.shift-zone{color:#1A1A1A;flex:0 0 auto;font-size:12px}
.shift-go{font-size:12px;color:#6E6E6E;font-weight:700;margin-top:8px;display:inline-block}
.shift-empty{background:#FAFAFA;border:1px solid #E8E8E8;border-radius:2px;padding:12px 16px;margin:0 0 12px;font-size:12px;color:#1A1A1A;line-height:1.7}
.shift-empty b{color:#6E6E6E}
.shift-datebar{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:0 0 12px}
  /* 排班表导出：手机上两个按钮别挤成一行，各占一半 */
  @media (max-width:520px){ .shift-datebar .btn.xp{flex:1 1 46%;margin-left:0!important;font-size:12px!important} }
.shift-datebar input[type=date]{font-size:12px;padding:6px 9px;border:1px solid #E8E8E8;border-radius:2px;background:#FAFAFA;color:#1A1A1A}
.shift-tag{display:inline-block;font-size:12px;padding:1px 6px;border-radius:2px;background:#FAFAFA;color:#1A1A1A;margin-left:2px}
.shift-tag.warn{background:rgba(110,110,110,.1);color:#6E6E6E}
.shift-tag.blue{background:rgba(28,27,25,.12);color:#1A1A1A}
.shift-list{margin:0;padding:0;list-style:none}
.shift-row{display:flex;gap:10px;padding:9px 0;border-bottom:1px solid #E8E8E8;font-size:12px;align-items:baseline;flex-wrap:wrap}
.shift-row:last-child{border-bottom:0}
.shift-row .r-no{flex:0 0 22px;color:#9E9E9E;font-size:12px}
.shift-row .r-who{flex:0 0 76px;font-weight:700;color:#1A1A1A}
.shift-row .r-task{flex:1;min-width:140px;color:#1A1A1A}
.shift-row .r-zone{flex:0 0 auto;color:#1A1A1A;font-size:12px}
.shift-row.mine{background:rgba(110,110,110,.045);border-radius:2px;padding-left:6px;margin-left:-6px}
.blk{margin:0 0 14px}
.blk-hd{display:flex;align-items:baseline;gap:8px;margin:0 0 7px}
.blk-t{font-size:14px;font-weight:800;color:#1A1A1A}
.blk-c{font-size:12px;color:#1A1A1A}
/* ===== 保养项目输入框：能点就不打字 ===== */
.mi-wrap{margin-top:2px}
.mi-box{width:100%;box-sizing:border-box;font-size:14px;line-height:1.6;padding:9px 11px;border:1px solid #E8E8E8;
  border-radius:2px;background:#FAFAFA;color:#1A1A1A;resize:vertical;font-family:inherit}
.mi-box:focus{outline:none;border-color:#6E6E6E;background:#FFFFFF}
.mi-chips{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}
.mi-chip{font-size:12px;padding:4px 9px;border:1px solid #E8E8E8;border-radius:999px;background:#FAFAFA;
  color:#1A1A1A;cursor:pointer;font-family:inherit;line-height:1.4;}
.mi-chip:hover{border-color:#6E6E6E;color:#6E6E6E;background:rgba(110,110,110,.05)}
/* 列表里那行「做过什么」 */
.mi-line{font-size:12px;color:#1A1A1A;line-height:1.6;margin-top:2px}
.mi-line b{color:#1A1A1A;font-weight:600}
.mi-none{font-size:12px;color:#9E9E9E;line-height:1.6;margin-top:2px}
/* ===== 经营工具（底层算厚，面上只给一句话） ===== */
.biz-tool{background:#FAFAFA;border:1px solid #E8E8E8;border-radius:2px;padding:15px 18px;margin:0 0 12px}
.biz-verdict{font-size:14px;font-weight:800;color:#1A1A1A;line-height:1.7;letter-spacing:.2px}
.biz-verdict::before{content:"";display:inline-block;width:8px;height:8px;border-radius:50%;background:#6E6E6E;margin-right:8px;vertical-align:1px}
.biz-expand{margin-top:10px;background:none;border:0;color:#6E6E6E;font-size:12px;cursor:pointer;padding:4px 0;font-weight:700}
.biz-detail{margin:8px 0 0;padding:8px 0 0;border-top:1px solid #E8E8E8;list-style:none}
.biz-detail .biz-li{display:flex;justify-content:space-between;gap:12px;padding:7px 0;border-bottom:1px solid #E8E8E8;font-size:12px}
.biz-li-n{color:#1A1A1A;font-weight:600;flex:0 0 auto;max-width:56%}
.biz-li-s{color:#1A1A1A;text-align:right;flex:1;min-width:0}
.biz-empty{color:#9E9E9E;justify-content:center!important}
.biz-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:1px;background:#FAFAFA;border:1px solid #E8E8E8;border-radius:2px;overflow:hidden;margin-top:6px}
.biz-stats .bs{background:#FAFAFA;padding:14px 10px;text-align:center}
.biz-stats .bs b{display:block;font-size:20px;color:#1A1A1A;font-weight:800;line-height:1.2}
.biz-stats .bs span{font-size:12px;color:#1A1A1A}
@media(max-width:680px){ .biz-stats{grid-template-columns:repeat(2,1fr)} }

/* ===== 手机看板 / 电脑工作台 =====
   手机拿着是「看」的：站在客户门口、车上、会议室里，问的是「这个月收了多少、哪几家要跑」。
   电脑坐着是「填」的：录数据、改台账、批量处理。
   所以同一套数据，两个门面 —— 手机首屏是报表，电脑首屏是工作台。
   手机照样能办公（每块下面都有「去办 ›」），只是不把输入框顶在最前面。 */
.mb-hd{display:flex;align-items:baseline;gap:8px;margin:2px 0 12px}
.mb-hd b{font-size:14px;font-weight:800;letter-spacing:-.01em;color:#1A1A1A}
.mb-hd span{font-size:12px;color:#1A1A1A}
.mb-hd .mb-gear{margin-left:auto;font-size:12px;color:#6E6E6E;font-weight:700;cursor:pointer}
.mb-mon{background:#FAFAFA;border:1px solid #E8E8E8;border-radius:2px;padding:16px 17px;margin:0 0 12px}
.mb-mon-k{font-size:12px;color:#1A1A1A;letter-spacing:.4px;font-weight:700}
.mb-mon-v{font-size:20px;font-weight:800;line-height:1.2;letter-spacing:-.02em;color:#1A1A1A;
  font-variant-numeric:tabular-nums;margin-top:3px}
.mb-mon-v em{font-size:12px;font-weight:600;color:#1A1A1A;font-style:normal;margin-left:3px}
.mb-mon-f{font-size:12px;color:#1A1A1A;margin-top:6px;line-height:1.6}
.mb-mon-f b{color:#6E6E6E;font-weight:700}
.mb-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin:0 0 12px}
.mb-k{background:#FAFAFA;border:1px solid #E8E8E8;border-radius:2px;padding:13px 14px;cursor:pointer}
.mb-k-t{font-size:12px;color:#1A1A1A;letter-spacing:.3px}
.mb-k-v{font-size:20px;font-weight:800;line-height:1.25;letter-spacing:-.02em;margin-top:2px;
  font-variant-numeric:tabular-nums}
.mb-k-s{font-size:12px;color:#1A1A1A;margin-top:3px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.mb-k.hot{border-color:#6E6E6E;background:#FFFFFF}
.mb-k.hot .mb-k-v{color:#6E6E6E}
.mb-pan{background:#FAFAFA;border:1px solid #E8E8E8;border-radius:2px;padding:14px 16px;margin:0 0 12px}
.mb-pan-hd{display:flex;align-items:baseline;gap:8px;margin-bottom:4px}
.mb-pan-hd b{font-size:14px;font-weight:800;color:#1A1A1A}
.mb-pan-hd span{font-size:12px;color:#1A1A1A}
.mb-pan-hd a{margin-left:auto;font-size:12px;color:#6E6E6E;font-weight:700;text-decoration:none;cursor:pointer}
.mb-row{display:flex;align-items:baseline;gap:10px;padding:9px 0;border-bottom:1px solid #E8E8E8;font-size:12px;cursor:pointer}
.mb-row:last-child{border-bottom:0;padding-bottom:0}
.mb-row-n{flex:1;min-width:0;color:#1A1A1A;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.mb-row-s{flex:0 0 auto;font-size:12px;color:#1A1A1A;text-align:right;max-width:52%}
.mb-row-s.warn{color:#6E6E6E}
.mb-2{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.mb-2 .mb-pan{margin:0}
@media(max-width:420px){ .mb-2{grid-template-columns:1fr} }
/* 技师的干活看板：动作要大到单手能点，一眼知道今天该去哪 */
.mb-acts{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin:0 0 12px}
.mb-act{background:#FAFAFA;border:1px solid #E8E8E8;border-radius:2px;padding:15px 12px;
  text-align:center;cursor:pointer;-webkit-tap-highlight-color:transparent}
.mb-act .ic{color:#6E6E6E;display:flex;justify-content:center;margin-bottom:7px}
.mb-act.primary .ic{color:#FAFAFA}
.mb-act .tx{font-size:14px;font-weight:700;color:#1A1A1A;letter-spacing:.02em}
.mb-act .sb{font-size:12px;color:#1A1A1A;margin-top:3px}
.mb-act.primary{background:#1A1A1A;border-color:#1A1A1A}
.mb-act.primary .tx{color:#FAFAFA}
.mb-act.primary .sb{color:#6E6E6E}
/* 手机上把「录入类」的快捷入口压成一行小字，不当主角 */
.mb-work{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 8px}
.mb-work a{flex:1 1 auto;text-align:center;font-size:12px;color:#1A1A1A;background:#FAFAFA;
  border:1px solid #E8E8E8;border-radius:2px;padding:9px 6px;text-decoration:none;cursor:pointer}
.mb-all{text-align:center;font-size:12px;color:#1A1A1A;margin:0 0 14px;cursor:pointer;padding:6px 0}
.mb-foot{font-size:12px;color:#9E9E9E;text-align:center;line-height:1.7;margin:6px 0 16px}

/* ===== 一屏一件事（日式减法）=====
   乔布斯：一屏只回答一个问题。经营看板原来把 4 个数、2 张图、3 张表、
   4 个入口同时推到人脸上，等于什么都没说。
   现在首屏只有一个数字、一句结论、一个动作；其余全部收在「看全部」后面。
   和纸底、墨色细字、1px 细线、朱红只点一处、大量留白 —— 不画卡片阴影。 */
.m1{background:#FAFAFA;border:1px solid #E8E8E8;border-radius:2px;
  padding:20px 22px 0;margin:0;min-height:calc(100vh - 250px);
  display:flex;flex-direction:column}
.m1-hd{display:flex;align-items:baseline;gap:8px;font-size:12px;color:#1A1A1A;letter-spacing:.1em}
.m1-hd b{color:#1A1A1A;font-weight:600;letter-spacing:.16em}
.m1-hd span:last-child{margin-left:auto;letter-spacing:0}
.m1-body{flex:1;display:flex;flex-direction:column;justify-content:center;
  align-items:flex-start;padding:24px 0 34px}
.m1-k{font-size:12px;color:#1A1A1A;letter-spacing:.18em;margin-bottom:16px}
.m1-num{font-size:clamp(58px,18vw,80px);line-height:1;font-weight:300;letter-spacing:-.045em;
  color:#1A1A1A;font-variant-numeric:tabular-nums}
.m1-num.txt{font-size:clamp(32px,10vw,46px);font-weight:400;letter-spacing:.02em}
.m1-u{font-size:14px;color:#1A1A1A;margin-left:9px;letter-spacing:0;font-weight:400}
.m1-t{font-size:20px;font-weight:600;color:#1A1A1A;margin-top:16px;letter-spacing:.05em}
.m1-line{font-size:12px;color:#1A1A1A;margin-top:11px;line-height:1.95;letter-spacing:.02em;max-width:30em}
.m1-go{margin-top:28px;font-size:14px;color:#6E6E6E;font-weight:700;cursor:pointer;
  border-bottom:1px solid #E8E8E8;padding-bottom:5px;letter-spacing:.05em}
.m1-ft{border-top:1px solid #E8E8E8;padding:13px 0 15px;display:flex;gap:16px;align-items:center}
.m1-ft a{font-size:12px;color:#1A1A1A;cursor:pointer;letter-spacing:.04em;text-decoration:none}
.m1-ft a.em{margin-left:auto;color:#6E6E6E;font-weight:700}
.m1-mini{display:flex;align-items:center;gap:10px;font-size:12px;color:#1A1A1A;
  border-bottom:1px solid #E8E8E8;padding:0 0 12px;margin:0 0 14px;cursor:pointer;letter-spacing:.03em}
.m1-mini b{color:#1A1A1A;font-weight:600}
.m1-mini .ar{margin-left:auto;color:#6E6E6E;font-weight:700}

/* 电脑端那句提示：只出现一次，不抢戏 */
.pc-tip{background:#FAFAFA;border:1px solid #E8E8E8;border-radius:2px;
  padding:11px 15px;margin:0 0 12px;font-size:12px;color:#1A1A1A;line-height:1.65}
.pc-tip b{color:#6E6E6E;font-weight:700}

/* ================================================================
   全端日式皮肤（2026-11-03 夜）
   ----------------------------------------------------------------
   方向：日式 UI + 乔布斯做减法。
     和纸底 #FAFAFA、墨色 #1A1A1A、朱红 #6E6E6E 只点睛；
     1px 细线做边界，方角（2px），无投影、无渐变、无光晕；
     选中态不再用色块填充 —— 墨字加粗，底部一条 2px 墨线；
     墨色实底只留给每屏唯一的主按钮。
   ================================================================ */

/* ---------- 全局：纸、墨、线 ---------- */
html,body{background:#FAFAFA!important;background-image:none!important}
.btn,.nq-btn,.bq-btn,.ctool-btn,.wt-btn,.td-btn,.vf-btn,.fu-b,.ro-pill{
  border-radius:2px!important;box-shadow:none!important;text-shadow:none!important;
  background-image:none!important;letter-spacing:.05em;
}
.btn,.nq-btn,.bq-btn{
  background:#1A1A1A!important;border:1px solid #1A1A1A!important;color:#FAFAFA!important;
}
.btn.ghost,.btn.sm,.btn.danger,.btn.green,.td-btn,.vf-btn,.fu-b,.ro-pill{
  background:#FAFAFA!important;border:1px solid #E8E8E8!important;color:#1A1A1A!important;
}
.btn.danger{color:#6E6E6E!important;border-color:#6E6E6E!important}
.btn.green{color:#1A1A1A!important;border-color:#1A1A1A!important}
.btn:active{transform:scale(.985)}

/* 卡片：白纸细边，方角，不投影 */
.panel,.card,.stat,.kpi,.kpi-card,.dl-item,.fold,.fin-todo,.hr-card,
.bq-item,.blank-box,.sal-row,.nv-card,.nq-qcard,.sys-mode,.qs-req,.ct-card{
  background:#FAFAFA!important;background-image:none!important;
  border:1px solid #E8E8E8!important;border-radius:2px!important;
  box-shadow:none!important;
}
/* 大色块退场：财务驾驶舱、启用横幅回归纸面 */
.fin-hero{background:#FAFAFA!important;border:1px solid #E8E8E8!important;border-radius:2px!important}
.ro-bar{background:#FAFAFA!important;background-image:none!important;border:1px solid #E8E8E8!important;border-radius:2px!important}
.ro-pill.on{background:#1A1A1A!important;border-color:#1A1A1A!important;color:#FAFAFA!important}

/* 输入框：白底细线方角 */
input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="submit"]):not([type="button"]),
select,textarea,.search{
  background:#FAFAFA!important;background-image:none!important;
  border:1px solid #E8E8E8!important;border-radius:2px!important;
  box-shadow:none!important;
}
.search:focus,input:focus,select:focus,textarea:focus{border-color:#1A1A1A!important;box-shadow:none!important}

/* 标签：平的小方片 */
.tag{background:#FAFAFA!important;border:1px solid #E8E8E8!important;color:#1A1A1A!important;
  box-shadow:none!important;border-radius:2px!important;text-shadow:none!important}
.tag.r{color:#6E6E6E!important;border-color:#6E6E6E!important;background:#FAFAFA!important}
.tag.g{color:#1A1A1A!important;border-color:#1A1A1A!important;background:#FAFAFA!important}
.tag.o{color:#9E9E9E!important;border-color:#6E6E6E!important;background:#FAFAFA!important}

/* 弹窗：方角，阴影收到极轻 */
.modal,.dl-in{border-radius:2px!important;box-shadow:none!important}
.modal{border-radius:2px!important}

/* 登录页主键：墨底方角 */
.dl-in .dl-act .btn,.login-box .btn{
  background:#1A1A1A!important;background-image:none!important;
  border:1px solid #1A1A1A!important;color:#FAFAFA!important;
  text-shadow:none!important;box-shadow:none!important;border-radius:2px!important;
}
.dl-in .dl-act .btn.ghost,.dl-in .dl-act button:not(.primary){
  background:#FAFAFA!important;background-image:none!important;
  border:1px solid #E8E8E8!important;color:#1A1A1A!important;text-shadow:none!important;box-shadow:none!important;
}

/* ---------- 手机（≤899px）：把导航也收回纸面 ---------- */
@media (max-width:899px){
  body.ent{
    --ent-bg:#FAFAFA; --ent-side:#FAFAFA; --ent-bd:#FAFAFA;
    --bg:#FAFAFA; --card:#FAFAFA; --t:#1A1A1A; --m:#1A1A1A; --bd:#FAFAFA;
    --p:#1A1A1A; --brand:#6E6E6E;
  }
  /* 顶栏 / 底栏 / 二级导航：纸面细线，去玻璃去高光 */
  body.ent .ent-top{background:#FAFAFA!important;border-bottom:1px solid #E8E8E8!important}
  body.ent .topnav{background:#FAFAFA!important;border-top:1px solid #E8E8E8!important;box-shadow:none!important}
  body.ent .subnav{background:#FAFAFA!important}

  /* 二级导航与页签：不填充，墨字 + 底部墨线（这是顶部黑块的病根） */
  .subnav button{background:transparent!important;border:none!important;border-radius:2px!important;
    box-shadow:none!important;color:#1A1A1A!important;height:38px!important;
    border-bottom:2px solid transparent!important}
  .subnav button.on{background:transparent!important;border-bottom:1px solid #1A1A1A!important;
    color:#1A1A1A!important;font-weight:700!important;box-shadow:none!important}
  .chip{border-radius:2px!important;background:#FAFAFA!important;border:1px solid #E8E8E8!important;box-shadow:none!important}
  .chip.on{background:transparent!important;border:1px solid #1A1A1A!important;color:#1A1A1A!important;font-weight:700!important}
  .seg,.nq-seg{box-shadow:none!important;border:1px solid #E8E8E8!important;border-radius:2px!important;background:#FAFAFA!important}
  .seg button.on,.nq-seg button.on{background:#FAFAFA!important;border-color:#1A1A1A!important;color:#1A1A1A!important;font-weight:700!important}

  /* 导航图标：裸排，无圆豆无高光 */
  #topnav.topnav button:has(.ic),.subnav button:has(.ic),
  .hub-bar:not(.grid) button:has(.ic),.hub-bar.grid button:has(.ic){
    background:transparent!important;background-image:none!important;
    border:none!important;box-shadow:none!important;color:#1A1A1A!important;
  }
  #topnav.topnav button .ic,.subnav button .ic,
  .hub-bar:not(.grid) button .ic,.hub-bar.grid button .ic{
    width:26px!important;height:26px!important;flex:none!important;
    border-radius:2px!important;background:transparent!important;background-image:none!important;
    border:none!important;box-shadow:none!important;
  }
  #topnav.topnav button .ic svg,.subnav button .ic svg,
  .hub-bar button .ic svg,
  #topnav.topnav button .appic,.subnav button .appic,.hub-bar button .appic{
    width:22px!important;height:22px!important;
  }
  #topnav.topnav button.on,.hub-bar:not(.grid) button.on,.hub-bar.grid button.on{
    color:#1A1A1A!important;font-weight:700!important;
  }
  #topnav.topnav button.on .ic,.hub-bar button.on .ic{
    background:transparent!important;border:none!important;box-shadow:none!important;color:#1A1A1A!important;
  }
  body.ent .topnav button{border-top:none!important}

  /* 悬浮球：纸底墨边，不再黑豆 */
  .fab{background:#FAFAFA!important;border:1px solid #1A1A1A!important;color:#1A1A1A!important;
    box-shadow:none!important;border-radius:50%!important}

  /* 技师四宫格：主键唯一用墨底，其余白纸细边 */
  .mb-act{background:#FAFAFA;border:1px solid #E8E8E8;border-radius:2px}
  .mb-act.primary{background:#1A1A1A;border-color:#1A1A1A}
  .mb-act.primary .tx{color:#FAFAFA}
  .mb-act.primary .sb{color:#6E6E6E}

  /* 手机上的主按钮：墨底方角统一 */
  button[data-ai="1"],.nq-btn,.bq-btn,.ctool-btn,.wt-btn,.td-btn,.hr-mini,.qs-tidy,.vf-btn,.fu-b,
  .nq-add,.nq-reset,.hr-viewbtn,.sal-mbtn,
  button:not([class]):not(#camSnap):not(.topnav button):not(.subnav button):not(.hub-bar button):not(.chip):not(.mi-chip):not(.mb-act){
    height:40px!important;min-height:40px!important;padding:0 18px!important;
    border-radius:2px!important;background:#1A1A1A!important;background-image:none!important;
    border:1px solid #1A1A1A!important;color:#FAFAFA!important;
    font-size:14px!important;font-weight:600!important;letter-spacing:.05em!important;
    text-shadow:none!important;box-shadow:none!important;
  }
  .btn.ghost,.btn.sm,.td-btn,.hr-mini,.qs-tidy,.hr-viewbtn,.sal-mbtn,.ctool-btn,.wt-btn,
  .nq-add,.nq-reset,.fu-b,.vf-btn{
    background:#FAFAFA!important;background-image:none!important;
    border:1px solid #E8E8E8!important;color:#1A1A1A!important;
  }
  .btn.sm{height:32px!important;min-height:32px!important;padding:0 12px!important;font-size:12px!important}

  /* 提示条：细线不虚线 */
  .pc-tip{background:#FAFAFA!important;border:1px solid #E8E8E8!important;border-radius:2px!important}

  /* 顶栏右侧圆钮与汉堡键：裸图标，不再立体圆豆 */
  body.ent .ent-top-r button,body.ent .ent-top-r .ent-bell,
  body.ent .ent-burger,body.ent .ent-show{
    background:transparent!important;background-image:none!important;
    border:none!important;box-shadow:none!important;
  }
  body.ent .ent-top-r button:active,body.ent .ent-burger:active{background:#FAFAFA!important}

  /* 底栏：连子元素一起拍平，金属豆的最后残留 */
  body.ent .topnav button, body.ent .topnav button *{
    background:transparent!important;background-image:none!important;
    box-shadow:none!important;text-shadow:none!important;
  }
  body.ent .topnav button{border:none!important}
  body.ent .topnav button.on{color:#1A1A1A!important;font-weight:700!important}
}



/* ===== 新建报价：电脑 / 手机 同一张纸 =====
   一页只留三种字：13.5 标题、13 正文与输入、11.5 注释；
   19 只给「价税合计」一个数字。框一律 2px 方角 + 1px 细线，
   没有圆豆、渐变、投影，形状不再互相打架。
   面板标题已写着 ①②③，步骤条是第三遍重复，两端一并撤掉。 */
#main:has(.nq-hd) .nq-step{display:none!important}
#main:has(.nq-hd) *{
  font-size:12px!important;letter-spacing:.02em!important;
  border-radius:2px!important;box-shadow:none!important;text-shadow:none!important;
}
#main:has(.nq-hd) input,#main:has(.nq-hd) select,#main:has(.nq-hd) textarea{
  font-family:inherit!important;font-size:12px!important;
  height:36px!important;min-height:36px!important;box-sizing:border-box!important;
  border:1px solid #E8E8E8!important;border-radius:2px!important;
  background:#FAFAFA!important;color:#1A1A1A!important;box-shadow:none!important;
  padding:0 9px!important;
}
#main:has(.nq-hd) textarea{height:auto!important;min-height:62px!important;padding:8px 9px!important}
#main:has(.nq-hd) input:focus,#main:has(.nq-hd) select:focus,#main:has(.nq-hd) textarea:focus{
  border-color:#1A1A1A!important;outline:none!important;
}
#main:has(.nq-hd) input::placeholder,#main:has(.nq-hd) textarea::placeholder{color:#9E9E9E!important}
/* 配件名称：像在纸上直接写，不要框 */
#main:has(.nq-hd) .nq-nm{
  border:0!important;background:transparent!important;
  height:auto!important;min-height:0!important;padding:0!important;
  font-size:12px!important;font-weight:600!important;
}
#main:has(.nq-hd) .nq-est input{height:26px!important;min-height:26px!important;width:64px!important;padding:0 4px!important}
#main:has(.nq-hd) .nq-g2 label input,
#main:has(.nq-hd) .nq-g3 input,
#main:has(.nq-hd) .nq-g4 input,
#main:has(.nq-hd) .nq-g4 select,
#main:has(.nq-hd) .nq-fl input{height:36px!important;min-height:36px!important}

/* 一档标题 13.5 */
#main:has(.nq-hd) .nq-hd-t,
#main:has(.nq-hd) .panel h3,
#main:has(.nq-hd) .nq-fold-t b,
#main:has(.nq-hd) .nq-empty-t{
  font-size:14px!important;font-weight:600!important;letter-spacing:.05em!important;
  color:#1A1A1A!important;line-height:1.5!important;
}
/* 一档注释 11.5（纯文字，不含可点击控件） */
#main:has(.nq-hd) .nq-hd-s,
#main:has(.nq-hd) .panel h3 em,
#main:has(.nq-hd) .nq-fold-t em,
#main:has(.nq-hd) .nq-fold-b,
#main:has(.nq-hd) .nq-sum-r,
#main:has(.nq-hd) .nq-sum-c,
#main:has(.nq-hd) .nq-outfoot,
#main:has(.nq-hd) .nq-sec label span,
#main:has(.nq-hd) .nq-amt span,
#main:has(.nq-hd) .nq-opts-t,
#main:has(.nq-hd) .nq-opt-t,
#main:has(.nq-hd) .nq-pick-l,
#main:has(.nq-hd) .nq-pick-hint,
#main:has(.nq-hd) .nq-taxl,
#main:has(.nq-hd) .nq-taxhint,
#main:has(.nq-hd) .nq-fl span,
#main:has(.nq-hd) .nq-fl-hint,
#main:has(.nq-hd) .nq-list-h,
#main:has(.nq-hd) .nq-lib-foot,
#main:has(.nq-hd) .nq-item-d,
#main:has(.nq-hd) .nq-libitem-d,
#main:has(.nq-hd) .nq-libitem-n em,
#main:has(.nq-hd) .nq-libitem-r span,
#main:has(.nq-hd) .nq-cust-d,
#main:has(.nq-hd) .nq-cust-a,
#main:has(.nq-hd) .nq-cust-t span,
#main:has(.nq-hd) .nq-empty,
#main:has(.nq-hd) .nq-empty2,
#main:has(.nq-hd) .nq-empty-s,
#main:has(.nq-hd) .nq-sug-empty,
#main:has(.nq-hd) .nq-cv,
#main:has(.nq-hd) .nq-lift-hist,
#main:has(.nq-hd) .nq-est,
#main:has(.nq-hd) .nq-est-u,
#main:has(.nq-hd) .nq-est-t,
#main:has(.nq-hd) .nq-warn,
#main:has(.nq-hd) .nq-dtag,
#main:has(.nq-hd) .nq-dnote,
#main:has(.nq-hd) .nq-last,
#main:has(.nq-hd) .nq-paper-hd em,
#main:has(.nq-hd) .nq-paper-nm>span,
#main:has(.nq-hd) .nq-pwarn,
#main:has(.nq-hd) .nq-qcard-no,
#main:has(.nq-hd) .nq-qcard-meta,
#main:has(.nq-hd) .nq-reset,
#main:has(.nq-hd) .nq-libitem-n,
#main:has(.nq-hd) .hint{
  font-size:12px!important;font-weight:400!important;line-height:1.65!important;
}
/* 唯一允许放大的数字 */
#main:has(.nq-hd) .nq-sum-t b{
  font-size:20px!important;font-weight:300!important;letter-spacing:-.02em!important;
  color:#1A1A1A!important;font-variant-numeric:tabular-nums;
}
#main:has(.nq-hd) .nq-sum-t span{font-size:12px!important;font-weight:600!important}

/* 面板与卡片：一道细边、2px 方角、纸底 */
#main:has(.nq-hd) .panel,
#main:has(.nq-hd) .nq-row,
#main:has(.nq-hd) .nq-taxbox,
#main:has(.nq-hd) .nq-paper,
#main:has(.nq-hd) .nq-lift-wrap,
#main:has(.nq-hd) .nq-sug{
  border:1px solid #E8E8E8!important;border-radius:2px!important;
  background:#FAFAFA!important;box-shadow:none!important;
}
/* 核心：配件明细 —— 墨边 + 朱方点，一眼看到该从哪下手 */
#main:has(.nq-hd) .nq-sec-main{border:1px solid #1A1A1A!important;background:#FAFAFA!important}
#main:has(.nq-hd) .nq-sec-main > h3::before{
  content:"";display:inline-block;width:6px;height:6px;
  background:#6E6E6E;margin-right:8px;vertical-align:2px;
}
/* 头像去蓝绿渐变，回到纸面 */
#main:has(.nq-hd) .nq-cust-av,
#main:has(.nq-hd) .nq-item-av,
#main:has(.nq-hd) .nq-item.new .nq-item-av{
  background:#FAFAFA!important;background-image:none!important;color:#1A1A1A!important;
}

/* 按钮：一律 36px 高、2px 方角、1px 细线，纸底墨字 */
#main:has(.nq-hd) .nq-btn,
#main:has(.nq-hd) .nq-add,
#main:has(.nq-hd) .nq-reset,
#main:has(.nq-hd) .nq-cat,
#main:has(.nq-hd) .nq-sug-new,
#main:has(.nq-hd) .nq-seg button{
  height:36px!important;min-height:36px!important;
  border:1px solid #E8E8E8!important;border-radius:2px!important;
  background:#FAFAFA!important;color:#1A1A1A!important;
  font-size:12px!important;font-weight:500!important;letter-spacing:.04em!important;
  box-shadow:none!important;
}
#main:has(.nq-hd) .nq-btn.primary{
  background:#1A1A1A!important;border-color:#1A1A1A!important;color:#FFFFFF!important;
  font-size:14px!important;font-weight:600!important;letter-spacing:.08em!important;
}
#main:has(.nq-hd) .nq-btn:active{transform:none!important}
/* 分段控件：外框一道线，内部只留分隔线 */
#main:has(.nq-hd) .nq-seg{border:1px solid #E8E8E8!important;background:#FAFAFA!important;overflow:hidden!important}
#main:has(.nq-hd) .nq-seg button{border:0!important;border-right:1px solid #E8E8E8!important}
#main:has(.nq-hd) .nq-seg button:last-child{border-right:0!important}
/* 小标签：同样的形状语言，只是按功能缩小 */
#main:has(.nq-hd) .nq-opt,
#main:has(.nq-hd) .nq-pchip,
#main:has(.nq-hd) .nq-cv,
#main:has(.nq-hd) .nq-lift-chip,
#main:has(.nq-hd) .nq-last,
#main:has(.nq-hd) .nq-dtag,
#main:has(.nq-hd) .nq-ok{
  height:auto!important;min-height:0!important;
  border:1px solid #E8E8E8!important;border-radius:2px!important;
  background:#FAFAFA!important;color:#1A1A1A!important;
  font-size:12px!important;font-weight:500!important;padding:2px 7px!important;
}
/* 选中：墨字 + 墨边，不做蓝绿填充 */
#main:has(.nq-hd) .nq-seg button.on,
#main:has(.nq-hd) .nq-opt.on,
#main:has(.nq-hd) .nq-cat.on,
#main:has(.nq-hd) .nq-pchip.on,
#main:has(.nq-hd) .nq-libitem.picked{
  background:#FAFAFA!important;color:#1A1A1A!important;
  border-color:#1A1A1A!important;font-weight:600!important;
}

/* 抽屉：这段原来只写在桌面段里，手机端没有 —— 补齐，两端一致 */
#main:has(.nq-hd) .nq-fold-hd{
  display:flex!important;align-items:center!important;justify-content:space-between!important;
  gap:12px!important;cursor:pointer!important;user-select:none!important;
  padding:2px 0!important;margin:0!important;
}
#main:has(.nq-hd) .nq-fold-t{display:flex!important;align-items:baseline!important;gap:9px!important;min-width:0!important}
#main:has(.nq-hd) .nq-fold-t em{
  font-style:normal!important;color:#1A1A1A!important;
  overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;
}
#main:has(.nq-hd) .nq-fold-b{
  flex:0 0 auto!important;color:#6E6E6E!important;
  border-bottom:1px solid rgba(110,110,110,.35)!important;padding-bottom:1px!important;
}
#main:has(.nq-hd) .nq-fold-bd{padding-top:8px!important}
#main:has(.nq-hd) .nq-fold-sub{
  border-top:1px solid #E8E8E8!important;margin-top:14px!important;padding-top:11px!important;
}
#main:has(.nq-hd) .nq-fold.open .nq-fold-hd,
#main:has(.nq-hd) .nq-fold-sub.open .nq-fold-hd{margin-bottom:11px!important}

/* 手机（≤899px）：单列顺着读，配件在上、客户与出单在下，不设内滚 */
@media (max-width:899px){
  #main:has(.nq-hd) .nq-cols{display:block!important}
  #main:has(.nq-hd) .nq-colL,
  #main:has(.nq-hd) .nq-colR{
    display:block!important;height:auto!important;min-height:0!important;overflow:visible!important;
  }
  #main:has(.nq-hd) .nq-colL > .panel,
  #main:has(.nq-hd) .nq-colR > .panel{margin-bottom:12px!important}
  #main:has(.nq-hd) .nq-sec-main{
    flex:none!important;height:auto!important;min-height:0!important;overflow:visible!important;
  }
  #main:has(.nq-hd) .nq-sec-main > h3,
  #main:has(.nq-hd) .nq-sec-main > .nq-addbtns{position:static!important}
}

/* 桌面段 ⑨ 控件用了 5 个 :not() 把 input 压到 12.5px（权重 1,5,1），
   上面那套统一规则压不住，结果桌面与手机输入框不同档。
   这里用双 ID 前缀把两端拉回同一档；checkbox / radio 排除，别把勾选框撑成 36px。 */
#main#main:has(.nq-hd) input:not([type="checkbox"]):not([type="radio"]),
#main#main:has(.nq-hd) select,
#main#main:has(.nq-hd) textarea{
  font-size:12px!important;letter-spacing:.02em!important;
  height:36px!important;min-height:36px!important;box-sizing:border-box!important;
  border:1px solid #E8E8E8!important;border-radius:2px!important;
  background:#FAFAFA!important;color:#1A1A1A!important;
  box-shadow:none!important;padding:0 9px!important;
}
#main#main:has(.nq-hd) input:not([type="checkbox"]):not([type="radio"]):focus,
#main#main:has(.nq-hd) select:focus,
#main#main:has(.nq-hd) textarea:focus{border-color:#1A1A1A!important;outline:none!important}
#main#main:has(.nq-hd) textarea{height:auto!important;min-height:62px!important;padding:8px 9px!important}
#main#main:has(.nq-hd) input.nq-nm:not([type="checkbox"]):not([type="radio"]){
  font-size:12px!important;font-weight:600!important;
  border:0!important;background:transparent!important;
  height:auto!important;min-height:0!important;padding:0!important;
}
#main#main:has(.nq-hd) .nq-est input:not([type="checkbox"]):not([type="radio"]){
  height:26px!important;min-height:26px!important;width:64px!important;padding:0 4px!important;
}

/* ---------- 配件行瘦身（2026-11-04） ----------
   一行原来摊 9 个输入框，手机上 440 像素高，两个配件就占一屏半。
   现在一行只问三件事：几个、多少钱、这一行多少钱 —— 70 像素填完。
   型号 / 采购价 / 维修明细 / 备注收进下面那道抽屉，要才点开。 */
#main:has(.nq-hd) .nq-row-key{
  display:grid;grid-template-columns:72px minmax(0,1fr) 94px;
  gap:8px;align-items:end;margin-top:8px;
}
/* 电脑上：一行横着填完 —— 名称、数量、单价、含税、小计一条线。
   屏宽 1000 像素还要竖着排三格，等于把一行的事拆成三行看。 */
@media (min-width:900px){
  #main:has(.nq-hd) .nq-row-hd{ margin-bottom:0; }
  #main:has(.nq-hd) .nq-row{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) 66px minmax(0,150px) 96px;
    grid-template-areas:
      "nm qty price amt"
      "more more more more"
      "chips chips chips chips";
    column-gap:12px;row-gap:0;align-items:end;
  }
  #main:has(.nq-hd) .nq-row-hd{grid-area:nm;align-self:end;padding-bottom:2px}
  #main:has(.nq-hd) .nq-row-key{display:contents}
  #main:has(.nq-hd) .nq-row-key .nq-kq{grid-area:qty;display:flex;flex-direction:column;gap:3px}
  #main:has(.nq-hd) .nq-row-key .nq-kp{grid-area:price;display:flex;flex-direction:column;gap:3px}
  #main:has(.nq-hd) .nq-row-key .nq-kamt{grid-area:amt;display:flex!important;
    flex-direction:column!important;justify-content:flex-end;align-items:flex-end;gap:4px}
  #main:has(.nq-hd) .nq-kamt b{padding:0 0 8px!important}
  #main:has(.nq-hd) .nq-row-more{grid-area:more}
  #main:has(.nq-hd) .nq-opts{grid-area:chips}
  #main:has(.nq-hd) .nq-row-hd .nq-nm{height:36px!important;border-bottom:1px solid #E8E8E8!important;padding:0 2px!important}
/* 电脑上配件区不必拉满整页宽：一条 1200 的行，名称框会被拉成一米长。
   收在 1000 以内，三块面板同宽，眼睛一条直线往下走。 */
#main:has(.nq-hd) .nq-sec,
#main:has(.nq-hd) .nq-libsec{ max-width:1040px; }
/* 电脑上「含税?」不要压住输入框里的数字：让出右侧 40 像素 */
#main:has(.nq-hd) .nq-row-hd .nq-del{ order:0 }
}
#main:has(.nq-hd) .nq-row-key label{
  display:flex!important;flex-direction:column!important;align-items:stretch!important;
  gap:3px!important;min-width:0;
}
#main:has(.nq-hd) .nq-row-key label>span{
  display:flex;align-items:baseline;gap:5px;margin:0;
  font-size:12px;color:#1A1A1A;letter-spacing:.08em;white-space:nowrap;
}
#main:has(.nq-hd) .nq-row-key input{width:100%;font-variant-numeric:tabular-nums}
#main:has(.nq-hd) .nq-kp input{font-size:14px!important;font-weight:700!important}
#main:has(.nq-hd) .nq-ktax{font-style:normal;font-size:12px;color:#9E9E9E;letter-spacing:.12em}
#main:has(.nq-hd) .nq-kp .nq-dtag{margin-left:auto;font-size:12px;letter-spacing:.1em}
/* 「含税?」做成输入框右端的一格，不另占一行 */
#main:has(.nq-hd) .nq-pwrap{position:relative;display:block}
#main:has(.nq-hd) .nq-pwrap input{padding-right:40px!important}
#main:has(.nq-hd) .nq-cvmini{
  position:absolute;right:1px;top:1px;bottom:1px;width:38px;padding:0;
  border:none!important;border-left:1px solid #E8E8E8!important;background:#FAFAFA!important;
  font-family:inherit;font-size:12px!important;color:#1A1A1A!important;letter-spacing:0!important;
  line-height:1;
}
#main:has(.nq-hd) .nq-cvmini:active{background:#FAFAFA!important;color:#6E6E6E!important}
#main:has(.nq-hd) .nq-kamt{
  display:flex!important;flex-direction:column;justify-content:flex-end;align-items:flex-end;
  gap:4px;padding-bottom:0;
}
#main:has(.nq-hd) .nq-kamt b{
  font-size:14px!important;font-weight:700;line-height:1;padding:0 0 8px!important;
  font-variant-numeric:tabular-nums;
}
/* 含税折算从单价标签里挪出来：一行小字，不挤在「单价」两个字后面 */
#main:has(.nq-hd) .nq-cvline{
  margin:7px 0 0!important;padding:0!important;border:none!important;background:none!important;
  font-size:12px!important;color:#1A1A1A!important;letter-spacing:.04em!important;text-align:left!important;
}
#main:has(.nq-hd) .nq-cvline:active{color:#6E6E6E!important}
/* 客户列表一进来就摆出来，但别把下面的配件顶出屏幕：
   电脑 160 够扫五六个项目，手机 230 够扫七八个。 */
#main:has(.nq-hd) .nq-list{max-height:160px!important}
@media (max-width:899px){
  #main:has(.nq-hd) .nq-list{max-height:230px!important}
}
/* 抽屉：一条虚线 + 一行灰字，点一下展开 */
#main:has(.nq-hd) .nq-row-more{margin-top:9px;border-top:1px solid #E8E8E8}
#main:has(.nq-hd) .nq-row-more-hd{
  display:flex;align-items:center;justify-content:space-between;gap:8px;
  padding:7px 0 5px;font-size:12px;color:#1A1A1A;letter-spacing:.06em;cursor:pointer;
}
#main:has(.nq-hd) .nq-row-more-hd em{font-style:normal;color:#6E6E6E;margin-left:6px;letter-spacing:.04em}
#main:has(.nq-hd) .nq-row-more-hd i{font-style:normal;font-size:12px;}
#main:has(.nq-hd) .nq-row-more.open .nq-row-more-hd i{transform:rotate(180deg)}
#main:has(.nq-hd) .nq-row-more-bd{display:none;padding:3px 0 1px}
#main:has(.nq-hd) .nq-row-more.open .nq-row-more-bd{display:block}
#main:has(.nq-hd) .nq-row-more-bd .nq-g2,
#main:has(.nq-hd) .nq-row-more-bd .nq-g3{margin-bottom:8px}
#main:has(.nq-hd) .nq-rk{display:flex!important;flex-direction:row!important;align-items:center!important;gap:7px;margin-bottom:2px}
#main:has(.nq-hd) .nq-rk>span{flex:0 0 auto;font-size:12px;color:#1A1A1A;letter-spacing:.06em}
#main:has(.nq-hd) .nq-rk input{flex:1 1 auto;min-width:0;height:32px!important}



/* ===== 按钮 · 日式工艺（电脑 / 手机同款） =====
   日式按钮不靠色块大小分主次，靠线的轻重、字的疏密、一点朱红：
   ① 字距放宽到 .12~.18em，像活字刻出来的
   ② 选中一律不填充，只落一道墨线（与页签同一套）
   ③ 按压不缩放不位移，只把线加深
   ④ 全页唯一实心块留给出单，做成「黑印章」：细纸色内框 + 纸色字
   ⑤ 朱红只用在 ＋ 与折叠题签，一页两点 */
#main#main:has(.nq-hd) button{font-family:inherit!important;cursor:pointer!important}

/* A 一般按钮：纸底、一道细线、宽字距 */
#main#main:has(.nq-hd) .nq-btn:not(.primary),
#main#main:has(.nq-hd) .nq-add,
#main#main:has(.nq-hd) .nq-reset,
#main#main:has(.nq-hd) .nq-cat,
#main#main:has(.nq-hd) .nq-sug-new,
#main#main:has(.nq-hd) .nq-opt,
#main#main:has(.nq-hd) .nq-pchip,
#main#main:has(.nq-hd) .nq-lift-chip,
#main#main:has(.nq-hd) .nq-cv,
#main#main:has(.nq-hd) .nq-x,
#main#main:has(.nq-hd) .nq-del{
  font-weight:500!important;letter-spacing:.12em!important;
  border:1px solid #E8E8E8!important;border-radius:2px!important;
  background:#FAFAFA!important;color:#1A1A1A!important;
  box-shadow:none!important;text-shadow:none!important;
  transform:none!important;transition:none!important;
}
/* 次要的一档：线更淡、字更轻 */
#main#main:has(.nq-hd) .nq-add.ghost,
#main#main:has(.nq-hd) .nq-btn:not(.primary),
#main#main:has(.nq-hd) .nq-reset,
#main#main:has(.nq-hd) .nq-x{color:#1A1A1A!important;border-color:#FAFAFA!important}
/* 删除键不用红底，hover 才显朱 */
#main#main:has(.nq-hd) .nq-del{color:#1A1A1A!important;font-size:12px!important}
#main#main:has(.nq-hd) .nq-pl{
  font-style:normal!important;font-weight:300!important;color:#6E6E6E!important;
  margin-right:7px!important;letter-spacing:0!important;
}
/* 留白：大按钮 16，小标签 11 */
#main#main:has(.nq-hd) .nq-btn,
#main#main:has(.nq-hd) .nq-add,
#main#main:has(.nq-hd) .nq-reset,
#main#main:has(.nq-hd) .nq-sug-new{padding:0 16px!important}
#main#main:has(.nq-hd) .nq-cat,
#main#main:has(.nq-hd) .nq-opt,
#main#main:has(.nq-hd) .nq-pchip,
#main#main:has(.nq-hd) .nq-lift-chip,
#main#main:has(.nq-hd) .nq-cv{padding:0 11px!important}

/* B 主动作：一枚黑印章 */
#main#main:has(.nq-hd) .nq-btn.primary{
  background:#1A1A1A!important;border:1px solid #1A1A1A!important;
  color:#FAFAFA!important;font-size:14px!important;font-weight:600!important;
  letter-spacing:.18em!important;
  box-shadow:none!important;
  transform:none!important;transition:none!important;
}
#main#main:has(.nq-hd) .nq-btn.primary:active{
  background:#1A1A1A!important;transform:none!important;
  box-shadow:none!important;
}

/* C 分段控件：槽一道线，每格无框，选中只在底部落一道墨线 */
#main#main:has(.nq-hd) .nq-seg{
  border:1px solid #E8E8E8!important;border-radius:2px!important;
  background:#FAFAFA!important;box-shadow:none!important;
}
#main#main:has(.nq-hd) .nq-seg button{
  border:0!important;border-right:1px solid #E8E8E8!important;border-radius:2px!important;
  background:transparent!important;color:#1A1A1A!important;
  font-size:12px!important;font-weight:500!important;letter-spacing:.1em!important;
  box-shadow:none!important;transform:none!important;transition:none!important;
}
#main#main:has(.nq-hd) .nq-seg button:last-child{border-right:0!important}
#main#main:has(.nq-hd) .nq-seg button.on{
  background:transparent!important;color:#1A1A1A!important;font-weight:600!important;
  box-shadow:none!important;
}

/* D 选中：不填充，只留一道墨线 */
#main#main:has(.nq-hd) .nq-cat.on,
#main#main:has(.nq-hd) .nq-opt.on,
#main#main:has(.nq-hd) .nq-pchip.on{
  background:#FAFAFA!important;color:#1A1A1A!important;
  border-color:#1A1A1A!important;font-weight:600!important;
  box-shadow:none!important;
}
#main#main:has(.nq-hd) .nq-libitem.picked{
  background:#FAFAFA!important;border-left:1px solid #E8E8E8!important;
  box-shadow:none!important;
}

/* E 折叠题签：朱红细字 + 一道极细线 */
#main#main:has(.nq-hd) .nq-fold-b{
  color:#6E6E6E!important;letter-spacing:.16em!important;
  border-bottom:1px solid rgba(110,110,110,.28)!important;
  background:transparent!important;box-shadow:none!important;
}

/* F 按压 / 悬停：只换线的深浅，不缩放不位移 */
#main#main:has(.nq-hd) button:active{transform:none!important}
#main#main:has(.nq-hd) .nq-btn:not(.primary):active,
#main#main:has(.nq-hd) .nq-add:active,
#main#main:has(.nq-hd) .nq-reset:active,
#main#main:has(.nq-hd) .nq-cat:active,
#main#main:has(.nq-hd) .nq-opt:active{
  background:#FAFAFA!important;border-color:#1A1A1A!important;
}
@media (hover:hover){
  #main#main:has(.nq-hd) .nq-btn:not(.primary):hover,
  #main#main:has(.nq-hd) .nq-add:hover,
  #main#main:has(.nq-hd) .nq-reset:hover,
  #main#main:has(.nq-hd) .nq-cat:hover{background:#FAFAFA!important;border-color:#1A1A1A!important}
  #main#main:has(.nq-hd) .nq-fold-hd:hover .nq-fold-b{color:#1A1A1A!important;border-bottom-color:#1A1A1A!important}
  #main#main:has(.nq-hd) .nq-del:hover{color:#6E6E6E!important;border-color:#6E6E6E!important}
}


/* ================================================================
   全站统一设计层（日式 · 乔布斯减法）2026-11-03
   ----------------------------------------------------------------
   一张和纸铺满全站：2px 方角、纸底墨字、朱红点缀、无渐变无投影。
   按钮统一为「淡线纸底 / 黑印章主按钮」两味；选中只有一条墨线，
   不填充；按压不缩放。报价页先走通的那套口径，在这里推广到
   #main、弹窗、plain 模式的每一个页面。
   留圆的只有：FAB、语音日报录音键、通知红点、头像、单选、滚动条。
   ================================================================ */

/* 0. 调色：墨与朱 */
:root{
  --p:#6E6E6E!important;--pd:#6E6E6E!important;
  --bg:#FAFAFA!important;--card:#FAFAFA!important;
  --t:#1A1A1A!important;--m:#1A1A1A!important;--bd:#FAFAFA!important;
  --soft-bean:none!important;--soft-press:none!important;
}

/* 1. 去油 + 2. 方角：一条高权重兜底（0,1,3），压过所有单类 !important 段。
      留圆/留图的（圆点、头像、单选、录音键、FAB、LOGO、下拉箭头）全部排除。 */
html body *:not(.fab):not(.bot-fab):not(.qs-mic):not(.uinfo):not(.twr-av):not(.ent-u):not(.sys-m-radio):not(.sw-step):not(.nq-step):not(.bq-close):not(.dc-ic):not(.qc-rk):not(.dk-trig):not(.ic3):not(.fin-todo-ic):not(.hp-step):not(.dot):not(.fu-dot):not(.oq-d):not(.ds-lv):not(.pi-todo-d):not(.qs-lv-dot):not(.fin-dot):not(.pb-dot):not(.bv-ni):not(.ent-logo):not(.qx-logo):not(.bq-pf-sel):not(.nq-g4):not(.hub-bar.grid):not(#dk-grid):not(.bot-chat-cta):not(.xbar):not(.sw-hero):not(svg):not(svg *):not(#dx):not(#dx *){
  /* 2026-11-14 · V1.0：这里原来强制全站 2px 圆角，把新设计的 4/8/12 全压平了。
     圆角改由 v1.css 按组件定义，本规则不再干预。 */
  background-image:none!important;
  box-shadow:none!important;
  text-shadow:none!important;
}
#main .panel,#main .card,#main .box,#main .blk{border-radius:2px!important}

/* 2b. 该圆的留圆（:is 取参数最高权重，稳压上面的兜底） */
html body :is(.fab,.bot-fab,.qs-mic,.uinfo .av,.twr-av,.ent-u .av,
.sys-m-radio,.sw-step .no,.nq-step-i,.bq-close,.fu-dot,.oq-d,.ds-lv,
.pi-todo-d,.qs-lv-dot,.fin-dot,.fin-todo-ic i,.pb-dot,.bv-ni,.dc-ic,.qc-rk,
.dk-trig .cv,.hp-step i,.dot,.ent-bell .dot,.bot-fab .dot,
.hub-bar.grid button .ic,#dk-grid .dk-b i){
  border-radius:50%!important;
}
html body .sys-m-radio.on::after{border-radius:50%!important}
html body .ent-u-dot{border-radius:2px!important}   /* 角标小胶囊：字的形状，不是按钮 */
html body .dot,html body .ent-bell .dot,html body .bot-fab .dot,html body .ent-u .dot,html body .ent-u-dot{
  box-shadow:none!important}   /* 红点不带光晕 */
body .ent-bell{background-image:none!important}
/* 账龄小圆点：去玻璃珠高光，留一颗素色圆 */
html body .fin-dot,html body .fin-todo-ic i,html body .fin-todo-ic i.hot{
  background-image:none!important;box-shadow:none!important;
}
html body .fin-dot{background:#1A1A1A!important}
html body .fin-todo-ic i{background:#9E9E9E!important}
html body .fin-todo-ic i.hot{background:#6E6E6E!important}
*::-webkit-scrollbar-thumb{border-radius:999px!important}

/* 2c. 顶栏：旧桌面皮肤是 body.ent 前缀（0,2,1），同权重后置收口 */
body.ent .ent-top,body.ent .ent-search,body.ent .ent-show,body.ent .ent-help,
body.ent .ent-bell,body.ent .ent-burger,body.ent .ent-brand,body.ent .ent-sub,
body .ent-top,body .ent-search,body .ent-show,body .ent-help,
body .ent-bell,body .ent-burger,body .ent-brand,body .ent-sub{
  border-radius:2px!important;box-shadow:none!important;
  background-image:none!important;text-shadow:none!important;
}
body.ent .ent-top .ent-show,body.ent .ent-top .ent-help,body.ent .ent-top .ent-bell{
  border-radius:2px!important;background-image:none!important;box-shadow:none!important;
}
body.ent .ent-search:focus-within{box-shadow:none!important;border-color:#1A1A1A!important}
body .ent-sub.on{box-shadow:none!important}

/* 3. 按钮：淡线纸底，宽字距，按压不缩放 */
body .btn,body .btn.sm,body .btn.sm.ghost,body .btn.sm.danger,
body .btn.sm.green,body .btn.sm.primary,body .btn.lg,
#main .btn,#main .btn.sm,#main .btn.sm.ghost,#main .btn.sm.danger,
#main .btn.sm.green,#main .btn.sm.primary,#main .btn.lg,
#main .td-btn,#main .hr-mini,
#main button,.mask button,#mbox button,#mbg button{
  border-radius:2px!important;
  height:auto!important;min-height:0!important;max-height:none!important;
  background:#FAFAFA!important;background-image:none!important;
  border:1px solid #E8E8E8!important;
  color:#1A1A1A!important;font-weight:600!important;
  letter-spacing:.12em!important;
  box-shadow:none!important;text-shadow:none!important;
  transform:none!important;
}
/* 触控兜底：弹窗和页面里的操作钮不能小于 40px，
   否则手机上手指按不中。全局皮肤的那条 min-height:0 被这里压回去。
   排除：× 关闭钮(.dl-x)、chip/tab 筛选钮(.chip,.seg button,.subnav button,.fu-b:not(.wide)) */
#mbox .btn,#mbg .btn,#mbox .fu-b.wide,#mbg .fu-b.wide,
#mbox button.btn:not(.dl-x),#mbg button.btn:not(.dl-x),
#main .btn:not(.chip):not(.seg button):not(.subnav button):not(.dl-x),
#main .nq-add,#main .nq-reset,#main .hr-viewbtn,#main .sal-mbtn,
#main .ctool-btn:not(.chip),#main .vf-btn,#main .qs-tidy{
  min-height:40px!important;padding-top:10px!important;padding-bottom:10px!important;
  font-size:14px!important;
}
/* 3a. data-ai 按钮：默认纸底细线；只有明确 primary 的才配做黑印章。
   旧桌面皮肤把所有 data-ai 都刷成墨底（#main button[data-ai="1"]，1,1,1），
   这里用 (1,2,x) 后置压掉 —— 乔布斯军规：一页一个黑印章。 */
#main button[data-ai="1"]:not([data-kind="primary"]),#main button[data-ai="1"][data-kind="ghost"],
#main button[data-ai="1"][data-kind="danger"],#main button[data-ai="1"][data-kind="green"]{
  background:#FAFAFA!important;background-image:none!important;
  border:1px solid #E8E8E8!important;color:#1A1A1A!important;
  box-shadow:none!important;
}
#main button[data-ai="1"][data-kind="danger"]{color:#6E6E6E!important;border-color:#6E6E6E!important}
#main button[data-ai="1"][data-kind="green"]{color:#1A1A1A!important;border-color:#1A1A1A!important}
/* chip 选中：墨线不填充（旧皮肤 .chip.on 是实底填充） */
#main .chip.on,body .chip.on,body .fchips .chip.on{
  background:#FAFAFA!important;color:#1A1A1A!important;
  border-color:#FAFAFA!important;font-weight:600!important;
  box-shadow:none!important;
}

/* 3a2. 选中态与工具钮的最后收口（旧桌面段把 hub 页签/chip 选中也刷成墨底） */
#main .hub-bar button.on,#main .hub-bar.grid button.on,
#main .hub-bar button:has(.ic).on,#main .hub-bar.grid button:has(.ic).on,
#main .chip.on,#main .fchips .chip.on,#main .dk-bar .chip.on,
#main .nq-cat.on,#main .tag-btn.on,#main .filt.on,#main .qs-q.on{
  background:#FAFAFA!important;background-image:none!important;
  border:1px solid #E8E8E8!important;color:#1A1A1A!important;
  box-shadow:none!important;
}
#main .ctool-btn,#main .wt-btn,#main .bq-btn,#main .vf-btn,#main .fu-b,
#main .qs-tidy,#main .hr-viewbtn,#main .sal-mbtn,#main .nq-add,#main .nq-reset,
#main .nq-btn:not(.primary){
  background:#FAFAFA!important;background-image:none!important;
  border:1px solid #E8E8E8!important;color:#1A1A1A!important;
  box-shadow:none!important;
}

/* 3b. 主按钮 = 黑印章 */
body .btn.primary,body .btn.sm.primary,body .btn.lg.primary,
#main button.primary,.hb-act button,.hb-act a,
.dk-done,#main .dk-done{
  background:#1A1A1A!important;background-image:none!important;
  border:1px solid #1A1A1A!important;
  color:#FAFAFA!important;font-weight:700!important;
  letter-spacing:.18em!important;
  box-shadow:none!important;
}
/* 3c. 顶栏小方钮与旧圆钮：一并方角 */
body .ent-burger,body .ent-show,body .ent-help,body .ent-bell{
  border-radius:2px!important;background-image:none!important;
  border:1px solid #E8E8E8!important;color:#1A1A1A!important;
  box-shadow:none!important;
}

/* 4. 选中态：墨线，不填充 */
#main .hub-bar button.on,#main .hub-bar.grid button.on,
body .nq-seg button.on,body .seg button.on,
body .nq-cat.on,body .nq-opt.on,body .nq-pchip.on,body .nq-libitem.picked{
  background:#FAFAFA!important;background-image:none!important;
  border-color:#FAFAFA!important;color:#1A1A1A!important;
  box-shadow:none!important;
}

/* 5. 进度条与横幅：胶囊收方条 */
.fin-bar,.fin-bar i,.qv-bar,.qv-bar i,.qc-bar,.qc-bar i,
.rv-cbar,.rv-cbar i,.bv-cov-b,.bv-bar,.bv-dl .tb,.bv-dl .tb i,.bv-rank,
body .fin-bar,body .qv-bar,body .qc-bar,body .rv-cbar,
body .hb-hero,body .fin-hero,body .fin-k,body .mi-chip,
body .nq-seg button,body .seg button,
#main .nq-seg button,#main .seg button,
body .hub-bar button,body .hub-bar.grid button,
#main .hub-bar button,#main .hub-bar.grid button{
  border-radius:2px!important;
}

/* 6. 输入件：三档字号里的正文档 */
#main input:not([type="checkbox"]):not([type="radio"]),
#main select,#main textarea,.mask input,.mask select,.mask textarea{
  border-radius:2px!important;
  background:#FAFAFA!important;background-image:none!important;
  box-shadow:none!important;
}
#main :is(input,select,textarea):focus,.mask :is(input,select,textarea):focus{
  box-shadow:none!important;border-color:#1A1A1A!important;outline:none!important;
}
#main .nq-qcard,#main .pc-tip,#main .tag,body .tag{border-radius:2px!important}

/* 9. 两端同一张纸：空明细时只留空态里那颗「＋ 加第一个配件」，
   底栏三键在两端一起收（桌面皮肤原来只在 min-width:900px 收）。 */
#main:has(.nq-hd) .nq-sec-main:has(.nq-empty) > .nq-addbtns{display:none!important}

/* 6b. 收回旧版金属豆的聚焦光圈 */
.bq-search:focus,.nq-g4 select:focus{box-shadow:none!important;border-color:#1A1A1A!important}

/* 7. 朱红细节：＋号与题签不动，这里只兜住被误伤的选中墨线与朱点 */
.qs-lv-dot,.fin-dot.on,.oq-d.on{background:#6E6E6E!important}
.nq-pl{color:#6E6E6E!important}

/* 8. 按压反馈：只加深线，不缩放 */
#main button:active,body .btn:active,.mask button:active{
  transform:none!important;
  box-shadow:none!important;
}
#main button.primary:active,body .btn.primary:active{
  box-shadow:none!important;
}


/* ================================================================
   客户台账（2026-11-04 重做）
   ----------------------------------------------------------------
   原来顶部三条横栏（观察条、搜索条、状态胶囊）各占一行，
   一条比一条松，第二条还没对齐；盒头只是一行字，卡片竖着堆、右边空一半。
   现在：一张控制台收住搜索+筛选+观察，下面按片区成「表」，
   每行三列（名字/地址 · 台量负责人 · 保养），竖线一拉扫到底。
   ================================================================ */

/* 控制台：一张纸，上搜索、下筛选 */
.cq-bar{background:#FAFAFA;border:1px solid #E8E8E8;border-radius:2px;padding:9px 10px;margin:0 0 12px}
.cq-top{display:flex;align-items:center;gap:8px}
.cq-search{flex:1;min-width:0;display:flex;align-items:center;gap:7px;
  height:34px;padding:0 10px;border:1px solid #E8E8E8;border-radius:2px;background:#FAFAFA;color:#9E9E9E}
.cq-search input{flex:1;min-width:0;border:0;outline:0;background:transparent;
  font-family:inherit;font-size:12px;color:#1A1A1A;height:100%;padding:0;box-shadow:none!important;border-radius:2px!important}
.cq-search input::placeholder{color:#9E9E9E}
.cq-search:focus-within{border-color:#1A1A1A;background:#FAFAFA}
.cq-ico{flex:none;width:34px;height:34px;display:inline-flex;align-items:center;justify-content:center;
  border:1px solid #E8E8E8;border-radius:2px;background:#FAFAFA;color:#1A1A1A;cursor:pointer}
.cq-ico:active{background:#FAFAFA}

/* 筛选：一段墨线，不填色 */
.cq-row{display:flex;align-items:center;gap:2px;flex-wrap:wrap;margin-top:8px;padding-top:8px;border-top:1px solid #E8E8E8}
.cq-sp{flex:1;min-width:6px}
.cq-f{border:0;background:transparent;font-family:inherit;font-size:12px;color:#1A1A1A;
  height:26px;padding:0 8px;border-radius:2px;cursor:pointer;letter-spacing:.02em;white-space:nowrap;
  border-bottom:2px solid transparent}
.cq-f b{font-weight:600;color:#1A1A1A;margin-left:4px;font-variant-numeric:tabular-nums}
.cq-f.on{color:#1A1A1A;font-weight:600;border-bottom-color:#1A1A1A}
.cq-f.on b{color:#6E6E6E}
.cq-f:active{background:#FAFAFA}
.cq-watch{display:inline-flex;align-items:center;gap:5px;border:1px solid #E8E8E8;background:#FAFAFA;
  height:26px;padding:0 9px;border-radius:2px;font-family:inherit;font-size:12px;color:#1A1A1A;cursor:pointer}
.cq-watch i{font-style:normal;font-size:12px;opacity:.7}
.cq-watch.on{color:#6E6E6E;border-color:#6E6E6E}

/* 客户总账：一张纸上的三列数，不画卡片、不上色块 */
.roll-bar{padding:0 2px 2px}
.roll-bar input{width:100%;box-sizing:border-box;height:34px;padding:0 11px;border:1px solid #E8E8E8;
  border-radius:2px;background:#FAFAFA;font-family:inherit;font-size:12px;color:#1A1A1A}
.roll-bar input::placeholder{color:#9E9E9E}
.roll-chips{display:flex;gap:2px;padding:6px 2px 8px;border-bottom:1px solid #E8E8E8;flex-wrap:wrap}
.roll-grid{display:grid;grid-template-columns:repeat(3,1fr);border:1px solid #E8E8E8;background:#FAFAFA;margin-bottom:6px}
.roll-k{padding:11px 9px 10px;border-right:1px solid #E8E8E8;text-align:center}
.roll-k:last-child{border-right:0}
.roll-k b{display:block;font-size:20px;font-weight:600;color:#1A1A1A;font-variant-numeric:tabular-nums;line-height:1.2}
.roll-k span{display:block;font-size:12px;color:#1A1A1A;margin-top:2px;letter-spacing:.03em}
.roll-k em{display:block;font-style:normal;font-size:12px;color:#9E9E9E;margin-top:3px}
.roll-ft{font-size:12px;color:#1A1A1A;padding:3px 2px 9px;line-height:1.8}
.roll-ft b{font-variant-numeric:tabular-nums}
.roll-row{background:#FAFAFA;border:1px solid #E8E8E8;border-bottom:0;padding:7px 11px;cursor:pointer}
.roll-row:last-of-type{border-bottom:1px solid #E8E8E8}
.roll-row:active{background:#FAFAFA}
.roll-nm b{font-size:14px;font-weight:600;color:#1A1A1A}
.roll-nm span{display:block;font-size:12px;color:#9E9E9E;margin-top:1px}
.roll-num{display:flex;gap:22px;margin-top:3px}
.roll-num>div{flex:0 0 auto;min-width:0;font-variant-numeric:tabular-nums}
.roll-num em{font-style:normal;font-size:12px;color:#9E9E9E;margin-right:3px}
.roll-num b{font-size:12px;font-weight:600;color:#1A1A1A}
.roll-num span{font-size:12px;color:#1A1A1A;margin-left:4px}
.roll-num .owe b,.roll-num .owe span{color:#6E6E6E}
.roll-none{font-size:12px;color:#9E9E9E;margin-top:3px}
.roll-tg{margin-top:5px;display:flex;gap:5px;flex-wrap:wrap}
.roll-tg .tag{font-size:12px;padding:1px 6px}

/* 制度库：人事的紫，别处不用这个色 */
.hrkb-hd{display:flex;gap:11px;align-items:center;background:#FAFAFA;border:1px solid #E8E8E8;
  padding:12px 13px;margin-bottom:9px}
.hrkb-av{flex:0 0 46px;height:46px;border-radius:50%;background:#FAFAFA;display:flex;align-items:center;
  justify-content:center;font-size:20px;border:1px solid #E8E8E8}
.hrkb-who b{font-size:14px;color:#1A1A1A}
.hrkb-who span{display:block;font-size:12px;color:#1A1A1A;margin-top:2px;line-height:1.6}

/* 结果计数 */
/* ===== 折扣滑块（2026-11-06 整改）=====
   卢师傅反馈：「滑动条宽一点，看不到，搞大一点，看不到」。
   原来用的是浏览器原生滑块：轨道 4px、圆点 20px，手指按住整个圆点就看不见了，
   墙上看着更是条细线。三个改动：
     · 轨道加粗到 10px，两头圆角，底色浅灰，已选段深蓝——一眼看出选到哪；
     · 圆点放大到 34px（远超过 24px 的最小触控目标），带白边和阴影，按下去还放大一圈；
     · 当前值不再只在左上角写着，滑块正下方给一行醒目大字，按住拖的时候也看得见。
   兼容：webkit（手机/Chrome）和 moz（Firefox）两套伪元素都要写。 */
input[type="range"].q-range,
input.q-range:not([type="checkbox"]):not([type="radio"]){
  -webkit-appearance:none;appearance:none;width:100%;height:34px;
  background:transparent!important;border:none!important;box-shadow:none!important;
  margin:6px 0 2px;padding:0!important;cursor:pointer;outline:none;
}
input[type="range"].q-range:focus,
input[type="range"].q-range:focus-visible{outline:none;box-shadow:none!important;border:none!important}
/* 轨道：先铺满浅灰，再用一条深色渐变按 --pct 截断出「已选段」，
   拖动时 JS 更新 --pct —— 一眼看出让利让到哪。 */
input[type="range"].q-range::-webkit-slider-runnable-track{
  height:10px;border-radius:2px;border:none;
  background:#E8E8E8;
}
input[type="range"].q-range::-webkit-slider-thumb{
  -webkit-appearance:none;appearance:none;
  width:34px;height:34px;border-radius:50%;
  background:#1A1A1A;border:1px solid #E8E8E8;margin-top:-13px;
  box-shadow:none;
  ;
}
input[type="range"].q-range:active::-webkit-slider-thumb{transform:scale(1.15)}
input[type="range"].q-range::-moz-range-track{
  height:10px;border-radius:2px;background:#E8E8E8;border:1px solid #E8E8E8;
}
input[type="range"].q-range::-moz-range-thumb{
  width:28px;height:28px;border-radius:50%;background:#1A1A1A;
  border:1px solid #E8E8E8;box-shadow:none;
}
.q-yd-big{font-size:20px;font-weight:800;color:#1A1A1A;text-align:center;
  letter-spacing:.02em;line-height:1.2;margin:2px 0 0;font-variant-numeric:tabular-nums}
.q-yd-big em{font-style:normal;font-size:12px;color:#9E9E9E;font-weight:600;margin-left:6px}

/* 确认出方案：整个算价流程的落点，要用主色 + 一个向右的箭头，
   让人一眼看出「点这里，价格就变成一张正式方案」。
   按钮铺满结果卡，圆角 2px 跟系统其它按钮一致，不搞特殊。 */
.q-tofangan{display:block;width:100%;margin-top:14px;padding:13px 0;border:none;border-radius:2px;
  background:#1A1A1A;color:#FFFFFF;font-size:14px;font-weight:700;letter-spacing:.06em;cursor:pointer;
  box-shadow:none;transition:background .15s}
.q-tofangan::after{content:" →";font-weight:400;opacity:.8}
.q-tofangan:hover{background:#1A1A1A}
.q-tofangan:active{background:#1A1A1A}
.cq-n{font-size:12px;color:#9E9E9E;letter-spacing:.04em;margin:0 0 8px;padding-left:2px}
.cq-n b{color:#1A1A1A;font-weight:600}
.cq-empty{padding:60px 0;text-align:center;color:#9E9E9E;font-size:12px;letter-spacing:.06em}

/* 片区 = 一张表 */
.cq-box{margin:0 0 14px;border:1px solid #E8E8E8;border-radius:2px;background:#FAFAFA;overflow:hidden}
.cq-boxhd{padding:10px 12px;border-bottom:1px solid #E8E8E8;background:#FAFAFA}
.cq-box .box-t{font-size:12px;font-weight:600;letter-spacing:.1em;color:#1A1A1A}
.cq-box .box-c{font-size:12px;color:#9E9E9E;letter-spacing:.04em}
.cq-box .box-ar{font-size:12px;color:#9E9E9E}
.cq-bd{display:none;padding:0!important}
.cq-box.open .cq-bd{display:block}
.cq-box.open .cq-boxhd{border-bottom:1px solid #E8E8E8}

/* 行：三列对齐，同名元素共用一条竖线 */
.cq-r{display:grid!important;grid-template-columns:minmax(0,1fr) 76px 132px;
  align-items:center;gap:10px;padding:9px 12px!important;margin:0!important;
  border:0!important;border-bottom:1px solid #E8E8E8!important;border-radius:2px!important;
  background:#FAFAFA!important;box-shadow:none!important;cursor:pointer;
  -webkit-tap-highlight-color:transparent}
.cq-bd .cq-r:last-child{border-bottom:0!important}
.cq-r:active{background:#FAFAFA!important}
.cq-r .cq-nm{min-width:0;display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.cq-r .nm{font-size:14px;font-weight:600;color:#1A1A1A;letter-spacing:.01em;
  max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.cq-r .cq-ad{flex-basis:100%;display:flex;align-items:center;gap:8px;min-width:0;
  font-size:12px;color:#9E9E9E;line-height:1.4;letter-spacing:.01em}
.cq-r .cq-ad-t{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.cq-r .cq-ad .cq-mt{flex:none}
.cq-r .cq-lf{display:flex;align-items:baseline;gap:1px;justify-content:flex-end;
  font-size:12px;color:#9E9E9E;white-space:nowrap;overflow:hidden}
.cq-r .cq-lf b{font-size:12px;font-weight:600;color:#1A1A1A;font-variant-numeric:tabular-nums}
.cq-r .cq-lf i{font-style:normal;font-size:12px;color:#9E9E9E;margin:0 2px 0 1px}
.cq-r .cq-lf span{overflow:hidden;text-overflow:ellipsis;max-width:64px}
.cq-r > .cq-mt{display:flex;align-items:center;justify-content:flex-end;gap:4px;
  font-size:12px;color:#1A1A1A;white-space:nowrap;font-variant-numeric:tabular-nums}
.cq-r .cq-dt{font-size:12px;color:#1A1A1A;letter-spacing:.02em}
.cq-r .cq-none{color:#6E6E6E;font-size:12px}
.cq-r .cm-al{font-style:normal;font-size:12px;color:#6E6E6E;letter-spacing:.04em;
  padding:1px 4px;border:1px solid #E8E8E8;border-radius:2px;background:#FAFAFA}
.cq-r .tag{font-size:12px!important;padding:1px 4px!important;line-height:1.5!important}

/* 行内那块小标签（剩 11 天）压到 10px，别跟日期抢 */
.cq-r .tag.g,.cq-r .tag.o,.cq-r .tag.c,.cq-r .tag.r{font-weight:600}

@media (max-width:899px){
  .cq-bar{padding:8px 9px;margin-bottom:10px}
  .cq-row{gap:0}
  .cq-f{height:30px;padding:0 7px;font-size:12px}
  .cq-watch{height:30px}
  /* 手机：两列 —— 左名+地址，右「台量 · 负责人」，保养日期并进地址行尾，
     内容跟电脑一字不差，只是不单独占一列。 */
  .cq-r{grid-template-columns:minmax(0,1fr) 88px;gap:8px;padding:9px 11px!important}
  .cq-r .cq-ad{display:flex;align-items:center;gap:6px}
  .cq-r .cq-ad .cq-mt{display:inline-flex;margin-left:auto;flex:none}
  .cq-box{margin-bottom:12px}
  .cq-ico{width:36px;height:36px}
  .cq-search{height:36px}
}


/* ====== 保养计划：一页一张表 ====== */
.mq-sum{display:flex;align-items:baseline;gap:0;margin:0 0 12px;padding:0 2px;
  border-bottom:1px solid #E8E8E8}
.mq-k{flex:1;min-width:0;padding:2px 0 10px;position:relative}
.mq-k b{display:block;font-size:20px;font-weight:600;color:#1A1A1A;letter-spacing:.01em;
  font-variant-numeric:tabular-nums;line-height:1.2}
.mq-k b.r{color:#6E6E6E}
.mq-k b.o{color:#9E9E9E}
.mq-k b.m{color:#9E9E9E}
.mq-k i{display:block;font-style:normal;font-size:12px;color:#9E9E9E;letter-spacing:.06em;margin-top:2px}
.mq-bar{padding:0!important;border:0!important;background:transparent!important;margin-bottom:8px!important}
.mq-bar .cq-row{border-top:0!important;margin-top:0!important;padding-top:0!important}
.mq-ico{width:26px!important;height:26px!important}

.mq-tbl{border:1px solid #E8E8E8;border-radius:2px;background:#FAFAFA;overflow:hidden}
.mq-head{display:grid;grid-template-columns:minmax(0,1.25fr) 116px minmax(0,1.5fr) 88px;
  gap:10px;padding:7px 12px;background:#FAFAFA;border-bottom:1px solid #E8E8E8;
  font-size:12px;color:#9E9E9E;letter-spacing:.1em}
.mq-r{display:grid;grid-template-columns:minmax(0,1.25fr) 116px minmax(0,1.5fr) 88px;
  gap:10px;align-items:center;padding:9px 12px;border-bottom:1px solid #E8E8E8;cursor:pointer;
  -webkit-tap-highlight-color:transparent}
.mq-r:last-child{border-bottom:0}
.mq-r:active{background:#FAFAFA}
.mq-r.late{box-shadow:none}
.mq-nm{min-width:0}
.mq-nm b{display:block;font-size:14px;font-weight:600;color:#1A1A1A;
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap;letter-spacing:.01em}
.mq-sub{display:block;font-size:12px;color:#9E9E9E;margin-top:1px;
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.mq-dt{display:flex;align-items:baseline;gap:6px;font-variant-numeric:tabular-nums}
.mq-late{font-style:normal;font-size:12px;color:#6E6E6E;font-weight:600;letter-spacing:.02em}
.mq-ok{font-size:12px;color:#1A1A1A;letter-spacing:.02em}
.mq-date{font-size:12px;color:#9E9E9E}
.mq-todo{font-size:12px;color:#9E9E9E;letter-spacing:.06em}
.mq-mi{min-width:0;font-size:12px;color:#1A1A1A;line-height:1.5}
.mq-last{display:block;font-size:12px;color:#9E9E9E}
.mq-it{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#1A1A1A}
.mq-none{display:block;color:#6E6E6E;font-size:12px}
.mq-act{display:flex;align-items:center;justify-content:flex-end;gap:2px}
.mq-do{border:1px solid #E8E8E8;background:#FAFAFA;font-family:inherit;font-size:12px;
  color:#1A1A1A;height:26px;padding:0 9px;border-radius:2px;cursor:pointer;letter-spacing:.06em}
.mq-do:active{background:#FAFAFA}
.mq-more{border:0;background:transparent;color:#9E9E9E;font-size:12px;line-height:1;
  width:22px;height:26px;cursor:pointer;letter-spacing:1px;padding:0}
.mq-more:active{color:#1A1A1A}
.mq-foot{margin:10px 2px 0;font-size:12px;color:#9E9E9E;letter-spacing:.04em}

@media (max-width:899px){
  .mq-sum{gap:0;margin-bottom:10px}
  .mq-k b{font-size:14px}
  .mq-head{display:none}
  /* 第三列 82px 装不下「补录」(60) + 间距(4) + 「···」(29) = 93，
     后半个「···」被裁成「…」，看着像按钮写了个省略号。
     从日期列匀 10px（「逾期 70 天」竖排 70 够）、名字列匀 4px，给到 96。 */
  body.ent .mq-r{grid-template-columns:minmax(0,1fr) 70px 96px;gap:4px;padding:10px 9px}
  body.ent .mq-act{gap:4px;justify-content:flex-end}
  body.ent .mq-do{height:30px !important;padding:0 7px !important;min-width:44px;font-size:12px !important}
  .mq-mi{display:none}
  .mq-r .mq-sub{white-space:nowrap}
  .mq-dt{flex-direction:column;align-items:flex-start;gap:1px}
  .mq-late,.mq-ok,.mq-date{white-space:nowrap}
  .mq-late{font-size:12px}
  .mq-date{font-size:12px}
  .mq-act{gap:0}
  .mq-do{height:30px;padding:0 7px;font-size:12px;white-space:nowrap;letter-spacing:.02em}
  body.ent .mq-more{width:30px !important;height:30px !important;font-size:14px;text-align:center;white-space:nowrap;letter-spacing:1px}
}


/* ====== 应收台账：钱的三本账，一页只看一件事 ======
   原来：三个 KPI 各带一块灰底、一圈彩色账龄条、两排 11 个筛选胶囊、22 笔红字逾期。
   颜色比金额还抢眼。现在：一条汇总（暗字＋朱红只标「还没标收款」），
   筛选收成一段墨线，台账成表，逾期只在右侧一行小字。 */
.ar-kpi{display:flex;gap:0;border-bottom:1px solid #E8E8E8;margin:0 0 12px;padding:0 2px}
.ar-kpi .k{flex:1;background:transparent!important;border:0!important;padding:2px 0 10px!important;min-width:0}
.ar-kpi .k span{font-size:12px!important;color:#9E9E9E!important;letter-spacing:.08em}
.ar-kpi .k b{font-size:20px!important;font-weight:600!important;letter-spacing:.01em!important;
  color:#1A1A1A;line-height:1.25!important;margin:2px 0 0!important}
.ar-kpi .k em{font-size:12px!important;color:#9E9E9E!important;margin-top:1px}
.ar-kpi .k.red b{color:#6E6E6E!important}
.ar-bar{height:6px!important;border-radius:2px!important;background:#FAFAFA!important;margin-top:4px!important}
.ar-legend{font-size:10.5!important;color:#9E9E9E!important;gap:10px!important;margin-top:7px!important}
.ar-legend i{width:6px!important;height:6px!important}
.ar-tip{font-size:12px!important;color:#9E9E9E!important;margin:10px 0 6px!important;letter-spacing:.03em}
.ar-tip b{color:#1A1A1A!important;font-weight:600}
.ar-item{background:#FAFAFA!important;border:1px solid #E8E8E8!important;border-radius:2px!important;
  padding:10px 12px!important;margin-bottom:0!important;border-bottom:0!important}
.ar-item:last-of-type{border-bottom:1px solid #E8E8E8!important}
.ar-item.old,.ar-item.mid{border-left:1px solid #E8E8E8!important;padding-left:12px!important}
.ar-item.old{box-shadow:none}
.ar-cust{font-size:14px!important;font-weight:600!important;letter-spacing:.01em;color:#1A1A1A}
.ar-amt{font-size:14px!important;font-weight:600!important;color:#1A1A1A}
.ar-item2{font-size:12px!important;color:#9E9E9E!important}
.ar-row3{font-size:12px!important;color:#9E9E9E!important;gap:6px!important}
.ar-own{background:#FAFAFA!important;color:#1A1A1A!important}
.ar-tag{background:#FAFAFA!important;color:#1A1A1A!important;font-size:12px!important}
.ar-tag.on{background:#FAFAFA!important;color:#1A1A1A!important}
.ar-tag.paid{background:#E8E8E8!important;color:#1A1A1A!important}
.ar-days{color:#6E6E6E!important;font-weight:500!important;font-size:12px!important;
  margin-left:auto;opacity:.85;letter-spacing:.02em}
.ar-hit{color:#1A1A1A!important;opacity:.75}


/* 应收：一条筛选线 + 抽屉 */
.ar-bar-q{display:flex;align-items:center;gap:2px;padding:0 2px 8px;border-bottom:1px solid #E8E8E8;margin-bottom:2px}
.ar-tip{font-size:12px;color:#9E9E9E;margin:8px 0 8px!important}
.ar-tipx{color:#1A1A1A}
.ar-tipx::before{content:"· "}
.aq-g{margin:0 0 12px}
.aq-l{display:block;font-size:12px;color:#9E9E9E;letter-spacing:.1em;margin-bottom:6px}
.aq-o{display:flex;flex-wrap:wrap;gap:8px}
.aq-b{border:1px solid #E8E8E8;background:#FAFAFA;font-family:inherit;font-size:12px;color:#1A1A1A;
  min-height:40px;padding:0 16px;border-radius:2px;cursor:pointer;letter-spacing:.03em;
  display:inline-flex;align-items:center;justify-content:center;white-space:nowrap}
.aq-b.on{color:#1A1A1A;font-weight:600;border-color:#FAFAFA;box-shadow:none}
.aq-in{width:100%;height:34px;border:1px solid #E8E8E8;border-radius:2px;background:#FAFAFA;
  padding:0 10px;font-family:inherit;font-size:12px;outline:0}
.aq-in:focus{border-color:#1A1A1A;background:#FAFAFA}


/* ===== 产出分析：一套墨与朱，不用红黄蓝绿 =====
   原来柱图一根蓝一根灰、覆盖率蓝字、零产出红字、片区表里绿红相间。
   现在：金额用墨，单数用淡墨，零产出/风险用朱红，其余一律灰阶。
   数据本身要能被看懂，颜色只用来分「好」和「要管」。 */
.qa-bar.amt{background:#1A1A1A!important}
.qa-bar.cnt{background:#FAFAFA!important}
.qa-bar-x{font-size:12px!important;color:#9E9E9E!important;letter-spacing:.02em}
.qa-bar-v{font-size:12px!important;color:#1A1A1A!important}
.qa-kpis .qa-kpi{background:transparent!important;border:0!important;border-bottom:1px solid #E8E8E8!important;
  border-radius:2px!important;padding:2px 0 10px!important}
.qa-kpi-l{font-size:12px!important;color:#9E9E9E!important;letter-spacing:.08em}
.qa-kpi-v{font-size:20px!important;font-weight:600!important;color:#1A1A1A!important;letter-spacing:.01em!important}
.qa-kpi-s{font-size:12px!important;color:#9E9E9E!important}
.qa-kpi.ok .qa-kpi-v{color:#1A1A1A!important}
.qa-kpi.warn .qa-kpi-v{color:#6E6E6E!important}
.qa-legend span{font-size:12px!important;color:#9E9E9E!important;letter-spacing:.04em}
.qa-legend i{width:6px!important;height:6px!important;border-radius:2px!important}
.qa-legend i.amt{background:#1A1A1A!important}
.qa-legend i.cnt{background:#FAFAFA!important}
.qa-th .qa-td{font-size:12px!important;color:#9E9E9E!important;letter-spacing:.08em!important;font-weight:500!important}
.qa-tr{border-bottom:1px solid #E8E8E8!important;padding:8px 0!important}
.qa-tr.qa-th{border-bottom:1px solid #E8E8E8!important}
.qa-td{font-size:12px!important;color:#1A1A1A!important}
.qa-td.hi{color:#1A1A1A!important;font-weight:600!important}
.qa-td.zero{color:#6E6E6E!important;font-weight:500!important}
.qa-tr:not(.qa-th) .qa-td b{color:#1A1A1A!important}
.qa-tr:not(.qa-th) .qa-td b[onclick]{color:#1A1A1A!important;border-bottom:1px solid #E8E8E8}


@media (max-width:899px){
  /* 手机柱图：12 根柱子挤一屏，标签必然打架。
     只留金额、标签转 45°，并给每根柱子最小间距。 */
  .qa-bars{gap:2px!important;padding-bottom:2px}
  .qa-bar-w{min-width:0!important}
  .qa-bar-x{font-size:12px!important;letter-spacing:0!important;white-space:nowrap!important}
  .qa-bar-v{display:none!important}
  .qa-legend{margin-bottom:2px}
  /* 明细表：金额不换行，靠横向滚动而不是折行 */
  .qa-td,.qa-th .qa-td{white-space:nowrap!important}
  .qa-tr:not(.qa-th) .qa-td{width:auto!important;min-width:44px!important;padding:0 5px!important}
  .qa-tr:not(.qa-th) .qa-td:first-child{min-width:80px!important;flex:1 1 auto!important}
  .qa-tbl{overflow-x:auto;-webkit-overflow-scrolling:touch}
  /* 窄屏七列塞不下：只留「片区 · 项目 · 有产出 · 报价额」四列，
     台量、覆盖率、单台产出在电脑上看 —— 手机是拿来看重点的，不是核账的。 */
  .qa-tr .qa-td:nth-child(3),.qa-tr .qa-td:nth-child(5),.qa-tr .qa-td:nth-child(7){display:none!important}
  .qa-tr:not(.qa-th) .qa-td{min-width:0!important}
  .qa-tr:not(.qa-th) .qa-td:first-child{flex:1 1 auto!important;min-width:0!important}
  .qa-tr:not(.qa-th) .qa-td:nth-child(2),.qa-tr:not(.qa-th) .qa-td:nth-child(4){width:52px!important}
  .qa-tr:not(.qa-th) .qa-td:nth-child(6){width:78px!important;text-align:right}
  .qa-tbl{overflow-x:visible!important}
}


/* ================================================================
   电子税务局式布局（和纸配色 · 双端）
   ----------------------------------------------------------------
   结构照税务局：顶部系统条（LOGO + 系统名 + 用户）→ 一排一级菜单
   → 左侧二级菜单树 + 内容区（当前位置 / 页标题 / 卡片 / 表格 / 页脚）。
   颜色不跟着换：纸、墨、朱照旧，只借它的骨架与排布。
   ================================================================ */
:root{
  --tz-line:#FAFAFA;
  --tz-line2:#FAFAFA;
  --tz-band:#FAFAFA;
  --tz-paper:#FAFAFA;
  --tz-ink:#1A1A1A;
  --tz-sub:#1A1A1A;
  --tz-faint:#9E9E9E;
}

body.ent{ background:var(--tz-band); }

/* ---------- 一、顶部系统条 ---------- */
body.ent .tz-head{
  position:sticky; top:0; z-index:56;
  background:var(--tz-paper);
  border-bottom:1px solid var(--tz-line2);
  margin-left:0;
}
body.ent .tz-head .ent-top{
  position:static; margin-left:0 !important; width:auto !important;
  height:58px; min-height:58px; padding:0 18px; gap:14px;
  background:var(--tz-paper); border-bottom:none; box-shadow:none;
}
body.ent .tz-brand{ display:flex; align-items:center; gap:8px; min-width:0; flex:none; }
body.ent .tz-logo{ width:20px; height:20px; flex:none; }
body.ent .tz-brand-tx{ min-width:0; }
body.ent .tz-brand-n{
  font-size:14px; font-weight:700; letter-spacing:.04em; color:var(--tz-ink);
  line-height:1.15; white-space:nowrap;
}
body.ent .tz-brand-n span{
  font-size:12px; font-weight:600; color:var(--tz-sub);
  letter-spacing:.16em; margin-left:7px;
}
body.ent .tz-brand-s{
  font-size:12px; color:#9E9E9E; letter-spacing:.2em;
  margin-top:4px; white-space:nowrap;
}

/* 顶栏右侧工具：搜索 / 展示 / 帮助 / 消息 / 用户 */
body.ent .ent-top .ent-search{
  width:230px; height:32px; padding:0 10px; border-radius:2px;
  background:#FAFAFA; border:1px solid var(--tz-line);
}
body.ent .ent-top .ent-search:focus-within{ border-color:var(--tz-ink); background:var(--tz-paper); }
body.ent .ent-top .ent-search input{ font-size:12px; }
body.ent .ent-top .ent-show,
body.ent .ent-top .ent-help,
body.ent .ent-top .ent-bell{
  height:32px; min-width:32px; padding:0 8px; border-radius:2px;
  background:var(--tz-paper); border:1px solid var(--tz-line); color:#1A1A1A;
}
body.ent .ent-top .ent-show:hover,
body.ent .ent-top .ent-help:hover,
body.ent .ent-top .ent-bell:hover{ border-color:var(--tz-ink); color:var(--tz-ink); }
body.ent .ent-top .ent-bell .dot{
  top:0; right:0; min-width:14px; height:14px; padding:0 3px;
  font-size:12px; line-height:14px; letter-spacing:0;
}
body.ent .tz-me{
  display:flex; align-items:center; gap:8px;
  margin-left:4px; padding-left:13px; border-left:1px solid var(--tz-line);
  cursor:pointer; user-select:none;
}
body.ent .tz-me-av{
  width:26px; height:26px; flex:none; display:flex; align-items:center; justify-content:center;
  background:var(--tz-ink); color:var(--tz-paper); font-size:12px; font-weight:700;
}
body.ent .tz-me-av svg{ width:15px; height:15px; display:block; }
body.ent .tz-me-tx b{ display:block; font-size:12px; font-weight:700; line-height:1.25; color:var(--tz-ink); }
body.ent .tz-me-tx i{ display:block; font-size:12px; font-style:normal; color:var(--tz-faint); line-height:1.3; }

/* ---------- 二、一级横排 ---------- */
body.ent .tz-nav{
  display:flex; align-items:stretch; gap:0; padding:0 12px;
  background:var(--tz-band); border-top:1px solid var(--tz-line);
  overflow-x:auto; scrollbar-width:none;
}
body.ent .tz-nav::-webkit-scrollbar{ display:none; }
body.ent .tz-navi{
  position:relative; flex:none; height:42px; padding:0 22px;
  border:none; background:none; border-radius:2px;
  font-size:14px; letter-spacing:.08em; color:#1A1A1A; cursor:pointer;
}
body.ent .tz-navi:hover{ color:var(--tz-ink); background:rgba(28,27,25,.035); }
body.ent .tz-navi.on{ background:var(--tz-paper); color:var(--tz-ink); font-weight:700; }
body.ent .tz-navi[data-g="more"]{ margin-left:auto; opacity:.82; padding:0 16px; }
body.ent .tz-navi.on::after{
  content:""; position:absolute; left:0; right:0; top:0; height:2px; background:var(--tz-ink);
}

/* ---------- 三、面包屑条 ---------- */
body.ent .tz-crumb{
  position:sticky; z-index:54; margin-left:236px;
  display:flex; align-items:center; gap:2px;
  height:38px; padding:0 22px;
  background:var(--tz-paper); border-bottom:1px solid var(--tz-line);
}
body.ent .tz-cur{ font-size:12px; color:var(--tz-faint); letter-spacing:.06em; flex:none; }
body.ent .tz-crumb .ent-crumb{
  font-size:12px; font-weight:400; color:var(--tz-sub); letter-spacing:.04em;
  white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
}
body.ent .tz-crumb .ent-crumb b{ color:var(--tz-ink); font-weight:700; }
body.ent .tz-crumb .cb-d{ color:#1A1A1A; font-weight:400; }
.pg-hd h2 .pg-hd-d{ font-size:12px; font-weight:400; color:#1A1A1A; letter-spacing:.04em; }
body.ent .tz-crumb-r{ margin-left:auto; display:flex; align-items:center; gap:8px; font-size:12px; color:var(--tz-faint); }

/* ---------- 四、左侧菜单树 ---------- */
/* 旧皮肤给侧栏写过「金属渐变 !important」，渐变被全站去图清掉后就成了透明抽屉。
   这里必须用 !important 把纸底写死。 */
body.ent .ent-side{
  top:100px; width:236px !important;
  background:var(--tz-paper) !important; background-image:none !important;
  border-right:1px solid var(--tz-line) !important; box-shadow:none !important;
}
body.ent .tz-side-hd{
  display:flex; align-items:center; justify-content:space-between; flex:none;
  height:36px; padding:0 14px;
  background:var(--tz-band); border-bottom:1px solid var(--tz-line);
}
body.ent .tz-side-t{ font-size:12px; font-weight:700; letter-spacing:.22em; color:#1A1A1A; }
body.ent .tz-side-x{
  display:none; border:none; background:none; font-size:20px; line-height:1;
  color:var(--tz-sub); padding:0 2px;
}
body.ent .ent-nav{ padding:4px 0 16px; }
body.ent .ent-grp{ margin-top:0; }
body.ent .ent-grp:first-child{ margin-top:0; }
body.ent .ent-grp-h{
  padding:8px 14px; margin:0 0 2px; font-size:12px; font-weight:700;
  letter-spacing:.18em; color:#1A1A1A; background:#FAFAFA;
  border-top:1px solid #E8E8E8; border-bottom:1px solid #E8E8E8;
}
body.ent .ent-grp-h .gi{ opacity:.55; }
body.ent .ent-sub{
  display:flex; align-items:center; gap:9px;
  margin:0; padding:9px 14px 9px 24px; border-radius:2px;
  border-left:3px solid transparent;
  font-size:12px; color:#1A1A1A; letter-spacing:.03em;
}
body.ent .ent-sub:hover{ background:#FAFAFA; }
body.ent .ent-sub.on{
  background:#FAFAFA !important; color:var(--tz-ink) !important;
  font-weight:700; border-left-color:var(--tz-ink) !important;
  box-shadow:none !important;
}
body.ent .ent-grp-h{ cursor:pointer; user-select:none; }
body.ent .ent-grp-h:hover{ color:#1A1A1A; }
body.ent .ent-grp-cv{ margin-left:auto; font-style:normal; font-size:12px; opacity:.5; ; }
body.ent .ent-grp.fold .ent-grp-cv{ transform:rotate(-90deg); }
body.ent .ent-grp.fold .ent-sub,
body.ent .ent-grp.fold .ent-mg-t{ display:none; }
/* 「更多」里面再分人事 / 系统 / 帮助三小节：一条小字，比一级分组轻一档，
   眼睛先扫到「人事」，再往下找「花名册」 */
body.ent .ent-mg-t{
  padding:7px 14px 3px 24px; font-size:12px; font-weight:700;
  letter-spacing:.16em; color:#9E9E9E;
}

/* ---------- 手机：页签右端常驻的「全部 ▾」+ 下拉目录 ----------
   员工不点「更多」，但会下拉、会滚。这个面板不是新页面：
   手指点一下，从页签下面拉出一屏，两列铺开，滚到哪儿点哪儿。 */
.all-sheet{ position:fixed; inset:0; z-index:55; display:none; background:rgba(28,27,25,.42); }
.all-sheet.show{ display:block; }
body.as-lock{ overflow:hidden; }
.as-panel{
  position:absolute; left:0; right:0; top:0; max-height:74vh; overflow-y:auto;
  background:var(--tz-paper,#FAFAFA); border-bottom:1px solid var(--tz-line,#FAFAFA);
  box-shadow:none;
  -webkit-overflow-scrolling:touch; animation:asIn .15s ease-out;
}
@keyframes asIn{ from{ transform:translateY(-10px); opacity:.5 } to{ transform:none; opacity:1 } }
.as-hd{ display:flex; align-items:baseline; justify-content:space-between;
  padding:11px 14px 9px; border-bottom:1px solid #E8E8E8; }
.as-hd b{ font-size:12px; letter-spacing:.18em; color:#1A1A1A; }
.as-hd span{ font-size:12px; color:#9E9E9E; letter-spacing:.06em; }
.as-g{ padding:9px 10px 0; }
.as-g:last-of-type{ padding-bottom:4px; }
.as-g>h4{ margin:0; padding:0 5px 5px; font-size:12px; font-weight:700;
  letter-spacing:.16em; color:#9E9E9E; }
.as-grid{ display:grid; grid-template-columns:1fr 1fr; gap:1px 2px; }
.as-grid button{
  display:flex; align-items:center; gap:7px; height:42px; padding:0 8px;
  background:none; border:none; border-radius:2px; font-family:inherit;
  font-size:12px; color:#1A1A1A; text-align:left; min-width:0;
}
.as-grid button>span{ overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.as-grid button .appic{ width:15px; height:15px; opacity:.55; flex:0 0 auto; }
.as-grid button.on{ background:#FAFAFA; color:#1A1A1A; font-weight:700; }
.as-grid button.on .appic{ opacity:1; }
.as-grid button:active{ background:#FAFAFA; }
.as-foot{ display:block; width:100%; margin-top:6px; padding:12px;
  border:none; border-top:1px solid #E8E8E8; background:#FAFAFA;
  font-family:inherit; font-size:12px; color:#1A1A1A; letter-spacing:.06em; }
.as-foot:active{ background:#FAFAFA; }
@media (min-width:900px){ .all-sheet{ display:none !important; } }
/* 底栏第六格「全部」：手机上才出现。桌面有侧栏和搜索，不需要这一格。 */
.mb-all{ display:none !important; }
@media (max-width:899px){
  /* 六格必须挤在一行：换行的话「全部」会掉到第二排，底栏变成两层 */
  body.ent #topnav.topnav{ flex-wrap:nowrap !important; }
  body.ent #topnav.topnav .mb-all{ display:flex !important; }
  /* 六格比五格窄，字距收一点，免得「报表」「全部」挨成一句 */
  body.ent #topnav.topnav button{ letter-spacing:0 !important; font-size:12px !important; }
}
body.ent .ent-sub .si{ display:inline-flex !important; align-items:center; justify-content:center; width:17px; font-size:12px; opacity:.72; }
body.ent .ent-sub .si svg{ width:15px; height:15px; }
@media (min-width:900px){ body.ent .ent-u{ display:none; } }

/* ---------- 五、内容区：页标题 / 卡片 / 表格 ---------- */
/* 旧皮肤把主区做成了「自己滚 + 高度锁死 100vh-52」，新头多了 42px 一级菜单，
   锁死的高度会把页面底部切掉一截；这里交回整页滚动，页脚才落得到底。 */
body.ent #main{
  margin-left:236px !important; max-width:none !important;
  height:auto !important; max-height:none !important; overflow:visible !important;
  padding:0 30px 40px !important;
}
body.ent .pg-hd{
  display:block; padding:18px 2px 14px; margin:0 0 14px;
  border-bottom:1px solid var(--tz-line); background:none;
}
body.ent .pg-hd h2{
  font-size:20px; font-weight:700; letter-spacing:.05em; color:var(--tz-ink);
  line-height:1.3; margin:0;
}
body.ent .pg-hd h2::before{
  content:""; display:inline-block; width:3px; height:15px;
  background:var(--tz-ink); margin-right:7px; vertical-align:-2px;
}
body.ent .pg-hd > p{
  font-size:12px; color:var(--tz-sub); letter-spacing:.04em;
  line-height:1.75; margin:7px 0 0 12px;
}
body.ent #main .panel{
  background:var(--tz-paper); border:1px solid var(--tz-line); border-radius:2px;
  box-shadow:none; margin-bottom:12px;
}
body.ent #main .panel > h3{
  display:flex; align-items:center; gap:8px;
  font-size:14px; font-weight:700; letter-spacing:.05em; color:var(--tz-ink);
  margin:0 0 12px; padding:0 0 10px; border-bottom:1px solid #E8E8E8;
}
body.ent #main .panel > h3::before{
  content:""; width:3px; height:13px; background:var(--tz-ink); flex:none;
}
/* 竖线 ::before 也是 flex item，会和标题被 space-between 分到两端 ——
   标题就飞到面板最右边、左边只剩一根线（追款页「专项清单」就是这么坏的）。
   给标题留一个右侧 auto 外边距：标题永远紧跟竖线，剩下的空间推给右侧按钮。 */
body.ent #main .panel > h3 > span:first-of-type{ margin-right:auto; }
body.ent #main .panel > h3 em{
  margin-left:auto; font-style:normal; font-size:12px; font-weight:400;
  color:var(--tz-faint); letter-spacing:.04em;
}

/* 表格：税局那种灰表头 + 细横线 + 悬停浅底 */
body.ent #main table{ width:100%; border-collapse:collapse; font-size:12px; }
body.ent #main table th{
  background:#FAFAFA !important; color:#1A1A1A !important;
  font-size:12px !important; font-weight:600 !important; letter-spacing:.08em;
  padding:9px 10px !important; border-bottom:1px solid var(--tz-line2) !important;
  text-align:left; white-space:nowrap;
}
body.ent #main table td{
  padding:9px 10px; border-bottom:1px solid #E8E8E8;
  color:var(--tz-ink); vertical-align:middle;
}
body.ent #main table tbody tr:hover td{ background:#FAFAFA; }

/* 手机底栏必须有底：老规则把 background 交给一个可能没定义的变量，
   结果整条是透明的，下面的卡片和数字直接从 tab 里透出来。 */
body.ent #topnav.topnav{
  background:#FAFAFA !important;
  border-top:1px solid #E8E8E8 !important;
  box-shadow:none !important;
}

/* 驾驶舱：宣纸账本，不是一张黑卡纸贴在纸上。
   原来那块深墨底是「唯一的黑块」，本意是当印章；可它占了大半屏，
   压得整页透气的地方都没有。现在它跟别的面板用同一张纸：
   细线、方角、墨字，朱红只留一个点取个神。 */
body.ent #main .fin-hero{
  background:#FAFAFA !important; background-image:none !important;
  border:1px solid #E8E8E8 !important; border-radius:2px!important;
  box-shadow:none !important; color:#1A1A1A !important;
  padding:0 !important; overflow:hidden;
}
/* 抬头只占一行 32px：像账页顶上的一行栏目名，不是一块标题板 */
body.ent #main .fin-hero .fin-hd{
  margin:0 !important; padding:0 14px !important; height:32px !important; min-height:32px !important;
  display:flex !important; align-items:center; gap:7px;
  background:#FAFAFA; border-bottom:1px solid #E8E8E8;
}
body.ent #main .fin-hero .fin-hd b{
  font-size:12px !important; font-weight:700 !important;
  letter-spacing:.15em !important; color:#1A1A1A !important; line-height:1 !important;
}
body.ent #main .fin-hero .fin-hd em{
  font-size:12px !important; color:#9E9E9E !important; opacity:1 !important;
  letter-spacing:.05em; font-variant-numeric:tabular-nums; line-height:1 !important;
}
body.ent #main .fin-hero .fin-dot{
  width:5px !important; height:5px !important; border-radius:2px!important;
  background:#6E6E6E !important; box-shadow:none !important;
}
body.ent #main .fin-hero .fin-row{ gap:0 !important; }
/* 三格收紧：标签 / 数字 / 注解 三行压到 84px，三栏底边对齐 */
body.ent #main .fin-hero .fin-k{
  background:transparent !important; background-image:none !important;
  border:none !important; border-right:1px solid #E8E8E8 !important;
  border-radius:2px!important; padding:10px 14px 10px !important;
  box-shadow:none !important; display:block !important;
}
body.ent #main .fin-hero .fin-k:last-child{ border-right:none !important; }
body.ent #main .fin-hero .fin-k>span{
  display:block !important;
  color:#1A1A1A !important; opacity:1 !important; font-size:12px !important;
  letter-spacing:.1em; line-height:1.2 !important;
  white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
}
body.ent #main .fin-hero .fin-k>b{
  display:block !important;
  /* 等宽字是机械仪表台那一版的遗留：字面宽、笔画齐，数字读起来发松。
     这里换回正文字体，靠 tabular-nums 保证位数对齐。 */
  font-family:system-ui,-apple-system,"PingFang SC","Noto Sans CJK SC",sans-serif !important;
  color:#1A1A1A !important; font-size:20px !important; font-weight:500 !important;
  letter-spacing:-.01em !important; text-shadow:none !important;
  line-height:1.1 !important; margin:6px 0 4px !important;
  font-variant-numeric:tabular-nums; font-feature-settings:"tnum";
}
/* 单位退半号、退成灰：263.6 万 读成一个数，不是「数 + 一个词」 */
body.ent #main .fin-hero .fin-k>b em{
  font-size:.55em !important; font-weight:500 !important; font-style:normal !important;
  color:#9E9E9E !important; opacity:1 !important;
  margin-left:1px !important; letter-spacing:.02em !important;
}
body.ent #main .fin-hero .fin-k>i{
  display:block !important;
  color:#9E9E9E !important; opacity:1 !important; font-size:12px !important;
  line-height:1.35 !important;
  white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
}
body.ent #main .fin-hero .fin-k.hot{ background:#FAFAFA !important; }
body.ent #main .fin-hero .fin-k>b.warn,
body.ent #main .fin-hero .fin-k.hot>b{ color:#6E6E6E !important; text-shadow:none !important; }
body.ent #main .fin-hero .fin-k>b.warn em,
body.ent #main .fin-hero .fin-k.hot>b em{ color:#6E6E6E !important; }
/* 账龄压成一条细带：标签 / 量尺 / 图例 一行走完 */
body.ent #main .fin-hero .fin-age{
  /* 量尺定宽 300，图例四等分接在后面：像账页底下的一行刻度，
     条再长就抢戏，图例再挤就读不清 */
  display:grid !important; align-items:center;
  grid-template-columns:auto minmax(160px,300px) 1fr;
  column-gap:14px;
  margin:0 !important; padding:8px 14px 9px !important;
  border-top:1px solid #E8E8E8;
}
body.ent #main .fin-hero .fin-age-t{
  flex:none; color:#1A1A1A !important; opacity:1 !important; font-size:12px !important;
  letter-spacing:.1em; white-space:nowrap; margin:0 !important;
}
/* 「1 年以上」在三栏注解和图例里都出现了，这一句是第三遍 */
body.ent #main .fin-hero .fin-age-t em{ display:none !important; }
body.ent #main .fin-hero .fin-bar{
  flex:1 1 auto !important; min-width:60px;
  height:5px !important; background:#FAFAFA !important; border-radius:2px!important;
  box-shadow:none !important;
}
body.ent #main .fin-hero .fin-bar::after{ display:none !important; }
body.ent #main .fin-hero .fin-lg{
  display:grid !important; grid-template-columns:repeat(4,minmax(0,1fr));
  column-gap:10px; align-items:center !important;
  margin:0 !important; padding:0 !important;
  color:#1A1A1A !important; opacity:1 !important; font-size:12px !important;
  white-space:nowrap;
}
body.ent #main .fin-hero .fin-lg span{
  display:inline-flex !important; align-items:center; gap:4px;
  font-variant-numeric:tabular-nums;
}
body.ent #main .fin-hero .fin-lg span + span{ margin-left:0 !important; }
body.ent #main .fin-hero .fin-lg i{
  border-radius:2px!important; width:6px !important; height:6px !important;
  box-shadow:none !important;
}
body.ent #main .fin-hero .fin-skel{ color:#1A1A1A !important; opacity:1 !important; font-size:12px !important; }
/* 钢板四角那四颗螺丝是上一版的装饰，纸面上不该有 */
body.ent #main .fin-hero::before{ display:none !important; content:none !important; }

/* ---------- 品牌标：占位黑方块换成公司 logo ----------
   顶栏那个 26px 方块是早期「字母占位」留下的：底色写死 #1A1A1A，
   里面的字后来被清空，于是只剩一个黑块。现在换成公司标（PNG 自身透明），
   不再给底色，直接印在纸上。 */
body .ent-logo,
body.ent .tz-logo,
body.ent .ent-logo.tz-logo{
  /* X 标笔画粗、几乎顶满画布：32px 挂在顶栏比字还抢眼，收到 21px */
  width:21px !important; height:21px !important;
  background-image:var(--qx-logo) !important;
  background-repeat:no-repeat !important;
  background-position:center !important;
  background-size:contain !important;
  background-color:transparent !important;
  color:transparent !important; font-size:0 !important;
  border:none !important; border-radius:2px!important; box-shadow:none !important;
}
/* 登录页那颗 logo 被全站「去背景图」的兜底规则一起清掉了，位置只剩空白。
   改用伪元素画：伪元素不在那条 * 规则的射程里，图能留住。 */
#loginPage .login-box .logo::before{
  content:""; display:block; width:64px; height:64px; margin:0 auto;
  background:var(--qx-logo) center/contain no-repeat !important;
}
#loginPage .login-box .logo{ background-image:none !important; }

/* 头像不是 logo，不能贴公司标；但黑底白字也是一块黑。
   换成纸底、朱红细框、朱红字——像一枚小印，身份还是那个字。 */
body.ent .tz-me-av,
body.ent .ent-u .av,
body.ent .uinfo .av{
  background:#FAFAFA !important; background-color:#FAFAFA !important;
  background-image:none !important;
  color:#6E6E6E !important;
  border:1px solid #E8E8E8 !important;
  border-radius:2px!important;
  font-weight:600 !important;
}

/* 四道预警跟着收一号：它紧贴驾驶舱，差一号字就会显得上一块没做完 */
body.ent #main .fin-w{ padding:9px 13px 9px 15px; }
body.ent #main .fin-w>span{ font-size:12px; letter-spacing:.1em; line-height:1.3; }
body.ent #main .fin-w>b{
  font-size:20px; margin:2px 0 0; line-height:1.3;
  font-variant-numeric:tabular-nums;
}
body.ent #main .fin-w>i{
  font-size:12px; line-height:1.35;
  white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
}

/* 今天先办的事：一张账页。序号代替圆点，横线代替卡片边框。 */
body.ent #main .fin-todo-panel{ padding:0 !important; }
body.ent #main .fin-todo-panel .fin-todo-hd{
  margin:0 !important; padding:11px 16px 10px !important; gap:10px;
  border-bottom:1px solid #E8E8E8; background:#FAFAFA;
}
body.ent #main .fin-todo-panel .fin-todo-hd b{ font-size:12px !important; letter-spacing:.06em; }
body.ent #main .fin-todo-panel .fin-todo-hd span{ font-size:12px !important; color:#9E9E9E !important; }
body.ent #main .fin-todo-panel .fin-todo{
  padding:12px 16px !important; gap:12px !important; align-items:flex-start !important;
}
body.ent #main .fin-todo-no{
  flex:none; width:22px; padding-top:1px;
  font-size:12px; font-weight:700; color:#6E6E6E; letter-spacing:.06em;
  font-variant-numeric:tabular-nums;
}
body.ent #main .fin-todo.hot .fin-todo-no{ color:#6E6E6E; }
body.ent #main .fin-todo-b{ flex:1; min-width:0; }
body.ent #main .fin-todo-panel .fin-todo-t{ font-size:14px !important; font-weight:700; }
body.ent #main .fin-todo-panel .fin-todo-d{ font-size:12px !important; color:#1A1A1A !important; }
body.ent #main .fin-todo-go{ font-size:12px !important; color:#1A1A1A !important; letter-spacing:.06em; }


/* 体检提醒是会自己消失的浮条：别压在系统条、分段和抽屉上 */
body.ent .hc-toast{ top:112px; z-index:50; }
body.ent .ent-u-dot{ font-size:12px; font-weight:700; }

/* 分段控件（枢纽抽屉）：税局是「一条 tab 条 + 下划线」，
   不是两颗描边按钮并排——按钮会让人以为要「提交」。
   旧皮肤给 .has-pill 写了 (1,3,1) 的高权重，这里必须带上同一个类。 */
body.ent #main .hub-bar,
body.ent #main .hub-bar.has-pill,
body.ent #main .hub-bar.grid{
  display:flex !important; align-items:stretch; flex-wrap:wrap; gap:0 !important;
  background:transparent !important; background-image:none !important;
  border:none !important; border-bottom:1px solid var(--tz-line) !important;
  border-radius:2px!important; padding:0 !important; margin:0 0 14px !important;
  box-shadow:none !important;
}
body.ent #main .hub-bar button,
body.ent #main .hub-bar.has-pill button,
body.ent #main .hub-bar.grid button,
body.ent #main .hub-bar button:has(.ic),
body.ent #main .hub-bar.grid button:has(.ic){
  flex:0 0 auto; height:38px !important; min-height:38px !important; max-height:38px !important;
  padding:0 16px !important; margin:0 !important;
  background:transparent !important; background-image:none !important;
  border:none !important; border-bottom:2px solid transparent !important; border-radius:2px!important;
  box-shadow:none !important; transform:none !important;
  font-size:12px !important; font-weight:400 !important; letter-spacing:.06em !important;
  color:#1A1A1A !important;
}
body.ent #main .hub-bar button:hover,
body.ent #main .hub-bar.has-pill button:hover,
body.ent #main .hub-bar.grid button:hover{ color:var(--tz-ink) !important; background:#FAFAFA !important; }
body.ent #main .hub-bar button.on,
body.ent #main .hub-bar.has-pill button.on,
body.ent #main .hub-bar.grid button.on,
body.ent #main .hub-bar button:has(.ic).on,
body.ent #main .hub-bar.grid button:has(.ic).on{
  background:transparent !important; border:none !important;
  border-bottom:2px solid var(--tz-ink) !important; border-radius:2px!important;
  color:var(--tz-ink) !important; font-weight:700 !important;
}
body.ent #main .hub-bar button:first-of-type,
body.ent #main .hub-bar button:last-of-type{ border-radius:2px!important; border-right:none !important; }
body.ent #main .hub-bar .hub-pill{ display:none !important; }

/* ---------- 六、页脚 ---------- */
body.ent .tz-foot{
  display:flex; align-items:center; gap:18px; flex-wrap:wrap;
  margin-top:16px; padding:14px 2px 6px;
  border-top:1px solid var(--tz-line);
  font-size:12px; color:var(--tz-faint); letter-spacing:.06em;
}
body.ent .tz-foot-l b{ color:#1A1A1A; font-weight:700; letter-spacing:.1em; }
body.ent .tz-foot-c{ flex:1; min-width:200px; }

/* ---------- 七、手机：系统条 + 位置条 + 分段 + 卡片 ---------- */
@media (max-width:899px){
  body.ent .tz-head{ position:sticky; top:0; }
  body.ent .tz-head .ent-top{
    height:calc(52px + env(safe-area-inset-top,0px));
    min-height:calc(52px + env(safe-area-inset-top,0px));
    padding:env(safe-area-inset-top,0px) 8px 0; gap:6px;
    background:var(--tz-paper); border-bottom:none;
  }
  body.ent .ent-top .ent-burger{ order:0; }
  body.ent .tz-brand{ order:1; flex:1; min-width:0; gap:8px; }
  body.ent .ent-top-r{ order:2; }
  body.ent .ent-top .ent-show, body.ent .ent-top .ent-help{ display:none !important; }
  body.ent .tz-me{ display:none; }
  body.ent .tz-logo{ width:19px; height:19px; }
  body.ent .tz-brand-n{ font-size:14px; letter-spacing:.02em; }
  body.ent .tz-brand-n span{ display:none; }
  body.ent .tz-brand-s{ display:none; }
  body.ent .tz-nav{ display:none; }
  body.ent .tz-me{ border-left:none; padding-left:0; margin-left:0; }
  body.ent .tz-me-tx{ display:none; }
  body.ent .ent-burger{ width:38px; height:38px; background:transparent; border:none; }
  body.ent .ent-bell{ width:38px; height:38px; border:none; background:transparent; }

  body.ent .tz-crumb{
    position:static; height:32px; padding:0 12px; margin-left:0;
    background:var(--tz-band); border-bottom:1px solid var(--tz-line);
  }
  body.ent .tz-cur{ font-size:12px; }
  body.ent .tz-crumb .ent-crumb{ font-size:12px; display:flex; align-items:center; gap:4px; }
  body.ent .tz-crumb .cb-g{ display:inline !important; color:#1A1A1A; }
  body.ent .tz-crumb .cb-s{ display:inline !important; color:#6E6E6E; }
  body.ent .tz-crumb .cb-c{ color:var(--tz-ink) !important; font-size:12px !important; font-weight:700 !important; letter-spacing:0 !important; }
  body.ent .tz-crumb-r{ display:none; }

  body.ent .ent-side{ top:0 !important; width:266px !important; }
  body.ent .tz-side-x{ display:block; }

  body.ent #main{
    margin-left:0 !important; padding:12px 12px 112px !important;
    height:auto !important; max-height:none !important; overflow:visible !important;
  }
  /* 手机上的宣纸驾驶舱：三栏改竖排，分隔线从竖的换成横的 */
  body.ent #main .fin-hero .fin-row.three{ grid-template-columns:1fr !important; }
  body.ent #main .fin-hero .fin-k{
    border-right:none !important; border-bottom:1px solid #E8E8E8 !important;
    padding:8px 13px 9px !important;
  }
  body.ent #main .fin-hero .fin-k:last-child{ border-bottom:none !important; }
  body.ent #main .fin-hero .fin-k>b{ font-size:20px !important; margin:5px 0 3px !important; }
  body.ent #main .fin-hero .fin-hd{ padding:0 13px !important; height:30px !important; min-height:30px !important; }
  /* 一行塞不下四个图例：量尺独占一行，图例两两成列对齐 */
  body.ent #main .fin-hero .fin-age{
    display:block !important; padding:8px 13px 9px !important;
  }
  body.ent #main .fin-hero .fin-bar{ margin-top:6px; }
  body.ent #main .fin-hero .fin-lg{
    display:grid !important; grid-template-columns:1fr 1fr; gap:3px 10px !important;
    margin-top:7px !important;
  }
  body.ent #main .fin-hero .fin-lg span + span{ margin-left:0 !important; }
  body.ent #main .fin-todo-panel .fin-todo{ padding:11px 13px !important; }
  body.ent #main .fin-todo-panel .fin-todo-hd{ padding:10px 13px 9px !important; }
  body.ent .subnav:has(> button:only-of-type){ display:none !important; }
  body.ent .pg-hd{ padding:10px 2px 11px; margin-bottom:11px; }
  body.ent .pg-hd h2{ font-size:14px; }
  body.ent .pg-hd > p{ margin-left:0; font-size:12px; }
  body.ent #main .panel{ padding:12px 13px; }
  body.ent #main .panel > h3{ font-size:12px; margin-bottom:10px; }
  body.ent #main table th,
  body.ent #main table td{ padding:8px 8px !important; }
  body.ent .subnav{
    top:calc(46px + env(safe-area-inset-top,0px)) !important;
    display:flex; gap:0 !important; padding:0 8px !important;
    background:var(--tz-paper) !important; border-bottom:1px solid var(--tz-line);
    /* 一排放不下就横着滑，不换行、不缩字 —— 挤在一起比藏起来更难认 */
    overflow-x:auto !important; overflow-y:hidden !important; flex-wrap:nowrap !important;
    -webkit-overflow-scrolling:touch; scrollbar-width:none;
  }
  body.ent .subnav::-webkit-scrollbar{ display:none; }
  body.ent #subnav.subnav button{
    flex:0 0 auto !important; border:none !important; background:none !important; border-radius:2px!important;
    padding:0 12px !important; height:40px !important; max-height:40px !important; min-height:40px !important;
    font-size:12px !important; color:#1A1A1A !important;
    border-bottom:2px solid transparent !important; white-space:nowrap !important;
    min-width:max-content !important; position:relative;
    flex-direction:row !important; align-items:center !important; gap:5px !important;
  }
  /* 手机上的二级页签带图标：图标缩到 15px 跟在字前面，别竖成一个 app 图标墙 */
  body.ent #subnav.subnav button .ic{ display:flex !important; width:15px; height:15px; align-items:center; justify-content:center; font-size:0 !important; }
  body.ent #subnav.subnav button .ic .appic{ width:15px !important; height:15px !important; }
  /* 一个挨一个的下划线页签，字挤在一起会读成一句话：中间给一道发丝线 */
  body.ent .subnav button + button::before{
    content:""; position:absolute; left:0; top:12px; bottom:12px; width:1px; background:#FAFAFA;
  }
  body.ent .subnav button.on{
    color:var(--tz-ink) !important; font-weight:700 !important;
    border-bottom-color:var(--tz-ink) !important;
  }
  /* 体检浮条改「塞在内容里、跟着滚」。
     以前它 fixed 吸在底栏上方：一进首页就压住待办清单最后两行，
     要等 9 秒自己消失，等的这 9 秒里最后两条待办是点不动的。
     现在它挂在 #main 里，位置还是靠下，但滚一下就走，不挡任何东西。 */
  body.ent .hc-toast{
    position:static !important; top:auto !important; bottom:auto !important;
    left:auto !important; right:auto !important; transform:none !important;
    max-width:none !important; width:auto !important; margin:14px 0 4px !important;
    animation:none !important;
  }
  body.ent .tz-foot{ flex-direction:column; align-items:flex-start; gap:3px; margin-top:12px; padding-top:11px; font-size:12px; }
  body.ent .tz-foot-c{ display:none; }
}


/* ---------- 财务 · 合并汇总 ---------- */
.fs-strip{
  display:grid; grid-template-columns:1.4fr 1fr 1fr;
  background:var(--tz-paper); border:1px solid var(--tz-line);
  margin:0 0 4px;
}
.fs-cell{ padding:16px 18px; border-left:1px solid var(--tz-line); min-width:0; }
.fs-cell:first-child{ border-left:none; }
.fs-cell>span{ display:block; font-size:12px; letter-spacing:.1em; color:#1A1A1A; }
.fs-cell>b{ display:block; font-size:20px; font-weight:800; letter-spacing:-.4px; line-height:1.35; color:#1A1A1A; margin:4px 0 3px; }
.fs-cell>b.owe{ color:#6E6E6E; }
.fs-cell>i{ display:block; font-style:normal; font-size:12px; line-height:1.65; color:#1A1A1A; }
.fs-cap{
  font-size:12px; letter-spacing:.12em; color:#1A1A1A;
  padding:14px 0 8px;
}
.fs-tbl{ width:100%; border-collapse:collapse; background:var(--tz-paper); border:1px solid var(--tz-line); }
.fs-tbl th{
  font-size:12px; font-weight:700; letter-spacing:.1em; color:#1A1A1A;
  text-align:left; padding:9px 12px; background:#FAFAFA;
  border-bottom:1px solid var(--tz-line); white-space:nowrap;
}
.fs-tbl td{
  font-size:12px; color:#1A1A1A; padding:12px; border-bottom:1px solid #E8E8E8; vertical-align:middle;
}
.fs-tbl tbody tr:last-child td{ border-bottom:1px solid var(--tz-line); }
.fs-tbl tfoot td{ font-weight:700; background:#FAFAFA; border-bottom:none; }
/* 员工价值：三格数 + 行尾的贡献分。分要能一眼排序，所以靠右对齐、等宽数字。 */
.sv-strip{ display:grid; grid-template-columns:repeat(3,1fr); background:var(--tz-paper); border:1px solid var(--tz-line); margin:0 0 10px; }
.sv-strip>div{ padding:12px 14px; border-left:1px solid var(--tz-line); min-width:0; }
.sv-strip>div:first-child{ border-left:none; }
.sv-strip span{ display:block; font-size:12px; letter-spacing:.1em; color:#1A1A1A; }
.sv-strip b{ display:block; font-size:20px; font-weight:600; line-height:1.3; color:#1A1A1A; margin:3px 0 2px; font-variant-numeric:tabular-nums; }
.sv-strip i{ display:block; font-style:normal; font-size:12px; color:#1A1A1A; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.sv-sc{ flex:none; min-width:34px; text-align:right; font-size:20px; font-weight:600; line-height:1; color:#1A1A1A; font-variant-numeric:tabular-nums; }
/* 条拉满整行会读成一条下划线，还抢分数的主次。定宽 180，只表示相对高低；
   颜色压到刻度线那一档，跟正文的墨字分开。 */
.sv-bar{ max-width:180px; height:2px; background:#FAFAFA; }
.sv-bar i{ background:#6E6E6E; }
.sv-sc em{ display:block; font-style:normal; font-size:12px; color:#9E9E9E; letter-spacing:.12em; margin-top:4px; }
.sv-gap{ margin:8px 0 0; padding:9px 12px; border:1px solid #E8E8E8; background:#FAFAFA; font-size:12px; line-height:1.7; color:#9E9E9E; }
.sv-gap b{ color:#6E6E6E; font-variant-numeric:tabular-nums; }
@media(max-width:899px){
  /* 三格在 390 宽里每格只剩 110px，说明文字全被截成「花名册 33 人，其余…」。
     手机上改成三行：标签、数、说明各自有位置，一个字都不用截。 */
  .sv-strip{ grid-template-columns:1fr; }
  .sv-strip>div{ display:flex; align-items:baseline; gap:8px; padding:9px 12px;
    border-left:none; border-top:1px solid var(--tz-line); }
  .sv-strip>div:first-child{ border-top:none; }
  .sv-strip span{ flex:none; width:66px; }
  .sv-strip b{ flex:none; font-size:14px; margin:0; }
  .sv-strip i{ flex:1; min-width:0; text-align:right; white-space:normal; font-size:12px; }
  .sv-sc{ font-size:14px; min-width:30px; }
}
.fs-n b, .fs-n{ font-weight:700; }
.fs-n i{ display:block; font-style:normal; font-size:12px; color:#1A1A1A; font-weight:400; margin-top:2px; letter-spacing:.04em; }
.fs-c{ text-align:right; white-space:nowrap; }
.fs-m{ text-align:right; white-space:nowrap; font-variant-numeric:tabular-nums; }
.fs-m.owe{ color:#6E6E6E; }
.fs-r{ text-align:right; white-space:nowrap; color:#1A1A1A; }
.fs-go{ text-align:right; white-space:nowrap; width:1%; }
.fs-go a{ color:#1A1A1A; border-bottom:1px solid #E8E8E8; cursor:pointer; font-size:12px; }
.fs-go a:hover{ border-bottom-color:#1A1A1A; }
@media(max-width:899px){
  /* 手机不砍列：表格改成「每行一张小卡」，标签在前、数字在后 */
  .fs-tbl{ border:none; background:transparent; }
  .fs-tbl thead{ display:none; }
  .fs-tbl tbody tr, .fs-tbl tfoot tr{
    display:grid; grid-template-columns:1fr 1fr; gap:3px 10px;
    background:var(--tz-paper); border:1px solid var(--tz-line);
    padding:11px 12px; margin-bottom:8px;
  }
  .fs-tbl tfoot tr{ background:#FAFAFA; }
  .fs-tbl td{ display:block; border:none !important; padding:0 !important; font-size:12px; text-align:left !important; }
  .fs-tbl td.fs-n{ grid-column:1 / -1; font-size:14px; margin-bottom:2px; }
  .fs-tbl td::before{ content:attr(data-l) " "; font-size:12px; color:#1A1A1A; font-weight:400; }
  .fs-tbl td.fs-go{ grid-column:1 / -1; text-align:right !important; margin-top:2px; }
  .fs-strip{ grid-template-columns:1fr; }
  .fs-cell{ border-left:none; border-top:1px solid var(--tz-line); padding:12px 13px; }
  .fs-cell:first-child{ border-top:none; }
  .fs-cell>b{ font-size:20px; }
  .fs-tbl th, .fs-tbl td{ padding:10px 8px; font-size:12px; }
}


/* ---------- 驾驶舱：三个数 / 四道预警 / 五个动作 ---------- */
.fin-row.three{ grid-template-columns:repeat(3,1fr); }
.fin-row.three .fin-k>b{ font-size:20px; letter-spacing:-.3px; }
.fin-k>b.warn{ color:#6E6E6E; }
.fin-warn{
  display:grid; grid-template-columns:repeat(4,1fr); gap:0;
  background:var(--tz-paper); border:1px solid var(--tz-line);
  margin:0 0 12px;
}
.fin-w{
  position:relative; display:block; padding:12px 14px 12px 16px;
  border-left:1px solid var(--tz-line); cursor:pointer; min-width:0;
}
.fin-w:first-child{ border-left:none; }
.fin-w::before{
  content:""; position:absolute; left:0; top:0; bottom:0; width:2px; background:transparent;
}
.fin-w.hot::before{ background:#6E6E6E; }
.fin-w.warm::before{ background:#9E9E9E; }
.fin-w:hover{ background:#FAFAFA; }
.fin-w>span{ display:block; font-size:12px; letter-spacing:.1em; color:#1A1A1A; }
.fin-w>b{ display:block; font-size:20px; font-weight:800; line-height:1.35; color:#1A1A1A; margin:3px 0 1px; letter-spacing:-.2px; }
.fin-w.hot>b{ color:#6E6E6E; }
.fin-w.warm>b{ color:#9E9E9E; }
.fin-w>i{ display:block; font-style:normal; font-size:12px; color:#1A1A1A; }
.fin-quick{ display:flex; flex-wrap:wrap; gap:8px; margin:0 0 12px; }
.fin-quick .btn{ flex:none; height:34px; padding:0 15px !important; font-size:12px; }
@media(max-width:899px){
  .fin-row.three{ grid-template-columns:1fr 1fr; }
  .fin-row.three .fin-k:nth-child(3){ grid-column:1 / -1; }
  .fin-row.three .fin-k>b{ font-size:20px; }
  .fin-warn{ grid-template-columns:1fr 1fr; }
  .fin-w:nth-child(3){ border-left:none; border-top:1px solid var(--tz-line); }
  .fin-w:nth-child(4){ border-top:1px solid var(--tz-line); }
  .fin-w>b{ font-size:20px; }
  .fin-quick{ display:grid; grid-template-columns:1fr 1fr; gap:8px; }
  body.ent #main .fin-quick .btn{
    width:auto !important; min-width:0 !important;
    height:40px !important; min-height:40px !important; max-height:40px !important;
    line-height:38px !important;
    font-size:12px; padding:0 6px !important; letter-spacing:.04em;
  }
  .fin-quick .btn:first-child{ grid-column:1 / -1; }
}


/* 按钮口径收口：黑印章只给 .primary。旧皮肤有一条「.btn 全部墨底」的规则，
   结果一页上五个按钮五个黑块，看不出主次。 */
body.ent #main .btn:not(.primary),
body.ent .mask .btn:not(.primary),
body.ent #mbg .btn:not(.primary),
body.ent #mbox .btn:not(.primary){
  background:#FAFAFA !important; background-image:none !important;
  color:#1A1A1A !important; border:1px solid #E8E8E8 !important;
}
body.ent #main .btn.primary,
body.ent #mbg .btn.primary,
body.ent #mbox .btn.primary{
  background:#1A1A1A !important; color:#FAFAFA !important; border:1px solid #1A1A1A !important;
}

@media(max-width:899px){
  /* 体检浮条：透明底会跟下面的数字叠在一起，读成两行乱码 */
  body.ent .hc-toast{
    background:#FAFAFA !important;
    border:1px solid #E8E8E8 !important;
    box-shadow:none!important;
    border-radius:2px!important;
  }
  /* 驾驶舱的脚注允许折行：宁可两行，也不要「…」把话截断 */
  .fin-k>i, .fin-w>i{
    white-space:normal !important; overflow:visible !important;
    text-overflow:clip !important; line-height:1.5;
  }
  /* 96 只够挡住底部导航，不够让最后一条滚出右下那颗「相机」：
     相机占 92~146 这一段，于是列表最后一行永远躺在它底下、点不到。
     152 = 92（相机上沿）+ 54（相机高）+ 6（余量）。
     注意这条带 !important，之前把前面所有 padding 规则都盖掉了 ——
     改前面的数没反应，就是因为这里。 */
  body.ent #main{ padding-bottom:calc(152px + env(safe-area-inset-bottom,0px)) !important; }
}

/* 分段页签：税局是一条文字 tab + 下划线，不摆图标。
   旧皮肤把 icon 和文字竖着摞进 38px 的行里，文字被裁到框外，等于整排只剩图标。 */
body.ent #main .hub-bar button .ic,
body.ent #main .hub-bar button .ai-ic{ display:none !important; }
body.ent #main .hub-bar button{
  display:inline-flex !important; flex-direction:row !important;
  align-items:center !important; justify-content:center !important;
  overflow:visible !important; line-height:1 !important;
}

@media(max-width:899px){
  /* 目录页在手机上也要成表：以前这套网格只写在桌面段里，手机退化成一行流字 */
  body.ent #main .all-panel{ padding:0 !important; overflow:hidden !important; }
  body.ent #main .all-grid{
    display:grid !important; grid-template-columns:1fr 1fr !important;
    gap:1px !important; background:#FAFAFA !important;
  }
  body.ent #main a.all-item{
    display:flex !important; flex-direction:column !important; align-items:flex-start !important;
    justify-content:center !important; gap:2px !important;
    padding:10px 12px !important; background:#FAFAFA !important;
    border:0 !important; border-radius:2px!important; height:54px !important;
    text-align:left !important; text-decoration:none !important;
  }
  body.ent #main .all-item .ai-t{ font-size:12px !important; font-weight:600 !important; color:#1A1A1A !important; }
  body.ent #main .all-item .ai-g{ font-size:12px !important; color:#9E9E9E !important; letter-spacing:.04em !important; }
}

/* ---------- 花名册：手机上改成三行卡片 ----------
   7 列在 390 宽里塞不下，`岗位` 那一格被顶到第二行，
   「管理/技师/主管」竖着堆成一根柱子，一行撑到 120px，标签还压着操作按钮。
   这一段放在样式表最末尾，是为了压过前面那条 min-width:660 的横滑规则
   —— 那条在真机上没生效，表格还是被压扁了。 */
@media (max-width:899px){
  #main .hr-tbl{ overflow:visible !important; }
  #main .hr-tr{
    display:grid !important;
    grid-template-columns:auto 1fr auto !important;
    min-width:0 !important;
    gap:3px 8px !important;
    padding:10px 12px !important;
    align-items:center !important;
  }
  #main .hr-tr>div:nth-child(1){ grid-column:1 !important; grid-row:1 !important; }
  #main .hr-tr>div:nth-child(2){ grid-column:2 !important; grid-row:1 !important; font-size:14px !important; }
  #main .hr-tr>div:nth-child(3){ grid-column:1 / span 2 !important; grid-row:2 !important;
    display:flex !important; gap:4px !important; flex-wrap:wrap !important; min-width:0 !important; }
  #main .hr-tr>div:nth-child(4){ grid-column:1 !important; grid-row:3 !important; font-size:12px !important; }
  #main .hr-tr>div:nth-child(5){ display:none !important; }
  #main .hr-tr>div:nth-child(6){ grid-column:2 !important; grid-row:3 !important; justify-self:end !important; font-size:12px !important; }
  #main .hr-tr>div:nth-child(7){ grid-column:3 !important; grid-row:1 / span 3 !important; }
  /* 表头也带 .hr-tr 类，上面那条 display:grid 会把它一并套上 ——
     同特异性、后写的赢，所以这里写成两类的组合选择器才压得住。 */
  #main .hr-tr.hr-th{ display:none !important; }
  #main .hr-rowbtn{ flex-direction:column !important; gap:3px !important; }
  #main .hr-mini{ padding:3px 7px !important; font-size:12px !important; }
}

/* 员工榜在宽屏上排两列：一行一个人、右边一大片空白，看着像没做完的表。
   两列之后 34 个人只占 17 行，一屏能扫完前 20。 */
@media (min-width:900px){
  #main .sv-list{ display:grid !important; grid-template-columns:1fr 1fr; }
  #main .sv-list>.twr{ border-bottom:1px solid #E8E8E8 !important; }
  #main .sv-list>.twr:nth-child(odd){ border-right:1px solid #E8E8E8; }
  #main .sv-list>.twr .sv-bar{ max-width:150px; }
}

/* 弹窗实底兜底（2026-11-05）：报价复盘弹层在 ent 主题下背景被算成透明，
   背后台账的字透上来，两层字叠一起看不清。
   主题层再厚，这一条永远最后说：弹窗必须是实底。 */
#mbg .modal, #mbox{ background:var(--card)!important; }
/* 复盘卡片中间那行（单号·日期·金额·出单人）：11px 浅灰在手机上根本看不清 */
.fu-item-md{ font-size:12px!important; color:var(--wa-ink2)!important; }

/* ============================================================
   桌面端滚动兜底（2026-11-05 修）
   html/body 早就锁成 overflow:hidden，靠 #main 自己滚。
   但 #main 的高度规则在几处样式之间被覆盖掉，结果 height 由内容撑开、
   overflow-y 变回 visible —— 页面比窗口高，却没有一个能滚的容器，
   鼠标滚轮空转。桌面上「所有页面都不能向下滑」就是这个。
   这里只给 ≥900px 的桌面加一条硬规则，手机端维持整页滚，不动。
   ============================================================ */
@media (min-width:900px){
  body.ent #main{
    /* 高度要扣掉桌面上真正压在内容上面的两截：页头 102 + 面包屑 34 = 136。
       原来写的 52 是手机端头部的高度 —— 直接抄过来，
       结果 #main 底边到 984，屏幕只有 900，页脚永远沉在屏幕外 84 像素。 */
    height:calc(100vh - 136px)!important;
    max-height:calc(100vh - 136px)!important;
    overflow-y:auto!important;
    overflow-x:hidden!important;
    overscroll-behavior:contain;
    /* 滚动条：Chrome 默认那条太细太浅，在一屏白底上等于没有。
       这里加宽到 14px、加深，轨道留一条浅灰边，鼠标不用找。 */
    /* 原生那条不要了：Windows / macOS 的滚动条宽度和显隐由系统说了算，
       同一份代码在别人电脑上可能又是细的。改成自绘一条 14px 常显的。 */
    scrollbar-width:none;
  }
  body.ent #main::-webkit-scrollbar{ width:0; height:0; }
  /* 自绘滚动条：固定贴右边，轨道浅灰、滑块深灰，滑到哪一眼能看见 */
  #pcbar{ position:fixed; top:52px; right:0; bottom:0; width:14px; z-index:62;
    background:#E8E8E8; border-left:1px solid #E8E8E8; display:none; touch-action:none; }
  #pcbar.on{ display:block; }
  #pcbar .th{ position:absolute; left:2px; right:2px; top:0; height:64px;
    background:#9E9E9E; border-radius:2px; cursor:grab;
    transition:background .12s; }
  #pcbar .th:hover{ background:#1A1A1A; }
  #pcbar .th:active{ background:#1A1A1A; cursor:grabbing; }
}

/* ============================================================
   全站滚动条统一加宽（2026-11-05）
   不止内容区：弹层、抽屉、表格横滚、侧栏、下拉，凡是能滚的地方
   统统 14px 宽、深灰滑块、浅灰轨道。以前各处 6px / 10px / 12px 混着来，
   在一屏白底上细得像根线，鼠标得贴着右边缘找。
   注意 #main 用的是自绘那条（下面单独隐藏原生），别让它出两条。
   ============================================================ */
*{ scrollbar-width:auto; scrollbar-color:#9E9E9E #E8E8E8; }
*::-webkit-scrollbar{ width:14px!important; height:12px!important; }
*::-webkit-scrollbar-track{ background:#E8E8E8!important; }
*::-webkit-scrollbar-thumb{
  background:#9E9E9E!important;
  border:1px solid #E8E8E8!important;
  border-radius:2px!important;
  min-height:44px;
}
*::-webkit-scrollbar-thumb:hover{ background:#1A1A1A!important; }
*::-webkit-scrollbar-thumb:active{ background:#1A1A1A!important; }
*::-webkit-scrollbar-corner{ background:#E8E8E8!important; }
@media (min-width:900px){
  /* 内容区已有一条自绘的，原生这条藏掉，免得并排两根 */
  body.ent #main::-webkit-scrollbar{ width:0!important; height:0!important; }
}

/* ================== 客户电话补全 ==================
   进度条 + 四格数字 + 一户一张的录入卡。
   样式统一在这里，不散到各处；按钮要压过全局那条「页内按钮一律白底黑字」，
   所以带 #main 前缀 + !important。 */
.pb-bar{height:6px;background:#E8E8E8;border-radius:2px;overflow:hidden;margin:12px 0 10px}
.pb-bar i{display:block;height:100%;background:#1A1A1A;border-radius:2px;transition:width .35s}
.pb-kvs{display:grid;grid-template-columns:repeat(4,1fr);gap:7px}
.pb-kv{background:#E8E8E8;border-radius:2px;padding:8px 4px;text-align:center}
.pb-kv b{display:block;font-size:14px;font-weight:700;color:#1A1A1A;line-height:1.2}
.pb-kv span{font-size:12px;color:#9E9E9E}
.pb-kv.ok b{color:#1A1A1A}
.pb-kv.warn b{color:#6E6E6E}
.pb-list{display:flex;flex-direction:column}
.pb-item{padding:12px 0;border-bottom:1px solid #E8E8E8}
.pb-item:last-child{border-bottom:0}
.pb-item:first-child{padding-top:4px}
.pb-hd{display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.pb-hd b{font-size:14px;color:#1A1A1A;line-height:1.4}
.pb-lift{font-size:12px;font-weight:700;color:#9E9E9E;background:#FAFAFA;border-radius:2px;padding:1px 5px}
.pb-z{font-size:12px;color:#1A1A1A;background:#E8E8E8;border-radius:2px;padding:1px 5px}
.pb-meta{font-size:12px;color:#9E9E9E;margin-top:4px;line-height:1.6}
.pb-in{display:flex;gap:6px;margin-top:8px}
.pb-in input{flex:1;min-width:0;padding:9px 10px;border:1px solid #E8E8E8;border-radius:2px;
  font-size:14px;background:#FFFFFF;color:#1A1A1A;font-family:inherit}
.pb-in input::placeholder{color:#9E9E9E}
.pb-in input:focus{outline:none;border-color:#1A1A1A;box-shadow:none}
.pb-in select{flex:0 0 92px;padding:9px 8px;border:1px solid #E8E8E8;border-radius:2px;
  font-size:14px;background:#FFFFFF;color:#1A1A1A;font-family:inherit}
#main .pb-ok{flex:0 0 auto;padding:0 15px;border:1px solid #1A1A1A!important;border-radius:2px!important;
  background:#1A1A1A!important;color:#FFFFFF!important;font-size:14px!important;font-weight:600!important;
  letter-spacing:0!important;min-height:38px}
#main .pb-ok:active{background:#1A1A1A!important}
#main .pb-skip{margin-top:7px;padding:4px 9px;border:1px solid #E8E8E8!important;border-radius:2px!important;
  background:#E8E8E8!important;color:#9E9E9E!important;font-size:12px!important;font-weight:500!important;
  letter-spacing:0!important;min-height:30px}
.pb-row{display:flex;flex-direction:column;margin-top:6px}
.pb-li{display:flex;align-items:center;gap:8px;padding:6px 0;border-bottom:1px solid #E8E8E8;font-size:12px}
.pb-li:last-child{border-bottom:0}
.pb-n{width:20px;flex:0 0 auto;text-align:right;color:#9E9E9E;font-size:12px}
.pb-nm{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#1A1A1A}
.pb-lf{flex:0 0 auto;color:#9E9E9E;font-size:12px}
.pb-tip{display:flex;align-items:center;gap:8px;margin:0 0 10px;padding:10px 12px;
  background:#FAFAFA;border:1px solid #E8E8E8;border-radius:2px;font-size:12px;color:#9E9E9E;cursor:pointer}
.pb-tip b{font-size:14px}
.pb-tip span{margin-left:auto;font-weight:600;color:#9E9E9E}

  /* 回答卡：先说清楚在哪儿，再给一个「带我去」 */
  .gd-ans{margin-top:10px;border:1px solid #E8E8E8;border-radius:2px;padding:13px 14px;background:#E8E8E8}
  .gd-ans-t{font-size:14px;font-weight:800;color:#1A1A1A;letter-spacing:-.2px}
  .gd-ans-p{font-size:12px;color:#1A1A1A;margin-top:4px;line-height:1.5}
  .gd-ans-p b{color:#1A1A1A;font-weight:700}
  .gd-ans-d{font-size:12px;color:#9E9E9E;margin-top:6px;line-height:1.65}
  .dl-in .gd-go{display:block;width:100%!important;height:42px!important;min-height:42px!important;
    margin-top:11px!important;border:1px solid #1A1A1A!important;border-radius:2px!important;
    background:#1A1A1A!important;color:#FFFFFF!important;font-size:14px!important;font-weight:700!important;
    letter-spacing:0!important;cursor:pointer}
  .dl-in .gd-go:active{background:#1A1A1A!important}
  /* AI 智答入口条：主题的纸色大规则会盖掉紫底，这里钉回来 */
  body .bot-chat-cta{background:#1A1A1A!important;
    color:#FFFFFF!important;border:none!important;box-shadow:none!important;
    position:relative;margin-top:16px!important}
  /* 机器人拎出卡片：站在卡的左上沿，探出一半身子 */
  body .bot-chat-cta .em{position:absolute;left:12px;top:-18px;width:52px;height:52px;z-index:2}
  body .bot-chat-cta .em svg{width:52px;height:52px;filter:drop-shadow(0 3px 6px rgba(28,27,25,.35))}
  body .bot-chat-cta .tx{padding-left:46px}
  body .bot-chat-cta .t{color:#FFFFFF!important}
  body .bot-chat-cta .s{color:rgba(255,255,255,.85)!important}
  body .bot-chat-cta .go{color:#FFFFFF!important}
  /* 分日期维保：拆批编辑面板 */
  .mpb-head{display:grid;grid-template-columns:1.4fr .55fr 1.05fr .5fr 26px;gap:6px;
    font-size:12px;color:#9E9E9E;letter-spacing:.06em;padding:0 2px 5px;border-bottom:1px solid #E8E8E8;margin-top:6px}
  .mpb-row{display:grid;grid-template-columns:1.4fr .55fr 1.05fr .5fr 26px;gap:6px;align-items:center;padding:6px 0;
    border-bottom:1px solid #E8E8E8}
  .mpb-row input{height:34px!important;font-size:12px!important;padding:0 7px!important;min-width:0}
  .mpb-row .mpb-x{width:26px;height:34px;border:1px solid #E8E8E8;background:#FFFFFF;color:#9E9E9E;
    border-radius:2px;font-size:14px;line-height:1;cursor:pointer}
  .mpb-row .mpb-x:active{background:#FAFAFA;color:#6E6E6E;border-color:#6E6E6E}
  .mpb-sum{font-size:12px;color:#1A1A1A;padding:9px 2px 2px;letter-spacing:.04em}
  .mpb-sum b{color:#1A1A1A;font-size:12px}
  .mpb-sum.bad{color:#6E6E6E}
  .mpb-sum.bad b{color:#6E6E6E}
  /* 保养计划列表里的「N 批」标记 */
  .mq-split{display:inline-block;font-size:12px;font-weight:700;color:#1A1A1A;background:#E8E8E8;
    border:1px solid #E8E8E8;padding:0 5px;border-radius:2px;margin-left:5px;letter-spacing:.04em;vertical-align:1px}
  /* 预警汇总条：替代原来的小红 tag */
  body .ai-sum{display:flex;align-items:center;gap:8px;font-size:12px;color:var(--ink2,#1A1A1A);
    padding:9px 14px;border-radius:2px;background:rgba(0,0,0,.035)}
  body .ai-sum i{width:8px;height:8px;border-radius:50%;background:#1A1A1A;flex-shrink:0}
  body .ai-sum b{font-size:14px;font-weight:800;color:#1A1A1A;margin:0 2px}
  body .ai-sum.hot{background:#FAFAFA}
  body .ai-sum.hot i{background:var(--red,#6E6E6E);}
  body .ai-sum.hot b{color:var(--red,#6E6E6E)}
  @keyframes aiPulse{0%,100%{opacity:1}50%{opacity:.35}}
  /* 预警 KPI：一行式，数字在左、名目在右，不再上下两行 */
  body .ai-kpis{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:12px}
  body .ai-kpi{display:flex;align-items:baseline;gap:8px;padding:11px 14px;border-radius:2px;
    background:rgba(0,0,0,.035);min-width:0}
  body .ai-kpi b{font-size:14px;font-weight:700;color:#1A1A1A;font-variant-numeric:tabular-nums;
    line-height:1;flex-shrink:0}
  body .ai-kpi span{font-size:12px;color:#1A1A1A;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  body .ai-kpi.warn{background:#FAFAFA}
  body .ai-kpi.warn b{color:#9E9E9E}
  body .ai-kpi.bad{background:#FAFAFA}
  body .ai-kpi.bad b{color:var(--red,#6E6E6E)}
  /* 顶栏销售展示：铃铛旁边的金喇叭，手机端也亮出来 */
  body.ent .ent-top .ent-show{display:flex!important;
    width:36px!important;height:36px!important;padding:0!important;
    background:#9E9E9E!important;border:1px solid #E8E8E8!important;color:#FFFFFF!important;
    border-radius:50%!important;align-items:center;justify-content:center;
    box-shadow:none!important;margin-right:2px}
  body.ent .ent-top .ent-show .appic{width:19px!important;height:19px!important}
  body.ent .ent-top .ent-show:active{filter:brightness(.92)}

/* 说明折叠（collapseHints 生成）：和普通 fold 一张脸，但更轻——没有边框底色，只一条虚线 */
.hint-fold{border:none;border-top:1px dashed var(--bd);border-radius:2px;margin:2px 0 4px;background:transparent}
.hint-fold>.fold-hd{padding:9px 14px;font-size:12px;color:var(--m);font-weight:600;list-style:none}
.hint-fold>.fold-hd::-webkit-details-marker{display:none}
.hint-fold>.fold-hd::after{content:"›";margin-left:auto;color:var(--m);transition:none}
.hint-fold[open]>.fold-hd::after{content:"‹"}

/* =====================================================================
   密度统一（2026-11-08）
   ---------------------------------------------------------------
   病根：.panel 在文件里被四段规则层层覆盖，最后一条把内边距顶到
   16px 17px !important；页头下面留 18px、卡片之间 14px、列表行 9px、
   折叠卡高 56px。一页四个盒子，光缝就吃掉首屏三分之一 ——
   电脑上一屏 900px，业务清单一条都露不出来。
   这里在文件末尾一次性收口：留白留给「分组」，不留给「缝」。
   手机端同样受益，但不动字号，只收垂直间距。
   ===================================================================== */
#main .panel{padding:11px 12px!important;margin-bottom:8px!important}
#main > .panel.all-panel{padding:11px 12px!important}

/* 页头：一条细线收口，别在标题下面挖一道 18px 的沟 */
.pg-hd{margin:0 0 10px;padding:0 1px 9px}
.pg-hd h2,.pg-hd .pt{font-size:14px}
.pg-hd p,.pg-hd .pd{margin-top:3px;line-height:1.5}

/* 折叠卡：默认收起时只该占一行，不该占一卡 */
.fold-hd{padding:8px 10px;gap:7px}
.fold-hd .fi{width:20px;height:20px;font-size:12px;border-radius:2px}
.fold-hd .ft{font-size:12px}
.fold{margin-bottom:6px}
.fold-bd{padding:0 10px 9px}
.hint-fold>.fold-hd{padding:7px 2px}

/* 列表行：一行字就是一行高 */
#main .list-item{padding:6px 0}
#main .list-item + .list-item{padding-top:6px}

/* KPI 三块：数字仍然要压得住，标签和说明别各占一行 */
.ar-kpi .k{padding:7px 10px}
.ar-kpi .k span{line-height:1.25}
.ar-kpi .k b{font-size:20px;margin:0}
.ar-kpi .k em{line-height:1.4}

/* 宽屏：分下去的人，一行两个 —— 7 个人从 7 行变 4 行，
   右半屏不再空着，横向空间先用满再谈纵向 */
@media (min-width:900px){
  .ch-own-wrap{display:grid;grid-template-columns:1fr 1fr;column-gap:26px;row-gap:0}
  .ch-own-wrap .ch-own{min-width:0}
  .ch-own-wrap .ch-tot{display:none}   /* 合计在鼠标悬停标题里有，行里只留最要紧的两个数 */
  .ch-own-wrap .ch-own{height:40px;padding:0!important;border-bottom:1px solid var(--bd)}
  .ch-own-wrap .ch-own .ch-nm{font-size:14px}
}

/* 手机顶栏的面包屑：「年检保养 / 年检跟踪」——底下的页签条已经把
   这两个词都写过一遍，它只是第四遍。手机屏幕短，让位给正文。 */
@media (max-width:899px){
  /* 整条定位带一起收：只藏值、留「当前位置：」四个字，是个残句 */
  body.ent #tzCrumbBar{display:none!important}
  body.ent .ent-crumb{display:none!important}
  /* 顶栏居中位没了面包屑，标题列靠左，别留一段空 */
  body.ent .ent-hd{justify-content:flex-start!important}
}

/* 手机上六个以上页签会折成两行，占掉 77px；改成一行横滑，
   手指一拨就到，正文往上提 40px */
@media (max-width:899px){
  .hub-bar:not(.grid){flex-wrap:nowrap!important;overflow-x:auto;scrollbar-width:none}
  .hub-bar:not(.grid)::-webkit-scrollbar{display:none}
  .hub-bar:not(.grid) button{flex:0 0 auto!important;padding:8px 10px!important}
}

/* 追款专项：标题行的副题（待收总额）跟标题同一行，不再单占一行 */
.ch-hd-sub{font-size:12px;font-weight:400;color:var(--m);letter-spacing:0}
.ch-hd-sub b{color:var(--red);font-weight:800;font-size:14px}

/* 专项清单：电脑上一行放得下「客户 · 金额 · 专人 · 承诺日 · 定」，
   不该还按手机竖成两行。86px → 40px，一屏从 1 条变 7 条。 */
@media (min-width:900px){
  #main .ch-task{display:flex!important;align-items:center;gap:12px;flex-wrap:nowrap;padding:5px 0!important}
  #main .ch-task>div:first-child{flex:1 1 auto;min-width:0}
  #main .ch-task>div:first-child>div{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  #main .ch-task>div:last-child{margin-top:0!important;flex:0 0 auto;gap:6px!important}
  #main .ch-task>.ch-amt{flex:0 0 auto}
}

/* 清单行里的下拉和日期框按行高收：48px 的控件会把一行撑成 66px */
@media (min-width:900px){
  #main .ch-task select,#main .ch-task input[type=date]{height:28px!important;padding:0 6px;font-size:12px;min-height:0}
  #main .ch-task .btn{padding:3px 11px!important;font-size:12px;min-height:0}
}

/* =====================================================================
   页面骨架：规矩卡不该站在正文前面
   ---------------------------------------------------------------
   「这页的规矩」「授权到人」这类卡片，是第一次用时才需要读的东西。
   它现在排在指标后面、清单前面 —— 老员工每天路过一次，等于每天被
   说明书挡一次。统一排到正文之后（仍可展开），首屏只留业务。
   用 order 而不是挪 DOM：内联 onclick 和展开状态都不动。
   ===================================================================== */

/* KPI 三块与人员行再收一档：电脑 900 高，一屏要能看见清单 */
.ar-kpi .k{padding:6px 9px}
.ar-kpi .k b{font-size:14px}
.ar-kpi .k em{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
@media (min-width:900px){
  .ch-own-wrap .ch-own{height:34px}
  #main .ch-task{padding:4px 0!important}
}

/* 清单一行排开时，金额不能被挤断；控件定宽，别跟文字抢地方 */
@media (min-width:900px){
  #main .ch-task>div:first-child{white-space:nowrap;overflow:hidden}
  #main .ch-task>div:first-child b{white-space:nowrap}
  #main .ch-task select{width:92px!important;flex:0 0 92px!important}
  #main .ch-task input[type=date]{width:116px!important;flex:0 0 116px!important}
  #main .ch-task>div:last-child>.hint{display:none}
  #main .ch-task .btn{flex:0 0 auto}
}

/* =====================================================================
   手机：顶部三层压成一层（2026-11-08）
   ---------------------------------------------------------------
   手机上打开一页，先过三道路牌：顶栏（52）、页签条（41）、页内说明（26），
   再加指标（71）、搜索（42）、筛选（44）—— 到第一条数据已经 280px，
   844 高的屏只剩 2/3。页名在页签上已经写清楚了，页内不必再说一遍。
   ===================================================================== */
@media (max-width:899px){
  /* 顶栏：46 够放 logo 和菜单 */
  #entTop{height:46px!important;min-height:46px!important}

  /* 页签条：36，一颗页签一颗手指宽 */
  body.ent #subnav{height:36px!important;min-height:36px!important;padding:0 4px!important}
  body.ent #subnav button{padding:7px 9px!important;font-size:14px!important;line-height:1.2!important}

  /* 页内那句说明：页签条已经写着「年检跟踪」了，这是第三遍 */
  #main>.pg-hd{display:none!important}
  /* 万一某页的页头里放了按钮，别把它一起藏掉 */
  #main>.pg-hd:has(button){display:block!important}

  /* 指标：三个数字一行，标签贴着数字底下 */
  #main .stat-row{gap:6px!important;margin-bottom:8px!important}
  #main .stat{padding:7px 6px!important}
  #main .stat .num{font-size:20px!important;line-height:1.1!important}
  #main .stat .label{font-size:11px!important;margin-top:1px!important;letter-spacing:0!important}

  /* 搜索框：36 */
  #main input.search{height:34px!important;padding:6px 12px!important;font-size:14px!important;margin-bottom:6px!important}

  /* 筛选：两颗下拉并排一行，不再各占一行 */
  #main .dk-bar{flex-wrap:nowrap!important;gap:6px!important;margin:0 0 6px!important}
  #main .dk-bar select,#main .dk-bar .dk,#main .dk-bar>*{height:32px!important;min-height:0!important;font-size:12px!important;flex:1 1 0;min-width:0}

  /* 操作条：一条细行，别再单独占 44px 的卡片 */
  #main .ux-actbar{margin:0 0 6px!important;padding:0!important;height:auto!important;min-height:0!important;
    border:0!important;background:none!important;box-shadow:none!important}
  #main .ux-actbar .ux-ab-t{padding:5px 10px!important;font-size:12px!important}
}

/* 手机上「一屏见数据」：标题、KPI、操作条各收一档（接上一段） */
@media (max-width:899px){
  /* 追款：标题一行；三块 KPI 并成一行，说明只留最短的 */
  #main .all-panel h2{font-size:20px!important;line-height:1.25!important;margin:0 0 3px!important;gap:6px!important}
  #main .all-panel .hint{margin-bottom:4px!important;font-size:11px!important;line-height:1.45!important}
  #main .ch-hd-sub{font-size:11px!important}
  #main .ch-hd-sub b{font-size:14px!important}
  #main .ar-kpi{flex-wrap:nowrap!important;gap:4px!important;margin:0!important;border-bottom:0!important;padding:0!important}
  #main .ar-kpi .k{flex:1 1 0!important;min-width:0!important;padding:5px 6px!important}
  #main .ar-kpi .k span{font-size:11px!important;line-height:1.3!important}
  #main .ar-kpi .k b{font-size:14px!important;margin:0!important;line-height:1.25!important}
  #main .ar-kpi .k em{font-size:11px!important;line-height:1.3!important}

  /* 操作条：32 高够点，不再占一张卡 */
  #main .ux-actbar .dk-trig{height:32px!important;min-height:0!important;padding:0 10px!important;font-size:12px!important;line-height:32px!important}

  /* 客户档案：搜索+筛选条收紧；「没登记地址」提示压成一行 */
  #main .cq-bar{padding:6px 8px!important;margin-bottom:6px!important}
  #main .pb-tip{padding:5px 8px!important;font-size:11px!important;line-height:1.4!important;margin-bottom:6px!important}

  /* 保养核实：一户 173px 太松，一屏看不了半户 */
  #main .pb-item{padding:7px 0!important}
}

/* =====================================================================
   手机首屏：三行横条并成一行（2026-11-08 根治版）
   ---------------------------------------------------------------
   病根不是间距，是「结构」：指标一行（55）、搜索一行（42）、筛选一行（44），
   三个横条各占一行，141px 全是横向留白，正文被推到 260px 以外。
   压缩 padding 治不了这个 —— 只能合并。
   做法：指标从「三张卡」降级成「一条摘要」（数字+标签横排，去边框），
   搜索框用 border-box 让 height 真的生效，筛选条压到一行 32。
   ===================================================================== */
@media (max-width:899px){

  /* 指标：三张卡 → 一条摘要。竖线分隔，数字在前标签在后，高 55→26 */
  #main .stat-row{
    display:flex!important;flex-wrap:nowrap!important;
    gap:0!important;margin:0 0 7px!important;padding:0!important;
    border:0!important;background:none!important;box-shadow:none!important;
  }
  #main .stat{
    flex:1 1 0!important;min-width:0!important;
    display:flex!important;align-items:baseline!important;gap:4px!important;
    padding:0 9px!important;margin:0!important;
    border:0!important;border-left:1px solid var(--bd)!important;
    border-radius:2px!important;background:none!important;box-shadow:none!important;
    height:auto!important;min-height:0!important;
  }
  #main .stat:first-child{border-left:0!important;padding-left:0!important}
  #main .stat .num{font-size:20px!important;line-height:1.15!important;margin:0!important}
  #main .stat .label{font-size:11px!important;line-height:1.15!important;margin:0!important;
    white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

  /* 搜索框：padding 10px 把 34 的 height 顶成 42，改 box-sizing */
  #main input.search{
    box-sizing:border-box!important;
    height:34px!important;min-height:0!important;
    padding:0 12px!important;line-height:34px!important;
    font-size:14px!important;margin:0 0 7px!important;
  }

  /* 筛选条：一行，控件 32 */
  #main .dk-bar{
    flex-wrap:nowrap!important;gap:6px!important;
    margin:0 0 7px!important;padding:0!important;
  }
  #main .dk-bar>*{flex:1 1 0!important;min-width:0!important}

  /* 客户档案：搜索+筛选整块（cq-bar）从 105 压到一行 */
  #main .cq-bar{padding:0!important;margin:0 0 7px!important;background:none!important;border:0!important}
  #main .cq-row{gap:6px!important}
  #main .cq-search{height:34px!important;padding:0 10px!important}
  #main .prod-bar,#main .cq-filts{margin:0!important}
}

/* 接上：筛选按钮的 min-height 被钉在 44，客户档案条还是「搜索+筛选」两层 */
@media (max-width:899px){
  #main .dk-trig{height:32px!important;min-height:0!important;padding:0 10px!important;
    font-size:12px!important;line-height:32px!important}
  /* 这六个筛选（在保/停保/待核实/流失/名录/客户池）原来被钉成一行横滑，
     390 宽摆不下，最后一颗「全区」被硬切掉半个字 —— 看着像排版崩了。
     试过跟页签条一样加淡出，但底色和页面同为浅灰，淡了看不出来，白费。
     这几颗本来就不该滑：滑出来的东西用户不知道存在。改成换行，
     多占 32px 换「一眼看全六个」，值。 */
  #main .cq-row{height:auto!important;min-height:0!important;flex-wrap:wrap!important;
    gap:0 2px!important;row-gap:2px}
  #main .cq-row>*{height:32px!important;min-height:0!important;font-size:12px!important}
  /* 弹簧在换行布局里会撑出一整行空白，收起；改让观察窗自己靠右，
     否则「全部技师」会掉到下一行独占 32px。四个筛选 254 + 观察窗 90 = 344 < 366，
     放得下；等「待核实/流失」有数了自然换行，那时也不挤。 */
  #main .cq-row .cq-sp{display:none}
  #main .cq-row .cq-watch{margin-left:auto}
  /* 追款：标题行 83 → 一行，KPI 已经是一行摘要 */
  #main .all-panel h2{font-size:20px!important;margin:0!important;line-height:1.3!important}
  #main .all-panel>.hint{margin:2px 0 5px!important;font-size:11px!important;line-height:1.35!important}
}

/* 筛选按钮到底为什么是 44：多处 height 规则互相打架，
   这里用最高优先级摁死 32，不再猜测来源 */
@media (max-width:899px){
  body #main .dk-bar .dk-trig,
  body #main .dk-bar button{
    height:32px!important;min-height:32px!important;max-height:32px!important;
    padding:0 10px!important;font-size:12px!important;line-height:32px!important;
  }
}

/* =====================================================================
   修遮挡：内容区起点必须在页签条之下（2026-11-08）
   ---------------------------------------------------------------
   #main 从 83px 开始，而 sticky 页签条占 84~120px —— 每页最上面
   37px 一直被页签压着。指标条压矮之后整条掉进遮挡区，看起来像"没了"。
   这不是哪一页的问题，是全站骨架的错位。
   ===================================================================== */
@media (max-width:899px){
  body.ent #main{padding-top:10px!important}   /* 页签已回到 47~83，这里只留 10 呼吸 */
  body #main>.stat-row{margin-top:0!important}
}

/* 追款「分下去」：一个人一行 44，不要两行 100
   ------------------------------------------------------------
   这一行本来就有 5 个字段（名字/金额/笔数徽章/合计/导出），手机上
   宽度不够就换行 —— 一换行，7 个人从 7 行变 14 行，一屏只看得到 5 个。
   「合计」和金额是同一件事的两种说法，PC 端早就藏了，手机忘了藏。 */
@media (max-width:899px){
  #main .ch-own{
    flex-wrap:nowrap!important;
    height:44px!important;min-height:0!important;
    padding:0!important;gap:6px!important;
    border-bottom:1px solid var(--bd);
  }
  #main .ch-own .ch-tot{display:none!important}
  #main .ch-own .ch-nm{font-size:14px!important;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  #main .ch-own .ch-num{font-size:14px!important;font-weight:700!important}
  #main .ch-own .ch-badge{font-size:11px!important;padding:0 4px!important;line-height:16px!important}
  #main .ch-own .ch-go{flex:0 0 auto!important;padding:2px 7px!important;font-size:11px!important;line-height:18px!important}
}

/* 上一版把名字挤没了：金额/徽章/导出都不可压，flex:1 的名字就被压到 0。
   这里给名字一个保底宽度，其余固定不缩。 */
@media (max-width:899px){
  #main .ch-own .ch-nm{flex:1 1 auto!important;min-width:64px!important}
  #main .ch-own .ch-num{flex:0 0 auto!important}
  #main .ch-own .ch-badge{flex:0 0 auto!important}
  /* 「右键直接导出」在手机上不成立，这话留着只会让人试着长按 */
  #main .panel>h3 em{display:none!important}
}

/* 四样要塞进 368：字号各降一级，不靠换行 */
@media (max-width:899px){
  #main .ch-own{gap:5px!important;padding-right:2px!important}
  #main .ch-own .ch-nm{font-size:12px!important;min-width:56px!important}
  #main .ch-own .ch-num{font-size:12px!important}
  #main .ch-own .ch-badge{font-size:11px!important;padding:0 3px!important;line-height:15px!important}
  #main .ch-own .ch-go{font-size:11px!important;padding:1px 5px!important;line-height:16px!important;max-width:38px}
}

/* =====================================================================
   电脑端：去掉第二套导航与页内大标题（2026-11-08）
   ---------------------------------------------------------------
   顶部横菜单（今天/报价/合同/收款/…）和左侧竖栏是同一套 8 个入口，
   左栏还多一层二级展开；横菜单纯属重复，白占 43px。
   页内大标题同理：面包屑「当前位置：收款 / 收款台 / 追款专项」已经
   说清了位置，左栏也高亮着，再来一行 24px 的标题是第三遍。
   两项合计 114px —— 900 高的屏幕上，等于把第一条数据往下推了一成三。
   ===================================================================== */
@media (min-width:900px){
  /* 用户反馈「有些入口找不到了」——顶栏那一排是「一键直达该组首页」的捷径，
     砍掉之后只能从左栏点开门再点子页，慢一步。恢复，但压到 32px：
     入口都在，又不吃屏幕。 */
  body.ent .tz-nav{display:flex!important; background:transparent; border-top:none}
  body.ent .tz-navi{height:32px; padding:0 15px; font-size:12px; letter-spacing:.06em}
  body.ent .tz-navi.on{background:transparent}
  body.ent .tz-navi.on::after{height:2px; background:#6E6E6E}
  body.ent .tz-head{height:auto!important;min-height:0!important}

  /* 页内大标题让位；带按钮的那种留着（按钮不能跟着标题一起消失） */
  body.ent #main>.pg-hd{display:none!important}
  body.ent #main>.pg-hd:has(button){display:flex!important}
}

/* 电脑端内容区：三项各收一档（接上段） */
@media (min-width:900px){
  /* 指标三张卡：74 → 48。数字仍是主角，标签贴着它，说明跟在后面 */
  #main .stat-row{gap:8px!important;margin-bottom:10px!important}
  #main .stat{padding:7px 11px!important;display:flex!important;align-items:baseline!important;gap:7px!important}
  #main .stat .num{font-size:20px!important;line-height:1.15!important;margin:0!important}
  #main .stat .label{font-size:11px!important;margin:0!important;letter-spacing:0!important;white-space:nowrap}

  /* 操作条：44 → 32 */
  #main .ux-actbar{margin:0 0 8px!important;padding:0!important;border:0!important;background:none!important}
  #main .ux-actbar>*{min-height:32px!important;height:32px!important;font-size:12px!important}

  /* 追款标题块：155 → 约 105。副题并入标题行已是旧改动，这里只收 KPI 的三行 */
  #main .all-panel{padding:10px 12px!important}
  #main .all-panel h2{font-size:20px!important;margin:0 0 2px!important}
  #main .all-panel>.hint{margin:0 0 6px!important;font-size:11px!important;line-height:1.4!important}
  #main .ar-kpi .k{padding:5px 9px!important}
  #main .ar-kpi .k b{font-size:20px!important}
  #main .ar-kpi .k em{font-size:11px!important;line-height:1.3!important}

  /* 搜索与筛选：36/44 → 34/34 */
  #main input.search{height:34px!important;min-height:0!important;box-sizing:border-box!important;margin-bottom:8px!important}
  #main .dk-bar{gap:7px!important;margin:0 0 8px!important}
  #main .dk-bar .dk-trig{height:34px!important;min-height:34px!important;font-size:12px!important;line-height:34px!important}
}

/* ================== 闭环模块（日/周/月计划 + 考核奖惩）专属样式 ================== */
.subbar{display:flex;align-items:center;gap:8px;margin-bottom:10px;flex-wrap:wrap}
.subbar .search{flex:1;min-width:150px}
.lp-card{cursor:pointer}
.lp-sheet{max-height:80vh;overflow:auto;font-size:14px;line-height:1.5}
.lp-sheet h3{margin:0 0 10px;font-size:14px}
.lp-sheet .row{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.lp-sheet .muted{color:var(--m);font-size:12px}
.lp-sheet label{display:inline-flex;align-items:center;gap:4px;font-size:12px;color:var(--ink-2)}
.lp-sheet .ipt{width:100%;box-sizing:border-box;padding:7px 9px;border:1px solid #E8E8E8;border-radius:2px;font-size:14px;background:#FFFFFF;font-family:inherit}
.lp-sheet textarea.ipt{resize:vertical}
.lp-sheet select.ipt{width:auto}
/* 打分表里的得分输入框必须是定宽，不能被上面的 .ipt{width:100%} 吃掉列宽 */
.lp-sheet .lp-si{width:62px;flex-shrink:0}
.lp-sheet .lp-sm{flex-shrink:0}
.lp-sheet .lp-sn{min-width:140px}
.lp-tbl-wrap{overflow-x:auto;margin:4px 0;border:1px solid #E8E8E8;border-radius:2px}
.lp-tbl{width:100%;border-collapse:collapse;font-size:12px;min-width:520px}
.lp-tbl th,.lp-tbl td{border:1px solid #E8E8E8;padding:5px 7px;text-align:left;vertical-align:middle}
.lp-tbl th{background:#FAFAFA;font-weight:600;white-space:nowrap}
.lp-tbl .ipt{padding:5px 7px}
.lp-grp{margin:8px 0 2px}
.lp-grp-h{font-weight:600;font-size:12px;margin-bottom:2px;color:var(--ink-2)}
.lp-grp.qual{margin-top:10px;padding-top:8px;border-top:1px solid #E8E8E8;background:#FFFFFF;border-radius:2px;padding:8px 10px}
.lp-grp.qual .lp-grp-h{color:#9E9E9E}
.lp-score-row{display:flex;align-items:center;gap:8px;padding:5px 0;border-top:1px solid #E8E8E8}
.lp-score-row:first-child{border-top:0}
.lp-score-row.qual .lp-sn{font-weight:600}
.lp-sn{display:flex;flex-direction:column;flex:1;min-width:0}
.lp-sn em{font-style:normal;font-size:11px;color:var(--m);margin-top:1px}
.lp-src{font-style:normal;font-size:11px;color:#6E6E6E;background:#FAFAFA;border:1px solid #E8E8E8;padding:0 5px;border-radius:2px;margin-top:2px;align-self:flex-start}
.lp-si{width:62px;flex-shrink:0;text-align:right}
.lp-sm{color:var(--m);flex-shrink:0;width:26px}
.lp-vf{flex-shrink:0;font-size:11px;padding:1px 6px;border-radius:2px;border:1px solid #E8E8E8;background:#FFFFFF;color:#6E6E6E;cursor:pointer;line-height:1.7;font-family:inherit}
.lp-vf:hover{filter:brightness(.97)}
.lp-vf.due{border-color:#E8E8E8;background:#FAFAFA;color:#6E6E6E}
.lp-vf.man{border-color:#E8E8E8;background:#FAFAFA;color:#9E9E9E}
.lp-vf.ok{border-color:#E8E8E8;background:#FAFAFA;color:#1A1A1A}
.lp-vf.fix{border-color:#E8E8E8;background:#FAFAFA;color:#1A1A1A}
.lp-vf.rej{border-color:#E8E8E8;background:#FAFAFA;color:#1A1A1A}
.lp-grp-man{margin-top:10px;padding-top:8px;border-top:1px solid #E8E8E8}
.lp-grp-man .lp-grp-h{color:#6E6E6E}
.lp-vf-ov{position:fixed;inset:0;background:rgba(20,24,30,.42);z-index:9999;display:flex;align-items:center;justify-content:center;padding:16px}
.lp-vf-box{background:#FFFFFF;border-radius:2px;max-width:460px;width:100%;padding:16px 18px;box-shadow:none;font-size:14px}
.lp-vf-box h4{margin:0 0 8px;font-size:14px}
.lp-vf-box h4 .muted{font-weight:400;font-size:11px;margin-left:6px}
.lp-vf-line{margin:4px 0;line-height:1.7;font-size:12px}
.lp-vf-box .row{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:10px 0}
.lp-vf-box .ipt{padding:6px 8px;border:1px solid #E8E8E8;border-radius:2px;font-size:14px;font-family:inherit;background:#FFFFFF}
.lp-vf-box .muted{color:#6E6E6E;font-size:12px}
.lp-total{margin:8px 0;padding:8px 10px;background:#FAFAFA;border-radius:2px;font-size:14px}
.lp-total b{font-size:14px;color:var(--t)}
.lp-auto-note{margin:6px 0 2px;padding:8px 10px;background:#FAFAFA;border:1px solid #E8E8E8;border-radius:2px;font-size:12px;line-height:1.7;color:#1A1A1A}
.lp-auto-note b{color:#1A1A1A}
.lp-biz{margin:8px 0;padding:8px 10px;background:#FAFAFA;border:1px solid #E8E8E8;border-radius:2px;font-size:12px;line-height:1.85;color:#1A1A1A}
.lp-biz b{color:#1A1A1A}
.lp-duty{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin:2px 0 4px;font-size:12px}
.lp-qa{margin-bottom:10px}
.lp-qa .row{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.lp-qa-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:6px 0;border-top:1px solid #E8E8E8;font-size:12px}
.lp-qa-row:first-of-type{border-top:0}
.lp-qa-row b{color:var(--ink)}
@media(max-width:640px){ .lp-qa-row{gap:6px 12px;font-size:11px} }
.lp-chip{display:inline-block;padding:1px 8px;border-radius:2px;background:#FAFAFA;border:1px solid #E8E8E8;color:#1A1A1A;cursor:pointer;font-weight:600;font-size:12px;line-height:1.6}
.lp-chip:hover{background:#FAFAFA}
.tag.lp-chip{border-radius:2px}
.lp-wide{max-width:820px}
@media(max-width:640px){ .lp-tbl{min-width:480px} }

/* 闭环·考核奖惩：适用范围说明 + 主管评语区（作用域限定，不污染其他页） */
.lp-note{background:#FAFAFA;border-left:1px solid #E8E8E8;color:#6E6E6E;font-size:12px;
  line-height:1.55;padding:8px 10px;border-radius:2px;margin:0 0 10px}
.lp-cmt-area{display:grid;grid-template-columns:1fr 1fr;gap:8px 10px}
/* 用 .lp-sheet label.lp-cmt 提高特异性，压过上面通用的 .lp-sheet label{display:inline-flex} */
.lp-sheet label.lp-cmt{display:flex;flex-direction:column;align-items:stretch;gap:3px;
  min-width:0;font-size:11px;color:var(--m)}
.lp-sheet label.lp-cmt .ipt{padding:5px 7px;font-size:12px;width:100%}
@media(max-width:640px){ .lp-cmt-area{grid-template-columns:1fr} }

/* 闭环三页合一：每段一个面板，段标题带条数 */
.lp-seg{margin-bottom:10px}
.lp-seg h3{display:flex;align-items:center;gap:8px}
.lp-seg h3 em{font-style:normal;font-weight:400;font-size:12px;color:var(--m)}
.lp-seg-n{margin-left:auto;font-weight:400}

/* 报价口径：一行一项，三个按钮，没有第四种选择。
   这一页是给老板用的，不是给业务员看的 —— 所以字要大、行要高、一屏放得下。 */
.qcfg-hd{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:10px;flex-wrap:wrap}
.qcfg-t1{font-size:20px;font-weight:750;color:#1A1A1A}
.qcfg-t2{font-size:12px;color:#9E9E9E;margin-top:4px;line-height:1.6;max-width:620px}
.qcfg-h{font-size:14px;font-weight:700;color:#1A1A1A;margin:0 0 4px;text-align:left}
.qcfg-row{display:flex;align-items:center;justify-content:space-between;gap:14px;
  padding:12px 0;border-bottom:1px solid #E8E8E8}
.qcfg-row:last-child{border-bottom:0}
.qcfg-t{min-width:0;flex:1}
.qcfg-t b{display:block;font-size:14px;font-weight:650;color:#1A1A1A}
.qcfg-t em{display:block;font-style:normal;font-size:11px;color:#9E9E9E;margin-top:3px;line-height:1.5}
.qcfg-seg{display:flex;border:1px solid rgba(28,27,25,.2);border-radius:2px;overflow:hidden;flex-shrink:0}
#main .qcfg-b{border:0;border-left:1px solid rgba(28,27,25,.14);background:#FFFFFF;padding:8px 11px;
  font-size:12px;cursor:pointer;font-family:inherit;color:#1A1A1A;white-space:nowrap;line-height:1}
#main .qcfg-b:first-child{border-left:0}
#main .qcfg-b.on{background:#1A1A1A!important;color:#FFFFFF!important;border-color:#1A1A1A!important}
.qcfg-foot{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:12px;flex-wrap:wrap}
.qcfg-note{font-size:11px;color:#9E9E9E;line-height:1.6}
@media (max-width:600px){
  .qcfg-row{flex-direction:column;align-items:stretch;gap:9px}
  .qcfg-seg{width:100%}
  #main .qcfg-b{flex:1;text-align:center;padding:9px 4px}
}
/* 客户列表里的「最近」小标：一眼看出这家是刚报过的，不用再去想 */
.nq-item-tag{font-size:11px;font-weight:700;color:#1A1A1A;border:1px solid rgba(69,69,69,.32);
  border-radius:2px;padding:0 4px;margin-left:6px;line-height:15px;display:inline-block;vertical-align:1px}

/* 报价页两个区块标题：左对齐、说明靠右。手机上原来会被居中，
   一页里两行标题都居中，看起来像两张通知而不是表单。 */
#main:has(.nq-hd) .nq-sec > h3{
  display:flex!important;flex-direction:row!important;align-items:baseline!important;
  justify-content:flex-start!important;text-align:left!important;gap:8px!important;
}
/* 标题前面那个朱方点也是 flex item，用 space-between 会把文字挤到中间。
   改成左起排列，说明文字用 margin-left:auto 自己靠右。 */
#main:has(.nq-hd) .nq-sec > h3 > em{margin-left:auto!important}

/* 手机底部有一排固定导航：正文最后一块常被它压住半行。
   报价页内容长，给它留出一排的高度。 */
@media (max-width:600px){
  #main:has(.nq-hd){padding-bottom:78px!important}
}

/* ===== 报价页：一屏一件事 =====
   屏幕是金贵的。台数、钱、出方案，三样就够；系数与折扣收在「调整」后面，
   点一下就到。留白不是空的，留白是让眼睛知道先看哪儿。 */
.qz{max-width:560px;margin:0 auto;padding:6px 16px 26px}
.qz-bar{display:flex;align-items:flex-end;justify-content:space-between;gap:14px;
  padding:0 0 12px;border-bottom:1px solid var(--bd)}
.qz-n{display:flex;align-items:baseline;gap:10px}
.qz-n label{font-size:12px;color:var(--m);letter-spacing:.14em}
.qz-n input{width:64px;border:none;border-bottom:1px solid var(--t);border-radius:2px;
  background:none;font-size:20px;font-weight:600;text-align:right;padding:0 0 3px;
  font-variant-numeric:tabular-nums;outline:none;letter-spacing:-.01em;box-shadow:none}
.qz-n input:focus{outline:none;box-shadow:none;border-bottom-color:var(--t)}
.qz-pick{border:none;background:none;padding:0 0 4px;display:flex;align-items:baseline;gap:8px;
  font-size:12px;color:var(--m);cursor:pointer;max-width:64%;text-align:left}
.qz-pick span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--t)}
.qz-pick i{font-style:normal;color:var(--m);border-bottom:1px solid var(--bd);white-space:nowrap}
.qz-wait{padding:44px 0;text-align:center;font-size:12px;color:var(--m)}
.qz-amt{text-align:center;padding:24px 0 18px}
.qz-v{font-size:clamp(34px,9.6vw,46px);font-weight:700;letter-spacing:-.02em;line-height:1;
  font-variant-numeric:tabular-nums}
.qz-s{font-size:12px;color:var(--m);margin-top:11px;letter-spacing:.02em}
.qz-act{display:flex;align-items:center;justify-content:center;gap:18px;padding:2px 0 2px}
.qz-go{border:none;border-radius:2px;background:var(--t);color:#FFFFFF;font-size:14px;
  padding:11px 32px;letter-spacing:.1em;cursor:pointer}
.qz-go:hover{opacity:.85}
.qz-tx{border:none;background:none;color:var(--t);font-size:12px;cursor:pointer;
  padding:0 0 3px;border-bottom:1px solid var(--t);letter-spacing:.04em}
.qz-calc{margin-top:18px;border-top:1px solid var(--bd);padding-top:2px}
.qz-r{display:flex;align-items:baseline;justify-content:space-between;gap:12px;
  padding:7px 0;border-bottom:1px solid #E8E8E8;font-size:12px;color:var(--m)}
.qz-r b{font-weight:500;color:var(--t);font-variant-numeric:tabular-nums;white-space:nowrap}
.qz-r.k{border-bottom:none;border-top:1px solid var(--t);padding-top:9px;margin-top:2px}
.qz-r.k span{color:var(--t)}
.qz-r.k b{font-size:20px;font-weight:600}
.qz-rd input{width:92px;border:none;border-bottom:1px solid var(--bd);border-radius:2px;
  background:none;text-align:right;font-size:12px;padding:1px 0;color:var(--t);outline:none}
.qz-warn{margin-top:10px;font-size:11px;color:var(--m);line-height:1.8}
.qz-more{margin-top:16px;border-top:1px solid var(--bd);padding-top:2px}
.qz-g{padding:11px 0;border-bottom:1px solid #E8E8E8}
.qz-g:last-child{border-bottom:none}
.qz-l{font-size:11px;color:var(--m);letter-spacing:.12em;margin-bottom:8px}
.qz-l b{color:var(--t);font-weight:500;letter-spacing:0}
.qz-g select{width:100%;border:1px solid var(--bd);border-radius:2px;background:#FFFFFF;
  font-size:14px;padding:9px 10px;color:var(--t)}
.qz-chips{display:flex;flex-wrap:wrap;gap:6px}
.qz-chip{border:1px solid var(--bd);background:#FFFFFF;border-radius:2px;font-size:12px;
  color:var(--t);padding:6px 11px;cursor:pointer;letter-spacing:.02em;line-height:1.4}
.qz-chip em{font-style:normal;color:var(--m);font-size:11px;margin-left:3px}
.qz-chip.on{border-color:var(--t);background:var(--t);color:#FFFFFF}
.qz-chip.on em{color:rgba(255,255,255,.62)}
.qz-tabs{display:flex;gap:0;margin-bottom:2px}
.qz-tab{border:none;background:none;font-size:14px;color:var(--m);padding:7px 0;
  margin-right:20px;cursor:pointer;border-bottom:2px solid transparent;letter-spacing:.06em}
.qz-tab.on{color:var(--t);border-bottom-color:var(--t)}
.qz-sel{display:flex;gap:10px;padding:9px 0 11px;border-bottom:1px solid var(--bd)}
.qz-sel select{flex:1;min-width:0;border:none;background:none;font-size:14px;color:var(--t);
  padding:4px 16px 4px 0;appearance:none;-webkit-appearance:none;
  background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='9' height='6'><path d='M0 .5l4.5 4.5L9 .5' fill='none' stroke='%238e8e93' stroke-width='1.1'/></svg>");
  background-repeat:no-repeat;background-position:right 2px center}
@media (max-width:480px){
  .qz{padding:4px 12px 22px}
  .qz-amt{padding:22px 0 16px}
  .qz-go{padding:11px 28px}
}

/* 报价页里的输入与下拉：只要一根线，不要方框。
   全局的输入框样式是为表单做的，这里不是表单，是读数。 */
#main .qz .qz-n input,#main .qz .qz-n input:focus,#main .qz .qz-n input:active{
  border:none!important;border-bottom:1px solid var(--t)!important;border-radius:2px!important;
  background:transparent!important;box-shadow:none!important;height:auto!important;
  padding:0 0 3px!important;line-height:1.05!important;outline:none!important}
#main .qz .qz-sel select,#main .qz .qz-g select{
  border:none!important;border-radius:2px!important;background-color:transparent!important;
  box-shadow:none!important;height:auto!important;font-size:14px!important;
  color:var(--t)!important;outline:none!important}
#main .qz .qz-sel select{padding:4px 16px 4px 0!important}
#main .qz .qz-g select{padding:8px 16px 8px 0!important;border-bottom:1px solid var(--bd)!important}
#main .qz .qz-rd input{border:none!important;border-bottom:1px solid var(--bd)!important;
  border-radius:2px!important;background:transparent!important;box-shadow:none!important;
  height:auto!important;padding:1px 0!important;font-size:12px!important}

/* ===== 折扣滑条：一根线，一个点 =====
   七颗按钮排在那里，等于替业务员把价定死了；给一根滑条，8.8 折也能停。
   轨道 1px，拇指 15px，别的不画 —— 这里不需要装饰，只需要能停准。 */
.qz-sl{padding:2px 8px 0}   /* 左右留 8px：滑到头时圆点不能贴边、更不能被切掉 */
.qz-sl input[type=range]{-webkit-appearance:none!important;appearance:none!important;
  width:100%!important;height:20px!important;background:transparent!important;
  border:0!important;padding:0!important;margin:0!important;box-shadow:none!important;outline:none}
.qz-sl input[type=range]::-webkit-slider-runnable-track{height:1px;background:#E8E8E8;border:0}
.qz-sl input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;width:15px;height:15px;
  border-radius:50%;background:#1A1A1A;border:0;margin-top:-7px;box-shadow:none;cursor:pointer}
.qz-sl input[type=range]::-moz-range-track{height:1px;background:#E8E8E8;border:0}
.qz-sl input[type=range]::-moz-range-thumb{width:15px;height:15px;border-radius:50%;
  background:#1A1A1A;border:0;cursor:pointer}
.qz-sl input[type=range]:focus{outline:none;box-shadow:none}
.qz-sl-l{display:flex;justify-content:space-between;font-size:11px;color:var(--m);
  letter-spacing:.1em;margin-top:1px;padding:0}

/* 参数摘要：这个价是按什么算出来的，就写在价下面。
   以前它躲在金额下面一行灰字里 —— 那不是克制，那是藏。
   现在给它一圈线：看得见是「一个能按的东西」，但仍只有一个按钮的重量。 */
.qz-sum{display:flex;align-items:center;justify-content:space-between;gap:12px;
  margin:20px 0 0;padding:11px 15px;border:1px solid #1A1A1A;border-radius:2px;
  font-size:11px;color:var(--m);letter-spacing:.02em;cursor:pointer;line-height:1.55;
  background:transparent;-webkit-tap-highlight-color:transparent;transition:background .12s}
.qz-sum:active{background:#E8E8E8}
.qz-sum span{flex:1;min-width:0;text-align:left;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.qz-sum i{font-style:normal;color:var(--t);font-size:12px;white-space:nowrap;flex:none;
  letter-spacing:.04em}
.qz-sum.on{border-color:#E8E8E8;background:#FAFAFA}
@media (max-width:480px){ .qz-sum{margin-top:18px;padding:10px 13px} }

/* ============ 首页第一行：维修报价 ============
   这是全系统点得最勤的一个动作 —— 一天好几遍。
   以前要从「报价 → 新建报价 → 手工开单」点三次才到手；
   天天干的活不该藏在二级里。所以首页第一行就是它，位置固定，不随待办长短上下跑。 */
.qz-quick{display:flex;align-items:center;gap:14px;background:#1A1A1A;color:#FFFFFF;
  border-radius:2px;padding:15px 17px;margin:0 0 10px;cursor:pointer;
  -webkit-tap-highlight-color:transparent;user-select:none;
  transition:opacity .12s}
.qz-quick:active{opacity:.84}
.qz-quick-l{flex:1;min-width:0}
.qz-quick-t{font-size:20px;font-weight:500;letter-spacing:.08em;line-height:1.25}
.qz-quick-s{font-size:11px;color:rgba(255,255,255,.58);margin-top:5px;letter-spacing:.05em}
.qz-quick-n{font-size:11px;color:rgba(255,255,255,.5);letter-spacing:.04em;flex:none}
.qz-quick-r{flex:none;width:36px;height:36px;border:1px solid rgba(255,255,255,.3);
  border-radius:50%;display:flex;align-items:center;justify-content:center;
  font-size:20px;font-weight:300;line-height:1;padding-bottom:1px}
/* 电脑上不那么占地方，横向排开就好 */
@media (min-width:900px){ .qz-quick{padding:16px 20px;max-width:520px} .qz-quick-t{font-size:20px} }

/* ============ 可点的东西要像能点的 ============
   以前参数那一排是「黑字 / 灰字」的差别 —— 那是在读文章，不是在选东西。
   眼睛要在 25 个小标签里找出「哪几个已经选了」，靠色阶差几个灰度是做不到的。
   所以只留两极：选中的是实心黑（一眼看见），没选的是白底细边（安静，但仍是按钮）。 */
#main .qz .qz-chip{
  background:#FFFFFF!important;border:1px solid #E8E8E8!important;color:#1A1A1A!important;
  border-radius:2px!important;font-weight:400;transition:background .1s,color .1s}
#main .qz .qz-chip em{color:#9E9E9E!important}
#main .qz .qz-chip:active{background:#E8E8E8!important}
#main .qz .qz-chip.on{
  background:#1A1A1A!important;border-color:#1A1A1A!important;color:#FFFFFF!important;
  font-weight:500;box-shadow:none}
#main .qz .qz-chip.on em{color:rgba(255,255,255,.62)!important}
#main .qz .qz-chip.on:active{background:#1A1A1A!important}

/* 顶部两个 tab（维保 / 安装）：选中的那条给实线，不靠颜色深浅 */
#main .qz .qz-tab{color:#9E9E9E!important;border-bottom-width:2px!important}
#main .qz .qz-tab.on{color:#1A1A1A!important;border-bottom-color:#1A1A1A!important;font-weight:600}

/* 该填的格子要有「可以写」的样子：一道底线，不是一段文字 */
#main .qz input::placeholder{color:#9E9E9E!important}

/* 页签：选中的那一条要压得住旁边几个。只改颜色深浅不够 ——
   未选中的退到 #9E9E9E（看得见，但不是主角），选中的加粗、实线。 */
#main .qz .qz-tab{color:#9E9E9E!important;font-weight:400}
#main .qz .qz-tab.on{color:#1A1A1A!important;font-weight:700;border-bottom-color:#1A1A1A!important}

/* 规格下拉：看得出是个可以点开的控件，靠那道小箭头 */
#main .qz .qz-sel select{
  background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='7'><path d='M0 .5l5 5 5-5' fill='none' stroke='%2355555a' stroke-width='1.2'/></svg>")!important;
  background-repeat:no-repeat!important;background-position:right 1px center!important;
  padding-right:15px!important}

/* ===== 手册上线的一次性提醒（2026-11-13）=====
   只提一次，七天内不重复；点开过一次就再也不提。
   不记名、不统计、不催 —— 学不学随人，系统只负责「让他知道有这回事」。 */
.mtip{ position:fixed; z-index:9998; left:12px; right:12px;
  bottom:calc(env(safe-area-inset-bottom,0px) + 80px);
  background:#1A1A1A; color:#FFFFFF; border-radius:2px; padding:12px 14px;
  display:flex; align-items:center; gap:9px; cursor:pointer;
  box-shadow:none; animation:mtin .3s ease-out; }
.mtip b{ font-size:14px; font-weight:700; white-space:nowrap; }
.mtip span{ font-size:11px; color:#E8E8E8; flex:1; min-width:0;
  overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.mtip em{ font-style:normal; font-size:12px; font-weight:600; white-space:nowrap; }
.mtip.out{ opacity:0; transform:translateY(10px); transition:opacity .4s, transform .4s; }
@keyframes mtin{ from{ opacity:0; transform:translateY(12px) } to{ opacity:1; transform:none } }

/* ── 秘密登录口：右键头像弹出来的那张小单 ──────────────────────
   两行，一行一家。纸底、发丝线、没有阴影以外的装饰 —— 它得像系统
   自己长的，不能像外挂。当前这家后面一颗朱红小字「当前」。
   单子从头像底下长出来，落不下就翻到上方，右边不出界。 */
.org-pick{
  position: fixed; z-index: 100000; min-width: 138px; padding: 5px;
  background: #FAFAFA; border: 1px solid #E8E8E8; border-radius: 2px;
  box-shadow: none;
  font-family: inherit;
  animation: orgpick .13s ease-out;
}
@keyframes orgpick{ from{ opacity: 0; transform: translateY(-4px) } to{ opacity: 1; transform: none } }
.org-pick .op-i{
  display: flex; align-items: center; gap: 9px; width: 100%;
  padding: 9px 11px; margin: 0; border: none; border-radius: 2px;
  background: none; cursor: pointer; text-align: left;
  font-size:14px; letter-spacing: .1em; color: #1A1A1A;
  -webkit-tap-highlight-color: transparent;
}
.org-pick .op-i::before{
  content: ""; width: 4px; height: 4px; flex: none; display: block;
  background: transparent;
}
.org-pick .op-i:hover{ background: #FAFAFA; }
.org-pick .op-i.on{ color: #6E6E6E; font-weight: 700; }
.org-pick .op-i.on::before{ background: #6E6E6E; }
.org-pick .op-t{
  margin-left: auto; font-size:11px; font-weight: 400;
  letter-spacing: .14em; color: #6E6E6E; opacity: .75;
}
/* 状态行：对家开没开门。一行小字，不抢两家的位置 */
.org-pick .op-st{
  margin: 2px 0 3px; padding: 5px 11px 6px; border-top: 1px solid #E8E8E8;
  font-size: 12px; color: #9E9E9E; line-height: 1.5; letter-spacing: .02em;
}
.org-pick .op-st.bad{ color: #6E6E6E; }

/* 按住那一下的回执：底色微微发暖，松手就退。只是让按的人知道按对了， */
/* 不做到变红那一步 —— 单子马上就弹出来了，颜色不必抢戏。 */
body.ent .tz-me-av{
  transition: background-color .25s ease, border-color .25s ease;
  -webkit-user-select: none; user-select: none;
  -webkit-touch-callout: none; touch-action: manipulation;
}
body.ent .tz-me-av.qx-arming{
  background: #FAFAFA !important;
  background-color: #FAFAFA !important;
  border-color: #6E6E6E !important;
}
body.ent #entU{
  -webkit-user-select: none; user-select: none;
  -webkit-touch-callout: none; touch-action: manipulation;
}
body.ent #entU .av{ transition: background-color .25s ease, color .25s ease; }
body.ent #entU.qx-arming .av{
  background: #6E6E6E !important;
  color: #FAFAFA !important;
}

/* ── 手机顶栏把头像放回来 ──────────────────────────────────────
   900px 以下原来整块 .tz-me 收掉，顶栏右边空着一大片 —— 空着也是空着。
   把头像放回右上角，只留那枚方印、不带名字（名字抽屉里有）：
     · 单击＝开抽屉（手机上弹菜单不如抽屉好用，抽屉里什么都在）；
     · 长按 0.55 秒＝秘密登录口（和桌面右键同一张单）。
   这样手机和桌面就是同一个动作、同一个位置：找自己那枚印，
   长按它。不用先开抽屉、再够屏幕最底下那一行。 */
@media (max-width:899px){
  body.ent .tz-me{
    display:flex !important; align-items:center;
    margin-left:2px; padding-left:0; border-left:none;
  }
  body.ent .tz-me .tz-me-av{
    width:32px; height:32px; border-radius:2px;
    display:flex; align-items:center; justify-content:center;
  }
  body.ent .tz-me .tz-me-av svg{ width:15px; height:15px; }
  body.ent .tz-me-tx{ display:none !important; }
}

/* ============================ 客服专员 ============================
   一页四件事：补资料、续合同、处理投诉、保持联系。
   版式上不做四张彩色卡 —— 四个数字并排，点哪个看哪摊，看一眼就知道今天先打谁的电话。 */
.kfx-hero{padding:15px 16px 13px;background:#FFFFFF;border-bottom:1px solid #E8E8E8}
.kfx-hero-t{font-size:20px;font-weight:700;letter-spacing:.02em}
.kfx-hero-s{font-size:11px;color:#9E9E9E;margin-top:3px;line-height:1.6}
.kfx-hero-r{display:flex;gap:14px;margin-top:9px;font-size:11px;color:#9E9E9E;flex-wrap:wrap}
.kfx-hero-r b{color:#1A1A1A;font-size:14px;font-weight:700;margin-right:2px;font-variant-numeric:tabular-nums}

.kfx-sums{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:12px}
.kfx-s{display:block;text-align:left;background:#FFFFFF;border:1px solid #E8E8E8;border-radius:2px;
  padding:9px 11px 10px;cursor:pointer;font-family:inherit;-webkit-tap-highlight-color:transparent}
.kfx-s:active{background:#FAFAFA}
.kfx-s i{display:block;font-style:normal;font-size:11px;color:#9E9E9E;letter-spacing:.04em}
.kfx-s b{display:block;font-size:20px;font-weight:700;line-height:1.25;margin-top:2px;
  font-variant-numeric:tabular-nums}
.kfx-s span{display:block;font-size:11px;color:#9E9E9E;margin-top:2px;line-height:1.4;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

.kfx-list{background:#FFFFFF;border-top:1px solid #E8E8E8}
.kfx-row{display:flex;align-items:center;gap:10px;padding:11px 14px;border-bottom:1px solid #E8E8E8}
.kfx-row:active{background:#FAFAFA}
.kfx-av{width:34px;height:34px;flex:0 0 34px;border-radius:50%;background:#E8E8E8;color:#6E6E6E;
  display:flex;align-items:center;justify-content:center;font-size:14px;font-weight:600}
.kfx-tx{min-width:0;flex:1}
.kfx-nm{font-size:14px;font-weight:600;display:flex;align-items:center;gap:7px;white-space:nowrap}
.kfx-tel{font-size:11px;color:#9E9E9E;font-weight:400;text-decoration:none;font-variant-numeric:tabular-nums}
.kfx-sub{font-size:11px;color:#9E9E9E;margin-top:2px;font-variant-numeric:tabular-nums}
.kfx-nums{display:flex;gap:1px;flex:0 0 auto}
.kfx-nums span{width:34px;text-align:center;padding:3px 0 4px;cursor:pointer;border-radius:2px}
.kfx-nums span:active{background:#E8E8E8}
.kfx-nums b{display:block;font-size:14px;font-weight:600;color:#1A1A1A;font-variant-numeric:tabular-nums}
.kfx-nums i{display:block;font-style:normal;font-size:11px;color:#9E9E9E;margin-top:1px}
.kfx-nums span.warn b{color:#6E6E6E}
.kfx-nums span.warn i{color:#9E9E9E}

.kfx-empty{padding:26px 18px;text-align:center}
.kfx-empty b{display:block;font-size:14px}
.kfx-empty span{display:block;font-size:11px;color:#9E9E9E;line-height:1.75;margin-top:6px}

.kfx-bar{display:flex;gap:8px;align-items:center;padding:10px 14px}
.kfx-search{flex:1}
.kfx-search input{width:100%;border:1px solid #E8E8E8;border-radius:2px;padding:8px 10px;font-size:12px;
  background:#FFFFFF;font-family:inherit}

.kfx-panel{margin:0 12px 12px}
.kfx-panel h3 em{font-style:normal;font-size:11px;color:#9E9E9E;font-weight:400;margin-left:6px}
.kfx-li{display:flex;align-items:center;gap:9px;padding:9px 0;border-bottom:1px solid #E8E8E8}
.kfx-li:last-child{border-bottom:0}
.kfx-li-b{min-width:0;flex:1}
.kfx-li-n{font-size:12px;font-weight:600;display:flex;align-items:center;gap:6px;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.kfx-amt{font-style:normal;font-size:11px;font-weight:500;color:#9E9E9E;background:#FAFAFA;
  border:1px solid #E8E8E8;border-radius:2px;padding:0 4px;font-variant-numeric:tabular-nums}
.kfx-li-s{font-size:11px;color:#9E9E9E;margin-top:2px;line-height:1.5}
.kfx-li-act{display:flex;align-items:center;gap:5px;flex:0 0 auto}
.kfx-mini{border:1px solid #E8E8E8;background:#FFFFFF;border-radius:2px;width:26px;height:26px;
  font-size:11px;color:#1A1A1A;font-family:inherit;cursor:pointer;padding:0;text-decoration:none;
  display:flex;align-items:center;justify-content:center}
.kfx-mini:active{background:#E8E8E8}
.kfx-sel{border:1px solid #E8E8E8;border-radius:2px;font-size:11px;padding:4px 2px;
  background:#FFFFFF;color:#6E6E6E;font-family:inherit;max-width:72px}

.kfx-none{margin:0 12px 12px;border:1px solid #E8E8E8;background:#FAFAFA;border-radius:2px;
  padding:11px 12px}
.kfx-none-h{display:flex;align-items:center;justify-content:space-between;gap:10px}
.kfx-none-h b{font-size:12px;color:#6E6E6E}
.kfx-none-h span{display:block;font-size:11px;color:#9E9E9E;margin-top:2px;font-variant-numeric:tabular-nums}
.kfx-batch{display:flex;align-items:center;gap:8px;margin-top:10px;padding-top:9px;
  border-top:1px solid #E8E8E8;font-size:11px;color:#6E6E6E;flex-wrap:wrap}
.kfx-batch label{display:flex;align-items:center;gap:4px}
.kfx-batch select{flex:1;min-width:80px;border:1px solid #E8E8E8;border-radius:2px;
  padding:5px 4px;font-size:11px;background:#FFFFFF;font-family:inherit}
.kfx-none .kfx-li{border-bottom:1px solid #E8E8E8;padding:8px 0}
.kfx-none .kfx-li-n{font-weight:500;font-size:12px}

/* 模拟数据记号：一个 ※，比角标轻，扫一眼能看见，不打断阅读。
   正式数据来了覆盖掉 simF，这个符号自己就消失了。 */
.kfx-sim{font-style:normal;font-size:11px;color:#9E9E9E;margin-left:2px;line-height:1}

/* ==========================================================================
   👀 看单层：把那张纸摊在眼前
   --------------------------------------------------------------------------
   复盘、台账里点「看单」就到这里。桌面把真 PDF 放进 iframe（能滚、能选、
   能打印），手机换成图片页翻着看。两种设备同一个壳子：
   上面一行写清是谁家的哪张单，下面四个按钮 —— 关掉、下载、企微、微信。
   ========================================================================== */
.qview{position:fixed;inset:0;z-index:9700;display:flex;flex-direction:column;
  background:rgba(20,19,17,.90);-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);
  animation:qvfade .16s ease-out}
@keyframes qvfade{from{opacity:0}to{opacity:1}}
.qview-h{display:flex;align-items:center;gap:10px;flex:0 0 auto;
  padding:calc(9px + env(safe-area-inset-top)) 14px 9px;
  background:#1A1A1A;color:#E8E8E8;border-bottom:1px solid rgba(255,255,255,.08)}
.qview-t{flex:1;min-width:0;font-size:14px;letter-spacing:.02em;
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.qview-x{flex:0 0 auto;width:30px;height:30px;padding:0;border:1px solid rgba(255,255,255,.2);
  background:transparent;color:#E8E8E8;border-radius:2px;font-size:20px;line-height:1;
  font-family:inherit;cursor:pointer}
.qview-x:active{background:rgba(255,255,255,.14)}
.qview-body{flex:1;min-height:0;display:flex;background:#1A1A1A;overflow:auto;
  -webkit-overflow-scrolling:touch}
.qview-body.ph{display:block;padding:10px 12px}
.qview-frame{flex:1;width:100%;height:100%;border:0;background:#FFFFFF;display:block}
.qview-img{display:block;width:100%;max-width:900px;margin:0 auto 12px;background:#FFFFFF;
  box-shadow:none}
.qview-tip{padding:2px 0 14px;text-align:center;color:#E8E8E8;font-size:12px;line-height:1.7}
.qview-say{flex:1;display:flex;align-items:center;justify-content:center;
  color:#E8E8E8;font-size:14px;letter-spacing:.04em;padding:40px 20px;text-align:center}
.qview-foot{display:flex;gap:8px;flex:0 0 auto;
  padding:10px 14px calc(10px + env(safe-area-inset-bottom));
  background:#1A1A1A;border-top:1px solid rgba(255,255,255,.08)}
.qview-btn{flex:1;padding:11px 8px;border:1px solid rgba(255,255,255,.16);border-radius:2px;
  background:rgba(255,255,255,.10);color:#E8E8E8;font-size:14px;letter-spacing:.06em;
  font-family:inherit;cursor:pointer;white-space:nowrap}
.qview-btn:active{background:rgba(255,255,255,.2)}
@media (min-width:900px){
  /* 桌面：按钮不铺满，靠右排，像一行工具条 */
  .qview-foot{justify-content:flex-end}
  .qview-btn{flex:0 0 auto;min-width:86px;padding:9px 16px}
  .qview-h{padding:10px 18px}
}

/* ── 片区：先行政区，再街道（2026-11-15）─────────────────────────────
   两级分组后，区名要有分量，街道退一档缩进 —— 一眼看清「哪个区下面有几片」。
   原来按 zone 字符串平铺，同一个区散成三四行，看着像三片地方。 */
.zz-d{border-top:1px solid var(--wa-line);padding:2px 0 8px}
.zz-d:first-of-type{border-top:none}
.zz-dh{display:flex;align-items:baseline;gap:10px;width:100%;background:none;border:none;
  padding:11px 0 5px;text-align:left;cursor:pointer;font-family:inherit}
.zz-dh b{font-size:14px;font-weight:600;color:#1A1A1A;letter-spacing:.03em}
.zz-dh span{font-size:12px;color:var(--m)}
.zz-dh:active{opacity:.6}
.zz-d .bar{margin:4px 0 4px 12px}
.zz-d .bar .zn{width:108px}
html[data-tenant="youchuang"] .zz-dh b{font-family:"Songti SC","STSong",serif;font-weight:500}

/* ── 片区：0 台的那一捆 ─────────────────────────────────────────────
   苏州 97 个街道/镇，真正常用的往往不到一半。把 0 台的摊开占三屏，
   有台量的反而被挤到看不见。收成一行三角，点开才列。
   台量少的沉在后面，是排序的事；这里只管「没有的别占地方」。 */
.zz-of{font-size:11px;font-weight:400;color:var(--m);opacity:.55;margin-left:1px}
.zz-more{display:flex;align-items:center;gap:5px;width:calc(100% - 12px);
  margin:0 0 0 12px;padding:7px 0 8px;background:none;border:none;
  font-family:inherit;font-size:12px;color:#9E9E9E;letter-spacing:.02em;
  cursor:pointer;text-align:left;line-height:1.2}
.zz-more:hover{color:#1A1A1A}
.zz-more.on{color:#6E6E6E}
.zz-tri{font-style:normal;font-size:11px;line-height:1;width:10px;flex:none;
  color:#6E6E6E;opacity:.8;transform:translateY(-.5px)}
.zz-d .bar.zz-z{opacity:.6;margin-top:2px;margin-bottom:2px}
.zz-d .bar.zz-z .zn{color:#6E6E6E}
.zz-d .bar.zz-z .track{background:transparent;border-bottom:1px solid #E8E8E8;
  height:1px;border-radius:2px;overflow:visible;align-self:center}
.zz-d .bar.zz-z .cn{color:#9E9E9E}
.zz-u{border-top:1px solid #E8E8E8;margin-top:8px}
.zz-tip{font-size:11px;color:#9E9E9E;line-height:1.7;padding:0 0 4px 2px}
html[data-tenant="youchuang"] .zz-more,
html[data-tenant="youchuang"] .zz-tip{font-family:"Songti SC","STSong",serif}

/* 地址待补那一栏：按台账原值分堆挂着，一眼知道欠的是哪几张 */
.zz-ul{display:flex;flex-wrap:wrap;gap:6px;padding:2px 0 6px}
.zz-ul span{font-size:11px;color:#6E6E6E;background:#FAFAFA;border:1px solid #E8E8E8;
  border-radius:2px;padding:2px 7px;letter-spacing:.02em}
.zz-ul span b{font-weight:600;color:#6E6E6E;margin-left:3px}
html[data-tenant="youchuang"] .zz-ul span{background:#FAFAFA;border-color:#E8E8E8}

/* 台量数字别折行：「128户/485台」在 62px 里会断成两行，一列数字高低不齐 */
.zz-d .bar .cn{width:84px;white-space:nowrap}
.zz-note{font-size:11px;color:#9E9E9E;line-height:1.6;margin:-2px 0 10px;letter-spacing:.02em}

/* ── 区是一级，街道是二级 ────────────────────────────────────────────
   以前两层都用同样的 bar 平铺，只是缩进 12px，看着像并列的两拨。
   现在区头一行（三角 + 区名 + 户数台量 + 看客户），街道收在左侧竖线里，
   点三角才出来 —— 谁属于谁，看结构就知道。 */
.zz-dh{display:flex;align-items:center;gap:8px;padding:9px 0 7px;cursor:default}
.zz-dt{display:flex;align-items:center;gap:7px;background:none;border:none;padding:0;
  font-family:inherit;cursor:pointer;min-width:0;text-align:left}
.zz-dt b{font-size:14px;font-weight:600;color:#1A1A1A;letter-spacing:.03em}
.zz-dt:active{opacity:.55}
.zz-dt .zz-tri{font-size:11px;width:11px;color:#6E6E6E;opacity:.85}
.zz-dn{margin-left:auto;font-size:12px;color:var(--m);white-space:nowrap}
.zz-dgo{background:none;border:none;padding:0 0 0 10px;font-family:inherit;font-size:11px;
  color:#6E6E6E;opacity:.7;cursor:pointer;white-space:nowrap}
.zz-dgo:active{opacity:.4}
.zz-sub{margin:1px 0 6px 5px;padding-left:9px;border-left:1px solid #E8E8E8}
.zz-d.on > .zz-dh .zz-dt b{color:#1A1A1A}
html[data-tenant="youchuang"] .zz-dt b{font-weight:500}

/* 区头行距收一档：原来 44px 一行太散，一屏看不全 */
.zz-dh{padding:7px 0 6px}
/* 二级的竖线原来太淡，缩进看着像没缩 */
.zz-sub{border-left-color:#E8E8E8}

/* ── 客户列表：区 → 街道 两级 ──────────────────────────────────────
   档案页和总账页共用这一套：区是一层（盒头），街道是一层（小标题），
   客户行挂在街道底下。街道那一行能点，收起来就是一份目录。 */
.cq-sh{display:flex;align-items:center;gap:7px;padding:9px 2px 6px;margin-top:1px;
  border-top:1px solid #E8E8E8;cursor:pointer;user-select:none;-webkit-tap-highlight-color:transparent}
.cq-sh:first-child{border-top:none;margin-top:0;padding-top:4px}
.cq-sh i{width:10px;flex:none;font-size:11px;font-style:normal;color:#6E6E6E;opacity:.8}
.cq-sh b{font-size:12px;font-weight:600;color:#1A1A1A;letter-spacing:.02em}
.cq-sh em{margin-left:auto;font-style:normal;font-size:11px;color:#9E9E9E;white-space:nowrap}
.cq-sh:active{opacity:.55}
.cq-sh.nos{cursor:default}
.cq-sh.nos b{font-weight:400;color:#9E9E9E}
.cq-sh.nos i{display:none}

.roll-g{margin:0 0 6px}
.roll-gh{display:flex;align-items:center;gap:7px;padding:9px 2px 7px;
  border-bottom:1px solid #E8E8E8;font-size:14px;font-weight:600;color:#1A1A1A;letter-spacing:.03em}
.roll-gh em{margin-left:auto;font-style:normal;font-size:11px;font-weight:400;color:#9E9E9E}
.roll-sh{display:flex;align-items:center;gap:6px;padding:7px 2px 2px;
  font-size:11px;color:#9E9E9E;letter-spacing:.02em}
.roll-sh em{font-style:normal;opacity:.75}

/* 两级分组落地后，街道那一行原来只是淡灰小字，跟客户行里的地址混成一片，
   层级等于没做。给它一条浅底 + 左侧短竖线，区给一条更实的横条。 */
.cq-sh{background:#FAFAFA;border-radius:2px;padding:7px 10px;margin:9px 0 7px;border-top:none}
.cq-sh:first-child{margin-top:2px}
.cq-sh i{color:#6E6E6E}
.cq-sh b{font-size:14px}
.roll-sh{border-left:1px solid #E8E8E8;padding:4px 0 3px 8px;margin:8px 0 3px;
  color:#6E6E6E;font-size:11px;letter-spacing:.03em}
.roll-sh em{color:#9E9E9E}
.roll-gh{background:#FAFAFA;border-radius:2px;padding:8px 10px;border-bottom:none;margin-top:16px}
.roll-g:first-child .roll-gh{margin-top:6px}
.roll-g{margin-bottom:12px}

/* 浅黄底 #FAFAFA 在白卡片上几乎看不出来，等于白做。加深一档并补左边线。 */
.cq-sh{background:#FAFAFA;border-left:1px solid #E8E8E8;border-radius:2px;
  padding:7px 10px 7px 9px}
.cq-sh b{color:#1A1A1A}
.roll-gh{background:#FAFAFA}
.roll-sh{color:#6E6E6E}
/* 总账分组的数字把台量带上：排序是按台量，只写家数会看不懂为什么 1 家在 6 家前面 */
.roll-sh em,.roll-gh em{letter-spacing:.02em}

/* ================== 业务参数（系统设置里那一块） ==================
   只有墨、灰、纸三层：可改的地方用白底黑框，只读的说明用灰字，
   改过的项打一个墨点。不引入任何颜色 —— 一屏里颜色越少，
   哪一格能点、哪一格改过，反而越清楚。 */
.bzp-tabs{display:flex;flex-wrap:wrap;gap:6px;margin:4px 0 10px}
.bzp-tab{padding:5px 11px;border:1px solid #E8E8E8;background:#FFFFFF;color:#6E6E6E;
  font-size:12px;border-radius:2px;cursor:pointer;font-family:inherit}
.bzp-tab:hover{border-color:#9E9E9E;color:#1A1A1A}
.bzp-tab.on{background:#1A1A1A;border-color:#1A1A1A;color:#FFFFFF;font-weight:600}
.bzp-desc{font-size:12px;color:#9E9E9E;line-height:1.7;margin:0 0 10px}
.bzp-form{border-top:1px solid #E8E8E8}
.bzp-row{display:flex;gap:12px;padding:9px 0;border-bottom:1px solid #E8E8E8;align-items:flex-start}
.bzp-row:last-child{border-bottom:0}
.bzp-lb{flex:0 0 108px;width:108px;font-size:12px;color:#1A1A1A;line-height:32px;position:relative}
.bzp-ft{flex:1;min-width:0}
.bzp-ip{width:100%;box-sizing:border-box;padding:7px 9px;border:1px solid #E8E8E8;background:#FFFFFF;
  font-size:14px;border-radius:2px;font-family:inherit;color:#1A1A1A;line-height:1.4}
.bzp-ip:focus{outline:none;border-color:#1A1A1A}
textarea.bzp-ip{resize:vertical;line-height:1.6}
.bzp-num{display:inline-flex;align-items:center;gap:6px}
.bzp-unit{font-size:12px;color:#9E9E9E;font-style:normal;flex:0 0 auto}
.bzp-hint{font-size:11px;color:#9E9E9E;line-height:1.6;margin-top:3px}
.bzp-err{font-size:11px;color:#1A1A1A;font-weight:700;margin-top:3px}
.bzp-row.bad .bzp-ip{border-color:#1A1A1A;border-width:1.5px}
.bzp-dot{display:inline-block;width:5px;height:5px;background:#1A1A1A;border-radius:50%;
  margin-left:5px;vertical-align:middle}
.bzp-tier{display:flex;gap:8px;align-items:center;margin-bottom:6px}
.bzp-tier .bzp-ip[type=number]{width:72px;flex:0 0 72px}
.bzp-radio{display:flex;align-items:center;gap:4px;font-size:12px;color:#1A1A1A;white-space:nowrap}
.bzp-x{border:1px solid #E8E8E8;background:#FFFFFF;color:#6E6E6E;width:24px;height:24px;
  border-radius:2px;cursor:pointer;line-height:1;font-size:14px}
.bzp-x:hover{border-color:#1A1A1A;color:#1A1A1A}
.bzp-ghost{border:1px solid #E8E8E8;background:#FFFFFF;color:#1A1A1A;font-size:12px;
  padding:6px 12px;border-radius:2px;cursor:pointer;font-family:inherit}
.bzp-ghost:hover{border-color:#1A1A1A;color:#1A1A1A}
.bzp-ghost.sm{padding:5px 9px;font-size:11px;margin-top:2px}
.bzp-live{border:1px solid #E8E8E8;background:#FAFAFA;padding:11px 13px;margin-top:14px;
  font-size:12px;color:#1A1A1A;line-height:2;border-radius:2px}
.bzp-live b{font-weight:700;color:#1A1A1A}
.bzp-live-t{font-size:11px;color:#9E9E9E;letter-spacing:.08em;margin-bottom:2px}
.bzp-btn{display:inline-block;min-width:38px;text-align:center;border:1px solid #E8E8E8;
  background:#FFFFFF;color:#6E6E6E;font-size:12px;padding:2px 7px;margin-left:6px;border-radius:2px}
.bzp-btn.on{background:#1A1A1A;border-color:#1A1A1A;color:#FFFFFF;font-weight:600}
.bzp-why{font-size:11px;color:#9E9E9E;margin-left:8px}
.bzp-foot{display:flex;align-items:center;gap:10px;margin-top:12px}
@media(max-width:640px){
  .bzp-row{flex-direction:column;gap:4px}
  .bzp-lb{width:auto;flex:none;line-height:1.5;margin-bottom:2px}
  .bzp-tier{flex-wrap:wrap}
  .bzp-tier .bzp-ip{flex:1 1 100%}
  .bzp-live{line-height:1.9}
}

/* ══ 单据模板库（系统设置里那一页）═════════════════════════════════════
   左边骨架灰底、右边内容白底：这不是装饰，是让人一眼看见「哪边不能碰」。
   灰的那块连输入框都不给 —— 能点的地方才是能改的地方。 */
.dt-tabs{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:12px}
.dt-tab{padding:6px 12px;border:1px solid #E8E8E8;background:#FFFFFF;color:#1A1A1A;
  font:inherit;font-size:12px;cursor:pointer;letter-spacing:.02em}
.dt-tab:hover{border-color:#1A1A1A}
.dt-tab.on{background:#1A1A1A;border-color:#1A1A1A;color:#FFFFFF}
.dt-split{display:grid;grid-template-columns:270px minmax(0,1fr);gap:14px;align-items:start}
.dt-frame{background:#E8E8E8;border:1px solid #E8E8E8;padding:12px 13px;position:sticky;top:8px}
.dt-fh{font-size:11px;letter-spacing:.18em;color:#6E6E6E;margin-bottom:8px}
.dt-fm{font-size:11px;color:#6E6E6E;margin-bottom:8px;line-height:1.6}
.dt-blocks{list-style:none;margin:0 0 10px;padding:0;counter-reset:none}
.dt-blocks li{display:flex;gap:7px;font-size:11px;line-height:1.6;color:#1A1A1A;
  padding:2px 0;border-bottom:1px solid #E8E8E8}
.dt-blocks li i{font-style:normal;color:#9E9E9E;font-size:11px;min-width:14px}
.dt-cols{margin-top:8px;font-size:11px;line-height:1.9;color:#1A1A1A}
.dt-cols i{display:block;font-style:normal;color:#9E9E9E;font-size:11px;letter-spacing:.06em}
.dt-cols span{display:inline-block;margin:0 5px 4px 0;padding:1px 5px;background:#FFFFFF;
  border:1px solid #E8E8E8;font-size:11px}
.dt-fn{margin-top:10px;font-size:11px;line-height:1.65;color:#6E6E6E;
  border-top:1px solid #E8E8E8;padding-top:8px}
.dt-content{min-width:0}
.dt-sec{margin-bottom:18px}
.dt-sh{display:flex;align-items:baseline;gap:8px;font-size:12px;font-weight:600;
  color:#1A1A1A;letter-spacing:.06em;margin-bottom:8px}
.dt-sh em{font-style:normal;font-weight:400;font-size:11px;color:#9E9E9E;letter-spacing:0}
.dt-row{display:flex;gap:10px;align-items:flex-start;padding:9px 10px;border:1px solid #E8E8E8;
  background:#FFFFFF;margin-bottom:6px}
.dt-row.off{background:#FAFAFA}
.dt-row.off .dt-main b{color:#9E9E9E;text-decoration:line-through}
.dt-row.ed{border-color:#1A1A1A;background:#FAFAFA}
.dt-main{flex:1;min-width:0;line-height:1.6}
.dt-main b{display:inline-block;font-size:12px;color:#1A1A1A;margin-right:6px}
.dt-main span{display:block;font-size:11px;color:#6E6E6E;margin-top:2px}
.dt-main em{display:inline-block;font-style:normal;font-size:11px;color:#9E9E9E;
  border:1px solid #E8E8E8;padding:0 4px;line-height:14px;margin-left:6px;vertical-align:1px}
.dt-main em.own{color:#1A1A1A;border-color:#E8E8E8}
.dt-main em.offmark{color:#1A1A1A;border-color:#1A1A1A}
.dt-act{flex:0 0 auto;display:flex;gap:4px;flex-wrap:wrap;justify-content:flex-end;max-width:120px}
.dt-b{padding:4px 9px;border:1px solid #E8E8E8;background:#FFFFFF;color:#1A1A1A;
  font:inherit;font-size:11px;cursor:pointer;white-space:nowrap}
.dt-b:hover{border-color:#1A1A1A}
.dt-b.pri{background:#1A1A1A;border-color:#1A1A1A;color:#FFFFFF}
.dt-b.danger:hover{border-color:#1A1A1A;background:#1A1A1A;color:#FFFFFF}
.dt-in{width:100%;padding:6px 8px;border:1px solid #E8E8E8;background:#FFFFFF;
  font:inherit;font-size:12px;line-height:1.6;color:#1A1A1A;margin-bottom:5px}
.dt-in:focus{outline:none;border-color:#1A1A1A}
.dt-add{margin-top:2px;padding:6px 10px;border:1px solid #E8E8E8;background:transparent;
  color:#6E6E6E;font:inherit;font-size:12px;cursor:pointer;width:100%;text-align:left}
.dt-add:hover{border-color:#1A1A1A;color:#1A1A1A}
.dt-none{font-size:11px;color:#9E9E9E;padding:8px 0}
.dt-tier{margin-top:4px;padding:10px 12px;background:#E8E8E8;border:1px solid #E8E8E8;
  font-size:11px;color:#6E6E6E;line-height:1.8}
.dt-tier b{color:#1A1A1A;margin-right:8px;font-size:12px}
.dt-tier span{display:inline-block;margin-right:6px;padding:1px 8px;background:#FFFFFF;border:1px solid #E8E8E8;color:#1A1A1A}
.dt-tier i{display:block;font-style:normal;font-size:11px;color:#9E9E9E}
.dt-foot{margin-top:14px;padding-top:10px;border-top:1px solid #E8E8E8;display:flex;
  align-items:center;gap:10px}
.dt-busy{font-size:11px;color:#9E9E9E}
@media(max-width:860px){
  .dt-split{grid-template-columns:1fr}
  .dt-frame{position:static}
  .dt-row{flex-direction:column}
  .dt-act{max-width:none;justify-content:flex-start}
}

/* ══ 证件到期：一行一张，右边只有「办完」═══════════════════════════════
   这一页只回答「该办谁、办没办」。不是档案柜，所以不做证件照片、
   不做换证流程。多一个字段，人事多一次录入，少记一次就少一条。 */
.cerow{display:flex;align-items:center;gap:10px;padding:9px 12px;border-bottom:1px solid #E8E8E8;
  cursor:pointer;transition:background .1s}
.cerow:hover{background:#FAFAFA}
.cerow.isdone{background:#FAFAFA}
.cerow.isdone .cerow-l b{color:#9E9E9E}
.cerow-l{flex:1;min-width:0;line-height:1.5}
.cerow-l b{font-size:14px;color:#1A1A1A;margin-right:8px}
.cerow-l em{font-style:normal;font-size:11px;color:#6E6E6E}
.cerow-r{flex:0 0 auto;display:flex;align-items:center;gap:8px}
.ce-b{flex:0 0 auto;height:26px;padding:0 11px;border:1px solid #E8E8E8;background:#FFFFFF;
  color:#6E6E6E;font:inherit;font-size:11px;cursor:pointer;letter-spacing:.02em}
.ce-b:hover{border-color:#1A1A1A;color:#1A1A1A}
.ce-b.on{background:#1A1A1A;border-color:#1A1A1A;color:#FFFFFF}
.ce-bar{display:flex;align-items:center;gap:12px;margin:10px 0 4px;padding:10px 13px;
  background:#1A1A1A;color:#FFFFFF}
.ce-bar span{font-size:12px;letter-spacing:.04em}
.ce-bar span b{font-size:14px;margin:0 3px}
.ce-bar i{font-style:normal;font-size:11px;color:#9E9E9E;margin-left:auto;letter-spacing:.02em}
.ce-all{height:28px;padding:0 14px;border:1px solid #E8E8E8;background:#FFFFFF;color:#1A1A1A;
  font:inherit;font-size:12px;cursor:pointer;letter-spacing:.04em}
.ce-all:hover{background:transparent;color:#FFFFFF}
@media(max-width:640px){
  .cerow{flex-wrap:wrap;gap:6px}
  .ce-bar{flex-wrap:wrap;gap:8px}
  .ce-bar i{width:100%;margin-left:0}
}

/* ============ 线下事务：一屏点完，不开流程 ============ */
.off-row{display:flex;align-items:center;gap:12px;padding:12px 14px;border-bottom:1px solid var(--line);background:#FFFFFF}
.off-row:last-child{border-bottom:0}
.off-row.over{border-left:3px solid var(--ink)}
.off-row.soon{border-left:1px solid #E8E8E8}
.off-row.ok{border-left:3px solid transparent}
.off-row.picked-ok{background:#FAFAFA}
.off-row.picked-miss{background:#E8E8E8}
.off-l{flex:1;min-width:0}
.off-t{font-weight:600;font-size:14px;color:var(--ink);letter-spacing:.2px}
.off-w{font-size:12px;color:#9E9E9E;margin-top:3px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.off-m{width:190px;flex:0 0 190px;font-size:12px;color:#6E6E6E;line-height:1.5}
.off-m b{display:block;color:var(--ink);font-size:14px;font-weight:600}
.off-miss{display:block;color:#9E9E9E;font-style:normal;font-size:11px}
.off-b{display:flex;gap:6px;flex:0 0 auto}
.off-btn{padding:7px 12px;font-size:12px;border:1px solid var(--line);background:#FFFFFF;color:#6E6E6E;border-radius:2px;cursor:pointer;white-space:nowrap}
.off-btn:hover{border-color:#9E9E9E}
.off-btn.on{background:var(--ink);border-color:var(--ink);color:#FFFFFF}
.off-only{display:flex;align-items:center;gap:10px;padding:9px 2px;border-bottom:1px dashed var(--line);font-size:14px}
.off-only:last-child{border-bottom:0}
.off-only span{flex:1;color:var(--ink)}
.off-only b{font-weight:500;color:#6E6E6E;font-size:12px}
.off-only i{white-space:nowrap;font-style:normal;color:#9E9E9E;font-size:12px;min-width:36px;text-align:right}
/* ---- 人和权：安人、定责、定权 ---- */
.org-lead{background:#1A1A1A;color:#FFFFFF;border-radius:2px;padding:14px 16px;margin-bottom:14px}
.org-lead b{display:block;font-size:14px;letter-spacing:.04em;margin-bottom:5px;font-weight:600}
.org-lead span{font-size:11px;color:#9E9E9E;line-height:1.7;letter-spacing:.02em}
.org-sec{margin-bottom:16px}
.org-sh{display:flex;align-items:center;gap:8px;font-size:12px;color:#9E9E9E;letter-spacing:.06em;
  margin-bottom:8px;padding-bottom:6px;border-bottom:1px solid var(--line);flex-wrap:wrap}
.org-sw{width:118px;margin-left:auto;font-size:11px;padding:3px 8px}
.org-tx{font-size:11px;color:#6E6E6E;background:none;border:0;cursor:pointer;padding:2px 0;
  border-bottom:1px solid #E8E8E8;white-space:nowrap}
.org-tx:hover{color:var(--ink);border-bottom-color:var(--ink)}
/* 五摊：左名右人，一行看完。谁空着，一眼扎眼 */
.org-post{display:flex;align-items:center;gap:12px;padding:11px 14px;background:#FFFFFF;
  border:1px solid var(--line);border-radius:2px;margin-bottom:7px}
.org-post.bad{border-color:#9E9E9E;background:#FAFAFA}
.org-pl{flex:1;min-width:0}
.org-pl b{display:block;font-size:14px;color:var(--ink);font-weight:600;letter-spacing:.02em}
.org-pl span{display:block;font-size:11px;color:#9E9E9E;margin-top:2px;letter-spacing:.02em}
.org-pr{display:flex;align-items:center;gap:8px;flex-shrink:0}
.org-pr b{font-size:14px;color:var(--ink);font-weight:600}
.org-post.bad .org-pr b{color:#6E6E6E;font-weight:500}
.org-pr i{font-style:normal;font-size:11px;color:#9E9E9E;border:1px solid #E8E8E8;
  border-radius:2px;padding:1px 4px;letter-spacing:.04em}
.org-mvb{font-size:11px;color:#6E6E6E;background:#FFFFFF;border:1px solid var(--line);
  border-radius:2px;padding:3px 10px;cursor:pointer}
.org-mvb:hover{border-color:#9E9E9E;color:var(--ink)}
.org-note{font-size:11px;color:#9E9E9E;line-height:1.7;margin-top:6px;letter-spacing:.02em}
/* 每人一行权力：一排放不下就换行，不许挤成一条黑杠 */
.org-row{background:#FFFFFF;border:1px solid var(--line);border-radius:2px;padding:11px 13px;margin-bottom:7px}
.org-h{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin-bottom:8px}
.org-h b{font-size:14px;color:var(--ink);font-weight:600}
.org-h span{font-size:11px;color:#9E9E9E}
.org-h em{font-style:normal;font-size:11px;color:#6E6E6E;background:#E8E8E8;border-radius:2px;
  padding:1px 5px;letter-spacing:.03em}
.org-df{font-style:normal;font-size:11px;color:#9E9E9E;margin-left:auto;letter-spacing:.03em}
.org-w{display:flex;flex-wrap:wrap;gap:5px}
.org-k{font-size:11px;color:#9E9E9E;background:#FAFAFA;border:1px solid #E8E8E8;border-radius:2px;
  padding:3px 10px;cursor:pointer;letter-spacing:.02em;transition:all .1s}
.org-k:hover{border-color:#9E9E9E;color:var(--ink)}
.org-k.on{background:var(--ink);border:1px solid var(--ink);color:#FFFFFF}
.org-k:disabled{cursor:default;opacity:.75}
.org-k:disabled:hover{border-color:#E8E8E8;color:#9E9E9E}
.org-k.on:disabled:hover{color:#FFFFFF}
.org-mv{display:flex!important;align-items:center;gap:7px;font-size:12px;color:#6E6E6E;margin-top:10px}
.org-mv input{margin:0;accent-color:#1A1A1A}

/* ---- 抽屉：清单长了就关起来 ---- */
.off-dw{border:1px solid var(--line);border-radius:2px;background:#FFFFFF;margin-bottom:9px;overflow:hidden}
.off-dh{display:flex;align-items:center;gap:9px;padding:11px 14px;cursor:pointer;background:#FAFAFA}
.off-dh:hover{background:#FAFAFA}
.off-dh b{font-size:14px;color:var(--ink);font-weight:600;letter-spacing:.02em}
.off-dh span{font-size:11px;color:#9E9E9E;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:44%}
.off-dh em{font-style:normal;font-size:11px;color:#9E9E9E;margin-left:auto;font-variant-numeric:tabular-nums}
.off-dh i{font-style:normal;font-size:11px;padding:1px 6px;border-radius:2px;letter-spacing:.02em}
.off-dover{background:#1A1A1A;color:#FFFFFF}
.off-dsoon{background:#E8E8E8;color:#6E6E6E}
.off-dnext{color:#9E9E9E;font-variant-numeric:tabular-nums}
.off-dh u{text-decoration:none;font-size:11px;color:#9E9E9E;border-bottom:1px solid #E8E8E8}
.off-db{border-top:1px solid var(--line)}
.off-db .off-row:last-child{border-bottom:0}

/* ---- 法定 / 经营 两类分开看 ---- */
.off-tabs{display:flex;align-items:center;gap:8px;margin:0 0 10px;flex-wrap:wrap}
/* 派活按钮：这一页唯一的实心按钮，老板一眼能找到 */
.off-new{margin-left:6px;padding:6px 13px;font-size:12px;letter-spacing:.02em;cursor:pointer;
  background:var(--ink);color:#FFFFFF;border:1px solid var(--ink);border-radius:2px;font-weight:500}
.off-new:hover{background:#1A1A1A}
.off-new:active{transform:translateY(1px)}
.off-tn{font-size:11px;color:#9E9E9E;letter-spacing:.02em;margin-right:auto}
.off-tx{font-size:11px;color:#6E6E6E;background:none;border:0;cursor:pointer;padding:2px 0;
  border-bottom:1px solid #E8E8E8;letter-spacing:.02em}
.off-tx:hover{color:var(--ink);border-bottom-color:var(--ink)}
.off-tab{padding:6px 12px;font-size:12px;border:1px solid var(--line);background:#FFFFFF;
  color:#6E6E6E;border-radius:2px;cursor:pointer;letter-spacing:.02em}
.off-tab i{font-style:normal;color:#9E9E9E;margin-left:4px;font-size:11px}
.off-tab.on{background:var(--ink);border-color:var(--ink);color:#FFFFFF}
.off-tab.on i{color:#9E9E9E}
/* 老板派的：不是法规要求，是有人点了名。用空心印，跟「法定」那份重量分开 */
.off-pai{display:inline-block;font-style:normal;font-size:11px;letter-spacing:.08em;
  border:1px solid #E8E8E8;color:#9a6b34;border-radius:2px;padding:1px 4px;margin-right:6px;
  font-weight:400;vertical-align:1.5px;background:#FAFAFA}
.off-by{color:#6E6E6E;margin-left:8px;font-size:11px}
/* 责任人点得开：点一下换人，不另开一页 */
.off-mo{cursor:pointer;border-bottom:1px dotted transparent}
.off-mo:hover{border-bottom-color:#E8E8E8}
/* 派活弹层：五个格子，竖着排，左边标签右边控件 */
.off-add{display:flex;flex-direction:column;gap:10px;margin-top:4px}
.off-add label{display:block;font-size:11px;color:#9E9E9E;letter-spacing:.02em}
.off-add label>input,.off-add label>select,.off-add label>textarea{display:block;width:100%;margin-top:4px}
.off-add .off-ar{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.off-add textarea{resize:vertical;min-height:64px;line-height:1.6;font-family:inherit}

/* ---- 重要度：不是所有事一个重量。常规不占版面，只标「不常规」的那几档 ---- */
.off-wt{display:inline-block;font-style:normal;font-size:11px;letter-spacing:.06em;
  border-radius:2px;padding:1px 4px;margin-right:6px;font-weight:400;vertical-align:1.5px}
.off-wt.hevy{background:#FAFAFA;color:#9a6b34;border:1px solid #E8E8E8}
.off-wt.urg{background:#fdeeee;color:#a33a3a;border:1px solid #f0cdcd}
.off-wt.lite{background:#FAFAFA;color:#9E9E9E;border:1px solid #E8E8E8}
/* 这件事给了他什么：人、钱、权。一行小字，挨在「谁派的」后面 */
.off-res{color:#6E6E6E;margin-left:8px;font-size:11px}
.off-sp{color:#6E6E6E;margin-left:8px;font-size:11px}
.off-rv{margin-left:8px;font-size:11px;font-style:normal}
.off-rv.good{color:#2f7d4f}
.off-rv.ok{color:#9E9E9E}
.off-rv.bad{color:#a33a3a}
.off-rv.short{color:#9a6b34}
/* 分下去的那一行：压暗一点，让它看上去就「不在我手上」 */
.off-row.split{opacity:.74}
.off-row.split:hover{opacity:1}
.off-wait{font-size:11px;color:#9E9E9E;letter-spacing:.04em}
.off-wait.done{color:#2f7d4f}
/* 派活时勾事权：勾上就是「这件事上我说了算」，事办完自动收回 */
.off-add .off-gts{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin-top:4px}
.off-add .off-gt{display:flex!important;flex-wrap:wrap;align-items:baseline;gap:5px;
  border:1px solid var(--line);border-radius:2px;padding:7px 9px;cursor:pointer;background:#FFFFFF}
.off-gt input{display:none}
.off-gt b{font-size:11px;color:#1A1A1A;font-weight:500}
.off-gt span{font-size:11px;color:#9E9E9E;line-height:1.45;flex-basis:100%}
.off-gt.on{border-color:#9E9E9E;background:#FAFAFA}
.off-gt.on b{color:#8a5f2a}
.off-gh{display:block;font-style:normal;font-size:11px;color:#9E9E9E;margin-top:2px}
/* 弹层里的两块：给了什么 / 已分给谁 */
.off-resbox,.off-splbox{padding:9px 11px;margin-bottom:12px;font-size:11px;line-height:1.7}
.off-resbox{background:#FAFAFA;border-left:1px solid #a8c4b2;color:#6E6E6E}
.off-splbox{background:#FAFAFA;border-left:1px solid #E8E8E8;color:#1A1A1A}
.off-resbox b,.off-splbox b{display:block;font-size:11px;letter-spacing:.12em;
  margin-bottom:4px;font-weight:500}
.off-resbox b{color:#9E9E9E}
.off-splbox b{color:#6E6E6E}
.off-resbox span{display:inline-block;margin-right:16px;white-space:nowrap}
.off-splbox span.k{display:inline-block;margin-right:12px;white-space:nowrap}
.off-splbox span.k.over{color:#a33a3a}
.off-splbox span.k.fin{color:#2f7d4f}
.off-resbox i,.off-splbox i{display:block;font-style:normal;font-size:11px;margin-top:5px;opacity:.72}
.off-splwarn{background:#FAFAFA;border-left:1px solid #E8E8E8;padding:9px 11px;
  margin:10px 0;font-size:11px;color:#6E6E6E;line-height:1.75}
/* 复盘四选一：一句话定性，落在的那个人不一样 */
.off-rvo{display:grid;grid-template-columns:1fr 1fr;gap:6px}
.off-rvo label{display:flex;flex-wrap:wrap;align-items:baseline;gap:5px;
  border:1px solid var(--line);border-radius:2px;padding:8px 10px;cursor:pointer;background:#FFFFFF}
.off-rvo input{display:none}
.off-rvo b{font-size:12px;color:#1A1A1A;font-weight:500}
.off-rvo span{font-size:11px;color:#9E9E9E}
.off-rvo i{font-size:11px;color:#9E9E9E;font-style:normal;flex-basis:100%}
.off-rvo label.on{border-color:#9E9E9E;background:#FAFAFA}
.off-rvo label.on b{color:#8a5f2a}
.off-sb .owt{border:1px solid #E8E8E8;background:#FAFAFA;color:#9a6b34;
  border-radius:2px;padding:1px 5px;font-size:11px}
.off-sb .owt.urg{border-color:#f0cdcd;background:#fdeeee;color:#a33a3a}

/* 法定项：名字前面一个小小的印，扫一眼就知道这条躲不掉 */
.off-law{display:inline-block;font-style:normal;font-size:11px;letter-spacing:.08em;
  border:1px solid #E8E8E8;color:#6E6E6E;border-radius:2px;padding:1px 4px;margin-right:6px;
  font-weight:400;vertical-align:1.5px}
.off-n{font-style:normal;font-size:11px;color:#9E9E9E;margin-left:7px;font-weight:400;
  letter-spacing:.02em;font-variant-numeric:tabular-nums}
.off-n.done{color:#1A1A1A}
/* 名字点得开：点开是「要过哪几条」，不是跳到另一页 */
.off-t{cursor:pointer}
.off-t:hover{text-decoration:underline;text-decoration-color:#E8E8E8;text-underline-offset:3px}

/* ---- 要点弹层 ---- */
.off-sb{display:flex;flex-wrap:wrap;gap:6px 14px;font-size:11px;color:#9E9E9E;margin-bottom:12px}
.off-sb span{display:inline-flex;align-items:center;gap:4px}
.off-sl{color:#9E9E9E}
/* 日期在这儿能改：像改备注一样轻，不要另开一个设置页 */
.off-due{font:inherit;font-size:11px;color:#6E6E6E;border:0;border-bottom:1px solid #E8E8E8;
  background:transparent;padding:0 1px 1px;cursor:pointer;width:132px}
.off-due:hover{border-bottom-color:#9E9E9E;color:var(--ink)}
.off-due:focus{outline:0;border-bottom-color:var(--ink);color:var(--ink)}
.off-bs{background:#FAFAFA;border-left:1px solid #E8E8E8;padding:9px 11px;margin-bottom:12px;
  font-size:12px;color:#6E6E6E;line-height:1.65;border-radius:2px}
.off-bs b{display:block;font-size:11px;letter-spacing:.12em;color:#9E9E9E;margin-bottom:3px;font-weight:500}
.off-ph{display:flex;align-items:baseline;gap:8px;font-size:12px;color:var(--ink);font-weight:600;margin-bottom:8px}
.off-ph i{font-style:normal;font-weight:400;font-size:11px;color:#9E9E9E;margin-left:auto;font-variant-numeric:tabular-nums}
.off-pl{display:flex;flex-direction:column;gap:1px;border:1px solid var(--line);border-radius:2px;overflow:hidden}
.off-pt{display:flex;align-items:flex-start;gap:9px;padding:10px 12px;background:#FFFFFF;cursor:pointer;
  font-size:12px;line-height:1.6;color:#1A1A1A;border-bottom:1px solid var(--line);transition:background .12s}
.off-pt:last-child{border-bottom:0}
.off-pt input{margin:3px 0 0;flex:0 0 auto;accent-color:#1A1A1A}
.off-pt span{flex:1;min-width:0}
.off-pt:hover{background:#FAFAFA}
.off-pt.on{background:#FAFAFA;color:#1A1A1A}
.off-pt.on span{text-decoration:line-through;text-decoration-color:#E8E8E8}
.off-tip{font-size:11px;color:#9E9E9E;margin-top:10px;letter-spacing:.02em}

@media(max-width:640px){
  /* 验收条在窄屏会挤成一团：数字一行、按钮一行，别让「存档」竖着写 */
  .ce-bar{flex-wrap:wrap;gap:8px}
  .ce-bar span{width:100%}
  .ce-all{width:100%;height:32px}
  .ce-bar i{margin-left:0;width:100%}
  .org-lead{padding:12px 13px}
  .org-post{flex-wrap:wrap;gap:6px 10px;padding:10px 12px}
  .org-pl{flex:1 1 100%}
  .org-pr{margin-left:auto}
  .org-sw{margin-left:0;width:100%;order:3}
  .org-sh{border-bottom:0;padding-bottom:0}
  .off-add .off-ar{grid-template-columns:1fr}
  .off-new{margin-left:auto}
  .off-dh{flex-wrap:wrap;gap:5px 8px;padding:10px 12px}
  .off-dh span{display:none}
  .off-dh em{margin-left:auto}
  .off-row{flex-wrap:wrap;gap:8px}
  .off-m{width:auto;flex:1 1 100%;display:flex;gap:8px;align-items:center}
  .off-m b{display:inline}
  .off-b{width:100%}
  .off-btn{flex:1}
}

/* ============ 安责台账：日管控 / 周排查 / 月调度 ============ */
.az-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-bottom:14px}
.az-card{background:#FFFFFF;border:1px solid var(--line);border-radius:2px;padding:14px;display:flex;flex-direction:column;min-height:170px}
.az-card.todo{border-left:3px solid var(--ink)}
.az-card.ok{border-left:1px solid #E8E8E8;background:#FAFAFA}
.az-h{display:flex;align-items:baseline;gap:8px;margin-bottom:2px}
.az-h b{font-size:14px;color:var(--ink);letter-spacing:.3px}
.az-h span{font-size:11px;color:#9E9E9E;margin-left:auto;font-variant-numeric:tabular-nums}
.az-own{font-size:11px;color:#9E9E9E;margin-bottom:8px;padding-bottom:7px;border-bottom:1px dashed var(--line)}
/* 名字点得动 —— 换人要像改备注一样轻，别逼人去翻设置 */
.az-ownn{color:#6E6E6E;font-weight:500;cursor:pointer;border-bottom:1px solid #E8E8E8}
.az-ownn i{font-style:normal;font-size:11px;color:#9E9E9E;margin-left:5px;letter-spacing:.5px}
.az-ownn:hover{color:var(--ink);border-bottom-color:var(--ink)}
.az-ownn:hover i{color:var(--ink)}
.az-wf-wrap{display:flex;flex-direction:column;gap:11px}
/* 特异性要压过 .lp-sheet label（那边是 inline-flex + 居中）——
   不然标签会缩成一小团飘在中间，看着像没做完 */
.az-sheet .az-wf{display:flex;align-items:center;gap:10px}
.az-sheet .az-wf>span{width:92px;flex-shrink:0;font-size:14px;color:var(--ink);font-weight:500;text-align:left}
.az-sheet .az-wf>span i{display:block;font-style:normal;font-size:11px;color:#9E9E9E;font-weight:400;margin-top:2px;letter-spacing:.2px}
.az-sheet .az-wf .ipt{flex:1;min-width:0}
.az-big{font-size:20px;font-weight:600;color:var(--ink);letter-spacing:.4px;margin:2px 0 4px}
.az-big.muted{color:#9E9E9E;font-size:14px;font-weight:500}
.az-m{font-size:12px;color:#9E9E9E;line-height:1.6;flex:1}
.az-act{display:flex;gap:6px;margin-top:10px;flex-wrap:wrap}
.az-b{padding:7px 12px;font-size:12px;border:1px solid var(--line);background:#FFFFFF;color:#6E6E6E;border-radius:2px;cursor:pointer;white-space:nowrap}
.az-b:hover{border-color:#9E9E9E}
.az-b.on{background:var(--ink);border-color:var(--ink);color:#FFFFFF}
.az-year{background:#FFFFFF;border:1px solid var(--line);border-radius:2px;padding:12px 14px;margin-bottom:14px}
.az-yh{display:flex;align-items:baseline;gap:10px;margin-bottom:10px}
.az-yh b{font-size:14px;color:var(--ink)}
.az-yh span{font-size:11px;color:#9E9E9E;margin-left:auto}
.az-yr{display:grid;grid-template-columns:repeat(12,1fr);gap:6px}
.az-ym{text-align:center;padding:7px 2px;border:1px solid var(--line);border-radius:2px;cursor:pointer;transition:.15s}
.az-ym:hover{border-color:#9E9E9E;background:#FAFAFA}
.az-ym i{display:block;font-style:normal;font-size:11px;color:#9E9E9E}
.az-ym em{display:block;font-style:normal;font-size:20px;font-weight:600;color:var(--ink);font-variant-numeric:tabular-nums;line-height:1.3}
.az-ym em.g{color:#2f7a4d}.az-ym em.y{color:#9a6b1f}.az-ym em.r{color:#a33}
.az-ym span{display:block;font-size:11px;color:#9E9E9E}
.az-yl{display:flex;align-items:center;gap:10px;margin-top:9px;font-size:11px;color:#9E9E9E;flex-wrap:wrap}
.az-yl .dot{width:6px;height:6px;border-radius:50%;display:inline-block}
.az-yl .dot.g{background:#2f7a4d}.az-yl .dot.y{background:#9a6b1f}.az-yl .dot.r{background:#a33}
.az-yl b{margin-left:auto;font-weight:400;color:#9E9E9E}
.az-recent{background:#FFFFFF;border:1px solid var(--line);border-radius:2px;padding:12px 14px}
.az-row{display:flex;align-items:center;gap:10px;padding:9px 2px;border-bottom:1px solid var(--line);cursor:pointer;font-size:14px}
.az-row:last-child{border-bottom:0}
.az-row:hover{background:#FAFAFA}
.az-row b{font-weight:600;color:var(--ink);width:56px;flex:0 0 56px}
.az-row span{color:#6E6E6E;font-variant-numeric:tabular-nums;width:96px;flex:0 0 96px}
.az-row em{font-style:normal;font-size:12px;flex:1}
.az-row em.g{color:#2f7a4d}.az-row em.r{color:#a33}
.az-row i{font-style:normal;font-size:12px;color:#9E9E9E}
/* 填隐患那一行 */
.az-sheet{max-width:860px}
.az-ir{display:grid;grid-template-columns:1.1fr .8fr 2fr .7fr 1.6fr auto auto;gap:5px;align-items:center;margin-bottom:6px}
.az-ir .ipt{font-size:12px;padding:6px 8px;min-width:0}
.az-ir .az-v{font-size:12px;padding:6px 4px}
.az-c{display:flex;align-items:center;gap:3px;font-size:11px;color:#9E9E9E;white-space:nowrap}
.az-x{border:0;background:none;color:#9E9E9E;font-size:20px;cursor:pointer;padding:0 4px;line-height:1}
.az-x:hover{color:#a33}
.az-add{margin-top:2px;border:1px solid #E8E8E8;background:#FFFFFF;color:#9E9E9E;font-size:12px;padding:6px 12px;border-radius:2px;cursor:pointer;width:100%}
.az-add:hover{border-color:#9E9E9E;color:var(--ink)}
@media(max-width:900px){
  .az-grid{grid-template-columns:1fr}
  .az-yr{grid-template-columns:repeat(6,1fr)}
  .az-ir{grid-template-columns:1fr 1fr;gap:4px;padding-bottom:8px;border-bottom:1px dashed var(--line)}
  .az-ir .az-w,.az-ir .az-f{grid-column:1 / -1}
  .az-sheet{max-width:100%}
  .az-sheet .az-wf{flex-direction:column;align-items:stretch;gap:5px}
  .az-sheet .az-wf>span{width:auto;text-align:left}
}
.az-ym.fu{opacity:.42;cursor:default;background:#FAFAFA}
.az-ym.fu:hover{border-color:var(--line);background:#FAFAFA}

/* ============ 群里的事：微信记录 → 底层数据 ============ */
.wx-bar{display:flex;align-items:center;gap:14px;background:#FFFFFF;border:1px solid var(--line);
  border-radius:2px;padding:13px 15px;margin-bottom:12px}
.wx-bar.todo{border-left:3px solid var(--ink)}
.wx-bar.ok{border-left:1px solid #E8E8E8;background:#FAFAFA}
.wx-bt{flex:1;min-width:0}
.wx-bt b{display:block;font-size:14px;color:var(--ink);margin-bottom:3px}
.wx-bt span{font-size:12px;color:#9E9E9E}
.wx-bs{display:flex;align-items:baseline;gap:5px;flex:0 0 auto}
.wx-bs em{font-style:normal;font-size:20px;font-weight:600;color:var(--ink);font-variant-numeric:tabular-nums}
.wx-bs i{font-style:normal;font-size:11px;color:#9E9E9E;margin-right:11px}
.wx-bs i:last-child{margin-right:0}
.wx-card{background:#FFFFFF;border:1px solid var(--line);border-radius:2px;padding:13px 15px;margin-bottom:12px}
.wx-ch{display:flex;align-items:baseline;gap:9px;margin-bottom:10px;flex-wrap:wrap}
.wx-ch b{font-size:14px;color:var(--ink);letter-spacing:.2px}
.wx-ch span{font-size:11px;color:#9E9E9E;flex:1;min-width:0}
.wx-ch span b{font-size:11px;color:#6E6E6E}
.wx-opt{display:flex;gap:10px;margin-bottom:9px;flex-wrap:wrap}
.wx-opt label{display:flex;align-items:center;gap:6px;font-size:12px;color:#9E9E9E}
.wx-opt .ipt{font-size:12px;padding:6px 8px;min-width:160px;max-width:280px}
.wx-ta{width:100%;min-height:150px;font-size:12px;line-height:1.75;font-family:inherit;
  padding:10px 12px;resize:vertical;box-sizing:border-box}
.wx-un{background:#FAFAFA;border:1px solid #E8E8E8;border-radius:2px;padding:10px 12px;margin-bottom:12px}
.wx-unh{font-size:11px;color:#9E9E9E;margin-bottom:8px;line-height:1.6}
.wx-unr{display:flex;align-items:center;gap:8px;margin-bottom:6px}
.wx-unr b{font-size:14px;color:var(--ink);min-width:56px}
.wx-unr span{font-size:11px;color:#9E9E9E;width:28px}
.wx-unr .ipt{font-size:12px;padding:5px 8px;width:130px}
.wx-ok{font-style:normal;font-size:11px;color:#2f7a4d}
.wx-ev{border-top:1px solid var(--line);margin-top:2px}
.wx-ev-r{display:flex;align-items:center;gap:9px;padding:9px 4px;border-bottom:1px solid var(--line);
  cursor:pointer;transition:.12s}
.wx-ev-r:hover{background:#FAFAFA}
.wx-ev-r.on{background:#FAFAFA}
.wx-ck{width:17px;height:17px;flex:0 0 17px;border:1px solid #E8E8E8;border-radius:2px;
  font-size:11px;color:#FFFFFF;display:flex;align-items:center;justify-content:center;line-height:1}
.wx-ev-r.on .wx-ck{background:var(--ink);border-color:var(--ink)}
.wx-d{font-size:11px;color:#9E9E9E;font-variant-numeric:tabular-nums;width:42px;flex:0 0 42px}
.wx-tp{font-style:normal;font-size:11px;padding:2px 6px;border-radius:2px;background:#E8E8E8;
  color:#6E6E6E;white-space:nowrap;flex:0 0 auto}
.wx-tp.major{background:#E8E8E8;color:#a33}
.wx-tp.money{background:#E8E8E8;color:#2f7a4d}
.wx-sf{font-style:normal;font-size:11px;color:#9a6b1f;background:#FAFAFA;padding:2px 6px;
  border-radius:2px;white-space:nowrap;flex:0 0 auto}
.wx-w{flex:1;min-width:0;font-size:12px;color:#6E6E6E;line-height:1.5}
.wx-w b{color:var(--ink);font-weight:600;margin-right:2px}
.wx-w i{display:block;font-style:normal;color:#9E9E9E;font-size:12px;
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.wx-a{display:flex;gap:5px;flex:0 0 auto}
.wx-b{padding:5px 10px;font-size:11px;border:1px solid var(--line);background:#FFFFFF;
  color:#6E6E6E;border-radius:2px;cursor:pointer;white-space:nowrap}
.wx-b:hover{border-color:#9E9E9E}
.wx-b.on{background:var(--ink);border-color:var(--ink);color:#FFFFFF}
.wx-brow{display:flex;align-items:center;gap:11px;padding:8px 2px;border-bottom:1px solid var(--line);font-size:12px}
.wx-brow:last-child{border-bottom:0}
.wx-brow span{color:#9E9E9E;font-variant-numeric:tabular-nums;width:82px;flex:0 0 82px}
.wx-brow b{color:var(--ink);font-weight:500;width:72px;flex:0 0 72px}
.wx-brow em{flex:1;font-style:normal;color:#6E6E6E}
.wx-brow i{font-style:normal;color:#9E9E9E;font-size:11px}
@media(max-width:700px){
  .wx-bar{flex-wrap:wrap}
  .wx-bs{width:100%;justify-content:space-between}
  .wx-opt label{width:100%}
  .wx-opt .ipt{flex:1;max-width:none}
  .wx-row,.wx-ev-r{flex-wrap:wrap}
  .wx-w{flex:1 1 100%;order:5}
  .wx-a{width:100%}
  .wx-a .wx-b{flex:1}
}

/* 「待接的事」那一行：漏了这条，按钮就被挤到文字下面去了 */
.wx-row{display:flex;align-items:center;gap:9px;padding:10px 2px;border-bottom:1px solid var(--line)}
.wx-row:last-child{border-bottom:0}
.wx-row .wx-a{margin-left:auto}
.wx-row .wx-w b{font-size:12px}
@media(max-width:700px){
  .wx-row{flex-wrap:wrap;gap:6px}
  .wx-row .wx-w{flex:1 1 100%;order:5}
  .wx-row .wx-a{margin-left:0;width:100%}
  .wx-row .wx-a .wx-b{flex:1}
}
.wx-note{flex-direction:column;align-items:flex-end;gap:2px;max-width:240px}
.wx-note em{font-style:normal;font-size:11px;color:#6E6E6E;text-align:right;line-height:1.45}
.wx-note i{font-style:normal;font-size:11px;color:#9E9E9E}
@media(max-width:700px){.wx-note{max-width:none;align-items:flex-start}.wx-note em{text-align:left}}

/* 安责：12 项表格 */
.az-tbar{display:flex;align-items:center;gap:10px;margin-bottom:8px;font-size:12px;color:#9E9E9E;flex-wrap:wrap}
.az-tbar b{color:var(--ink)}
.az-thead{display:grid;grid-template-columns:26px 96px 1fr 74px 1fr;gap:6px;padding:6px 4px;
  border-bottom:1px solid var(--line);font-size:11px;color:#9E9E9E}
.az-trow{display:grid;grid-template-columns:26px 96px 1fr 74px 1fr;gap:6px;align-items:center;
  padding:7px 4px;border-bottom:1px solid var(--line)}
.az-trow:hover{background:#FAFAFA}
.az-tn{font-size:11px;color:#9E9E9E;font-variant-numeric:tabular-nums}
.az-tp{font-size:12px;color:var(--ink);font-weight:500}
.az-tc{font-size:11px;color:#9E9E9E;line-height:1.5}
.az-tr{display:flex;gap:3px;justify-content:center}
.az-yn{width:26px;height:24px;border:1px solid var(--line);background:#FFFFFF;color:#9E9E9E;
  border-radius:2px;cursor:pointer;font-size:14px;line-height:1;padding:0}
.az-yn:hover{border-color:#9E9E9E}
.az-yn.on{background:var(--ink);border-color:var(--ink);color:#FFFFFF}
.az-yn.on.bad{background:#a33;border-color:#a33}
.az-tf{display:none;gap:4px}
.az-tf.show{display:flex}
.az-tf .ipt{font-size:11px;padding:5px 7px;min-width:0}
.az-sec{margin-bottom:12px}
.az-sec>b{display:block;font-size:12px;color:var(--ink);margin-bottom:5px}
.az-sec .muted{font-size:11px;color:#9E9E9E}
.az-eval{display:flex;flex-direction:column;gap:6px}
.az-eval label{display:flex;align-items:center;gap:6px;font-size:12px;color:#6E6E6E}
.az-sign{display:flex;align-items:center;gap:6px;font-size:12px;color:#6E6E6E;margin:3px 0 10px}
.az-sign b{color:var(--ink)}
.az-lf{display:grid;grid-template-columns:1fr 60px 160px;gap:6px;align-items:center;
  padding:5px 0;border-bottom:1px dashed var(--line)}
.az-lfw{font-size:11px;color:#6E6E6E;line-height:1.5}
.az-lf .ipt{font-size:11px;padding:5px 7px}
.az-mrow{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-bottom:8px}
.az-mrow label{display:flex;flex-direction:column;gap:3px;font-size:11px;color:#9E9E9E}
.az-mrow .ipt{font-size:12px;padding:6px 8px}
.az-c6{min-height:66px;font-size:12px}
@media(max-width:760px){
  .az-thead{display:none}
  .az-trow{grid-template-columns:22px 1fr 64px;gap:4px}
  .az-tc{grid-column:2 / -1;font-size:11px}
  .az-tf{grid-column:1 / -1}
  .az-mrow{grid-template-columns:1fr 1fr}
  .az-lf{grid-template-columns:1fr 60px}
  .az-lf .ipt{grid-column:1 / -1}
}
/* √ / × 挨太近会看成一整个按钮，人也容易点错 */
.az-tr{gap:6px!important}
.az-yn{width:30px!important;height:26px!important;font-size:14px!important}
.az-thead span:nth-child(4){text-align:center}
.az-tf .ipt::placeholder{color:#E8E8E8}

/* 今天群里提到的事：日管控的底层数据 */
.az-wxbar{display:flex;align-items:center;gap:10px;background:#FAFAFA;border:1px solid var(--line);
  border-left:1px solid #9a6b1f;border-radius:2px;padding:10px 13px;margin-bottom:12px;font-size:12px;color:#6E6E6E}
.az-wxbar span{flex:1}
.az-wxbar b{color:var(--ink)}
.az-wxbar b.r{color:#a33}
.az-wxlist{background:#FFFFFF;border:1px solid var(--line);border-radius:2px;padding:4px 13px;
  margin:-6px 0 12px;overflow:hidden}
.az-wxr{display:flex;align-items:center;gap:9px;padding:9px 0;border-bottom:1px solid var(--line)}
.az-wxr:last-child{border-bottom:0}
.az-wxr .wx-w{flex:1;min-width:0}
.az-wxr .az-b{flex:0 0 auto}
@media(max-width:700px){
  .az-wxr{flex-wrap:wrap}
  .az-wxr .wx-w{flex:1 1 100%}
  .az-wxr .az-b{width:100%}
}

/* ==================== 月度考核 60/40 ====================
   两条色：蓝灰=系统算的，暖褐=人打的。差额一眼看出来。 */
.sc-wrap{max-width:980px}
.sc-nav{display:flex;align-items:center;gap:8px;margin:0 0 12px;flex-wrap:wrap}
.sc-nav>b{font-size:14px;letter-spacing:.02em}
.sc-avg{margin-left:auto;font-size:11px;color:#9E9E9E}
.sc-avg b{color:#1A1A1A;font-size:14px}
.sc-cfgb{font-size:11px;padding:3px 9px;border:1px solid var(--line);background:#FFFFFF;
  border-radius:2px;cursor:pointer;color:#6E6E6E;font-family:inherit}
.sc-rule{padding:14px 16px}
.sc-r2{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.sc-r2>div>b{display:block;font-size:12px;letter-spacing:.04em;margin-bottom:3px}
.sc-r2 .a>b{color:#6E6E6E}
.sc-r2 .m>b{color:#6E6E6E}
.sc-r2 span{display:block;font-size:12px;color:#1A1A1A;margin-bottom:3px}
.sc-r2 i{font-style:normal;font-size:11px;color:#9E9E9E}
.sc-wnote{font-size:11px;color:#9E9E9E;line-height:1.75;margin:-4px 0 14px}
/* 落单提示：分算完了不等于事办了，这一条把「下一步在哪」直接说出来 */
.sc-chain{display:flex;align-items:center;gap:10px;flex-wrap:wrap;
  margin:0 0 12px;padding:10px 14px;border-radius:2px;
  background:#FAFAFA;border:1px solid #E8E8E8;font-size:12px;line-height:1.6}
.sc-chain b{font-weight:600;color:#8a6a2a;white-space:nowrap}
.sc-chain span{color:#6E6E6E;min-width:0;flex:1}
.sc-chain i{font-style:normal;color:#9E9E9E;font-size:11px}
.sc-chain.ok{background:#FAFAFA;border-color:#E8E8E8}
.sc-chain.ok b{color:#6E6E6E}
.sc-chain.ok span{color:#6E6E6E}
.sc-chain.wait{background:#FAFAFA;border-color:#E8E8E8}
.sc-chain.wait b{color:#6E6E6E}
.sc-chain .btn{margin-left:auto;white-space:nowrap}
.sc-cmbox{border:1px solid var(--line);border-radius:2px;max-height:250px;overflow:auto}
.sc-cmbox .r{display:flex;align-items:center;gap:10px;padding:7px 12px;
  border-bottom:1px solid #E8E8E8;font-size:12px}
.sc-cmbox .r:last-child{border-bottom:0}
.sc-cmbox .r b{flex:0 0 96px;font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sc-cmbox .r span{flex:1;color:#9E9E9E;font-size:11px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sc-cmbox .r em{font-style:normal;color:#1A1A1A;font-variant-numeric:tabular-nums}
.sc-cmbox .more{padding:7px 12px;font-size:11px;color:#9E9E9E}
.sc-board{border-top:1px solid var(--line)}
.sc-row:hover{background:#FAFAFA}
.sc-row.open{background:#FAFAFA}
.sc-i{flex:0 0 22px;color:#9E9E9E;font-size:11px;font-weight:400;text-align:right}
.sc-nm{flex:0 0 150px;min-width:0}
.sc-nm b{display:block;font-size:14px;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sc-nm span{display:block;font-size:11px;color:#9E9E9E;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sc-row{display:flex;align-items:center;gap:10px;padding:9px 2px;
  border-bottom:1px solid var(--line);cursor:pointer}
.sc-bar{flex:1;height:4px;background:#E8E8E8;border-radius:2px;display:flex;
  overflow:hidden;min-width:40px;max-width:220px}
.sc-bar i{display:block;height:100%}
.sc-bar i.a{background:#9E9E9E}
.sc-bar i.m{background:#9E9E9E}
.sc-sc{flex:0 0 92px;text-align:right;font-variant-numeric:tabular-nums;margin-left:auto}
.sc-sc b{font-size:14px;font-weight:600}
.sc-sc span{display:block;font-size:11px;color:#9E9E9E;letter-spacing:-.01em;white-space:nowrap}
.sc-gapn{flex:0 0 34px;font-size:11px;color:#9E9E9E;font-weight:400;text-align:right;
  letter-spacing:.02em;white-space:nowrap}
.sc-row u{flex:0 0 auto;font-size:11px;color:#9E9E9E;text-decoration:none;white-space:nowrap;
  border-bottom:1px solid #E8E8E8}
.sc-det{padding:4px 12px 14px 10px;border-bottom:1px solid var(--line);background:#FAFAFA}
.sc-dt{font-size:11px;letter-spacing:.14em;color:#6E6E6E;margin:13px 0 4px;font-weight:500}
.sc-p{padding:8px 11px;border:1px solid #E8E8E8;background:#FFFFFF;border-radius:2px;margin-top:6px}
.sc-ph{display:flex;justify-content:space-between;align-items:baseline;font-size:12px}
.sc-ph b{font-weight:500;color:#1A1A1A}
.sc-ph span{color:#6E6E6E;font-weight:500;font-variant-numeric:tabular-nums}
.sc-pw{font-size:11px;color:#9E9E9E;margin-top:2px}
.sc-items{margin-top:5px}
.sc-it{display:flex;gap:8px;font-size:11px;color:#6E6E6E;padding:2px 0}
.sc-it span{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sc-it i{flex:0 0 auto;font-style:normal;color:#9E9E9E}
.sc-it b{flex:0 0 42px;text-align:right;font-weight:500;color:#1A1A1A}
.sc-it b.up{color:#2f7d4f}
.sc-mps{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.sc-mp{border:1px solid var(--line);background:#FFFFFF;border-radius:2px;padding:8px 10px 10px}
.sc-mp.un{background:#FAFAFA;border-style:dashed;border-color:#E8E8E8}
.sc-mh{display:flex;align-items:center;gap:6px;font-size:11px;color:#9E9E9E}
.sc-mh b{font-weight:500;color:#1A1A1A}
.sc-mh span{font-variant-numeric:tabular-nums}
.sc-mg{display:block;font-size:20px;font-weight:600;margin:2px 0 1px;line-height:1.1}
.sc-mp i{display:block;font-style:normal;font-size:11px;color:#9E9E9E;line-height:1.55}
.sc-mp i.sc-nb{color:#9E9E9E;margin-top:7px;font-size:11px}
.sc-mb{margin-left:auto;font-size:11px;padding:0 7px;line-height:16px;
  border:1px solid var(--line);background:#FFFFFF;border-radius:2px;cursor:pointer;
  color:#6E6E6E;font-family:inherit}
.sc-mb:hover{border-color:#9E9E9E;color:#8a5f2a}
.sc-mend{font-size:11px;color:#9E9E9E;margin-top:10px;text-align:right}
.sc-mend b{font-size:14px;color:#1A1A1A}
.sc-cfg{display:flex;flex-direction:column;gap:8px;margin-top:8px}
.sc-cfg label{display:flex!important;align-items:center;gap:10px}
.sc-cfg label>span{flex:1;font-size:11px;color:#1A1A1A}
.sc-cfg label>span i{display:block;font-style:normal;font-size:11px;color:#9E9E9E}
.sc-cfg input{width:74px!important;flex:0 0 74px;text-align:right}
@media(max-width:640px){
  .sc-r2{grid-template-columns:1fr}
  /* 手机上一行塞不下五样东西：序号让位、姓名吃满剩余、分数只留必需的宽。
     原来姓名写死 92px、分数写死 60px，加个字就被裁成半截。 */
  .sc-nm{flex:1 1 auto;min-width:0}
  .sc-i{display:none}
  .sc-bar{display:none}
  .sc-sc{flex:0 0 auto;min-width:58px}
  .sc-sc b{font-size:14px}
  .sc-sc span{font-size:11px;letter-spacing:0}
  /* 整行都能点开明细，「明细」这两个字在手机上只是占地方 */
  .sc-row u{display:none}
  .sc-mps{grid-template-columns:1fr}
  .sc-gapn{display:none}
}
/* 因事临时有的权：跟岗位权分开画 —— 一个是「你是这个岗」，一个是「你在办这件事」 */
.org-tmp{margin-top:6px;font-size:11px;color:#6E6E6E;display:flex;flex-wrap:wrap;
  align-items:center;gap:5px;padding:5px 8px;background:#FAFAFA;border-left:1px solid #a8c4b2}
.org-tmp em{font-style:normal;border:1px solid #E8E8E8;background:#FFFFFF;color:#6E6E6E;
  border-radius:2px;padding:0 5px;font-size:11px}
.org-tmp i{font-style:normal;color:#9E9E9E;font-size:11px;margin-left:2px}
/* 弹层右下角的「关闭」：不占按钮位，靠一行小字收尾 */
.off-x{margin-left:auto;border:0;background:none;color:#9E9E9E;font-size:11px;
  cursor:pointer;font-family:inherit;padding:0 2px;
  text-decoration:underline;text-decoration-color:#E8E8E8;text-underline-offset:3px}
.off-x:hover{color:#1A1A1A}
/* 外系统的结论：只摆一行，不参与算分 */
.sc-maint{margin:-8px 0 12px;padding:7px 11px;background:#FAFAFA;border-left:1px solid #E8E8E8;
  font-size:11px;color:#6E6E6E;display:flex;align-items:baseline;gap:8px;flex-wrap:wrap}
.sc-maint b{font-size:12px;color:#6E6E6E}
.sc-maint i{font-style:normal;font-size:11px;color:#9E9E9E}
/* 未确认：跟「0 台」不是一回事，颜色要区分开，不能让人扫一眼以为没事 */
.sc-maint.unk{background:#FAFAFA;border-left-color:#d9a441}
.sc-maint.unk b{color:#8a6a2a}
/* 已确认 0 台：绿的是「确认过没有」，不是「系统算出来没有」 */
.sc-maint.ok{background:#FAFAFA;border-left-color:#9E9E9E}
.sc-maint.ok b{color:#6E6E6E}
/* 入口做成「文字链」而不是按钮：这一条是说明，不是操作区，
   一颗实心按钮杵在这儿会把「还没确认」四个字挤到换行去。
   钉在右上角，文字怎么折行都不受影响。 */
.sc-maint{position:relative;padding-right:62px}
.sc-mfb{position:absolute;right:11px;top:6px;cursor:pointer;text-decoration:none;
  font-size:11px;color:#6E6E6E;border-bottom:1px solid #E8E8E8;padding-bottom:1px;white-space:nowrap}
.sc-maint.unk .sc-mfb{color:#8a6a2a;border-bottom-color:#9E9E9E}
.sc-mfb:hover{color:#1A1A1A;border-bottom-color:#1A1A1A}
/* 认领池：项目名长短不一，宽的让它折两行 —— 台账上最常见的就是「这家到底叫啥」，
   一个字看不见就得回头查，认领变成猜谜。 */
.card .name>span.wp-nm{flex:1;min-width:0;white-space:normal;display:-webkit-box;
  -webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;line-height:1.45}
/* 日期 chip：「11-14」73px 的格子装 77px 的字，末位被切掉一撇 */
.fchips .chip{padding:4px 9px}
/* 指标摘要行（三四个数并排）：390 屏上每个格子只有 55px，
   「今日缺项人数」6 个字装不下，被裁成「今日缺项人…」。
   窄屏让标签换到数字下面一行 —— 数字大、说明小，本来就是这层关系。 */
@media(max-width:480px){
  #main .stat-row .stat{flex-wrap:wrap;align-items:baseline;padding:0 7px!important}
  #main .stat-row .stat .label{flex:1 1 100%;min-width:0;white-space:normal;
    line-height:1.3;font-size:11px!important;margin-top:1px!important;letter-spacing:0!important}
}

/* ============ 多通道状态条 ============
   两条都只在「数据不是最新的」时候出现，平时不占地方：
   一条说「现在用的是本机存的数据」，一条说「这次改动没存上」。
   以前这两种情况都是静默的——人以为看到的是实时数，其实不是。 */
.snap-bar,.save-bar{position:fixed;left:50%;transform:translateX(-50%);
  top:10px;z-index:9998;display:flex;align-items:center;gap:10px;
  padding:8px 14px;border-radius:2px;font-size:12px;line-height:1.4;
  max-width:min(92vw,620px);box-shadow:none}
.snap-bar{background:#FAFAFA;border:1px solid #E8E8E8;color:#6E6E6E}
.snap-bar b{font-weight:600;color:#8a6a2a;white-space:nowrap}
.save-bar{background:#E8E8E8;border:1px solid #E8E8E8;color:#1A1A1A}
.save-bar b{font-weight:600;color:#a33a30;white-space:nowrap}
.save-bar span,.snap-bar span{min-width:0}
.save-bar i{font-style:normal;cursor:pointer;color:#a33a30;font-weight:600;
  text-decoration:underline;white-space:nowrap;margin-left:auto}
@media(max-width:480px){
  .snap-bar,.save-bar{top:auto;bottom:14px;font-size:11px;padding:7px 11px;gap:7px}
}

/* ============ 拆之前先问一句：一个人干不完吗 ============
   拆是例外动作，不是默认动作。三个理由摊开让他选，
   选不出来就得自己写一句 —— 这句话进账，考核时看得见。 */
.off-need{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;margin:6px 0 8px}
.off-need label{position:relative;display:flex;flex-direction:column;gap:1px;
  padding:8px 9px;border:1px solid #E8E8E8;border-radius:2px;cursor:pointer;background:#FFFFFF}
.off-need label:has(input:checked){border-color:#6E6E6E;background:#FAFAFA}
.off-need input{position:absolute;opacity:0;pointer-events:none}
.off-need b{font-size:12px;font-weight:600;color:#1A1A1A}
.off-need span{font-size:11px;color:#9E9E9E;line-height:1.4}
@media(max-width:520px){.off-need{grid-template-columns:1fr}}

/* 这个环节以前错在这儿 —— 不是教育，是把别人栽过的坑指给他看 */
.off-pits{margin:10px 0 12px;padding:9px 11px;border-left:1px solid #d9a441;
  background:#FAFAFA;border-radius:2px}
.off-pits b{display:block;font-size:11px;color:#8a6a2a;font-weight:600;margin-bottom:4px}
.off-pits span{display:block;font-size:11px;color:#6E6E6E;line-height:1.6;
  padding-left:10px;position:relative}
.off-pits span:before{content:"·";position:absolute;left:2px}
.off-pits i{font-style:normal;color:#6E6E6E;margin-left:6px;font-size:11px}
.off-pits em{font-style:normal;color:#6E6E6E;margin-left:4px}

/* 拆分弹层表单：文字在上、控件在下。
   原来 label 和输入框横排，弹层一窄，「哪天要」就被挤成竖排断字。 */
.off-fm{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:10px 0 8px}
.off-fm>label{display:flex;flex-direction:column;gap:4px;font-size:11px;
  color:#6E6E6E;white-space:nowrap;min-width:0;text-align:left}
.off-fm>label .ipt,.off-fm>label select{width:100%;min-width:0}
.off-fm1{display:flex;flex-direction:column;gap:4px;font-size:11px;color:#6E6E6E;
  margin-bottom:2px;text-align:left}
.off-fm1 .ipt{width:100%}
@media(max-width:520px){.off-fm{grid-template-columns:1fr}}

/* 预检没过：先给诊断，再给处方。只说不行不说怎么行，人还是卡着 */
.pc-why{font-size:12px;color:#1A1A1A;line-height:1.7;padding:9px 12px;
  background:#E8E8E8;border-left:1px solid #E8E8E8;border-radius:2px;margin:8px 0}
.pc-fix{font-size:12px;color:#1A1A1A;line-height:1.7;padding:9px 12px;
  background:#FAFAFA;border-left:1px solid #E8E8E8;border-radius:2px;margin:8px 0}
.pc-fix b{display:block;font-size:11px;color:#6E6E6E;letter-spacing:.08em;
  font-weight:600;margin-bottom:3px}

/* ============ 首页：一条链上卡在哪 ============
   各页各说各的数，谁都不认账 —— 这一条把每一环的积压摆在一起，
   每环写清「卡多少、最久几天、卡在谁」，点一下直达。
   没有卡着的不出现，平时不占地方。 */
.ch-wrap{margin:0 0 14px}
.ch-hd{font-size:12px;color:#1A1A1A;font-weight:600;letter-spacing:.02em;margin-bottom:8px;
  display:flex;align-items:baseline;gap:8px}
.ch-hd:before{content:"";width:2px;height:11px;background:#6E6E6E;flex:0 0 2px;
  align-self:center;margin-right:-2px}
.ch-hd i{font-style:normal;font-size:11px;color:#9E9E9E;font-weight:400}
.ch-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(330px,1fr));gap:8px;min-width:0}
.ch-i{display:flex;align-items:flex-start;gap:8px;padding:10px 12px;background:#FFFFFF;
  border:1px solid var(--line);border-radius:2px;cursor:pointer;transition:border-color .15s;
  min-width:0;overflow:hidden}
.ch-i:hover{border-color:#9E9E9E}
.ch-i>b{font-size:20px;font-weight:600;line-height:1;font-variant-numeric:tabular-nums;color:#a33a30}
.ch-i>em{font-style:normal;font-size:11px;color:#9E9E9E;margin-left:-4px;padding-top:3px}
.ch-t{flex:1;min-width:0}
.ch-t strong{display:block;font-size:12px;font-weight:500;color:#1A1A1A;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ch-t small{display:block;font-size:11px;color:#9E9E9E;margin-top:2px;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ch-m{flex:0 0 auto;text-align:right;font-size:11px;color:#9E9E9E;line-height:1.6}
.ch-m b{color:#1A1A1A;font-weight:500}
.ch-m i{display:block;font-style:normal;color:#6E6E6E}
@media(max-width:520px){.ch-list{grid-template-columns:1fr}}
/* 「还有 N 条」：与本人无关的账收进来，不删、不藏，点开就是全部。
   跨列占满一行，像一条分隔线，不假装自己是一张卡。 */
.ch-more{grid-column:1/-1;font-size:11px;color:#6E6E6E;cursor:pointer;
  padding:7px 2px;border-top:1px dashed var(--line)}
.ch-more:hover{color:#1A1A1A}
.ch-rest{grid-column:1/-1;display:grid;
  grid-template-columns:repeat(auto-fill,minmax(330px,1fr));gap:8px}
@media(max-width:520px){.ch-rest{grid-template-columns:1fr}}

/* 开票收款：状态签 + 金额签挤在一行，白空格断不开，宽出卡片 5～10px。
   改成可换行的签排，签之间用 gap 拉开，行尾不再顶出去。 */
.fin-tags{display:flex;flex-wrap:wrap;align-items:center;gap:4px 5px;margin-top:4px;min-width:0}
.fin-tags>*{flex:0 0 auto}

/* 登录这道门是两家共用的：门上只挂 X.core 字标，不挂任何一家的图形标。
   原来 ::before 拿 --qx-logo 画了 64px 的启迅标 —— 友创的人在门外
   看到的是另一家公司的图形。tenant.js 早想把标换成文字，
   但 .xc-brand 这条样式在某次改版里丢了，字被容器的 font-size:0 压没，
   于是只剩那张图。这里把图形关掉、把字立起来。 */
#loginPage .login-box .logo::before{ content:none !important; background:none !important; }
.xc-brand{
  display:inline-block; font-size:20px !important; line-height:1.05;
  font-weight:600; letter-spacing:-.01em; color:#1A1A1A;
  font-family:"Times New Roman",Georgia,"Songti SC",serif;
}
.xc-brand i{ font-style:normal; color:#a33a30; margin:0 1px; }
@media(max-width:420px){ .xc-brand{ font-size:20px !important; } }

/* ── 「另一家 ↗」（2026-11-16）
   只在两家都有号的人身上出现。做得像一个旁注，不像一个功能按钮：
   细边、灰字、方角，跟搜索框同一排，不抢主视线。 */
.ent-another{
  border:1px solid #E8E8E8; background:#FFFFFF; color:#6E6E6E;
  font-size:12px; line-height:1; padding:7px 11px; border-radius:2px;
  cursor:pointer; margin-right:10px; white-space:nowrap;
  font-family:inherit; transition:border-color .15s, color .15s;
}
.ent-another:hover{ border-color:#9E9E9E; color:#1A1A1A; }
@media (max-width:720px){ .ent-another{ display:none !important; } }

/* ===== 考核 · 档案室（2026-11-16）=====
   判不了的人不往榜上凑数，也不从表里删掉。
   这一块只回答两件事：凭什么是这个人、要补哪一步他才能回榜。
   所以它长得不像榜：没有名次、没有分、没有进度条，只有一行一行的「为什么」。
   日式那套规矩照旧 —— 中性白底、细线、方角、不用阴影和色块抢眼。 */
.sc-thin{flex:0 0 auto;font-size:11px;font-weight:400;color:#9E9E9E;
  border:1px solid var(--line);border-radius:2px;padding:1px 5px;white-space:nowrap}
.sc-arch{margin-top:20px;border-top:1px solid #1A1A1A}
.sc-ah{display:flex;align-items:baseline;gap:10px;padding:11px 2px;cursor:pointer}
.sc-ah b{font-size:13px;font-weight:600;letter-spacing:.04em}
.sc-ah span{flex:1;font-size:11px;color:#9E9E9E}
.sc-ah u{font-size:11px;color:#9E9E9E;text-decoration:none;white-space:nowrap}
.sc-ah:hover u{color:#1A1A1A}
.sc-ab{padding:0 0 6px}
.sc-ag{padding:10px 0 4px;border-top:1px solid var(--line)}
.sc-ag:first-child{border-top:none}
.sc-ag > i{display:block;font-style:normal;font-size:11px;color:#9E9E9E;
  line-height:1.75;margin-bottom:8px;max-width:64ch}
.sc-ai{display:flex;align-items:baseline;gap:10px;flex-wrap:wrap;
  padding:5px 0;border-bottom:1px solid var(--line);font-size:12px}
.sc-ai:last-child{border-bottom:none}
.sc-ai b{flex:0 0 82px;font-weight:500;font-size:13px}
.sc-ai span{flex:1 1 260px;color:#6E6E6E;min-width:0}
.sc-ai em{flex:1 1 100%;font-style:normal;color:#9E9E9E;font-size:11px;
  line-height:1.7;padding-left:92px}
/* 数据不足区：一人一行，有分但只作参考。样式比榜更轻 —— 不占名次就不该长得像榜 */
.sc-lrow{display:flex;align-items:baseline;gap:10px;padding:6px 0;
  border-bottom:1px solid var(--line);font-size:12px}
.sc-lrow:last-child{border-bottom:none}
.sc-lrow b{flex:0 0 76px;font-weight:500;font-size:13px;overflow:hidden;
  text-overflow:ellipsis;white-space:nowrap}
.sc-lrow span{flex:1 1 160px;color:#6E6E6E;min-width:0;overflow:hidden;
  text-overflow:ellipsis;white-space:nowrap}
.sc-lrow i{flex:0 0 auto;font-style:normal;color:#9E9E9E;font-size:11px}
.sc-lrow em{flex:0 0 46px;text-align:right;font-style:normal;font-size:13px;font-weight:600}
.sc-lrow u{flex:0 0 52px;text-align:right;text-decoration:none;color:#9E9E9E;font-size:11px}
/* 无据的那一项：整行压灰，分数位写「本月不判」，不出现 0/25 这种假数 */
.sc-p.na .sc-ph b{color:#9E9E9E}
.sc-p.na .sc-ph span{color:#9E9E9E;font-weight:400}
.sc-p.na .sc-pw{color:#9E9E9E}
@media (max-width:899px){
  .sc-ai b{flex:0 0 64px;font-size:12px}
  .sc-ai em{padding-left:0}
  .sc-ah span{font-size:10px}
}
/* 榜单上面那一句：不解释清楚，人第一眼会觉得「人怎么少了」 */
.sc-whyn{margin:0 0 10px;padding:8px 11px;background:#FAFAFA;border-left:1px solid #E8E8E8;
  font-size:11px;line-height:1.8;color:#6E6E6E}
.sc-whyn b{color:#1A1A1A;font-weight:600;font-variant-numeric:tabular-nums}
.sc-am{padding:9px 0 3px;font-size:11px;color:#6E6E6E;cursor:pointer;
  text-decoration:underline;text-decoration-color:#E8E8E8;text-underline-offset:3px}
.sc-am:hover{color:#1A1A1A}
/* 「人工待3」和「系统缺1项」是两件事：一个等人打分，一个等数据。
   以前都是 34px 宽挤成「待3」，谁也不知道该找谁。 */
.sc-gapn{flex:0 0 auto !important;white-space:nowrap}
@media (max-width:899px){
  .sc-thin{display:inline-block !important;font-size:10px;padding:0 4px}
}
/* 档案室里「同一件事缺在 26 个人身上」：缺什么写一遍，谁缺用名单排开。
   26 行重复同一句话，读的人第二行就不读了。 */
.sc-ag2{margin-top:9px}
.sc-ag2-h{font-size:11px;color:#9E9E9E;margin-bottom:3px;letter-spacing:.02em}
.sc-anames{font-size:13px;line-height:1.95;color:#1A1A1A;letter-spacing:.01em}

/* 图表空态：没数据时给一句话，不给一个框。
   以前 chBar 在全零时照画坐标轴，手机上就是一个浅灰圆角空框（卢荣军 11-07 截图）。*/
.ch-empty{padding:28px 12px;text-align:center;font-size:13px;color:#8e8e93;
  background:#FAFAFA;border:1px dashed #E3E3E6;border-radius:2px}

/* 发票归口：拖拽区 + 识别卡 + 候选客户 */
.inv-drop{border:1px dashed #D8D8DC;border-radius:2px;padding:24px 12px;text-align:center;background:#FAFAFA}
.inv-drop.over{border-color:#1A1A1A;background:#F2F2F4}
.inv-drop-t{font-size:14px;font-weight:700;color:#1A1A1A}
.inv-drop-s{margin-top:6px;font-size:12px;color:#8e8e93}
.inv-card{margin-top:12px;border:1px solid #E3E3E6;border-radius:2px;padding:12px}
.inv-hd{display:flex;align-items:center;gap:8px;flex-wrap:wrap;font-size:14px}
.inv-kv{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:9px 14px;margin:10px 0}
.inv-kv>div{display:flex;flex-direction:column;gap:2px;min-width:0}
.inv-kv span{font-size:11px;color:#8e8e93}
.inv-kv b{font-size:13px;color:#1A1A1A;font-weight:600;word-break:break-all}
.inv-pick{margin-top:10px}
.inv-pick-t{font-size:12px;color:#6E6E6E;margin-bottom:6px}
.inv-c{display:block;width:100%;text-align:left;border:1px solid #E3E3E6;background:#fff;
  border-radius:2px;padding:9px 10px;margin-bottom:6px;cursor:pointer;font:inherit;line-height:1.35}
.inv-c b{font-size:13px;display:block;color:#1A1A1A}
.inv-c span{font-size:11px;color:#8e8e93}
.inv-c.on{border-color:#1A1A1A;background:#F7F7F8}
.inv-act{display:flex;align-items:center;gap:8px;margin-top:12px;flex-wrap:wrap}

/* 使用情况：六本账里数出来的活跃天数 */
.act-tb{border-top:1px solid #E3E3E6}
.act-hd,.act-rw{display:grid;grid-template-columns:1.25fr .8fr .55fr .55fr .55fr .8fr;
  gap:6px;align-items:center;padding:8px 2px;border-bottom:1px solid #EFEFF1}
.act-hd{font-size:11px;color:#8e8e93;font-weight:600}
.act-rw{font-size:13px;color:#1A1A1A}
.act-rw.off{color:#B0B0B5}
.act-rw .nm{font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.act-rw .rl{font-size:11px;color:#8e8e93}
.act-rw .n{text-align:right;font-variant-numeric:tabular-nums}
.act-rw .dt{text-align:right;font-size:11px;color:#8e8e93;font-variant-numeric:tabular-nums}
.act-rw.off .dt{color:#C8C8CC}

/* 沉默项目：四列清单，手机上也要能看 */
.dp-tb{border-top:1px solid #E3E3E6}
.dp-hd,.dp-rw{display:grid;grid-template-columns:1.6fr .9fr .4fr .8fr;gap:6px;
  align-items:center;padding:7px 2px;border-bottom:1px solid #EFEFF1}
.dp-hd{font-size:11px;color:#8e8e93;font-weight:600}
.dp-rw{font-size:13px}
.dp-rw .nm{font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.dp-rw .zn{font-size:11px;color:#8e8e93}
.dp-rw .n{text-align:right;font-variant-numeric:tabular-nums}
.dp-rw .dt{text-align:right;font-size:11px;color:#8e8e93;font-variant-numeric:tabular-nums}

/* 客户档案的操作条：.btn 全局 width:100%，一进 flex 就一个占一行。
   这里只收这一处，不动全局 —— 表单里的提交按钮要靠 width:100% 撑满才好点。 */
.cw-act{display:flex;gap:7px;margin:2px 0 10px;flex-wrap:wrap;align-items:center}
.cw-act .btn{width:auto}

/* 收款台三段账龄的说明原来 nowrap + 省略号，390 宽下三列各 130px，
   「125 笔 · 最老拖了 9 个月 · 专项主攻」被截成「最老拖了 9...」——
   恰恰把「拖了多久」这个最该看的数字切掉了。
   手机上允许折两行（10.5px 字，130px 一行能放 12 字，两行够），
   桌面维持一行。 */
@media (max-width:899px){
  #main .ar-kpi .k em{white-space:normal!important;overflow:visible!important;
    text-overflow:clip!important;line-height:1.4}
}

/* 「分下去」每行挤了五样东西：名字、超1年金额、笔数徽章、合计、导出。
   390 宽下最吵的是那个灰底「导出」方块 —— 七行七个灰块，
   把金额挤得紧贴徽章，一眼扫不出谁欠得多。
   导出本身要留着（催款专员各导各的表），但不必天天这么显眼：
   收成灰色小字，排在行尾。 */
@media (max-width:899px){
  #main .ch-own{gap:6px!important}
  #main .ch-own .ch-go{border:0!important;background:transparent!important;
    padding:0!important;color:#8E8E93!important;font-weight:400!important;font-size:12px!important;
    text-decoration:underline;min-height:0!important;box-shadow:none!important}
  #main .ch-own .ch-nm{font-size:13px}
  #main .ch-own .ch-num{font-size:13px!important}
}

/* 注：「合计」在手机上是刻意不显示的（见上面 10503 那条 display:none!important）——
   行里只留最要紧的两个数，合计在标题悬停里。我一度按「信息丢了」去救，
   翻回去才看见原注释，是设计不是事故，这里不再动它。 */

/* 「⋯」那颗原来带白底、没边线，紧挨着白底带灰边的「补录」，
   看着像两个不成套的方块。它只是个折叠入口，不要底色。 */
body.ent #main .mq-more{background:transparent!important;border:0!important;box-shadow:none!important}

/* 历史项目名逐条确认（体检页弹窗）：一行一条，左边原名右边认到的名 */
.mrg-tip{font-size:12px;line-height:1.78;background:#F7F7F5;border-radius:10px;padding:9px 11px;margin-bottom:10px;color:#1A1A1A}
.mrg-ls{max-height:56vh;overflow:auto;-webkit-overflow-scrolling:touch;overscroll-behavior:contain}
.mrg-i{border-bottom:1px solid #EEEEEC;padding:10px 2px}
.mrg-i:last-child{border-bottom:0}
.mrg-n{display:flex;align-items:baseline;gap:6px;flex-wrap:wrap;font-size:13px;line-height:1.5}
.mrg-n b{font-weight:700;color:#1A1A1A;word-break:break-all}
.mrg-n i{font-style:normal;color:#9A9A9A;font-size:11px}
.mrg-n span{color:#0A6FB8;font-weight:700;word-break:break-all}
.mrg-m{font-size:11.5px;color:#6E6E6E;margin-top:3px;line-height:1.5}
.mrg-b{display:flex;gap:7px;margin-top:7px;flex-wrap:wrap}
@media(max-width:520px){
  .mrg-ls{max-height:52vh}
  .mrg-b .btn{flex:1;min-width:0}
}
/* 差别较大的那条：左侧一根橙线，不占地方，但一眼能挑出来 */
.mrg-i.mrg-low{border-left:2px solid #E8A33D;padding-left:9px;margin-left:-11px}

/* 合同到期页：台账里有、这本账里没有的那一批（440 家） */
.ct-gap{border:1px solid #EFE6D6;background:#FDFAF4;border-radius:10px;padding:10px 12px;margin:10px 0}
.ct-gap-hd{display:flex;align-items:center;gap:8px;flex-wrap:wrap;font-size:12.5px;line-height:1.6}
.ct-gap-hd b{font-weight:700;color:#1A1A1A}
.ct-gap-hd em{font-style:normal;color:#8A8A8A;font-size:11.5px}
.ct-gap-bd{display:flex;align-items:center;gap:10px;margin-top:6px}
.ct-gap-bd span{flex:1;font-size:11.5px;color:#6E6E6E;line-height:1.65}
.ct-gap-bd .btn{flex-shrink:0}
@media(max-width:520px){
  .ct-gap-bd{flex-direction:column;align-items:stretch}
  .ct-gap-bd .btn{width:100%}
}

/* 并行期总入口：一条线一行 */
.par-i{display:flex;align-items:center;gap:10px;border-bottom:1px solid #EEEEEC;padding:10px 0}
.par-i:last-child{border-bottom:0}
.par-t{font-size:13px;font-weight:700;color:#1A1A1A;display:flex;align-items:baseline;gap:7px;flex-wrap:wrap;line-height:1.4}
.par-t em{font-style:normal;font-size:11px;color:#9A9A9A;font-weight:400}
.par-d{font-size:11.5px;color:#6E6E6E;margin-top:2px;line-height:1.5}
@media(max-width:520px){
  .par-i{flex-wrap:wrap;gap:7px}
  .par-i>div:last-child{width:100%}
  .par-i>div:last-child .btn{flex:1}
}

/* ===== ux-kit.css ===== */
/* ================================================================
   启迅电梯 · UX-KIT 选择控件设计系统 v1.0
   ----------------------------------------------------------------
   定位：全站唯一的「选择类控件」规范来源。任何页面、任何新功能，
   一律引用本文件，不许在页面里私写筛选条样式。
   组成：
     一、设计变量（改这里，全站变）
     二、筛选条 .ux-chips（≤6 个弹性铺满，>6 个自动转日历网格）
     三、下拉框 .ux-select / 原生 select（44 高、14 字、宽 140 起）
     四、弹窗选项 .ux-opt、加行按钮 .ux-add
   依赖：页面需定义 --jp-line/--jp-ink/--jp-ai（未定义时用兜底色）。
   自查：scripts/ux_scan.py 会按本规范做合规检查。
   ================================================================ */
:root{
  --ux-h:44px;              /* 触控目标高度：手指尖的最小尺寸 */
  --ux-h-sm:40px;           /* 次级/密集场景高度 */
  --ux-fs:14px;             /* 控件字号 */
  --ux-fs-sm:12.5px;        /* 日历格字号 */
  --ux-radius:2px;          /* 控件圆角 */
  --ux-gap:8px;             /* 筛选条间距 */
  --ux-line:var(--jp-line,#FAFAFA);
  --ux-ink:var(--jp-ink,#1A1A1A);
  --ux-ai:var(--jp-ai,#1A1A1A);
  --ux-paper:var(--jp-card,#FAFAFA);
}
/* ---------- 筛选条终稿：等宽格子，点得到、看得清 ----------
   老板原话「这类选择条太窄」。问题不在文字，在：
   ① 每个 chip 只有文字的宽度，6 个选项宽窄不一，行尾还空一块；
   ② 手机端 38 高、桌面 34 高，手指按下去容易擦到隔壁。
   改法：手机端自动排成 3 列（多选项排 2 列），一格一格等宽等高，
   min-height 44 起（手指目标达标），选中用墨藍实底 + 纸白字，
   不再靠一条 2px 下划线去提示——那在筛选条上等于没说。
   桌面端不强行等宽，只把高度和内边距抬起来，行距拉开。 */
.chips.fchips,.chips:not(.long){
  display:flex!important;flex-wrap:wrap!important;
  gap:8px!important;
  overflow:visible!important;
  padding-bottom:0!important;
  margin-bottom:10px!important;
  align-items:stretch!important;
}
.chips.fchips .chip,.chips:not(.long) .chip, #main .chips.fchips .chip,#main .chips:not(.long) .chip{
  flex:1 1 auto!important;min-width:calc(30% - 6px)!important;
  text-align:center!important;max-width:none!important;
  box-sizing:border-box!important;
  height:44px!important;min-height:44px!important;
  padding:0 8px!important;
  border-radius:2px!important;
  border:1px solid var(--jp-line)!important;
  background:var(--jp-card)!important;
  color:var(--jp-ink)!important;
  font-size:14px!important;
  font-weight:500!important;
  letter-spacing:.02em!important;
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  white-space:nowrap!important;
  overflow:hidden!important;text-overflow:ellipsis!important;
  box-shadow:none!important;
}
/* 选中：墨藍实底。之前被后置规则统一刷成「纸底 + 下墨线」，
   那种收口是对页签的，筛选条要的是「我选了哪个」一眼可见。 */
#main .chips.fchips .chip.on,
body .chips.fchips .chip.on,
body .fchips .chip.on,
#main .fchips .chip.on{
  background:var(--jp-ai)!important;background-image:none!important;
  border-color:var(--jp-ai)!important;
  color:#FAFAFA!important;
  font-weight:600!important;
  box-shadow:none!important;
}
.chips.fchips .chip:active{transform:scale(.97)}
/* 选项太多的地方（年检 15 个月份、销售员十几个人）不能一味往下堆：
   一屏被筛选条吃光就看不见内容了。超过 9 个就退回横滑，
   一格固定 108 宽、44 高，一行到底，手指左右扫。 */
.chips.long,
#main .chips.long{
  display:grid!important;
  grid-template-columns:repeat(5,minmax(0,1fr))!important;
  gap:6px!important;
  overflow:visible!important;
  padding-bottom:0!important;
}
.chips.long .chip,
#main .chips.long .chip{
  flex:none!important;width:100%!important;min-width:0!important;
  height:40px!important;min-height:40px!important;
  padding:0 4px!important;
  font-size:12px!important;
  overflow:hidden!important;text-overflow:ellipsis!important;
}
/* 桌面：选项多的一行 10 列，屏幕宽放得下 */
@media (min-width:761px){
  .chips.long,
  #main .chips.long{grid-template-columns:repeat(10,minmax(0,1fr))!important}
}
/* 桌面：不强制等宽，但高度 38、左右 16，行距 9 */
@media (min-width:761px){
  .chips.fchips{
    display:flex!important;flex-wrap:wrap!important;
    gap:10px!important;
  }
  .chips.fchips .chip, #main .chips.fchips .chip{
    width:auto!important;
    height:40px!important;min-height:40px!important;
    padding:0 22px!important;
    font-size:14px!important;
    border-radius:2px!important;
  }
}
/* ---------- 万能选择控件规则（一条管所有） ----------
   页面上一切「选东西」的控件——筛选胶囊(chip)、下拉框(select)、
   弹窗选项(aq-b)、加行按钮(nq-add)——统一一个标准：
   手指尖最小 44px 高、字号 14 起步、看得清、点得准。
   不管哪个页面、以后新加什么筛选，都自动适用，不用再一个个修。 */
#main select, body select{
  min-height:44px!important;
  font-size:14px!important;
  line-height:1.2!important;
  padding:10px 12px!important;
  border:1px solid var(--jp-line)!important;
  border-radius:2px!important;
  background:#FAFAFA!important;
  color:var(--jp-ink)!important;
  font-family:inherit!important;
  box-sizing:border-box!important;
  min-width:140px!important;
}
#main select:focus, body select:focus{border-color:var(--jp-ai)!important;outline:none!important}
/* 弹窗里的选项按钮同样 44 高 */
#main .aq-b, body .aq-b{min-height:40px!important;font-size:14px!important}
/* 报价加行按钮不许截字（之前「手动加一行」被压成「手动加一」） */
#main .nq-add, body .nq-add{white-space:nowrap!important;overflow:visible!important;min-height:44px!important}


/* ================================================================
   五、新模板类（以后写页面就用这套，旧类名自动兼容见上）
   ================================================================ */
.ux-chips{display:flex;flex-wrap:wrap;gap:var(--ux-gap);margin:0 0 10px}
.ux-chip{
  flex:1 1 auto;min-width:calc(30% - 6px);box-sizing:border-box;
  height:var(--ux-h);padding:0 10px;border-radius:2px;
  border:1px solid var(--ux-line);background:var(--ux-paper);color:var(--ux-ink);
  font-size:var(--ux-fs);font-weight:500;letter-spacing:.02em;font-family:inherit;
  display:inline-flex;align-items:center;justify-content:center;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;cursor:pointer;
}
.ux-chip.on{background:var(--ux-ai);border-color:var(--ux-ai);color:#FAFAFA;font-weight:600;box-shadow:none}
.ux-chip:active{transform:scale(.97)}
.ux-chips.long{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px}
.ux-chips.long .ux-chip{flex:none;width:100%;min-width:0;height:var(--ux-h-sm);padding:0 4px;font-size:var(--ux-fs-sm)}
@media (min-width:761px){
  .ux-chips.long{grid-template-columns:repeat(10,minmax(0,1fr))}
  .ux-chips:not(.long) .ux-chip{height:var(--ux-h-sm);padding:0 22px;font-size:var(--ux-fs)}
}
.ux-select{
  min-height:var(--ux-h);font-size:var(--ux-fs);line-height:1.2;
  padding:10px 12px;border:1px solid var(--ux-line);border-radius:2px;
  background:var(--ux-paper);color:var(--ux-ink);font-family:inherit;
  box-sizing:border-box;min-width:140px;
}
.ux-select:focus{border-color:var(--ux-ai);outline:none}
.ux-opt{min-height:var(--ux-h-sm);padding:0 16px;font-size:14px;border:1px solid var(--ux-line);
  border-radius:2px;background:var(--ux-paper);color:var(--ux-ink);
  display:inline-flex;align-items:center;justify-content:center;white-space:nowrap;cursor:pointer}
.ux-opt.on{border-color:var(--ux-ai);font-weight:600;box-shadow:none}
.ux-add{white-space:nowrap;overflow:visible;min-height:var(--ux-h)}

/* ================================================================
   六、筛选收进下拉（dk-bar）：收口形态同样守 UX-KIT
   ----------------------------------------------------------------
   筛选条可以折叠成「▼ 触发器」省屏幕，但触发器本身也是选择控件：
   同样 44 高、14 字、两个并排时 flex 铺满整行，不许缩在左边。 */
#main .dk-bar, body .dk-bar{
  display:flex!important;gap:var(--ux-gap)!important;margin:0 0 10px!important;
}
#main .dk-trig, body .dk-trig{
  flex:1 1 auto!important;min-width:0!important;
  height:var(--ux-h)!important;min-height:var(--ux-h)!important;
  box-sizing:border-box!important;
  padding:0 12px!important;border-radius:2px!important;
  border:1px solid var(--ux-line)!important;background:var(--ux-paper)!important;
  font-size:var(--ux-fs)!important;color:var(--ux-ink)!important;
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
}
#main .dk-trig .arw, body .dk-trig .arw{flex:none!important;margin-left:6px!important}
#main .dk-trig.on, body .dk-trig.on{border-color:var(--ux-ai)!important;color:var(--ux-ai)!important;font-weight:600!important}

/* ================================================================
   七、文字防溢出三步曲（全局智能）
   ----------------------------------------------------------------
   第一选：缩字（14 → 13 → 12 → 11，由 ux-kit.js 自动逐档尝试）；
   第二选：允许换行（最多两行，行高收紧）；
   兜底：省略号 + title 悬停/长按看全文。
   任何按钮、筛选格、下拉、收口触发器一律适用，不许溢出。 */
.chips .chip, .ux-chip, .ux-opt, .dk-trig .v, .ux-select, #main select{
  text-overflow:ellipsis!important;
  overflow:hidden!important;
}
/* 弹性铺满行里的按钮：文字长就换两行，高度自适应不破格 */
.chips:not(.long) .chip, .ux-chips:not(.long) .ux-chip{
  white-space:normal!important;
  word-break:break-all!important;
  line-height:1.15!important;
  min-height:var(--ux-h)!important;
  height:auto!important;
  padding-top:6px!important;padding-bottom:6px!important;
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  text-align:center!important;
  -webkit-line-clamp:2!important;
  -webkit-box-orient:vertical!important;
  overflow:hidden!important;
}
/* 日历网格保持一格一行，靠缩字+省略号兜底 */
.chips.long .chip, .ux-chips.long .ux-chip{white-space:nowrap!important;height:var(--ux-h-sm)!important}
/* 下拉框文字兜底 */
.ux-select, #main select{text-overflow:ellipsis!important;white-space:nowrap!important;overflow:hidden!important}
/* 收口触发器文字 */
.dk-trig .v{white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;min-width:0!important}

/* 5S·整顿：已收进抽屉的原始筛选行，任何展开样式都不许顶掉隐藏。 */
#main .chips[data-dk-on="1"], body .seg[data-dk-on="1"], body .nq-seg[data-dk-on="1"],
#main .seg[data-dk-on="1"], body .chips[data-dk-on="1"]{display:none!important}

/* 大厅-房间原则：已搬进操作抽屉的原件按钮，任何全局按钮统一样式都不许把它捞回台面。
   （全局规则 button:not([class])…{display:inline-flex!important} 特异性不足，
   这里用 #main + 属性选择器压过它。） */
#main button[data-ux-parked], body button[data-ux-parked]{display:none!important}

/* 大厅-房间原则：操作触发器一行，风格与筛选抽屉一致 */
.ux-actbar{display:flex;gap:8px;margin:0 0 10px}
.ux-actbar .dk-trig{flex:1 1 auto;min-width:0;height:var(--ux-h);box-sizing:border-box;
  padding:0 12px;border-radius:2px;border:1px solid var(--ux-line);
  background:var(--ux-paper);color:var(--ux-ink);font-size:var(--ux-fs);
  display:inline-flex;align-items:center;justify-content:center}
.ux-actbar .dk-trig .v{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ux-actbar .arw{width:7px;height:7px;border-right:1px solid #1A1A1A;border-bottom:1px solid #1A1A1A;transform:rotate(45deg);margin-left:6px}
.ux-actlist .btn{min-height:44px}

/* ================================================================
   日式减法 v2（规矩26 视觉）：白底、细线、灰点缀，卡不抢戏。
   台面是留白的，颜色只留给「急」和「钱」两件事。 */
#main .panel{box-shadow:none!important;border:1px solid #E8E8E8!important}
#main .card{box-shadow:none!important}
#main .tag{opacity:.92}
#main .td-row{border-bottom:1px solid #E8E8E8!important}
#main .td-list .td-row:last-child{border-bottom:none!important}

/* ===== dx.css ===== */
/* ============================================================
   金豆 · 系统内的 AI 管家 —— 暖金豆风
   ------------------------------------------------------------
   设计语言：米白暖底 + 金豆金 + 软阴影。
   一颗豆落在豆浆铺的桌面上，面板是它的小窝：暖白是底，金光是人。
   布局尺寸跟旧版一致，只换皮——改样式别动结构，动结构别改样式。
   ============================================================ */

/* ---------- 悬浮入口：一颗豆 ---------- */
.dx-fab{
  position:fixed; right:16px; bottom:calc(148px + var(--sab, 0px));
  width:52px; height:52px; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  padding:0; background:none; border:none; cursor:pointer; z-index:9600;
  box-shadow:none;
  ;
  touch-action:none;
  -webkit-user-select:none; user-select:none;
  -webkit-tap-highlight-color:transparent;
}
.dx-fab:hover{ box-shadow:none; }
.dx-fab.dragging{ transform:scale(1.06); cursor:grabbing; }
.dx-fab img{ width:100%; height:100%; border-radius:50%; display:block; }
.dx-fab:active{ transform:scale(.93); }
.dx-fab span{ pointer-events:none; }
.dx-fab::after{
  content:""; position:absolute; inset:-7px; border-radius:50%;
  border:1px solid rgba(28,27,25,.30);
  
}
@keyframes dxPulse{
  0%,100%{ transform:scale(1); opacity:.55 }
  50%{ transform:scale(1.07); opacity:1 }
}
@media (min-width:900px){
  .dx-fab{ right:24px; bottom:104px; width:56px; height:56px; }
}
body.ent .dx-fab{ left:calc(236px + 14px); right:auto; bottom:calc(24px + 66px); }
@media (max-width:899px){
  body.ent .dx-fab{ left:auto; right:16px; bottom:calc(148px + var(--sab, 0px)); }
}

/* ---------- 抽屉：一扇通往星河的门 ---------- */
.dx{ position:fixed; inset:0; z-index:9650; display:none; }
.dx.show{ display:block; }
.dx-mask{
  position:absolute; inset:0; background:rgba(28,27,25,.30);
  backdrop-filter:blur(3px); -webkit-backdrop-filter:blur(3px);
  animation:dxFade .2s ease;
}
@keyframes dxFade{ from{ opacity:0 } to{ opacity:1 } }

.dx-sheet{
  position:absolute; right:12px; top:12px; bottom:12px;
  width:50vw; min-width:560px; max-width:920px;
  color:#9E9E9E;
  /* 原来是三道 radial 渐变 + 白色 —— 去渐变那轮批量替换把整条声明写坏了
     （transparent 不是合法值），background 整条失效，面板变成透明，
     42% 的红遮罩直接透上来，整窗一片粉红。这里就是一层不透明暖白。 */
  background:#FAFAFA;
  display:flex; flex-direction:column;
  border:1px solid rgba(28,27,25,.28);
  border-radius:2px;
  box-shadow:none;
  overflow:hidden;
  animation:dxIn .3s cubic-bezier(.34,1.4,.44,1);
}
/* 极光层、星屑层已随「去渐变」一起退场：它们的背景值同样被写坏，
   留着只会多一层无效的绝对定位元素。 */
.dx-sheet > *{ position:relative; z-index:1; }

@keyframes dxIn{ from{ transform:translateX(46px) scale(.98); opacity:.3 } to{ transform:none; opacity:1 } }

@media (max-width:899px){
  .dx-sheet{
    left:8px; right:8px; top:auto; bottom:8px; width:auto; min-width:0; max-width:none;
    height:86vh;
    border:1px solid rgba(28,27,25,.3);
    border-radius:2px;
    box-shadow:none;
    animation:dxUp .3s cubic-bezier(.34,1.4,.44,1);
  }
  @keyframes dxUp{ from{ transform:translateY(46px) scale(.98); opacity:.4 } to{ transform:none; opacity:1 } }
}

/* ---------- 头：豆的神位，流光金环 + 流动渐变名 ---------- */
.dx-hd{
  display:flex; align-items:center; gap:12px; padding:16px 16px 13px;
  border-bottom:1px solid rgba(28,27,25,.16); flex:0 0 auto;
}
.dx-av{
  width:40px; height:40px; border-radius:50%; flex:0 0 auto;
  display:flex; align-items:center; justify-content:center;
  
}
@keyframes dxGlow{
  from{ box-shadow:none}
  to{ box-shadow:none}
}
.dx-av img{ width:100%; height:100%; border-radius:50%; display:block; }
.dx-ht{ flex:1; min-width:0; }
.dx-ht b{
  display:block; font-size:14px; letter-spacing:1.5px; font-weight:800;
  background:#6E6E6E;
  background-size:200% 100%;
  -webkit-background-clip:text; background-clip:text; color:transparent;
  
}
@keyframes dxShift{ from{ background-position:0% 0 } to{ background-position:200% 0 } }
.dx-ht span{ display:block; font-size:12px; color:#9E9E9E; margin-top:2px; }
.dx-x{
  width:32px; height:32px; border:none; background:transparent; cursor:pointer;
  color:#9E9E9E; font-size:20px; line-height:1; flex:0 0 auto; border-radius:50%;
}
.dx-x:active{ background:rgba(110,110,110,.12); color:#9E9E9E; }

/* ---------- 对话区 ---------- */
.dx-body{
  flex:1 1 auto; overflow-y:auto; padding:14px 14px 4px;
  -webkit-overflow-scrolling:touch;
  scrollbar-width:thin; scrollbar-color:rgba(28,27,25,.35) transparent;
}
.dx-body::-webkit-scrollbar{ width:4px; }
.dx-body::-webkit-scrollbar-thumb{ background:rgba(28,27,25,.3); border-radius:2px; }
.dx-row{ display:flex; margin-bottom:12px; }
.dx-row.me{ justify-content:flex-end; }
.dx-bb{
  max-width:86%; padding:11px 14px; font-size:14px; line-height:1.72;
  color:#9E9E9E;
  background:#FAFAFA;
  border:1px solid rgba(28,27,25,.2);
  border-radius:2px;
  backdrop-filter:blur(10px); -webkit-backdrop-filter:blur(10px);
  white-space:pre-wrap; word-break:break-word;
}
.dx-row.me .dx-bb{
  background:#6E6E6E;
  border-color:rgba(110,110,110,.4);
  color:#9E9E9E; border-radius:2px;
  box-shadow:none;
}
.dx-row.bot .dx-bb b{ font-weight:700; color:#9E9E9E; }
.dx-row.bot .dx-bb a{ color:#9E9E9E; }

/* 手册出处 + 带我去 */
.dx-meta{ display:flex; flex-wrap:wrap; gap:6px; margin-top:8px; }
.dx-chip{
  font-size:11px; padding:4px 9px; border-radius:999px;
  border:1px solid rgba(28,27,25,.22);
  background:#FAFAFA; color:#9E9E9E; cursor:pointer;
  transition:border-color .15s, color .15s;
}
.dx-chip.go{ color:#9E9E9E; border-color:rgba(28,27,25,.45); font-weight:600;
  background:rgba(28,27,25,.08); }
.dx-chip:active{ opacity:.7; }

/* 系统标签：本地直答 / 豆包 */
.dx-tag{
  display:inline-block; font-size:11px; padding:1px 6px; margin-left:6px;
  border-radius:999px; color:#9E9E9E; border:1px solid rgba(28,27,25,.2);
  vertical-align:2px;
}

/* 正在想：三颗小豆子在跳 */
.dx-typing{ display:inline-flex; gap:4px; align-items:center; height:18px; }
.dx-typing i{
  width:5px; height:5px; border-radius:50%;
  background:#9E9E9E;
  box-shadow:none;
  
}
.dx-typing i:nth-child(2){ animation-delay:.16s }
.dx-typing i:nth-child(3){ animation-delay:.32s }
@keyframes dxBlink{ 0%,80%,100%{ opacity:.2; transform:translateY(0) } 40%{ opacity:1; transform:translateY(-3px) } }

/* ---------- 快捷问 ---------- */
.dx-quick{
  display:flex; gap:6px; overflow-x:auto; padding:8px 14px 0;
  flex:0 0 auto; scrollbar-width:none;
}
.dx-quick::-webkit-scrollbar{ display:none }
.dx-q{
  flex:0 0 auto; font-size:12px; padding:6px 11px; cursor:pointer; border-radius:999px;
  border:1px solid rgba(28,27,25,.2); background:#FAFAFA;
  color:#9E9E9E; white-space:nowrap; transition:border-color .15s, color .15s;
}
.dx-q:hover{ border-color:rgba(28,27,25,.5); color:#9E9E9E; }
.dx-q:active{ opacity:.7 }

/* ---------- 输入：玻璃台面上的金光按钮 ---------- */
.dx-in{
  flex:0 0 auto; display:flex; gap:8px; align-items:flex-end;
  padding:10px 14px calc(10px + var(--sab, 0px));
  border-top:1px solid rgba(28,27,25,.13);
}
.dx-in textarea{
  flex:1; resize:none; max-height:104px; min-height:40px;
  padding:10px 12px; font-size:14px; line-height:1.5;
  border:1px solid rgba(28,27,25,.22); border-radius:2px;
  background:#FAFAFA; color:#9E9E9E;
  font-family:inherit; outline:none;
  backdrop-filter:blur(8px); -webkit-backdrop-filter:blur(8px);
  ;
}
.dx-in textarea::placeholder{ color:#6E6E6E; }
.dx-in textarea:focus{
  border-color:rgba(28,27,25,.55);
  box-shadow:none;
}
.dx-send{
  flex:0 0 auto; height:40px; padding:0 17px; border:none; cursor:pointer;
  border-radius:2px;
  background:#9E9E9E;
  color:#1A1A1A; font-size:14px; font-weight:700;
  box-shadow:none;
  ;
}
.dx-send:hover{ filter:brightness(1.06); box-shadow:none; }
.dx-send[disabled]{ opacity:.45; box-shadow:none; }

/* 底部一行小字：Key 没配时说清楚，别让人以为坏了 */
.dx-note{
  flex:0 0 auto; font-size:12px; color:#6E6E6E;
  padding:0 14px 8px; line-height:1.5;
}
.dx-note a{ color:#9E9E9E; text-decoration:underline; cursor:pointer; }

/* 空态：第一次打开时的三条示范 */
.dx-empty{ padding:6px 2px 12px; }
.dx-empty .t1{ font-size:14px; color:#9E9E9E; margin-bottom:4px; }
.dx-empty .t2{ font-size:12px; color:#9E9E9E; line-height:1.7; }

/* ---------- 截图：发得出去，也看得清 ---------- */
.dx-pic{
  flex:0 0 auto; width:40px; height:40px; border-radius:2px;
  border:1px solid rgba(28,27,25,.2);
  background:#FAFAFA; color:#9E9E9E; cursor:pointer;
  display:flex; align-items:center; justify-content:center;
  transition:border-color .15s, color .15s;
}
.dx-pic:hover{ border-color:rgba(28,27,25,.5); color:#9E9E9E; }
.dx-pic:active{ background:rgba(28,27,25,.12); }
.dx-pic svg{ pointer-events:none; }

.dx-imgbar{
  flex:0 0 auto; display:flex; align-items:center; gap:10px;
  padding:10px 14px 0; background:transparent;
}
.dx-thumb{
  position:relative; width:56px; height:56px; flex:0 0 auto;
  border:1px solid rgba(28,27,25,.4); border-radius:2px;
  background:#FFFFFF; overflow:hidden;
  box-shadow:none;
}
.dx-thumb img{ width:100%; height:100%; object-fit:cover; display:block; }
.dx-thx{
  position:absolute; top:-1px; right:-1px; width:20px; height:20px;
  border:none; background:rgba(110,110,110,.92); color:#FAFAFA; font-size:14px; line-height:18px;
  cursor:pointer; padding:0; border-radius:2px;
}
.dx-thint{ font-size:12px; color:#9E9E9E; }

/* 气泡里的截图 */
.dx-mimg{
  display:block; max-width:190px; max-height:220px; width:auto; height:auto;
  margin:0 0 6px; border-radius:2px; cursor:zoom-in; background:#FFFFFF;
  box-shadow:none;
}
.dx-row.me .dx-mimg{ border:1px solid rgba(28,27,25,.35); }

/* 点开看大图 */
.dx-zoom{
  position:fixed; inset:0; z-index:9800; background:rgba(28,27,25,.92);
  display:none; align-items:center; justify-content:center; padding:16px;
}
.dx-zoom.show{ display:flex; }
.dx-zoom img{ max-width:100%; max-height:100%; box-shadow:none;
  border-radius:2px; }

/* ================= 看板 ================= */
.dx-tabs{
  display:flex; gap:6px; padding:9px 14px 8px; flex:0 0 auto;
  overflow-x:auto; -webkit-overflow-scrolling:touch; scrollbar-width:none;
  border-bottom:1px solid rgba(28,27,25,.13);
}
.dx-tabs::-webkit-scrollbar{ display:none; }
.dx-tab{
  flex:0 0 auto; padding:5px 12px; font-size:12px; line-height:1.5;
  border:1px solid rgba(28,27,25,.22); background:#FAFAFA;
  color:#9E9E9E; border-radius:999px; cursor:pointer; white-space:nowrap;
  display:inline-flex; align-items:center; gap:5px;
  transition:border-color .15s, background .15s, color .15s;
}
.dx-tab.on{
  background:transparent;
  border-color:rgba(28,27,25,.55); color:#9E9E9E; font-weight:600;
  box-shadow:none;
}
.dx-tab .dx-bean{ width:14px; height:14px; flex:0 0 auto; display:block; }
/* 顶栏的启迅 logo：本身就是金豆的门面，点一下开金豆 */
header h1{ cursor:pointer; }
header h1:active{ opacity:.75; }

#dx.board-mode .dx-quick{ display:none; }
#dx.board-mode .dx-note{ border-top:none; }

.dx-body.board{
  display:grid; grid-template-columns:1fr 1fr; gap:10px;
  align-content:start; padding:12px;
}
@media (max-width:560px){ .dx-body.board{ grid-template-columns:1fr; } }
.dx-body.board.cal{ grid-template-columns:1fr; }

/* 玻璃数据卡：夜色里一块块磨砂玻璃 */
.bd-card{
  border:1px solid rgba(28,27,25,.15); border-radius:2px;
  background:#FAFAFA;
  backdrop-filter:blur(8px); -webkit-backdrop-filter:blur(8px);
  padding:12px 12px 10px; min-width:0;
  transition:border-color .15s;
}
.bd-card:hover{ border-color:rgba(28,27,25,.35); }
.bd-card.s2{ grid-column:1 / -1; }
.bd-t{ font-size:12px; color:#9E9E9E; margin-bottom:7px; letter-spacing:.02em; }
.bd-kv{ font-size:20px; font-weight:700; color:#9E9E9E; line-height:1.1;
  font-variant-numeric:tabular-nums; letter-spacing:-.01em;
  text-shadow:0 0 18px rgba(28,27,25,.22); }
.bd-kv span{ font-size:12px; font-weight:400; color:#9E9E9E; margin-left:3px; text-shadow:none; }
.bd-d{ font-size:11px; margin-top:6px; color:#9E9E9E; }
.bd-d.up{ color:#6E6E6E; }
.bd-d.down{ color:#1A1A1A; }
.bd-spark{ display:block; width:100%; height:32px; margin-top:6px; }
.bd-s{ font-size:11px; color:#6E6E6E; margin-top:8px; line-height:1.55; }
.bd-note{ font-size:12px; color:#9E9E9E; margin:-2px 0 9px; line-height:1.6; }
.bd-gt{ grid-column:1 / -1; font-size:11px; color:#6E6E6E; letter-spacing:.06em; }

/* 竖柱：金光柱子 */
.bd-bars{ display:flex; align-items:flex-end; gap:5px; height:118px; padding-top:14px; }
.bd-bw{ flex:1; height:100%; display:flex; flex-direction:column; justify-content:flex-end;
  align-items:center; min-width:0; }
.bd-b{ position:relative; width:100%; max-width:26px; min-height:2px;
  background:#9E9E9E; border-radius:2px;
  box-shadow:none; }
.bd-b.red{ background:#6E6E6E; box-shadow:none; }
.bd-b i{ position:absolute; top:-15px; left:50%; transform:translateX(-50%);
  font-size:11px; color:#9E9E9E; font-style:normal; white-space:nowrap; }
.bd-bw span{ font-size:11px; color:#9E9E9E; margin-top:5px; white-space:nowrap; }

/* 横条 */
.bd-h{ display:flex; flex-direction:column; gap:8px; }
.bd-hr{ display:flex; align-items:center; gap:8px; font-size:12px; }
.bd-hn{ flex:0 0 86px; color:#9E9E9E; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.bd-hb{ flex:1; height:8px; background:rgba(110,110,110,.14); border-radius:2px; overflow:hidden; min-width:20px; }
.bd-hb i{ display:block; height:100%; background:#9E9E9E; border-radius:2px; }
.bd-hr:first-child .bd-hb i{ background:#6E6E6E; }
.bd-hv{ flex:0 0 auto; color:#9E9E9E; font-size:11px; font-variant-numeric:tabular-nums; }

/* 环形 */
.bd-ringw{ position:relative; width:84px; height:84px; margin:2px auto 4px; }
.bd-ringw svg{ width:84px; height:84px; display:block; }
.bd-ringw .bd-rv{ position:absolute; inset:0; display:flex; align-items:center;
  justify-content:center; font-size:14px; font-weight:700; color:#9E9E9E; }

/* 清单 */
.bd-li{ display:flex; justify-content:space-between; gap:10px; font-size:12px;
  padding:6px 0; border-bottom:1px dashed rgba(28,27,25,.15); }
.bd-li:last-child{ border-bottom:none; }
.bd-li b{ font-weight:400; color:#9E9E9E; overflow:hidden;
  text-overflow:ellipsis; white-space:nowrap; }
.bd-li span{ color:#9E9E9E; font-size:11px; flex:0 0 auto; }

/* ===== 日历 =====
   夜空里的月历：今天那格亮一圈金边。 */
.cl-top{ display:flex; align-items:center; justify-content:space-between; padding:2px 2px 10px; }
.cl-top b{ font-size:14px; font-weight:600; color:#9E9E9E; letter-spacing:.02em; }
.cl-nav{ width:30px; height:30px; border-radius:2px; border:1px solid rgba(28,27,25,.22);
  background:#FAFAFA; color:#9E9E9E; font-size:14px; line-height:1; cursor:pointer; padding:0; }
.cl-nav:active{ background:rgba(28,27,25,.15); color:#9E9E9E; }
.cl-wk{ display:grid; grid-template-columns:repeat(7,1fr); gap:4px; padding:0 0 5px; }
.cl-wk span{ text-align:center; font-size:12px; color:#6E6E6E; font-weight:500; }
.cl-grid{ display:grid; grid-template-columns:repeat(7,1fr); gap:4px; }
.cl-e{ height:46px; }
.cl-d{ position:relative; height:46px; border:1px solid rgba(28,27,25,.14); border-radius:2px;
  background:#FAFAFA;
  padding:3px 0 0; cursor:pointer; display:flex; flex-direction:column; align-items:center;
  justify-content:flex-start; gap:2px; overflow:hidden; transition:border-color .13s; }
.cl-d:hover{ border-color:rgba(28,27,25,.4); }
.cl-d i{ font-style:normal; font-size:12px; color:#9E9E9E; font-weight:500; line-height:1.2; }
.cl-d .cl-n{ font-size:11px; color:#9E9E9E; line-height:1; }
.cl-d .cl-dot{ display:flex; gap:2px; height:4px; }
.cl-d .cl-dot b{ width:4px; height:4px; border-radius:50%; display:block;
  box-shadow:none; }
.cl-d.today{ border-color:rgba(28,27,25,.7); box-shadow:none; }
.cl-d.today i{ color:#9E9E9E; font-weight:700; }
.cl-d.sel{ background:transparent;
  border-color:rgba(28,27,25,.7); }
.cl-d.sel i, .cl-d.sel .cl-n{ color:#9E9E9E; }
.cl-d.sel .cl-dot b{ box-shadow:none; }
.cl-day{ margin-top:12px; border-top:1px solid rgba(28,27,25,.14); padding-top:10px; }
.cl-dh{ font-size:12px; color:#9E9E9E; padding:0 2px 6px; }
.cl-li{ display:flex; align-items:center; justify-content:space-between; padding:6px 2px 2px; }
.cl-li b{ font-size:12px; font-weight:600; color:#9E9E9E; }
.cl-li span{ font-size:11px; color:#9E9E9E; }
.cl-it{ font-size:12px; color:#9E9E9E; padding:6px 9px; margin:3px 0;
  background:#FAFAFA; border:1px solid rgba(28,27,25,.12);
  border-radius:2px; line-height:1.4; }
.cl-it em{ font-style:normal; color:#6E6E6E; float:right; }
.cl-it:active{ background:rgba(28,27,25,.1); }
.cl-tip{ text-align:center; font-size:11px; color:#6E6E6E; padding:14px 0 4px; }

/* 每个责任人一行小药丸 */
.cl-by{ display:flex; flex-wrap:wrap; gap:5px; padding:4px 0 2px; }
.cl-by span{ display:inline-flex; align-items:center; gap:4px; border-radius:2px;
  background:rgba(28,27,25,.12); padding:2px 8px 2px 3px; font-size:12px; color:#9E9E9E; }
.cl-by span i{ font-style:normal; background:rgba(255,255,255,.08); border-radius:2px; padding:1px 6px;
  font-size:11px; color:#9E9E9E; }
.cl-sub{ font-size:12px; color:#6E6E6E; padding:9px 2px 3px; letter-spacing:.04em; }
.cl-it .cl-w{ float:none; color:#9E9E9E; font-size:12px; margin-left:6px; }

/* 日历工具条 + 写一条的小表单 */
.cl-tools{ display:flex; align-items:center; gap:8px; flex-wrap:wrap; padding:2px 0 8px; }
.cl-add{ height:30px; padding:0 12px; border-radius:2px; border:1px solid rgba(28,27,25,.55);
  background:#1A1A1A; color:#FFFFFF; font-size:12px; font-weight:700; }
.cl-add:active{ opacity:.85; }
.cl-minetog{ height:30px; padding:0 11px; border-radius:2px; border:1px solid rgba(28,27,25,.22);
  background:#FAFAFA; color:#9E9E9E; font-size:12px; }
.cl-minetog.on{ border-color:rgba(28,27,25,.5); color:#1A1A1A; background:rgba(28,27,25,.1); }
.cl-r{ font-size:12px; color:#6E6E6E; }
.cl-w{ background:#FAFAFA; border:1px solid rgba(28,27,25,.16);
  border-radius:2px; padding:10px; margin:0 0 10px; }
.cl-wt{ font-size:12px; color:#9E9E9E; font-weight:600; padding-bottom:7px; }
.cl-in{ width:100%; margin-bottom:7px; }
.cl-wk2{ display:flex; gap:6px; padding:0 0 7px; }
.cl-k{ height:28px; padding:0 13px; border-radius:2px; border:1px solid rgba(28,27,25,.22);
  background:#FAFAFA; color:#9E9E9E; font-size:12px; }
.cl-act{ display:flex; gap:8px; }
.cl-op{ float:right; display:flex; gap:8px; }
.cl-op a{ font-size:11px; color:#9E9E9E; text-decoration:none; padding:0 2px; }

/* 报表选择：一排药丸 */
.cl-pick{ display:flex; flex-wrap:wrap; gap:6px; padding:2px 0 8px; }
.cl-chip{ flex:0 0 auto; display:flex; align-items:center; gap:5px; height:28px; padding:0 11px;
  border:1px solid rgba(28,27,25,.22); border-radius:2px; background:#FAFAFA;
  color:#9E9E9E; font-size:12px; white-space:nowrap; }
.cl-chip b{ width:6px; height:6px; border-radius:50%; display:block; }
.cl-chip.on{ background:transparent;
  border-color:rgba(28,27,25,.55); color:#9E9E9E; font-weight:600; }
.cl-sum{ font-size:11px; color:#9E9E9E; padding:0 2px 8px; }
.cl-sum b{ color:#9E9E9E; font-weight:600; }
.cl-date{ display:inline-block; min-width:30px; color:#9E9E9E; font-weight:600; margin-right:4px;
  font-variant-numeric:tabular-nums; }

/* ===== 全部功能 ===== */
.all-q{ width:100%; box-sizing:border-box; height:38px; border:1px solid rgba(28,27,25,.22);
  border-radius:2px; padding:0 12px; font-size:14px; background:#FAFAFA;
  color:#9E9E9E; margin:0 0 10px; outline:none; ; }
.all-q::placeholder{ color:#6E6E6E; }
.all-q:focus{ border-color:rgba(28,27,25,.55); box-shadow:none; }
.all-g{ font-size:12px; color:#6E6E6E; padding:10px 2px 4px; letter-spacing:.04em; }
.all-row{ display:flex; align-items:center; justify-content:space-between;
  background:#FAFAFA; border:1px solid rgba(28,27,25,.13);
  border-radius:2px; padding:11px 12px; margin:4px 0; font-size:14px; color:#9E9E9E;
  transition:border-color .13s; }
.all-row em{ font-style:normal; color:#6E6E6E; }
.all-row:hover{ border-color:rgba(28,27,25,.4); }
.all-row:active{ background:rgba(28,27,25,.08); }

/* ===== 指标卡片 =====
   夜空里的双列玻璃卡，金光是数，星光是底。 */
.mx-grid{ display:grid; grid-template-columns:1fr 1fr; gap:8px; padding:0 0 6px; }
.mx-c{ text-align:left; background:#FAFAFA; border:1px solid rgba(28,27,25,.15);
  border-radius:2px; padding:10px 11px 9px; cursor:pointer; display:flex; flex-direction:column; gap:3px;
  min-height:96px; overflow:hidden; transition:border-color .15s; }
.mx-c:hover{ border-color:rgba(28,27,25,.4); }
.mx-c:active{ background:rgba(28,27,25,.08); }
.mx-c.open{ border-color:rgba(28,27,25,.6); box-shadow:none; }
.mx-n{ font-size:11px; color:#9E9E9E; line-height:1.3; }
.mx-v{ font-size:20px; font-weight:600; color:#9E9E9E; line-height:1.15; letter-spacing:-.01em;
  font-variant-numeric:tabular-nums; text-shadow:0 0 14px rgba(28,27,25,.2); }
.mx-v span{ font-size:11px; font-weight:500; margin-left:2px; color:#9E9E9E; text-shadow:none; }
.mx-d{ font-size:12px; color:#9E9E9E; }
.mx-d.up{ color:#6E6E6E; }
.mx-d.down{ color:#1A1A1A; }
.mx-sp{ height:24px; margin:2px 0 1px; }
.mx-sp svg{ width:100%; height:24px; display:block; }
.mx-s{ font-size:11px; color:#6E6E6E; line-height:1.35; }
.mx-b{ font-size:11px; color:#9E9E9E; line-height:1.45; margin-top:4px; padding-top:5px;
  border-top:1px dashed rgba(28,27,25,.18); }

/* 经营体检：深空里一块金边能量板 */
.mx-score{ display:flex; align-items:center; gap:12px;
  background:transparent;
  border:1px solid rgba(28,27,25,.35); border-radius:2px;
  padding:11px 13px; margin:0 0 9px;
  box-shadow:none; }
.mx-sh{ display:flex; flex-direction:column; align-items:center; min-width:52px; }
.mx-sh b{ font-size:20px; color:#9E9E9E; line-height:1; font-weight:600;
  text-shadow:0 0 16px rgba(28,27,25,.4); }
.mx-sh span{ font-size:11px; color:rgba(110,110,110,.6); margin-top:3px; }
.mx-sg{ flex:1; display:grid; grid-template-columns:1fr 1fr; gap:5px 10px; }
.mx-si{ display:grid; grid-template-columns:auto 18px 1fr; align-items:center; gap:5px; }
.mx-si i{ font-style:normal; font-size:11px; color:rgba(110,110,110,.65); }
.mx-si b{ font-size:11px; color:#9E9E9E; font-weight:600; text-align:right; }
.mx-si em{ display:block; height:3px; background:rgba(110,110,110,.18); border-radius:2px; overflow:hidden; }
.mx-si u{ display:block; height:3px; background:#6E6E6E; border-radius:2px; }

/* ===== 点着查：去办事折叠区 ===== */
.al-manual{ display:flex; align-items:center; justify-content:space-between; gap:12px;
  background:#FAFAFA; border:1px solid rgba(28,27,25,.12); border-left:1px solid #1A1A1A;
  padding:11px 13px; margin:14px 0 4px; cursor:pointer; }
.al-manual b{ display:block; font-size:14px; color:#1A1A1A; font-weight:700; }
.al-manual span{ display:block; font-size:11px; color:#9E9E9E; margin-top:2px; }
.al-manual i{ font-style:normal; font-size:12px; color:#1A1A1A; white-space:nowrap; }
.al-manual:active{ background:#E8E8E8; }
.al-fold{ margin:14px 0 6px; border-top:1px solid rgba(28,27,25,.14); padding-top:10px; }
.al-fold summary{ font-size:12px; color:#9E9E9E; padding:6px 2px; cursor:pointer; list-style:none; }
.al-fold summary::-webkit-details-marker{ display:none; }
.al-fold summary::before{ content:"▸  "; color:#6E6E6E; }
.al-fold[open] summary::before{ content:"▾  "; }
.al-g{ padding:6px 0 8px; }
.al-gt{ font-size:11px; color:#6E6E6E; padding:2px 0 5px; }
.al-tabs{ display:flex; flex-wrap:wrap; gap:6px; }
.al-b{ height:30px; padding:0 12px; border-radius:2px; border:1px solid rgba(28,27,25,.22);
  background:#FAFAFA; color:#9E9E9E; font-size:12px; }
.al-b:active{ background:rgba(28,27,25,.12); border-color:rgba(28,27,25,.4); }

/* ===== 系统保洁：说明收进豆荚后，页面上只留一个「?」 ===== */
.eo-q{
  display:inline-flex; align-items:center; justify-content:center;
  width:16px; height:16px; margin-left:6px; padding:0;
  border:1px solid #E8E8E8; border-radius:50%;
  background:#FFFFFF; color:var(--p,#1A1A1A);
  font-size:12px; font-weight:700; line-height:1;
  vertical-align:1px; cursor:pointer;
  -webkit-tap-highlight-color:transparent;
}
.eo-q:active{ background:var(--p,#1A1A1A); color:#FFFFFF; border-color:var(--p,#1A1A1A); }

/* ---------- 系统里只留一个 AI 标识：金豆 ---------- */
.bot-fab{
  background:none!important; border:0!important; padding:0!important;
  border-radius:50%!important; overflow:visible;
  box-shadow:none!important;
}
.bot-fab .pf-ic{ width:100%; height:100%; border-radius:50%; display:block; }
.bot-fab::after{ display:none!important; }
body.plain .bot-fab{ background:none!important; }

/* 手机底栏 8 门不溢出：图标略收、字距归零 */
@media (max-width:899px){
  body.ent #topnav.topnav button{ letter-spacing:0 !important; }
  body.ent #topnav.topnav button .ic{ font-size:20px !important; height:19px !important; }
}

/* ---------- 更新说明（刷新拿到新版后弹一次） ---------- */
.ver-item{ border:1px solid var(--bd,#FAFAFA); border-radius:2px; padding:10px 12px; margin-bottom:8px; background:#FAFAFA; }
.ver-hd{ font-size:14px; font-weight:700; margin-bottom:6px; color:var(--t,#1A1A1A); }
.ver-hd b{ color:#9E9E9E; margin-right:4px; }
.ver-at{ float:right; font-weight:400; font-size:12px; color:var(--m,#1A1A1A); }
.ver-row{ display:flex; gap:8px; font-size:12px; line-height:1.65; color:var(--t,#1A1A1A); margin:3px 0; }
.ver-row i{ flex:0 0 auto; font-style:normal; font-size:12px; color:#9E9E9E; background:rgba(110,110,110,.12);
  border-radius:2px; padding:1px 6px; height:fit-content; margin-top:2px; white-space:nowrap; }

/* ---------- 免疫主站样式漫入：输入区锁暖白 ----------
   主站/浏览器夜间模式可能把深色底漫进来，这里按 #dx 权重锁死暖白。 */
#dx .dx-in textarea{
  background:#FAFAFA!important; color:#9E9E9E!important;
  border:1px solid rgba(28,27,25,.25)!important;
}
#dx .dx-in textarea::placeholder{ color:#6E6E6E!important; }
#dx .dx-note .btn, #dx .dx-note button, #dx .dx-note a{
  background:#FAFAFA!important; color:#9E9E9E!important;
  border:1px solid rgba(28,27,25,.22)!important; border-radius:999px;
}

/* ---------- 手机端输入条：比例归位 ----------
   屏窄，三个工具按钮 + 发送键占掉一大半，输入框被挤成方柱。
   手机上按钮收小一号，输入框拿回它该有的宽度。 */
@media (max-width: 640px){
  #dx .dx-in{ gap:6px; padding:8px 10px calc(8px + var(--sab, 0px)); }
  #dx .dx-pic{ width:34px; height:38px; border-radius:2px; flex:0 0 34px; }
  #dx .dx-pic svg{ width:18px; height:18px; }
  #dx .dx-in textarea{ min-height:38px; padding:8px 10px; font-size:14px; }
  #dx .dx-send{ height:38px; padding:0 13px; font-size:14px; flex:0 0 auto; }
}

/* ===== house.css ===== */
/* ================================================================
   装修层 v1（规矩27：房子模型） 2026-11-06
   ----------------------------------------------------------------
   房子 = 一个大厅 + 每岗一间房 + 公共设施（卫生间/厨房/小仓库）。
   这份文件只管「硬装」——吊顶、地板、灯光、走廊。
   房间内容怎么摆，由各页自己负责，但必须踩同一块地板。

   四条硬规矩：
     1. 吊顶一条线：顶部只有品牌、搜索、提醒、我。不许挂业务按钮。
     2. 地板只有一块：底色、圆角、间距全站同一套变量，不许一间一个色。
     3. 灯光要分主次：一个屏只许一个大数亮着，其余压暗。
        全都一样亮 = 没有灯，等于仓库。
     4. 走廊要宽：厅与房之间留白，卡片之间留白，挤在一起的都不算房间。
   ================================================================ */

:root{
  /* 房子专用尺寸：吊顶高、走廊宽、房间门高 */
  --hs-ceil:56px;        /* 吊顶 */
  --hs-hall-pad:18px;    /* 走廊（页面左右留白） */
  --hs-gap:14px;         /* 房间之间 */
  --hs-door:64px;        /* 房间门牌高 */
  --hs-floor:#FAFAFA;    /* 地板：比纸更淡，托住所有卡片 */
}

/* ---------- 一、吊顶：一条水平线，底下投一道极淡的光影 ---------- */
body.ent .ent-top{
  background:#FAFAFA;
  border-bottom:1px solid #E8E8E8;
  box-shadow:none;
}
/* 吊顶上的所有元素，垂直居中对齐到同一条线 */
body.ent .ent-top .ent-top-r{gap:6px;align-items:center}

/* ---------- 二、地板：整片比纸更淡，卡片浮一层 ---------- */
body.ent #main{
  background:var(--hs-floor);
  padding-left:var(--hs-hall-pad);
  padding-right:var(--hs-hall-pad);
}
/* 手机上几乎没边距，走廊压到 14 */
@media(max-width:520px){
  body.ent #main{padding-left:14px;padding-right:14px}
}

/* ---------- 三、灯光：一个屏只亮一个大数 ---------- */
/* 主灯：页面唯一的大数 */
#main .hs-lead{
  font-size:20px;line-height:1.1;font-weight:700;letter-spacing:-.02em;
  font-variant-numeric:tabular-nums;
  color:var(--jp-ink,#1A1A1A);
}
#main .hs-lead em{font-size:12px;font-weight:400;font-style:normal;color:#1A1A1A;margin-left:6px;letter-spacing:0}
/* 补光：次要的说明文字压暗，不与主灯争 */
#main .hs-dim{color:#1A1A1A;font-size:12px;line-height:1.6}

/* 面板：不起影、不加色，只靠一条细线分界 —— 白墙刷漆，不做花样 */
#main .panel{
  background:#FAFAFA;
  border:1px solid #E8E8E8;
  border-radius:2px;
  box-shadow:none;
}
#main .panel > h3{
  font-size:12px;font-weight:700;letter-spacing:.06em;
  color:#1A1A1A;padding-bottom:8px;border-bottom:1px solid #E8E8E8;margin-bottom:10px;
}

/* ---------- 四、走廊：卡片间距统一，不许挤着 ---------- */
#main > .panel + .panel,
#main > .panel + .td-list,
#main > .td-list + .panel{margin-top:var(--hs-gap)}
#main .panel{margin-bottom:0}

/* ---------- 五、房间门牌（导航格子）：一块木板，不是按钮 ---------- */
#main .td-door,#main .hs-room{
  background:#FAFAFA;
  border:1px solid rgba(28,27,25,.10);
  border-radius:2px;
  box-shadow:none;
  transition:border-color .12s ease, background .12s ease;
}
/* 米白纸上再铺一块 f7f7f8 是看不见的 —— 门牌必须有边界，否则看着像几行字 */
#main .td-door:hover,#main .hs-room:hover{background:#FFFFFF;border-color:#6E6E6E}
#main .td-door:active,#main .hs-room:active{background:#FAFAFA;border-color:#FAFAFA}
/* 主门（老板的「看经营」这类）必须保持深底白字：
   上面 #main .td-door 的 id 权重比 .td-door.pri 高，不在这里补回来就会被刷成白底白字，
   门牌上的图标和标题整块看不见 —— 看起来就是「按钮丢了」。 */
#main .td-door.pri{background:#1A1A1A;border-color:#1A1A1A}
#main .td-door.pri:hover{background:#1A1A1A}
#main .td-door.pri .td-dc,#main .td-door.pri .td-dt2{color:#FAFAFA}
#main .td-door.pri .td-dd{color:#9E9E9E}

/* ---------- 六、顶栏对齐：吊顶下不许出现第二条横线 ---------- */
body.ent .tz-crumb{
  background:transparent;
  border-bottom:none;
  height:34px;
}

/* ---------- 七、手机：吊顶收薄，走廊留够，地板不变 ---------- */
@media(max-width:760px){
  body.ent .ent-top{border-bottom-color:#FAFAFA}
  body.ent .tz-crumb{padding:0 14px}
}

/* ---------- 九、侧门通道：技师专用，一条路走到底 ---------- */
.hs-side{display:flex;flex-direction:column;gap:10px;margin-top:20px}
.hs-step{
  display:flex;align-items:center;gap:14px;
  background:#FAFAFA;border:1px solid #E8E8E8;border-radius:2px;
  padding:0 14px;height:var(--hs-door);cursor:pointer;
}
.hs-step:active{background:#FAFAFA}
.hs-step-n{
  font-size:14px;font-weight:700;color:#6E6E6E;font-variant-numeric:tabular-nums;
  letter-spacing:.02em;flex:none;width:26px;
}
.hs-step-t{flex:1;font-size:14px;font-weight:600;color:#1A1A1A}
.hs-step-r{color:#6E6E6E;font-size:20px;flex:none}

/* ================================================================
   三合院（规矩27）：正房坐北，东西厢房分列，院子居中，倒座在南。
   真按方位摆 —— 有院子感，不是一排格子。
   ================================================================ */
.sy-wrap{padding:2px 0 6px}
.sy-hi{font-size:20px;font-weight:700;letter-spacing:-.01em;color:#1A1A1A;line-height:1.3}
.sy-sub{font-size:12px;color:#1A1A1A;margin-top:5px;line-height:1.6}

/* 院子：竖排三段 —— 正房 / 院+厢房 / 倒座 */
.sy-yard{margin-top:18px;display:flex;flex-direction:column;gap:8px}
.sy-north{display:flex;justify-content:center}
.sy-north .sy-room{width:100%}
.sy-mid{display:grid;grid-template-columns:1fr 54px 1fr;align-items:stretch;gap:8px}

/* 那块空地：留白就是院子，只放一个字 */
.sy-void{
  display:flex;align-items:center;justify-content:center;
  border-radius:2px;background:#FAFAFA;
  font-size:12px;color:#6E6E6E;letter-spacing:.1em;
}
.sy-south{display:grid;grid-template-columns:repeat(2,1fr);gap:8px}
.sy-south:has(.sy-room:only-child){grid-template-columns:1fr}

/* 房间本体：一块木牌，木纹靠一道细边和一点暖白 */
.sy-room{
  background:#FAFAFA;border:1px solid #E8E8E8;border-radius:2px;
  padding:12px 13px;min-height:96px;cursor:pointer;
  display:flex;flex-direction:column;gap:3px;
  ;
}
.sy-room:active{background:#FAFAFA;border-color:#6E6E6E;transform:scale(.995)}
.sy-pos{font-size:11px;color:#6E6E6E;letter-spacing:.16em;font-weight:600}
.sy-rt{font-size:14px;font-weight:700;color:#1A1A1A;letter-spacing:.01em;margin-top:1px}
.sy-rd{font-size:11px;color:#1A1A1A;line-height:1.55;margin-top:auto}
/* 厢房窄，文字收一点 */
.sy-east .sy-room,.sy-west .sy-room{padding:11px 11px;min-height:104px}
.sy-east .sy-rt,.sy-west .sy-rt{font-size:14px}
.sy-east .sy-rd,.sy-west .sy-rd{font-size:12px}

.sy-sec{
  font-size:12px;font-weight:700;letter-spacing:.16em;color:#6E6E6E;
  margin:24px 0 9px;display:flex;align-items:center;gap:9px;
}
.sy-sec::after{content:"";flex:1;height:1px;background:#FAFAFA}
.sy-back{display:flex;flex-direction:column;gap:8px}
.sy-mini{
  background:#FAFAFA;border:1px solid #E8E8E8;border-radius:2px;
  padding:11px 13px;cursor:pointer;
}
.sy-mini:active{background:#FAFAFA}
.sy-mt{font-size:14px;font-weight:600;color:#1A1A1A}
.sy-md{font-size:11px;color:#9E9E9E;margin-top:2px;line-height:1.5}
.sy-foot{
  margin-top:20px;padding-top:14px;border-top:1px solid #E8E8E8;
  font-size:12px;color:#1A1A1A;text-align:center;cursor:pointer;
}

/* ---------- 侧门通道：技师专用 ---------- */
.sy-side{padding:2px 0}
.sy-side-hd{margin-bottom:18px}
.sy-se{font-size:12px;font-weight:700;letter-spacing:.2em;color:#6E6E6E}
.sy-sd{font-size:20px;font-weight:700;color:#1A1A1A;margin-top:6px}
.sy-step{
  display:flex;align-items:center;gap:14px;
  background:#FAFAFA;border:1px solid #E8E8E8;border-radius:2px;
  padding:0 14px;height:62px;cursor:pointer;margin-bottom:8px;
}
.sy-step:active{background:#FAFAFA}
.sy-step-n{font-size:14px;font-weight:700;color:#6E6E6E;font-variant-numeric:tabular-nums;flex:none;width:24px}
.sy-step-t{flex:1;font-size:14px;font-weight:600;color:#1A1A1A}
.sy-step-r{color:#6E6E6E;font-size:20px;flex:none}

/* 手机窄屏：院子的空地收窄，别把厢房挤成一条线 */
@media(max-width:380px){
  .sy-mid{grid-template-columns:1fr 40px 1fr;gap:7px}
}

/* 大厅不立路牌：页签条藏起来 */
body.sy-hall .subnav{display:none!important}

/* 布局：没有对应岗位的那一侧留空，不用假格子撑场面 */
.sy-empty{border:none;background:transparent}

/* ================================================================
   桌面端：布局限宽居中，不摊成大饼。
   手机上满屏铺；桌面上一张「桌上摊开的图纸」，宽 720~820。
   ================================================================ */
@media(min-width:900px){
  .sy-wrap{max-width:820px;margin:0 auto;padding:8px 0 24px}
  .sy-yard{margin-top:22px;gap:12px}
  .sy-mid{grid-template-columns:1fr 88px 1fr;gap:12px}
  .sy-room{padding:16px 16px;min-height:120px}
  .sy-rt{font-size:14px}
  .sy-rd{font-size:12px}
  .sy-east .sy-room,.sy-west .sy-room{min-height:150px}
  .sy-east .sy-rt,.sy-west .sy-rt{font-size:20px}
  .sy-back{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
  .sy-foot{margin-top:26px}
  .sy-side{max-width:560px;margin:0 auto;padding-top:10px}
  .sy-step{height:68px}
}

/* 货架库房行：一行安静的入口，不是第二个列表 */
.mq-shelf{
  margin:10px 0 4px;padding:13px 14px;border:1px solid #E8E8E8;border-radius:2px;
  background:#FAFAFA;font-size:12px;color:#1A1A1A;cursor:pointer;text-align:center;
}
.mq-shelf:active{background:#FAFAFA}
.mq-shelf b{color:#1A1A1A}

/* ===== 首页（2026-11-07 减法 · 先对话后操作） =====
   第一屏只有一个能说话的地方，加三个天天点的动作。
   门牌、方位、公共宫格全部撤掉 —— 那些是给「设计者」看的，不是给干活的人看的。 */
.hs-wrap{ padding:44px 18px 44px; max-width:720px; margin:0 auto; }
.hs-hi{ font-size:20px; font-weight:800; color:#1A1A1A; letter-spacing:.01em; line-height:1.25; }
.hs-date{ font-size:12px; color:#9E9E9E; margin-top:6px; letter-spacing:.03em; }

/* 注意：本系统有条全局规则 background-image:none!important（扁平化），
   渐变一律会被剥掉。这里用纯色 background-color，不跟 !important 对抗。 */
.hs-ask{ position:relative; margin:22px 0 14px; padding:19px 17px; border-radius:2px;
  background-color:#1A1A1A; color:#E8E8E8; cursor:pointer;
  ; }
.hs-ask:active{ transform:translateY(1px) scale(.995); }
.hs-ask-t{ font-size:20px; font-weight:700; letter-spacing:.02em; }
.hs-ask-d{ font-size:12px; opacity:.70; margin-top:6px; }
.hs-ask-go{ position:absolute; right:16px; top:50%; transform:translateY(-50%);
  font-size:20px; opacity:.55; }

.hs-quick{ display:flex; gap:8px; flex-wrap:wrap; }
.hs-q{ height:37px; padding:0 15px; border-radius:2px; border:1px solid #E8E8E8; background:#FFFFFF;
  color:#1A1A1A; font-size:12px; font-weight:600; cursor:pointer; letter-spacing:.01em;
  box-shadow:none; }
.hs-q:active{ background:#E8E8E8; }

.hs-todo{ display:flex; align-items:center; justify-content:space-between; margin-top:24px;
  padding:15px 16px; background:#FFFFFF; border:1px solid #E8E8E8; border-radius:2px;
  font-size:14px; font-weight:600; color:#1A1A1A; cursor:pointer;
  box-shadow:none; }
.hs-todo i{ font-style:normal; color:#E8E8E8; font-size:14px; }

/* 首页的三个数：欠款 / 到期合同 / 该保养。一格一句话，点了进去。
   三列必须 minmax(0,1fr) —— 跟首页门卡同一个坑，1fr 会被「30 天内到期合同」撑破。 */
.hs-strip{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); margin-top:14px;
  background:#FFFFFF; border:1px solid #E8E8E8; border-radius:2px; overflow:hidden;
  box-shadow:none; }
.hs-cell{ padding:13px 6px 11px; text-align:center; cursor:pointer; min-width:0; }
.hs-cell + .hs-cell{ border-left:1px solid #E8E8E8; }
.hs-cell:active{ background:#FFFFFF; }
.hs-cell b{ display:block; font-size:20px; font-weight:800; color:#1A1A1A; line-height:1.25;
  white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.hs-cell.warn b{ color:#6E6E6E; }
.hs-cell span{ display:block; font-size:12px; color:#9E9E9E; margin-top:4px;
  white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }

.hs-all{ text-align:center; margin-top:26px; font-size:12px; color:#9E9E9E; cursor:pointer;
  letter-spacing:.04em; }

/* ── 台面脚下那一行（2026-11-15）────────────────────────────────
   开单、看数、全部功能：三个都在，但不再各占一块。
   5S 的说法是「定位」—— 东西不多不少，但各有固定的一个格子；
   苹果的说法是「不重要的东西不要有边界」—— 一行灰字，够点，不抢眼。 */
.hs-foot{ display:flex; align-items:center; gap:20px; margin-top:30px; padding-top:16px;
  border-top:1px solid #E8E8E8; }
.hs-foot a{ font-size:12px; color:#9E9E9E; cursor:pointer; letter-spacing:.03em;
  text-decoration:none; }
.hs-foot a:active{ color:#1A1A1A; }

/* 一行状态：最多两个数。不是三格大方块 —— 大方块会让人以为「这就是全部」，
   而它其实只是两个抽屉的把手。 */
.hs-line{ margin-top:16px; display:flex; align-items:center; gap:9px; flex-wrap:wrap;
  font-size:12px; color:#9E9E9E; letter-spacing:.02em; }
.hs-line a{ cursor:pointer; }
.hs-line b{ font-weight:700; color:#1A1A1A; }
.hs-line i{ font-style:normal; color:#E8E8E8; }

/* ===== 维修报价：占首页第一块（2026-11-13）=====
   这是全系统点得最勤的动作，一天好几遍。以前它在「报价 → 新建报价 → 手工开单」
   里面三层，现在一进首页就在手边。语音那条退成白底 —— 两块深色摞在一起，
   等于两块都没有重点。 */
.qz-quick{ display:flex; align-items:center; gap:14px; background-color:#1A1A1A; color:#FFFFFF;
  border-radius:2px; padding:18px 17px; margin:18px 0 0; cursor:pointer;
  -webkit-tap-highlight-color:transparent; user-select:none; }
.qz-quick:active{ transform:translateY(1px) scale(.995); }
.qz-quick-l{ flex:1; min-width:0; }
.qz-quick-t{ font-size:20px; font-weight:700; letter-spacing:.02em; line-height:1.25; }
.qz-quick-s{ font-size:12px; color:#E8E8E8; opacity:.62; margin-top:6px; }
.qz-quick-r{ flex:none; width:34px; height:34px; border:1px solid rgba(255,255,255,.34);
  border-radius:50%!important; display:flex; align-items:center; justify-content:center;
  font-size:20px; font-weight:300; line-height:1; }

/* 语音入口退到第二块：仍是入口，但不再抢第一眼 */
.hs-ask{ background-color:#FFFFFF !important; color:#1A1A1A; border:1px solid #E8E8E8;
  box-shadow:none; margin:12px 0 14px; }
.hs-ask-d{ opacity:1; color:#9E9E9E; }
.hs-ask-go{ color:#9E9E9E; opacity:1; }

/* ===== 岗位操作手册入口（2026-11-13）=====
   手册不是天天用的东西，所以不占第一屏黄金位；
   但它必须是「找得到」的那一行 —— 放在「全部功能」上一格，
   学的人翻到页面底部就撞见，干活的人不被打扰。 */
.hs-manual{ display:flex; align-items:center; justify-content:space-between; margin-top:14px;
  padding:12px 16px; background:#FFFFFF; border:1px solid #E8E8E8; border-radius:2px;
  font-size:14px; font-weight:600; color:#1A1A1A; cursor:pointer; }
.hs-manual em{ font-style:normal; font-size:11px; color:#9E9E9E; margin-left:7px; font-weight:400; }
.hs-manual i{ font-style:normal; color:#9E9E9E; font-size:14px; }
.hs-manual:active{ background:#FAFAFA; }
.hs-new{ display:inline-block; font-size:11px; font-weight:700; line-height:1;
  color:#FFFFFF; background:#6E6E6E; border-radius:2px; padding:3px 4px; margin-left:6px;
  vertical-align:2px; letter-spacing:.06em; }

/* ── 首页待办：三件，摊开的 ─────────────────────────────────────
   原来是一行「今天要办的事 ›」，点进去才知道有几件。
   一线不会为「可能跟我有关」点一下：他不知道里面有没有自己的事。
   现在直接列三件，每件一句标题、一句说明，点哪件去哪儿。
   朱红只给「今天必须办」的那件（urgent），其余保持墨色 ——
   一屏只允许一个红点，多了就等于没有红点。 */
.hs-tl{ margin-top:20px; background:#FFFFFF; border:1px solid #E8E8E8; border-radius:2px;
  overflow:hidden; box-shadow:none; }
.hs-ti{ display:flex; align-items:flex-start; gap:10px; padding:13px 15px; cursor:pointer;
  border-bottom:1px solid #E8E8E8; }
.hs-ti:active{ background:#FAFAFA; }
.hs-ti-ic{ font-size:14px; line-height:1.35; flex:none; width:18px; text-align:center; }
.hs-ti-bd{ flex:1; min-width:0; }
.hs-ti-bd b{ display:block; font-size:14px; font-weight:600; color:#1A1A1A; line-height:1.4; }
.hs-ti-bd em{ display:block; font-style:normal; font-size:12px; color:#9E9E9E; line-height:1.45;
  margin-top:2px; }
.hs-ti.urg .hs-ti-bd b{ color:#6E6E6E; }
.hs-ti-ar{ font-style:normal; color:#E8E8E8; font-size:14px; line-height:1.5; flex:none; }
.hs-tl .hs-todo{ margin-top:0; border:none; border-radius:2px; box-shadow:none;
  font-size:12px; font-weight:400; color:#9E9E9E; padding:11px 15px; justify-content:flex-start; gap:4px; }

/* ── 待办的小印：一个汉字一枚方印 ────────────────────────────────
   原来每条前面挂 emoji（💼 🧰 📅）—— 安卓机、老 Windows 上这几个字
   直接显示成空心方框，一屏三个方框，比没有图标更难看。
   换成汉字单字：报／维／日／卡／险／钱，任何字体都有， printers 也不掉字。
   方形、细边、灰字；急的那条转朱红 —— 印还是那个印，只是按重了。 */
.tdstamp{
  width:22px; height:22px; flex:none; display:flex; align-items:center; justify-content:center;
  border:1px solid #E8E8E8; border-radius:2px; background:#FAFAFA;
  font-size:12px; font-weight:700; color:#6E6E6E; line-height:1;
  letter-spacing:0; font-style:normal;
}
.tdstamp.urg{ border-color:#6E6E6E; color:#6E6E6E; background:#FAFAFA; }
.hs-ti-ic.tdstamp{ width:22px; height:22px; margin-top:1px; }

/* 手机：底栏已经有「全部」，台面脚下这一行就是同一句话说第二遍 */
@media screen and (max-width:899px){
  .hs-foot{ display:none; }
  .hs-wrap{ padding-top:26px; }
}

/* ================================================================
   地板要铺到屏幕底（2026-11-16）
   大厅只有两三条待办、某张表只有两行的时候，body 就停在内容末尾，
   下面露出浏览器默认白底 —— 灰地板铺到三分之二处忽然断掉，
   页脚被顶在屏幕中间，看着像「还没加载完」。
   桌面上这一截被左侧栏挡着不明显，手机上是一大片刺眼的白。
   让 body 撑满视口、主区吃掉剩余高度，地板自然到底。
   ================================================================ */
@media screen and (max-width:899px){
  body.ent{ display:flex; flex-direction:column; min-height:100vh; min-height:100dvh; }
  body.ent #main{ flex:1 0 auto; }
}

/* 台面不满一屏时，把「今天的数」沉到底栏上方（2026-11-16）
   大厅只有一两条待办时，内容全堆在上半屏，下面空出半屏 —— 看着像没加载完。
   让台面撑满可视区，数字条用 margin-top:auto 自动沉到底，
   页面变成「问候在上、事情在中、数字在下」，空白被均匀分到两处呼吸，
   而不是全堆在下面一个洞里。148 = 顶栏 46 + 页签 36 + 底栏 56 + 一点余量。 */
@media screen and (max-width:899px){
  body.ent #main > .hs-wrap{ min-height: calc(100dvh - 148px); }
}

/* ===== wa.css ===== */
/* ============================================================
   和风纸面 · 一层皮（wa = wa-fu）
   ------------------------------------------------------------
   这一层只做一件事：把 iOS 灰白换成「生成り」纸色，把界线做成
   发丝，把强调交回朱色。结构、尺寸、交互一律不动 —— 换皮不换骨。

   日本人的实用小设计都藏在细节里，不是贴几个樱花：
     ① 纸有纹：极淡的横纹，屏幕不至于像塑料板
     ② 线要断：分隔线只到该到的地方，不一刀切满整页
     ③ 字要疏：标题拉开字距，正文保持紧凑 —— 眼能停下来
     ④ 数要对齐：金额一律等宽数字、右对齐，方便竖着比
     ⑤ 目录有号：一 二 三，翻到第几页心里有数
     ⑥ 按下有回应：按钮沉 1px，输入框底线转朱
     ⑦ 角要收：面板右下收一个小折角，像封筒的封口
     ⑧ 朱只给要紧的：欠款、逾期、删除
   ============================================================ */

/* ---------- 一 · 纸 ---------- */
body.ent{
  --ent-bg:#FAFAFA;
  --ent-side:#FAFAFA;
  --ent-bd:#FAFAFA;
  --ent-t:#1A1A1A;
  --ent-m:#9E9E9E;

  --ink:#1A1A1A; --ink-2:#1A1A1A; --ink-3:#1A1A1A; --ink-4:#9E9E9E;
  --tz-line:#FAFAFA; --tz-line2:#FAFAFA; --tz-band:#FAFAFA;
  --tz-paper:#FAFAFA; --tz-ink:#1A1A1A; --tz-sub:#1A1A1A; --tz-faint:#9E9E9E;

  --wa-bg:#FAFAFA; --wa-line:#FAFAFA; --wa-line2:#FAFAFA;
  --wa-ink:#1A1A1A; --wa-ink2:#9E9E9E; --wa-ink3:#9E9E9E;
  --wa-accent:#1A1A1A; --wa-red:#6E6E6E;

  background:#FAFAFA;
  color:#1A1A1A;
}

/* 纸纹：1px 一道、透明度 1.5%，只在大底上，卡片上不铺 ——
   铺满整站会像廉价礼物纸，只给「桌面」一点纤维感。 */
body.ent{
  background-image:none;
  background-attachment:fixed;
}

/* ---------- 二 · 侧栏 ---------- */
body.ent .ent-side{
  background:#FAFAFA;
  border-right:1px solid #E8E8E8;
}
body.ent .tz-side-hd{
  padding:16px 18px 12px;
  border-bottom:none;          /* 侧栏顶部不用横线，靠留白分组 */
}
body.ent .tz-side-t{
  position:relative;
  padding-left:14px;
  font-size:11px; letter-spacing:.34em; font-weight:600; color:#9E9E9E;
}
body.ent .tz-side-t::before{
  content:""; position:absolute; left:0; top:50%; transform:translateY(-50%);
  width:2px; height:12px; background:#6E6E6E;
}

/* 菜单项：和式目录 —— 悬停时左侧浮出一道朱线，不用整块反白 */
body.ent .ent-navi{
  border-radius:2px;
  transition:background .12s, box-shadow .12s;
}
body.ent .ent-navi:hover{
  background:rgba(33,30,26,.035);
  box-shadow:none;
}
body.ent .ent-navi.on{
  background:#FAFAFA;
  box-shadow:none;
  font-weight:600;
}
body.ent .ent-door-g{
  font-size:11px; letter-spacing:.28em; color:#9E9E9E; font-weight:600;
  padding:14px 12px 5px;
}

/* ---------- 三 · 面板：白纸 + 发丝框 + 折角 ---------- */
body.ent #main .panel{
  background:#FAFAFA;
  border:1px solid #E8E8E8;
  border-radius:2px;
  box-shadow:none;
}
/* 右下折角：两条 8px 的发丝斜线，像封筒封口。极淡，不喧宾 */
/* 折角装饰已按净面规则移除：卡片只靠 1px 线与留白分层 */

/* ---------- 四 · 标题：朱线起头 ---------- */
body.ent #main .panel > h3{
  border-bottom:1px solid #E8E8E8;
  padding-bottom:9px;
  font-size:12px; letter-spacing:.14em; font-weight:600; color:#1A1A1A;
}
body.ent #main .panel > h3::before{
  background:#6E6E6E; width:2px; height:12px;
}
body.ent #main .panel > h3 em{
  font-size:11px; letter-spacing:.06em; color:#9E9E9E;
}

/* ---------- 五 · 目录有号：一 二 三 ---------- */
#main .hub-bar{ counter-reset:waTab; }
#main .hub-bar > button{ counter-increment:waTab; }
#main .hub-bar > button::before{
  content:counter(waTab, cjk-ideographic) "　";
  font-size:11px; color:#E8E8E8; letter-spacing:0;
}
#main .hub-bar > button.on::before{ color:#6E6E6E; }

/* ---------- 六 · 表格：发丝 + 等宽数字 ---------- */
body.ent #main table th{
  background:#FAFAFA !important;
  color:#6E6E6E !important;
  font-size:11px !important;
  letter-spacing:.1em;
  border-bottom:1px solid #E8E8E8 !important;
  font-weight:600 !important;
}
body.ent #main table td{
  border-bottom:1px solid #E8E8E8;
  color:#1A1A1A;
  font-variant-numeric:tabular-nums;
}
body.ent #main table tbody tr:hover td{
  background:#FAFAFA;
}
body.ent #main table tbody tr:hover td:first-child{
  box-shadow:none;
}

/* ---------- 七 · 数字：竖着能比 ---------- */
#main .num, #main .stat b, #main .k b, #main .ar-kpi b,
#main .kpi b, #main .ch-num, #main .money, #main [data-money]{
  font-variant-numeric:tabular-nums;
  font-feature-settings:"tnum" 1;
}

/* ---------- 八 · 输入：纸槽，底线起朱 ---------- */
body.ent #main input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="file"]),
body.ent #main select,
body.ent #main textarea{
  background:#FAFAFA !important;
  border:1px solid #E8E8E8 !important;
  border-radius:2px!important;
  box-shadow:none !important;
  transition:border-color .12s, box-shadow .12s;
}
body.ent #main input:focus,
body.ent #main select:focus,
body.ent #main textarea:focus{
  border-color:#E8E8E8 !important;
  box-shadow:none!important;
  outline:none;
}

/* ---------- 九 · 按钮：墨、纸、朱 ---------- */
body.ent #main .btn,
body.ent #main button.btn{
  border-radius:2px;
  letter-spacing:.04em;
  transition:transform .1s, background .12s, border-color .12s;
}
body.ent #main .btn:active{ transform:translateY(1px); }
body.ent #main .btn.ghost{
  background:#FAFAFA;
  border:1px solid #E8E8E8;
  color:#1A1A1A;
  box-shadow:none;
}
body.ent #main .btn.ghost:hover{ border-color:#E8E8E8; background:#FAFAFA; }
body.ent #main .btn.primary{
  background:#1A1A1A; border-color:#1A1A1A; color:#FAFAFA;
}
body.ent #main .btn.danger{
  background:#6E6E6E; border-color:#6E6E6E; color:#FFFFFF;
}

/* ---------- 十 · 列表行：可点的右边给一个 › ---------- */
body.ent #main .list-item{
  border-bottom:1px solid #E8E8E8;
  transition:background .12s, box-shadow .12s;
}
body.ent #main .list-item:hover{
  background:#FAFAFA;
  box-shadow:none;
}

/* ---------- 十一 · 滚动条：细、暖灰、不抢眼 ---------- */
body.ent ::-webkit-scrollbar{ width:8px; height:8px; }
body.ent ::-webkit-scrollbar-thumb{
  background:#E8E8E8; border-radius:2px; border:2px solid transparent; background-clip:padding-box;
}
body.ent ::-webkit-scrollbar-thumb:hover{ background:#E8E8E8; background-clip:padding-box; }
body.ent ::-webkit-scrollbar-track{ background:transparent; }

/* ---------- 十二 · 选中文字：朱底淡 ---------- */
body.ent ::selection{ background:rgba(110,110,110,.16); color:#1A1A1A; }

/* ---------- 十三 · 页脚：一条发丝收住 ---------- */
body.ent .tz-foot{
  border-top:1px solid #E8E8E8;
  color:#9E9E9E;
  letter-spacing:.06em;
}

/* ---------- 十四 · 手机：纸色到底，底栏别浮 ---------- */
@media (max-width:899px){
  body.ent .tz-head{ background:#FAFAFA; border-bottom:1px solid #E8E8E8; }
  body.ent .tabbar, body.ent .m-tabbar, body.ent .ent-tabs{
    background:#FAFAFA; border-top:1px solid #E8E8E8;
  }
}

/* ===== sys.css ===== */
/* ============================================================================
   启迅 · 全站设计底座（sys.css）  2026-11-08
   ----------------------------------------------------------------------------
   这一层是最后的「定稿层」，加载在所有皮肤之后，只做三件事：

     一、收口 —— 前面四层（app / ux-kit / dx / house / wa）各写各的颜色、
         圆角、间距，同一个按钮在三个页面长三个样。这里把它们统一到一套
         刻度上：4px 网格、七级字号、一套纸墨朱、三档圆角、两档投影。

     二、减噪 —— 折角、双层边框、渐变、重投影全部去掉。留白和对齐本身
         就是秩序，不靠装饰。

     三、双端 —— 桌面：左侧一套导航 + 内容最大 1200 居中；手机：单列、
         44px 触摸目标、底栏 56px + 安全区、弹层全屏化。

   三条不动的规矩：
     · 强调色只给「欠款 / 逾期 / 删除 / 当前选中」，别处一律墨与灰。
     · 一屏只有一个视觉重心（页头标题或一个大数），其余压一档。
     · 不改结构、不改业务逻辑、不改导航层级 —— 只统一它们的外表。
   ============================================================================ */

/* ---------- 00 · 刻度 ---------- */
:root{
  /* 纸、卡、线 */
  --sx-paper:#E8E8E8;
  --sx-card:#FAFAFA;
  --sx-sunk:#FAFAFA;
  --sx-line:#FAFAFA;
  --sx-line-2:#FAFAFA;

  /* 墨阶：主文、次文、弱文 */
  --sx-ink:#1A1A1A;
  --sx-sub:#6E6E6E;
  --sx-faint:#9E9E9E;

  /* 朱：只给要紧的 */
  --sx-red:#6E6E6E;
  --sx-red-soft:rgba(110,110,110,.08);
  --sx-ok:#6E6E6E;
  --sx-ok-soft:rgba(110,110,110,.08);

  /* 字号（七级，够用就好） */
  --sx-xs:11.5px;
  --sx-sm:12.5px;
  --sx-bs:13.5px;
  --sx-md:15px;
  --sx-lg:17px;
  --sx-xl:21px;
  --sx-num:27px;

  /* 间距（4 的倍数） */
  --sx-1:4px; --sx-2:8px; --sx-3:12px; --sx-4:16px;
  --sx-5:20px; --sx-6:24px; --sx-7:32px; --sx-8:40px;

  /* 圆角：标签 4 / 控件 6 / 卡片 10 / 弹层 14 */
  --sx-r1:2px; --sx-r2:2px; --sx-r3:2px; --sx-r4:2px;

  /* 投影：只有两级，且都很淡 */
  --sx-sh1:none;
  --sx-sh2:none;

  --sx-max:1200px;
}

/* 旧变量全部指到新刻度：别的文件还在用它们，别让它们乱 */
body.ent{
  --ent-bg:var(--sx-paper); --ent-side:var(--sx-card); --ent-bd:var(--sx-line);
  --ent-t:var(--sx-ink); --ent-m:var(--sx-faint);
  --tz-paper:var(--sx-card); --tz-band:var(--sx-paper); --tz-ink:var(--sx-ink);
  --tz-line:var(--sx-line); --tz-line2:var(--sx-line-2); --tz-sub:var(--sx-sub);
  --ink:#1A1A1A; --ink-2:#1A1A1A; --ink-3:#6E6E6E; --ink-4:#9E9E9E;
  --bd:var(--sx-line); --fill:var(--sx-card); --fill-2:var(--sx-sunk);
  --gray:var(--sx-faint); --wa-accent:var(--sx-ink); --wa-red:var(--sx-red);
  background:var(--sx-paper); color:var(--sx-ink);
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}

/* 纸纹收掉：屏幕越干净越耐看，纹理交给留白 */
body.ent{ background-image:none !important; }

/* ---------- 01 · 桌面骨架：一套导航，内容居中 ---------- */
@media (min-width:900px){
  body.ent .ent-side{
    width:224px; background:var(--sx-card);
    border-right:1px solid var(--sx-line);
    top:0; margin-top:0 !important;
  }
  body.ent .tz-head{
    margin-left:224px; height:56px;
    background:var(--sx-card); border-bottom:1px solid var(--sx-line);
    box-shadow:none;
  }
  body.ent .tz-head .ent-top{ height:56px; min-height:56px; padding:0 24px; }
  /* 顶部那一排是「直达组首页」的捷径，留着，但压成轻标签 */
  body.ent .tz-nav{
    display:flex !important; height:32px; padding:0 20px;
    background:transparent; border-top:none;
  }
  body.ent .tz-navi{
    height:32px; padding:0 12px; font-size:var(--sx-sm);
    letter-spacing:.02em; color:var(--sx-sub); border-radius:2px;
  }
  body.ent .tz-navi.on{ color:var(--sx-ink); font-weight:600; }
  body.ent .tz-navi.on::after{ height:2px; background:var(--sx-red); }

  /* 面包屑并进内容区，不再单独占一条 34px 的横带 */
  body.ent .tz-crumb{
    display:none !important;
  }
  body.ent #main{
    margin-left:224px; padding:22px 28px 56px;
    max-width:none; background:var(--sx-paper);
  }
  /* 内容列宽：太大的屏不拉满，读一行不用甩头。
     注意：#main 是 flex column，只写 margin:auto 会让子项 shrink-to-fit（被压成一条窄栏），
     所以必须显式 width:100% 再靠 max-width 收口。 */
  body.ent #main > *{ width:100%; max-width:var(--sx-max); margin-left:auto; margin-right:auto; }
  body.ent #main > .tz-foot{ margin-top:var(--sx-7); }
  body.ent .fab{
    right:calc(50% - var(--sx-max)/2 + 4px);
    bottom:24px; width:44px; height:44px;
    background:var(--sx-ink); box-shadow:none;
  }
}

/* ---------- 02 · 左侧导航：目录感 ---------- */
body.ent .tz-side-hd{ padding:18px 18px 8px; border-bottom:none; }
body.ent .tz-side-t{
  font-size:var(--sx-xs); letter-spacing:.26em; color:var(--sx-faint); font-weight:600;
}
body.ent .tz-side-t::before{ width:2px; height:11px; background:var(--sx-red); }
body.ent .ent-nav{ padding:4px 10px 16px; }
body.ent .ent-navi{
  height:34px; padding:0 10px; border-radius:2px;
  font-size:var(--sx-bs); color:var(--sx-ink);
  display:flex; align-items:center; gap:8px;
  transition:background .12s;
}
body.ent .ent-navi:hover{ background:var(--sx-sunk); box-shadow:none; }
body.ent .ent-navi.on{
  background:var(--sx-sunk); box-shadow:none;
  font-weight:600;
}
body.ent .ent-door-g{
  padding:14px 10px 4px; font-size:var(--sx-xs);
  letter-spacing:.2em; color:var(--sx-faint);
}
/* 二级：缩进 + 更矮，别和一级抢 */
body.ent .ent-nav .ent-navi[data-sub="1"],
body.ent .ent-nav .ent-sub-i{
  height:30px; padding-left:26px; font-size:var(--sx-sm); color:var(--sx-sub);
}
body.ent .ent-u{ border-top:1px solid var(--sx-line-2); padding:12px 16px; }

/* ---------- 03 · 页头：一屏一个重心 ---------- */
body.ent #main > .pg-hd{
  display:flex !important; align-items:flex-end; gap:12px;
  padding:0 0 14px; margin:0 auto 16px;
  border-bottom:1px solid var(--sx-line);
  max-width:var(--sx-max);
}
body.ent #main > .pg-hd h1,
body.ent #main > .pg-hd h2{
  font-size:var(--sx-xl); line-height:1.25; font-weight:700; letter-spacing:-.01em;
  margin:0; color:var(--sx-ink);
}
body.ent #main > .pg-hd .sub,
body.ent #main > .pg-hd p{
  font-size:var(--sx-sm); color:var(--sx-faint); margin:0;
}
/* 没有 .pg-hd 的页面：第一块面板的标题当页头 */
body.ent #main > .panel > h3{
  font-size:var(--sx-md); font-weight:600; letter-spacing:0;
  padding-bottom:10px; margin-bottom:12px;
  border-bottom:1px solid var(--sx-line-2);
}
body.ent #main > .panel > h3::before{
  width:2px; height:12px; background:var(--sx-red); border-radius:2px;
}

/* ---------- 04 · 面板：白卡 + 发丝线，无折角 ---------- */
body.ent #main .panel{
  background:var(--sx-card);
  border:1px solid var(--sx-line);
  border-radius:2px;
  box-shadow:none;
  padding:16px 18px;
  margin-bottom:14px;
}
body.ent #main .panel::before{ display:none !important; }
body.ent #main .panel:hover{ border-color:var(--sx-line); }

/* ---------- 05 · 列表行：高度、对齐、可点感 ---------- */
body.ent #main .list-item,
body.ent #main .roll-row,
body.ent #main .qa-row,
body.ent #main .nq-qcard,
body.ent #main .cz-row{
  min-height:46px;
  padding:10px 12px;
  border-bottom:1px solid var(--sx-line-2);
  border-radius:2px;
  background:transparent;
  transition:background .12s, box-shadow .12s;
}
body.ent #main .list-item:last-child,
body.ent #main .roll-row:last-child{ border-bottom:none; }
body.ent #main .list-item:hover,
body.ent #main .roll-row:hover,
body.ent #main .qa-row:hover{
  background:var(--sx-sunk); box-shadow:none;
}
/* 行里「左文右数」：数字等宽、右对齐、弱一档，眼睛竖着能比 */
body.ent #main .list-item b,
body.ent #main .roll-row b,
body.ent #main .num{
  font-variant-numeric:tabular-nums; font-feature-settings:"tnum" 1;
}
body.ent #main .roll-row .hint,
body.ent #main .list-item .hint{ color:var(--sx-faint); font-size:var(--sx-sm); }

/* ---------- 06 · 表格：发丝、等宽、不斑马 ---------- */
body.ent #main table{
  width:100%; border-collapse:separate; border-spacing:0;
  font-size:var(--sx-bs);
}
body.ent #main table th{
  background:var(--sx-sunk) !important;
  color:var(--sx-sub) !important;
  font-size:var(--sx-xs) !important;
  font-weight:600 !important;
  letter-spacing:.04em;
  padding:9px 12px !important;
  border-bottom:1px solid var(--sx-line) !important;
  white-space:nowrap;
}
body.ent #main table td{
  padding:10px 12px !important;
  border-bottom:1px solid var(--sx-line-2) !important;
  font-variant-numeric:tabular-nums;
  vertical-align:middle;
}
body.ent #main table tbody tr:hover td{ background:var(--sx-sunk); }
body.ent #main table tbody tr:hover td:first-child{ box-shadow:none; }

/* ---------- 07 · 按钮：三档，尺寸统一 ---------- */
body.ent #main .btn,
body.ent #main button.btn,
body.ent .modal .btn{
  height:34px; padding:0 14px;
  border-radius:2px;
  font-size:var(--sx-bs); font-weight:500; letter-spacing:0;
  display:inline-flex; align-items:center; justify-content:center; gap:6px;
  border:1px solid transparent;
  transition:background .12s, border-color .12s, transform .08s;
  box-shadow:none;
}
body.ent #main .btn:active,
body.ent .modal .btn:active{ transform:translateY(1px); }
body.ent #main .btn.primary,
body.ent #main .btn:not(.ghost):not(.danger){
  background:var(--sx-ink); border-color:var(--sx-ink); color:#FAFAFA;
}
body.ent #main .btn.ghost{
  background:var(--sx-card); border-color:var(--sx-line); color:var(--sx-ink);
}
body.ent #main .btn.ghost:hover{ background:var(--sx-sunk); border-color:#E8E8E8; }
body.ent #main .btn.danger{ background:var(--sx-red); border-color:var(--sx-red); color:#FFFFFF; }
body.ent #main .btn:disabled{ opacity:.45; }

/* ---------- 08 · 表单：一档高度，焦点只看底线 ---------- */
body.ent #main input:not([type="checkbox"]):not([type="radio"]):not([type="range"]),
body.ent #main select,
body.ent #main textarea,
body.ent .modal input:not([type="checkbox"]):not([type="radio"]),
body.ent .modal select,
body.ent .modal textarea{
  height:34px; padding:0 10px;
  font-size:var(--sx-bs);
  background:var(--sx-card) !important;
  border:1px solid var(--sx-line) !important;
  border-radius:2px!important;
  box-shadow:none !important;
  color:var(--sx-ink);
}
body.ent #main textarea, body.ent .modal textarea{ height:auto; padding:8px 10px; }
body.ent #main input:focus,
body.ent #main select:focus,
body.ent #main textarea:focus,
body.ent .modal input:focus,
body.ent .modal select:focus{
  border-color:#E8E8E8 !important;
  box-shadow:none!important;
  outline:none;
}
body.ent #main label,
body.ent .modal label{ font-size:var(--sx-sm); color:var(--sx-sub); }

/* ---------- 09 · 标签与状态：小、扁、不抢 ---------- */
body.ent #main .tag{
  height:20px; padding:0 7px; border-radius:2px;
  font-size:var(--sx-xs); line-height:20px; font-weight:500;
  background:var(--sx-sunk); color:var(--sx-sub); border:none;
}
body.ent #main .tag.red, body.ent #main .tag.warn{
  background:var(--sx-red-soft); color:var(--sx-red);
}
body.ent #main .tag.ok, body.ent #main .tag.green{
  background:var(--sx-ok-soft); color:var(--sx-ok);
}

/* ---------- 10 · 弹层：桌面居中卡，手机全屏 ---------- */
body.ent .modal-bg{ background:rgba(29,27,23,.32); }
body.ent .modal{
  background:var(--sx-card);
  border-radius:2px;
  border:1px solid var(--sx-line);
  box-shadow:none;
}
body.ent .modal h3{
  font-size:var(--sx-lg); font-weight:700; letter-spacing:-.01em;
  padding-bottom:12px; margin-bottom:14px;
  border-bottom:1px solid var(--sx-line-2);
}

/* ---------- 11 · 空状态与提示 ---------- */
body.ent .empty{
  padding:36px 16px; text-align:center;
  color:var(--sx-faint); font-size:var(--sx-sm);
}
body.ent .hint{ color:var(--sx-faint); font-size:var(--sx-sm); line-height:1.65; }
body.ent .ok-tip{
  background:var(--sx-ink); color:#FAFAFA;
  border-radius:2px; font-size:var(--sx-bs);
  box-shadow:none;
}

/* ---------- 12 · 手机：单列、够大、底栏不压内容 ---------- */
@media (max-width:899px){
  body.ent{ background:var(--sx-paper); }
  body.ent .tz-head{ background:var(--sx-card); border-bottom:1px solid var(--sx-line); }
  body.ent .tz-head .ent-top{
    height:calc(50px + env(safe-area-inset-top,0px));
    min-height:calc(50px + env(safe-area-inset-top,0px));
    padding:env(safe-area-inset-top,0px) 12px 0;
  }
  body.ent .tz-brand-n{ font-size:var(--sx-md); font-weight:600; }
  body.ent #main{ padding:12px 12px calc(76px + env(safe-area-inset-bottom,0px)); }

  /* 页面标题：手机上也给一行，让人知道自己在哪 */
  body.ent #main > .pg-hd{
    display:flex !important; padding:2px 2px 10px; margin-bottom:12px;
  }
  body.ent #main > .pg-hd h1,
  body.ent #main > .pg-hd h2{ font-size:var(--sx-lg); }

  body.ent #main .panel{ padding:14px 14px; border-radius:2px; margin-bottom:12px; }

  /* 行：48 起，手指点得准 */
  body.ent #main .list-item,
  body.ent #main .roll-row,
  body.ent #main .nq-qcard{ min-height:50px; padding:11px 12px; }
  body.ent #main .list-item:active,
  body.ent #main .roll-row:active{ background:var(--sx-sunk); }

  /* 统计卡底下那行小字（安装 2098万 · 维保 543万）在 375 宽会断在「维/保」中间，
     看着像错字。keep-all 只允许在「·」处折行，词不被拆开。 */
  body.ent #main .roll-k em{ word-break:keep-all; line-height:1.5; }

  /* 表格：窄屏横向滚，不许把内容压成一条一条 */
  body.ent #main table{ display:block; overflow-x:auto; -webkit-overflow-scrolling:touch; }
  body.ent #main table th,
  body.ent #main table td{ padding:9px 10px !important; font-size:var(--sx-sm); }

  /* 按钮/输入：44 的触区，视觉仍 34 */
  body.ent #main .btn, body.ent #main button.btn{ height:38px; padding:0 14px; position:relative; }
  body.ent #main .btn::after{ content:""; position:absolute; inset:-4px 0; }

  /* 底栏：56 + 安全区 */
  body.ent .topnav{
    height:calc(56px + env(safe-area-inset-bottom,0px));
    padding:4px 8px env(safe-area-inset-bottom,0px);
    background:var(--sx-card);
    border-top:1px solid var(--sx-line);
    box-shadow:none;
  }
  body.ent .topnav button{
    font-size:11px; font-weight:500; letter-spacing:.02em;
    gap:3px; color:var(--sx-faint); border-radius:2px;
  }
  body.ent .topnav button .ic .appic{ width:21px; height:21px; }
  body.ent .topnav button.on{ color:var(--sx-ink); font-weight:600; }
  body.ent .topnav button.on::after{ display:none; }

  /* 浮动按钮：抬到底栏上方，不再盖住最后一行 */
  body.ent .fab{
    right:14px;
    bottom:calc(56px + env(safe-area-inset-bottom,0px) + 14px);
    width:46px; height:46px;
    background:var(--sx-ink);
    box-shadow:none;
  }

  /* 弹层：从底部上来，占满可用高度 */
  body.ent .modal{
    border-radius:2px;
    max-height:92vh; overflow:auto;
    padding-bottom:calc(12px + env(safe-area-inset-bottom,0px));
  }
  /* 页脚在手机上不占位 */
  body.ent .tz-foot{ display:none; }
}

/* ---------- 13 · 收尾：滚动条与选中 ---------- */
body.ent ::-webkit-scrollbar{ width:8px; height:8px; }
body.ent ::-webkit-scrollbar-thumb{
  background:#E8E8E8; border-radius:2px;
  border:2px solid transparent; background-clip:padding-box;
}
body.ent ::-webkit-scrollbar-thumb:hover{ background:#E8E8E8; background-clip:padding-box; }
body.ent ::-webkit-scrollbar-track{ background:transparent; }
body.ent ::selection{ background:rgba(110,110,110,.14); color:var(--sx-ink); }

/* 打印：只留内容 */
@media print{
  body.ent .ent-side, body.ent .tz-head, body.ent .topnav,
  body.ent .fab, body.ent .tz-foot{ display:none !important; }
  body.ent #main{ margin:0; padding:0; }
}

/* ---------- 14 · 手机端补丁：被切掉的文字与撑出屏的标签 ----------
   390px 上「客户档案」筛选条最后一项被切一半；「信息采集」的长标签把行推出屏幕。
   这类问题不是布局思路错，是地方实在不够 —— 就地收紧，不重排。 */
@media (max-width:560px){
  /* 筛选条：每个按钮少 2px 内边距，五个按钮省出 20px，最后一项就进来了 */
  body.ent #main .cq-f{ padding:0 5px !important; }
  body.ent #main .cq-watch{ padding:0 6px !important; }
  /* 采集页：客户名 + 长标签放不下一行就换行，别把整行推出屏幕 */
  /* 客户名 + 长标签：放不下一行就换行显示全部，别用省略号把「缺什么」吃掉 */
  body.ent .gd-rn{ white-space:normal; display:flex; flex-wrap:wrap; align-items:baseline;
    gap:2px 4px; overflow:visible; text-overflow:clip; }
  body.ent .gd-tag{ max-width:100%; white-space:normal; }
}

/* ---------- 15 · 配件库「待核价」冻结条 ----------
   11 条录入价明显有误的配件，冻结到 2027-01-09 前不动，出单会被拦。
   页面必须让人一眼看见，否则「为什么这单出不去」又变成猜。 */
body.ent .pt-flagbar{
  display:flex; align-items:baseline; gap:10px; flex-wrap:wrap;
  margin:0 0 10px; padding:9px 12px; cursor:pointer;
  background:#E8E8E8; border-left:3px solid var(--sx-red,#6E6E6E);
  color:var(--sx-red,#6E6E6E); font-size:12px; line-height:1.6;
}
body.ent .pt-flagbar b{ font-size:14px; }
body.ent .pt-flagbar span{ color:#6E6E6E; }
body.ent .pt-flagbar.on{ background:#FAFAFA; }
body.ent .card.pf{ border-color:rgba(110,110,110,.34); }
body.ent .pt-pf{
  margin-top:6px; font-size:11px; color:var(--sx-red,#6E6E6E);
  background:#E8E8E8; border:1px solid rgba(110,110,110,.2);
  padding:4px 8px; border-radius:2px;
}
body.ent .pt-pf em{ font-style:normal; color:#6E6E6E; margin-left:6px; font-size:11px; }
body.ent .pt-pw{
  margin-top:5px; font-size:11px; color:#6E6E6E;
  background:#FAFAFA; border:1px solid rgba(110,110,110,.18);
  padding:3px 8px; border-radius:2px;
}

/* ---------- 16 · 不许把「项/件」这类量词拆到下一行 ----------
   手机上 390px，单号 + 日期 + 项数挤一行，「0 项配件」的「件」被拆下去单独站着。
   量词必须跟着数字，宁可整段换行。 */
body.ent .nq-nowrap{ white-space:nowrap; }
body.ent .nq-hd-s{ word-break:keep-all; line-height:1.7; }
/* 手机端：日期选择器默认 150px 宽，把整行挤成三行。「QIXUN-… · 日期 · 0 项配件」要在一行里 */
@media (max-width:560px){
  body.ent .nq-hd-s{ display:flex; align-items:center; flex-wrap:wrap; gap:4px; }
  /* 日期框不能压太窄：压到 102px，日期本身就被吃掉，比换行更糟 */
  body.ent .nq-date-in{ width:auto !important; min-width:116px !important; padding:0 4px !important; }
}

/* ---------- 17 · 首页功能块：副标题不许截成「签回·报…」 ----------
   390px 上四个格子并排，每格约 88px，一行放不下六个字。
   改成两行显示完整语义，比「签回 · 报…」这种残缺字样体面。 */
@media (max-width:560px){
  body.ent .td-door{ padding:11px 7px 10px; }
  body.ent .td-door .td-dd{
    white-space:normal; font-size:11px; line-height:1.42;
    display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical;
    overflow:hidden; margin-top:2px;
  }
  body.ent .td-door .td-dt2{ font-size:11px; }
}

/* ---------- 18 · 追款专项：一行塞不下就换行，不许把「承诺回款」竖着写 ----------
   专人 + 下拉 + 承诺回款 + 日期 + 定 五个元素挤在一行，手机上文字被压成单字竖排。 */
body.ent .ch-assign{
  display:flex; flex-wrap:wrap; gap:6px 14px; margin-top:6px;
}
body.ent .ch-assign .ch-l{ display:flex; align-items:center; gap:6px; min-width:0; }
body.ent .ch-assign .ch-l:first-child{ flex:1 1 150px; }
body.ent .ch-assign .ch-l:last-child{ flex:1 1 100%; }   /* 第二组独占一行：标签+日期+定 才放得下 */
body.ent .ch-assign .hint{ white-space:nowrap; flex:0 0 auto; }
body.ent .ch-assign select{ flex:1 1 auto; min-width:0; max-width:170px; }
/* 日期框必须有实宽：min-width:0 在 flex 里会把它压成一个空方块，日期看不见 */
body.ent .ch-assign input[type=date]{ flex:0 0 auto; width:138px; min-width:138px; }
/* .btn 默认 width:100%，在这个行内会被撑满并顶出屏幕，必须显式收回来 */
body.ent .ch-assign .btn{ flex:0 0 auto; width:auto; min-width:46px; white-space:nowrap; }

/* 说明性长句允许换行：被截成「不占…？」比换行难看得多 */
body.ent .hint-wrap{ white-space:normal; line-height:1.6; }

/* ---------- 19 · 行内次级操作收进长按/右键菜单 ----------
   列表行不再挂「编辑 / 删除 / 详情 / 重置密码」这类按钮 —— 一眼望去全是字。
   按钮留在 DOM 里（display:none），菜单靠 querySelector 找到并 click，逻辑不变。
   主操作（出单 / 收款 / 标记完成 / 确认）照常显示。 */
body.ent .ra{ display:none !important; }
/* 菜单里的删除项用红色，跟复制/下载区分开 */
body.ent .lp-menu .lp-it.lp-danger{ color:var(--sx-red,#6E6E6E); }

/* ---------- 20 · 鸿蒙式行滑动：跟手露出「编辑 / 删除」 ----------
   行整体左移（transform），按钮条挂在行的右缘外（left:100%），
   行移多少露多少 —— 跟手，不是滑完才弹。 */
body.ent .sw-follow{ position:relative; }
body.ent .sw-anim{ transition:transform .18s ease; }
body.ent .sw-act{
  position:absolute; top:0; bottom:0; left:100%;
  display:flex; visibility:hidden;
  width:auto;                           /* 由按钮定宽：两个各 64 */
}
/* 全局 button 有 18px 内边距，会把两个字挤成竖排 —— 这里全部收回 */
body.ent .sw-b{
  flex:0 0 64px; width:64px; padding:0; border:0; margin:0; cursor:pointer;
  font-size:14px; line-height:1; color:#FFFFFF; letter-spacing:1px;
  white-space:nowrap; writing-mode:horizontal-tb;
  display:flex; align-items:center; justify-content:center;
  min-height:44px; -webkit-tap-highlight-color:transparent;
}
body.ent .sw-edit{ background:#6E6E6E !important; border:0 !important; color:#FFFFFF !important; border-radius:2px!important; }
body.ent .sw-del{ background:#6E6E6E !important; border:0 !important; color:#FFFFFF !important; border-radius:2px!important; transition:background .12s; }
/* 左滑到底进入长距删除区：删除钮加深，告诉人「松手就删」 */
body.ent .sw-act.hot .sw-del{ background:#1A1A1A !important; }

/* ---------- 面板标题：红条在最前，字紧跟其后 ----------
   标题是 flex，前面那个 2px 的红竖条也算一个 flex 项。
   父级还是 space-between 的话，三个项会被摊开 —— 红条贴左、字被推到中间，
   每页第一块面板的标题都像「居中」，左边留一大片空。
   靠左排，红条当句首的记号，em 推到最右。 */
body.ent #main > .panel > h3{
  justify-content:flex-start;
  /* 只给第一块面板加底线，其他面板没有 —— 同一页两种标题，看着就乱。
     标题靠字号和留白分层，不靠一条线。 */
  border-bottom:none;
  padding-bottom:0;
}
body.ent #main > .panel > h3 > em{ margin-left:auto; }

/* ===== rpt.css ===== */
/* ==========================================================================
   报表样式 · rpt-（2026-11-13）
   只在「报价分析」用。独立命名空间，不去跟 app.css 那几层 !important 打架。

   三条规矩：
   1. 只用线分层：1px 实线，不用阴影、不用圆角 —— 报表要像纸，不像卡片。
   2. 数字等宽右对齐，金额一律「万」，不出现 4,710,233 这种一眼读不出的数。
   3. 红只给「该注意」的：负增长、零产出、报修多报价少。其余全用墨色灰度。
   ========================================================================== */
.rpt{
  /* 报表层也归宋韵：炭灰、青灰、浅赭、月白，四个值取自 SONG 色彩池 */
  --r-ink:#1A1A1A; --r-ink2:#6E6E6E; --r-ink3:#6E6E6E; --r-ink4:#9E9E9E;
  --r-line:#FAFAFA; --r-line2:#E8E8E8; --r-soft:#FAFAFA; --r-red:#6E6E6E;
  --r-green:#6E6E6E;
  color:var(--r-ink);
  font-size:14px; line-height:1.6;
  font-variant-numeric:tabular-nums;
  -webkit-font-smoothing:antialiased;
}
.rpt *{ box-sizing:border-box; }

/* ---------- 页头：一句话就把事说完 ---------- */
.rpt-hd{ padding:2px 0 16px; }
.rpt-hd .lb{ font-size:11px; color:var(--r-ink4); letter-spacing:.1em; margin:0 0 6px; }
.rpt-hd .lb i{ font-style:normal; color:var(--r-ink2); margin-left:6px; letter-spacing:0; }
.rpt-hd .lb i:before{ content:"·"; margin-right:6px; color:var(--r-line2); }
.rpt-hd .sum{ margin:0; font-size:14px; color:var(--r-ink); line-height:1.78; letter-spacing:.01em; }
.rpt-hd .sum b{ font-weight:650; color:var(--r-ink); }
.rpt-hd .sum i{ font-style:normal; color:var(--r-ink4); }
.rpt-up{ color:var(--r-green); font-weight:650; }
.rpt-dn{ color:var(--r-red); font-weight:650; }

/* ---------- 区间：四格分段，选中实心 ---------- */
.rpt-seg{ display:flex; border:1px solid var(--r-line2); margin:0 0 14px; }
.rpt-seg b{
  flex:1; text-align:center; padding:9px 0; font-size:12px; font-weight:500;
  color:var(--r-ink3); cursor:pointer; border-right:1px solid var(--r-line);
  transition:background .12s, color .12s; white-space:nowrap;
}
.rpt-seg b:last-child{ border-right:0; }
.rpt-seg b.on{ background:var(--r-ink); color:#FFFFFF; font-weight:600; }
.rpt-seg b:active{ background:var(--r-soft); }
.rpt-seg b.on:active{ background:#1A1A1A; }

/* ---------- 指标：2×2 田字格，用线分，不用卡片 ---------- */
.rpt-kpis{
  display:grid; grid-template-columns:1fr 1fr;
  border-top:1px solid var(--r-line2); border-left:1px solid var(--r-line2);
}
.rpt-kpi{ padding:13px 12px 12px; border-right:1px solid var(--r-line2); border-bottom:1px solid var(--r-line2); }
.rpt-kpi .v{ font-size:20px; font-weight:600; line-height:1.15; letter-spacing:-.02em; }
.rpt-kpi .v small{ font-size:12px; font-weight:500; color:var(--r-ink3); margin-left:2px; letter-spacing:0; }
.rpt-kpi .l{ font-size:11px; color:var(--r-ink4); margin-top:3px; letter-spacing:.04em; }
.rpt-kpi .d{ font-size:11px; color:var(--r-ink3); margin-top:5px; height:15px; }
.rpt-kpi .d.up{ color:var(--r-green); }
.rpt-kpi .d.dn{ color:var(--r-red); }

/* ---------- 面板 ---------- */
.rpt-p{ background:#FFFFFF; border:1px solid var(--r-line); padding:15px 13px 14px; margin-top:11px; }
.rpt-p > h4{
  font-size:12px; font-weight:650; letter-spacing:.1em; color:var(--r-ink);
  margin:0 0 3px; display:flex; align-items:baseline; gap:7px;
}
.rpt-p > h4 em{ font-style:normal; font-size:11px; font-weight:400; letter-spacing:0; color:var(--r-ink4); }
.rpt-p > .sub{ font-size:11px; color:var(--r-ink4); margin:0 0 13px; line-height:1.6; }
.rpt-p > .sub.on{ color:var(--r-ink3); }

/* ---------- 折线图 ---------- */
.rpt-chart{ display:block; width:100%; height:auto; overflow:visible; margin:2px 0 0; }
.rpt-chart .gl{ stroke:#FAFAFA; stroke-width:1; }
.rpt-chart .gl0{ stroke:var(--r-line2); stroke-width:1; }
.rpt-chart .ln{ fill:none; stroke:var(--r-ink); stroke-width:1.6; stroke-linejoin:round; stroke-linecap:round; }
.rpt-chart .ar{ fill:rgba(28,27,25,.05); }
.rpt-chart .dt{ fill:var(--r-ink); }
.rpt-chart .xl{ font-size:1em; fill:var(--r-ink4); font-variant-numeric:tabular-nums; }
.rpt-chart .yl{ font-size:.96em; fill:var(--r-ink4); }
.rpt-chart .vl{ font-size:.92em; fill:var(--r-ink3); }
.rpt-chart .dim{ opacity:.32; }

/* ---------- 横条排行 ---------- */
.rpt-bar{ display:grid; grid-template-columns:74px 1fr auto; align-items:center; gap:9px; padding:7px 0; }
.rpt-bar + .rpt-bar{ border-top:1px solid #E8E8E8; }
.rpt-bar .n{ min-width:0; font-size:12px; color:var(--r-ink); overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.rpt-bar .t{ height:5px; background:#E8E8E8; position:relative; overflow:hidden; }
.rpt-bar .t i{ position:absolute; left:0; top:0; bottom:0; background:var(--r-ink); display:block; }
.rpt-bar .t i.red{ background:rgba(110,110,110,.55); }
.rpt-bar .q{ font-size:12px; text-align:right; white-space:nowrap; color:var(--r-ink); min-width:74px; }
.rpt-bar .q em{ font-style:normal; color:var(--r-ink4); font-size:11px; margin-left:5px; }

/* ---------- 表 ---------- */
.rpt-t{ width:100%; }
.rpt-tr{ display:grid; align-items:center; gap:0; padding:8px 0; font-size:12px; }
.rpt-tr + .rpt-tr{ border-top:1px solid #E8E8E8; }
.rpt-tr.th{ padding:0 0 6px; font-size:11px; color:var(--r-ink4); letter-spacing:.08em;
  border-bottom:1px solid var(--r-line2); }
.rpt-tr .c{ min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; padding-right:6px; }
.rpt-tr .c:last-child{ padding-right:0; }
.rpt-tr .r{ text-align:right; justify-self:end; font-variant-numeric:tabular-nums; }
.rpt-tr .c.red{ color:var(--r-red); }
.rpt-tr .c.mut{ color:var(--r-ink4); }
.rpt-tr .c b{ font-weight:600; }
.rpt-tr .c .dot{ display:inline-block; width:5px; height:5px; background:var(--r-red);
  margin-right:5px; vertical-align:1px; }
.rpt-tr.tap{ cursor:pointer; }
.rpt-tr.tap:active{ background:var(--r-soft); }

/* ---------- 底部动作 ---------- */
.rpt-acts{ display:flex; gap:8px; margin-top:11px; }
#main .rpt .rpt-btn{
  flex:1; display:block; width:auto; min-height:0; text-align:center;
  padding:11px 6px; font-size:12px; font-weight:600; line-height:1.4;
  border:1px solid var(--r-ink)!important; border-radius:2px!important;
  background:var(--r-ink)!important; color:#FFFFFF!important; cursor:pointer;
  letter-spacing:.02em!important; box-shadow:none!important;
  height:auto!important; max-height:none!important; opacity:1;
}
#main .rpt .rpt-btn.g{ background:#FFFFFF!important; color:var(--r-ink)!important; border-color:var(--r-line2)!important; }
#main .rpt .rpt-btn:active{ opacity:.8; }

.rpt-gr{ display:grid; grid-template-columns:repeat(4,1fr);
  border:1px solid var(--r-line2); margin:0 0 13px; }
.rpt-gr>div{ padding:9px 6px 8px; text-align:center; cursor:pointer;
  border-right:1px solid var(--r-line); }
.rpt-gr>div:last-child{ border-right:0; }
.rpt-gr>div.on{ background:var(--r-soft); }
.rpt-gr b{ display:block; font-size:20px; font-weight:650; line-height:1.1; }
.rpt-gr span{ display:block; font-size:11px; color:var(--r-ink4); margin-top:3px; white-space:nowrap;
  overflow:hidden; text-overflow:ellipsis; }

.rpt-empty{ padding:26px 0; text-align:center; font-size:12px; color:var(--r-ink4); }
.rpt-note{ font-size:11px; color:var(--r-ink4); line-height:1.7; margin:9px 0 0; }

/* ---------- 宽屏：一行四个指标，别把两格拉成两张床 ---------- */
@media (min-width:680px){
  .rpt{ max-width:880px; }
  .rpt-kpis{ grid-template-columns:repeat(4,1fr); }
  .rpt-kpi .v{ font-size:20px; }
  .rpt-bar{ grid-template-columns:118px 1fr auto; }
  .rpt-hd .sum{ font-size:14px; }
  .rpt .rpt-btn{ padding:12px 0; font-size:14px; }
}

/* ==========================================================================
   经营台（2026-11-13）
   老板的原话：「给老板的各种报表，你要给我弄一个显著的位置，我要看啊」。
   所以第一件是位置：首页一进门，最上面一条黑底横条，三个数，点进去是全表。
   第二件是克制：一页只放三块，钱四个数、效率四个数、风险六行。
   ========================================================================== */

/* ---------- 首页顶部那一条（深墨底，不抢业务，但绕不过去） ---------- */
.bbar{
  display:flex; align-items:center; gap:12px;
  background:#1A1A1A; color:#FFFFFF;
  padding:13px 14px; margin:0 0 16px;
  cursor:pointer; border:0; border-radius:2px;
  -webkit-tap-highlight-color:transparent;
}
.bbar:active{ background:#1A1A1A; }
.bbar .bb-t{ flex:none; }
.bbar .bb-t b{ display:block; font-size:12px; font-weight:650; letter-spacing:.02em; }
.bbar .bb-t i{ display:block; font-style:normal; font-size:11px;
  color:rgba(255,255,255,.48); margin-top:2px; letter-spacing:.06em; }
.bbar .bb-n{ flex:1; display:flex; gap:0; min-width:0; }
.bbar .bb-n > div{ flex:1; min-width:0; padding-left:10px;
  border-left:1px solid rgba(255,255,255,.15); }
.bbar .bb-n span{ display:block; font-size:11px; color:rgba(255,255,255,.48); letter-spacing:.03em;
  white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.bbar .bb-n b{ display:block; font-size:14px; font-weight:650; margin-top:2px;
  white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
  font-variant-numeric:tabular-nums; letter-spacing:-.01em; }
.bbar .bb-n b.r{ color:#9E9E9E; }
.bbar .bb-g{ flex:none; font-size:11px; color:rgba(255,255,255,.7); white-space:nowrap; }

@media (max-width:560px){
  /* 手机：第一行「标题 —— 看全表」，第二行三个数。
     标题单独占一行会把「看全表」挤到中间，白白多出 30px 空白。 */
  .bbar{ flex-wrap:wrap; gap:9px 10px; padding:12px 13px; }
  .bbar .bb-t{ flex:1; min-width:0; display:flex; align-items:baseline; gap:8px; }
  .bbar .bb-t i{ margin-top:0; }
  .bbar .bb-n{ flex:1 1 100%; order:2; }
  .bbar .bb-n > div:first-child{ padding-left:0; border-left:0; }
  .bbar .bb-n b{ font-size:14px; }
  .bbar .bb-g{ order:1; flex:none; }
}

/* ---------- 风险清单：一行一件事，右边是钱或状态 ---------- */
.brd-r{
  display:flex; align-items:baseline; gap:10px;
  padding:11px 14px 11px 0; border-top:1px solid #E8E8E8; cursor:pointer;
  position:relative;
}
.brd-r:first-of-type{ border-top:1px solid var(--r-line2); }
.brd-r:active{ background:var(--r-soft); }
.brd-r .k{ flex:1; min-width:0; }
.brd-r .k b{ display:block; font-size:12px; font-weight:600; color:var(--r-ink);
  letter-spacing:.01em; }
.brd-r .k span{ display:block; font-size:11px; color:var(--r-ink4); margin-top:2px;
  line-height:1.5; }
.brd-r .n{ flex:none; min-width:66px; text-align:right; font-size:12px;
  color:var(--r-ink3); white-space:nowrap; }
.brd-r .a{ flex:none; width:74px; text-align:right; font-size:12px; font-weight:600;
  white-space:nowrap; font-variant-numeric:tabular-nums; }
.brd-r .a.red{ color:var(--r-red); }

.rpt-kpi .v.mut{ color:var(--r-ink4); font-weight:500; }

/* ---------- 测试期说明条：浅底、不报警，只讲清楚这批数是什么 ---------- */
.brd-phase{
  display:flex; gap:8px; align-items:flex-start;
  border:1px solid var(--r-line2); background:var(--r-soft);
  padding:9px 11px; margin:0 0 12px;
  font-size:11px; line-height:1.72; color:var(--r-ink3);
}
.brd-phase > b{ flex:none; color:var(--r-ink); font-weight:650; white-space:nowrap; }
.brd-phase span b{ font-weight:600; color:var(--r-ink2); }

.brd-r .a.act{ color:var(--r-ink3); font-weight:500; font-size:11px; letter-spacing:.02em; }
.brd-r .a.act:after{ content:""; }
.brd-r .k span{ max-width:100%; }

/* ==========================================================================
   待补清单抽屉（2026-11-13）
   从下面升起来，盖住九成屏幕，但不换页 —— 看完拨个电话，关掉还回原处。
   规矩：线分层、无圆角、无阴影；电话是唯一的圆形（手指要按得准）。
   ========================================================================== */
.bs-lock{ overflow:hidden; }
.bs-mask{
  position:fixed; inset:0; z-index:920;
  background:rgba(20,19,17,.5);
  opacity:0; transition:opacity .2s ease;
  display:flex; align-items:flex-end; justify-content:center;
}
.bs-mask.on{ opacity:1; }
.bs-sheet{
  --r-ink:#1A1A1A; --r-ink2:#1A1A1A; --r-ink3:#6E6E6E; --r-ink4:#9E9E9E;
  --r-line:#FAFAFA; --r-line2:#E8E8E8; --r-soft:#FAFAFA; --r-red:#6E6E6E;
  width:100%; max-width:820px; max-height:88vh;
  background:#FFFFFF; color:var(--r-ink);
  border-top:1px solid var(--r-ink);
  display:flex; flex-direction:column;
  transform:translateY(14px); opacity:.6; transition:transform .22s ease, opacity .22s ease;
  font-variant-numeric:tabular-nums; -webkit-font-smoothing:antialiased;
}
.bs-mask.on .bs-sheet{ transform:translateY(0); opacity:1; }

.bs-bar{
  flex:none; display:flex; align-items:center; gap:10px;
  padding:13px 16px 11px; border-bottom:1px solid var(--r-line2);
}
.bs-bar .bs-t{ flex:1; min-width:0; font-size:14px; font-weight:650; letter-spacing:.01em;
  white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.bs-x{ flex:none; width:30px; height:30px; line-height:1; border:0; background:none;
  font-size:20px; color:var(--r-ink4); cursor:pointer; padding:0; }
.bs-x:active{ color:var(--r-ink); }

.bs-body{ flex:1; min-height:0; overflow:auto; -webkit-overflow-scrolling:touch;
  padding:0 16px calc(env(safe-area-inset-bottom,0px) + 18px); }
.bs-wait{ padding:40px 0; text-align:center; font-size:12px; color:var(--r-ink4); }

.bs-lead{ font-size:11px; line-height:1.72; color:var(--r-ink3);
  padding:11px 0 0; }
.bs-tools{ display:flex; align-items:baseline; gap:10px; padding:11px 0 9px;
  border-bottom:1px solid var(--r-ink); }
.bs-kw{ flex:1; min-width:0; border:0; border-bottom:1px solid transparent; outline:0;
  font:inherit; font-size:12px; color:var(--r-ink); background:none; padding:2px 0; }
.bs-kw::placeholder{ color:var(--r-ink4); }
.bs-kw:focus{ border-bottom-color:var(--r-ink4); }
.bs-cnt{ flex:none; font-size:11px; color:var(--r-ink3); white-space:nowrap; }
.bs-exp{ margin-left:2px; }
.bs-cnt b{ color:var(--r-ink); font-weight:650; }

.bs-rows{ }
.bs-r{ display:flex; align-items:center; gap:10px; padding:11px 0;
  border-bottom:1px solid var(--r-line); }
.bs-r .bs-k{ flex:1; min-width:0; }
.bs-r .bs-k b{ display:block; font-size:12px; font-weight:600; letter-spacing:.01em;
  white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.bs-r .bs-k span{ display:block; margin-top:2px; font-size:11px; color:var(--r-ink3);
  line-height:1.55; padding-left:7px; text-indent:-7px; }
.bs-r .bs-k span i{ font-style:normal; color:var(--r-ink4); margin-left:6px; }
.bs-r .bs-v{ flex:none; font-size:12px; font-weight:650; color:var(--r-ink);
  white-space:nowrap; letter-spacing:-.01em; }
.bs-tel{ flex:none; width:44px; height:30px; display:flex; align-items:center;
  justify-content:center; border:1px solid var(--r-ink); background:#FFFFFF;
  color:var(--r-ink); font-size:11px; font-weight:600; text-decoration:none;
  border-radius:2px; }
.bs-tel:active{ background:var(--r-ink); color:#FFFFFF; }
/* 没电话：两行小字，比一排「—」更像话（一排破折号会被读成负号） */
.bs-notel{ flex:none; width:44px; text-align:center; font-size:11px; color:#E8E8E8;
  line-height:1; letter-spacing:0; }

.bs-more{ display:block; width:100%; margin:16px 0 0; padding:11px 0;
  border:1px solid var(--r-line2); background:none; font:inherit; font-size:12px;
  color:var(--r-ink3); cursor:pointer; }
.bs-more:active{ background:var(--r-soft); }

@media (max-width:560px){
  .bs-sheet{ max-height:92vh; }
  .bs-bar{ padding:12px 14px 10px; }
  .bs-body{ padding-left:14px; padding-right:14px; }
  .bs-r{ padding:10px 0; gap:8px; }
  .bs-r .bs-k b{ font-size:12px; }
}
.bs-exp{ flex:none; font-size:11px; font-weight:600; color:var(--r-ink);
  border-bottom:1px solid var(--r-ink); padding-bottom:1px; cursor:pointer; }
.bs-exp:active{ opacity:.6; }
.bs-lead em{ display:block; font-style:normal; margin-top:6px; color:var(--r-ink4);
  font-size:11px; line-height:1.7; }
.bs-r{ cursor:pointer; }
.bs-r:active{ background:var(--r-soft); }

/* 待补行右边的箭头：一行能点开，得让人看出来能点 */
.brd-r .gd{ position:absolute; right:0; top:50%; transform:translateY(-50%);
  font-style:normal; font-size:14px; line-height:1; color:var(--r-line2); }
.brd-r:active .gd{ color:var(--r-ink); }

/* ==========================================================================
   客户详情 · 名片（2026-11-13）
   --------------------------------------------------------------------------
   以前这一页像一张「信息登记表」：五行灰标签、五条几乎看不见的虚线；
   数字和正文一样重；客户价值被一个红框子圈着像输入框；底部按钮一个在左
   一个在右。现在按一屏能读完的顺序排：
       名字 → 钱 → 五件事 → 安全记录 → 价值 → 动作
   只作用在 .pj 里，弹窗中的其他页面不受影响。
   选择器一律带 #mbox 打头，是为了压过 app.css 那几层 !important 皮肤。
   ========================================================================== */

/* ---------- 页头：名字、状态、关闭 ---------- */
#mbox .pj-hd{ display:flex; align-items:flex-start; gap:8px; padding:2px 0 14px; }
#mbox .pj-hd-l{ flex:1; min-width:0; }
#mbox .pj-nm{ font-size:20px; font-weight:700; line-height:1.24; letter-spacing:-.02em; color:#1A1A1A; }
#mbox .pj-un{ margin-top:3px; font-size:12px; line-height:1.45; color:#9E9E9E; letter-spacing:0; }
#mbox .pj-bd{ flex:none; display:inline-flex; align-items:center; gap:5px; margin-top:6px;
  padding:3px 9px; border-radius:999px; font-size:11px; font-weight:600; letter-spacing:.02em; }
#mbox .pj-bd::before{ content:""; width:5px; height:5px; border-radius:50%; background:currentColor; }
#mbox .pj-bd.gn{ background:#E8E8E8; color:#6E6E6E; }
#mbox .pj-bd.rd{ background:#FAFAFA; color:#6E6E6E; }
#mbox .pj-bd.gy{ background:#E8E8E8; color:#9E9E9E; }
#mbox .pj-x{ flex:none; width:28px!important; height:28px!important; min-height:28px!important;
  margin-top:2px; padding:0!important; border:0!important; border-radius:50%!important;
  background:#E8E8E8!important; color:#9E9E9E!important; font-size:12px!important;
  line-height:28px!important; letter-spacing:0!important; text-align:center; }
#mbox .pj-x:active{ background:#E8E8E8!important; }

/* ---------- 钱：两格，中间一条竖线 ---------- */
#mbox .pj-m{ display:grid; grid-template-columns:1fr 1fr; margin-bottom:12px;
  border:1px solid #E8E8E8; border-radius:2px; overflow:hidden; background:#FAFAFA; }
#mbox .pj-mb{ padding:13px 14px 12px; }
#mbox .pj-mb + .pj-mb{ border-left:1px solid #E8E8E8; }
#mbox .pj-mb b{ display:block; font-size:20px; font-weight:700; line-height:1.15;
  letter-spacing:-.03em; font-variant-numeric:tabular-nums; color:#1A1A1A; }
#mbox .pj-mb b.rd{ color:#6E6E6E; }
#mbox .pj-mb span{ display:block; margin-top:6px; font-size:11px; color:#9E9E9E; letter-spacing:0; }

/* ---------- 五件事：一列一值的表 ---------- */
#mbox .pj-card{ margin-bottom:12px; padding:0 14px; background:#FFFFFF;
  border:1px solid #E8E8E8; border-radius:2px; }
#mbox .pj-r{ display:grid; grid-template-columns:58px 1fr; gap:10px; align-items:start;
  padding:11px 0; border-top:1px solid #E8E8E8; }
#mbox .pj-r:first-child{ border-top:0; }
#mbox .pj-k{ font-size:12px; line-height:1.65; color:#9E9E9E; letter-spacing:0; }
#mbox .pj-v{ min-width:0; font-size:14px; line-height:1.65; color:#1A1A1A; word-break:break-word; }
#mbox .pj-v.w{ color:#6E6E6E; }
#mbox .pj-v .pj-emp{ font-style:normal; color:#9E9E9E; }

/* 这里的小标牌一律做成药丸，不要白底红框 —— 那看着像输入框 */
#mbox .pj .tag{ margin-left:2px; padding:1px 7px!important; border:0!important;
  border-radius:999px!important; background:#E8E8E8!important; color:#6E6E6E!important;
  font-size:11px!important; font-weight:600!important; letter-spacing:0!important;
  box-shadow:none!important; vertical-align:1px; }
#mbox .pj .tag.r{ background:#FAFAFA!important; color:#6E6E6E!important; }
#mbox .pj .tag.o{ background:#FAFAFA!important; color:#6E6E6E!important; }
#mbox .pj .tag.g{ background:#E8E8E8!important; color:#6E6E6E!important; }
#mbox .pj .tag.p, #mbox .pj .tag.c{ background:#E8E8E8!important; color:#1A1A1A!important; }
#mbox .pj .tag.gray{ background:#E8E8E8!important; color:#9E9E9E!important; }

/* 同项目 / 同园区提示：进 pj 后也换成同一副卡片面孔 */
#mbox .pj>.panel{ margin:0 0 12px!important; padding:12px 14px!important;
  background:#FFFFFF!important; border:1px solid #E8E8E8!important; border-radius:2px!important; }

/* ---------- 安全记录：收进一条，点开才铺 ---------- */
#mbox .pj-fold{ margin-bottom:12px; background:#FFFFFF; border:1px solid #E8E8E8;
  border-radius:2px; overflow:hidden; }
#mbox .pj-fold>summary{ display:flex; align-items:center; gap:7px; padding:12px 14px;
  cursor:pointer; list-style:none; font-size:14px; color:#1A1A1A; }
#mbox .pj-fold>summary::-webkit-details-marker{ display:none; }
#mbox .pj-fold>summary em{ font-style:normal; font-size:11px; color:#9E9E9E; letter-spacing:0; }
#mbox .pj-fold>summary .ar{ margin-left:auto; font-size:20px; line-height:1; color:#9E9E9E;
  transition:transform .18s; }
#mbox .pj-fold[open]>summary .ar{ transform:rotate(90deg); }
#mbox .pj-fold[open]>summary{ border-bottom:1px solid #E8E8E8; }
#mbox .pj-fold-b{ padding:10px 12px 12px; }
#mbox .pj-fold .panel{ margin:0 0 8px!important; padding:10px 12px!important;
  background:#FAFAFA!important; border:0!important; border-radius:2px!important; }
#mbox .pj-fold .panel:last-child{ margin-bottom:0!important; }
#mbox .pj-fold .panel h3{ margin:0 0 6px!important; padding:0!important; border:0!important;
  font-size:11px!important; font-weight:600!important; color:#9E9E9E!important; letter-spacing:.02em!important; }
#mbox .pj-fold .list-item{ padding:7px 0!important; border:0!important; border-top:1px solid #E8E8E8!important; }
#mbox .pj-fold .list-item:first-of-type{ border-top:0!important; }

/* ---------- 客户价值：一个分数，四条尺子 ---------- */
#mbox .pj-qv{ padding:14px!important; }
#mbox .pj-qvh{ display:flex; align-items:center; gap:12px; }
#mbox .pj-qvt{ font-size:11px; color:#9E9E9E; letter-spacing:.02em; }
#mbox .pj-qvg{ margin-top:3px; font-size:14px; font-weight:700; color:#1A1A1A; letter-spacing:-.01em; }
#mbox .pj-qvs{ margin-left:auto; display:flex; align-items:baseline; gap:2px; }
#mbox .pj-qvs b{ font-size:20px; font-weight:700; line-height:1; letter-spacing:-.05em; font-variant-numeric:tabular-nums; }
#mbox .pj-qvs i{ font-style:normal; font-size:11px; color:#9E9E9E; }
#mbox .pj-dims{ display:grid; grid-template-columns:1fr 1fr; gap:10px 18px; margin-top:14px; }
#mbox .pj-dim-t{ display:flex; justify-content:space-between; align-items:baseline;
  font-size:11px; color:#9E9E9E; }
#mbox .pj-dim-t em{ font-style:normal; color:#6E6E6E; font-variant-numeric:tabular-nums; }
#mbox .pj-dim-t em i{ font-style:normal; color:#9E9E9E; }
#mbox .pj-dim-b{ height:4px; margin-top:6px; border-radius:2px; background:#E8E8E8; overflow:hidden; }
#mbox .pj-dim-b i{ display:block; height:100%; border-radius:2px; background:#1A1A1A; }
#mbox .pj-qvm{ margin-top:13px; padding-top:12px; border-top:1px solid #E8E8E8;
  font-size:12px; line-height:1.85; color:#6E6E6E; }
#mbox .pj-qvm b{ font-weight:650; color:#1A1A1A; font-variant-numeric:tabular-nums; }
#mbox .pj-qva{ margin-top:10px; padding:9px 11px; border-radius:2px; background:#FAFAFA;
  font-size:12px; line-height:1.7; color:#1A1A1A; }

/* ---------- 动作：一颗黑印，其余白底 ---------- */
#mbox .pj-act{ display:grid; grid-template-columns:1fr 1fr; gap:8px; margin-top:4px; }
#mbox .pj-act .pj-b{ width:100%; min-height:44px!important; padding:11px 10px!important;
  border:1px solid #E8E8E8!important; border-radius:2px!important;
  background:#FFFFFF!important; color:#1A1A1A!important;
  font-size:14px!important; font-weight:600!important; letter-spacing:.01em!important; }
#mbox .pj-act .pj-b.main{ grid-column:1/-1; border-color:#1A1A1A!important;
  background:#1A1A1A!important; color:#FFFFFF!important; }
#mbox .pj-act .pj-b:active{ opacity:.72; }

@media (max-width:420px){
  #mbox .pj-nm{ font-size:20px; }
  #mbox .pj-mb b{ font-size:20px; }
  #mbox .pj-r{ grid-template-columns:54px 1fr; gap:8px; }
  #mbox .pj-v{ font-size:14px; }
}

/* 第三层动作：改状态、排计划这类不常点的，白底灰字往后站 */
#mbox .pj-act .pj-b.mute{ color:#9E9E9E!important; border-color:#E8E8E8!important; }

/* 算不出分的时候：一句话说完，不要画一条分割线装成「有数据」 */
#mbox .pj-qvn{ margin-top:5px; font-size:12px; line-height:1.75; color:#9E9E9E; }

/* 宽屏：四条尺子并成一行，各自短下来才看得出「差多少」；
   分数也跟着放大 —— 桌面上 27px 的分不像结论，像脚注。 */
@media (min-width:620px){
  #mbox .pj-dims{ grid-template-columns:repeat(4,1fr); gap:12px 22px; }
  #mbox .pj-qvs b{ font-size:20px; }
  #mbox .pj-qvg{ font-size:14px; }
}

/* ===== v1.css ===== */
/* ==========================================================================
   启迅电梯 · 全系统设计语言 V1.0
   基础层 + 组件层（2026-11-14）
   --------------------------------------------------------------------------
   汉为根，唐为表，宋为用；分区定调，同页不混；现代交互为本，中式气韵为魂。

   这一层只做两件事：
     ① 定义唯一的色 / 字 / 间距 / 圆角 / 阴影（下方 --v1-* 变量）
     ② 把按钮、输入、表格、卡片、标签、弹窗、导航拉回现代组件的形状

   风格层（han / tang / song）只换背景与标题装饰，不许改组件结构。
   ========================================================================== */

:root{
  /* ---------- 色 ---------- */
  --v1-bg:#FAFAFA;            /* 月白：页面底 */
  --v1-surface:#FFFFFF;       /* 卡片面 */
  --v1-surface-2:#FAFAFA;     /* 卡内嵌块 */
  --v1-surface-3:#E8E8E8;     /* 表头、分段底 */
  --v1-line:#E8E8E8;          /* 边框 */
  --v1-line-2:#E8E8E8;        /* 分割线 */
  --v1-ink:#1A1A1A;           /* 正文 */
  --v1-ink-2:#6E6E6E;         /* 次级正文 */
  --v1-ink-3:#9E9E9E;         /* 辅助文字 */
  --v1-ink-4:#9E9E9E;         /* 禁用、占位 */

  --v1-primary:#6E6E6E;       /* 瓷青：主按钮、聚焦 */
  --v1-primary-d:#6E6E6E;     /* 按下 */
  --v1-primary-soft:#E8E8E8;  /* 瓷青淡底 */

  --v1-accent:#E8E8E8;        /* 浅赭：弱强调 */
  --v1-danger:#6E6E6E;
  --v1-danger-soft:#E8E8E8;
  --v1-success:#9E9E9E;
  --v1-success-soft:#E8E8E8;
  --v1-warning:#9E9E9E;
  --v1-warning-soft:#FAFAFA;
  --v1-info:#6E6E6E;
  --v1-info-soft:#E8E8E8;

  /* ---------- 圆角 ---------- */
  --v1-r-btn:2px;
  --v1-r-input:2px;
  --v1-r-card:2px;
  --v1-r-modal:2px;
  --v1-r-tag:2px;

  /* ---------- 阴影 ---------- */
  --v1-sh-1:none;
  --v1-sh-2:none;
  --v1-sh-3:none;

  /* ---------- 间距（4px 基准） ---------- */
  --v1-s1:4px; --v1-s2:8px; --v1-s3:16px; --v1-s4:24px; --v1-s5:32px;

  /* ---------- 字 ---------- */
  --v1-sans:"PingFang SC","Microsoft YaHei","Hiragino Sans GB","Helvetica Neue",Arial,sans-serif;
  /* 衬线只给 HAN / TANG 的展示标题，后台一律无衬线 */
  --v1-serif:"Songti SC","STSong","Noto Serif CJK SC","SimSun",serif;

  --v1-fs-h1:26px; --v1-fs-h2:22px; --v1-fs-h3:18px; --v1-fs-h4:16px;
  --v1-fs-body:14px; --v1-fs-sub:13px; --v1-fs-xs:12px;

  /* ---------- 兼容旧变量（前八层皮肤仍在引用） ---------- */
  --bg:#FAFAFA!important; --card:#FFFFFF!important;
  --t:#1A1A1A!important;  --m:#6E6E6E!important; --bd:#E8E8E8!important;
  --p:#6E6E6E!important;  --pd:#6E6E6E!important;
  --red:#6E6E6E!important; --green:#9E9E9E!important;
  --orange:#9E9E9E!important; --purple:#6E6E6E!important; --cyan:#6E6E6E!important;

  --jp-paper:#FAFAFA!important; --jp-card:#FFFFFF!important;
  --jp-ink:#1A1A1A!important;   --jp-sub:#6E6E6E!important;
  --jp-line:#E8E8E8!important;  --jp-line-l:#E8E8E8!important;
  --jp-ai:#6E6E6E!important;    --jp-shu:#6E6E6E!important;

  --st-0:#FFFFFF!important; --st-1:#FAFAFA!important; --st-2:#E8E8E8!important;
  --st-3:#E8E8E8!important; --st-line:#E8E8E8!important; --st-hair:#E8E8E8!important;
  --st-ink:#1A1A1A!important; --st-sub:#6E6E6E!important;

  --hs-floor:#FAFAFA!important;

  --ux-line:#E8E8E8!important; --ux-ink:#1A1A1A!important;
  --ux-ai:#6E6E6E!important;   --ux-paper:#FFFFFF!important;

  --r:2px; --r-modal:var(--v1-r-modal);

  /* 全局口径 */
  --v1-h:40px;          /* 控件高度 */
  --v1-h-touch:44px;    /* 移动端最小触控 */
}

/* 兼容变量必须写在 body 上：app.css 在 body 上重定义了 --p / --t / --m，
   只写在 :root 会被继承链后面的 body 覆盖（上一版就吃了这个亏）。 */
body, body.ent, body.plain{
  --p:#6E6E6E!important; --pd:#6E6E6E!important;
  --t:#1A1A1A!important; --m:#6E6E6E!important; --bd:#E8E8E8!important;
  --bg:#FAFAFA!important; --card:#FFFFFF!important;
  --fill:#E8E8E8!important; --fill-2:#E8E8E8!important;
  --ink:#1A1A1A!important; --ink-2:#6E6E6E!important; --ink-3:#9E9E9E!important; --ink-4:#9E9E9E!important;
  --wa-accent:#6E6E6E!important; --wa-line:#E8E8E8!important;
  --brand:#6E6E6E!important;
}

/* ==========================================================================
   一 · 底：月白一片，正文 14px，全站无衬线
   ========================================================================== */

html, body, body.plain, body.ent, body[data-style]{
  background-color:var(--v1-bg)!important;
  color:var(--v1-ink)!important;
  font-family:var(--v1-sans)!important;
  font-size:var(--v1-fs-body)!important;
  line-height:1.6!important;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  letter-spacing:0!important;
}

/* 前几层留下的纸纹、光斑、织物暗纹，全部清掉 —— V1 不用纹理 */
body.ent, body.plain, body[data-style="song"]{
  background-image:none!important;
}

#main{
  background:transparent!important;
  font-size:var(--v1-fs-body)!important;
  letter-spacing:0!important;
}
#main p, #main .hint, #main .d, #main .muted{
  color:var(--v1-ink-3)!important;
  font-size:var(--v1-fs-sub)!important;
  line-height:1.7!important;
  letter-spacing:0!important;
}

/* ==========================================================================
   二 · 字：后台无衬线，层级只靠字号与字重
   ========================================================================== */

/* 所有被前几层改成宋体/楷体的后台标题，收回无衬线 */
#main h1, #main h2, #main h3, #main h4, #main h5,
#main .hs-hi, #main .sy-hi, #main .hs-lead,
.pg-hd h2, .sec-h, .blank-box h4,
#main .panel > h3, #mbox h3, #mbox .panel h3,
header h1, .tz-head h1,
#main .box-t, #main .hs-ask-t, #main .hs-todo span,
#main .hs-manual, #main .hs-all{
  font-family:var(--v1-sans)!important;
  font-weight:600!important;
  letter-spacing:0!important;
  color:var(--v1-ink)!important;
}

#main .pg-hd h2, #main .hs-hi, #main .sy-hi{ font-size:var(--v1-fs-h2)!important; line-height:1.4!important; }
#main .panel > h3, #main .sec-h, #mbox h3{ font-size:var(--v1-fs-h4)!important; line-height:1.45!important; }
#main .hs-ask-t, #main .hs-todo span, #main .hs-manual{ font-size:var(--v1-fs-sub)!important; font-weight:600!important; letter-spacing:.04em!important; }

/* 数字：等宽对齐，主数字 600。金额不靠字体材质，靠字号与颜色分主次 */
#main .hs-cell b, #main .hs-lead, #main .fin-k b, #main .kpi .v,
#main .stat .num, #main .ov-num .n, #mbox .pj-mb b, #mbox .pj-qvs b,
.brd-k b, .fin-todo-n, .fin-k .v, #main .fin-num{
  font-family:var(--v1-sans)!important;
  font-weight:600!important;
  letter-spacing:0!important;
  font-variant-numeric:tabular-nums;
  color:var(--v1-ink)!important;
}

/* 小标题的字距不再撑开（V1 不做艺术化变形） */
#main .panel > h3, .modal h3, header h1{ letter-spacing:.01em!important; }

/* ==========================================================================
   三 · 钮：瓷青主键、白底次键、透明弱键、低饱和危险键
   ========================================================================== */

body .btn, body button.btn, #main .btn, #mbox .btn, #mbg .btn, .btn{
  height:var(--v1-h)!important;
  min-height:var(--v1-h)!important;
  padding:0 16px!important;
  border-radius:2px!important;
  font-family:var(--v1-sans)!important;
  font-size:var(--v1-fs-body)!important;
  font-weight:500!important;
  letter-spacing:0!important;
  box-shadow:none!important;
  text-shadow:none!important;
  transform:none!important;
  transition:background-color .16s ease, border-color .16s ease, color .16s ease;
}
body .btn.sm, #main .btn.sm{ height:30px!important; min-height:30px!important; padding:0 10px!important; font-size:var(--v1-fs-xs)!important; }
body .btn.lg, #main .btn.lg{ height:44px!important; min-height:44px!important; font-size:14px!important; }

/* 主键 */
body.ent #main .btn.primary, body.ent #mbg .btn.primary, body.ent #mbox .btn.primary,
body .btn.primary, #main button[data-ai="1"][data-kind="primary"]{
  background:var(--v1-primary)!important;
  background-image:none!important;
  border:1px solid var(--v1-primary)!important;
  color:#FFFFFF!important;
  font-weight:500!important;
}
body.ent #main .btn.primary:active, body.ent #mbox .btn.primary:active{
  background:var(--v1-primary-d)!important; border-color:var(--v1-primary-d)!important;
}

/* 次键：白底 + 灰边 */
body.ent #main .btn:not(.primary), body.ent .mask .btn:not(.primary),
body.ent #mbg .btn:not(.primary), body.ent #mbox .btn:not(.primary),
body .btn:not(.primary):not(.ghost):not(.danger):not(.green){
  background:var(--v1-surface)!important;
  background-image:none!important;
  border:1px solid var(--v1-line)!important;
  color:var(--v1-ink)!important;
}

/* 弱键 */
body .btn.ghost{
  background:transparent!important;
  border:1px solid transparent!important;
  color:var(--v1-ink-3)!important;
}
body .btn.ghost:active{ color:var(--v1-ink)!important; }

/* 危险键：低饱和朱砂，白底朱边，不用高亮大红 */
body .btn.danger, body.ent #mbox .btn.danger, body.ent #mbg .btn.danger{
  background:var(--v1-surface)!important;
  border:1px solid var(--v1-danger)!important;
  color:var(--v1-danger)!important;
}
body .btn.green{
  background:var(--v1-surface)!important;
  border:1px solid var(--v1-success)!important;
  color:var(--v1-success)!important;
}
body .btn[disabled], body .btn:disabled{
  background:var(--v1-surface-3)!important;
  border-color:var(--v1-line-2)!important;
  color:var(--v1-ink-4)!important;
}

/* 首页胶囊、筛选键：分段式，选中落瓷青 */
.hs-q, body .chip, #main .chip, .seg button{
  height:34px!important;
  min-height:34px!important;
  padding:0 14px!important;
  border-radius:2px!important;
  background:var(--v1-surface)!important;
  border:1px solid var(--v1-line)!important;
  color:var(--v1-ink-2)!important;
  font-family:var(--v1-sans)!important;
  font-size:var(--v1-fs-sub)!important;
  font-weight:400!important;
  letter-spacing:0!important;
  box-shadow:none!important;
}
.hs-q.on, body .chip.on, #main .chip.on, .seg button.on{
  background:var(--v1-primary-soft)!important;
  border-color:var(--v1-primary)!important;
  color:var(--v1-primary)!important;
  font-weight:500!important;
  box-shadow:none!important;
}

/* ==========================================================================
   四 · 输入：白底、1px 灰边、4px 角，聚焦瓷青描边
   ========================================================================== */

input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="color"]),
select, textarea, .search, .field input, .field select, .field textarea{
  height:var(--v1-h)!important;
  padding:0 12px!important;
  background:var(--v1-surface)!important;
  background-image:none!important;
  border:1px solid var(--v1-line)!important;
  border-radius:2px!important;
  color:var(--v1-ink)!important;
  font-family:var(--v1-sans)!important;
  font-size:var(--v1-fs-body)!important;
  box-shadow:none!important;
}
textarea{ height:auto!important; min-height:88px!important; padding:10px 12px!important; line-height:1.7!important; }

input:focus, select:focus, textarea:focus, .search:focus{
  border-color:var(--v1-primary)!important;
  box-shadow:none!important;
  outline:none!important;
}
::placeholder{ color:var(--v1-ink-4)!important; }

.field{ margin-bottom:16px!important; }
.field > label, .flabel{
  display:block!important;
  font-size:var(--v1-fs-sub)!important;
  font-weight:400!important;
  color:var(--v1-ink-3)!important;
  letter-spacing:0!important;
  margin-bottom:8px!important;
}
/* 必填标记：全站唯一允许的小面积朱砂 */
.req, .field.req > label::after, label.req::after{
  color:var(--v1-danger)!important;
}

/* ==========================================================================
   五 · 表：表头浅灰、行线细、行高 44
   ========================================================================== */

body.ent #main table, #main table{
  width:100%;
  border-collapse:separate!important;
  border-spacing:0!important;
  font-size:14px!important;
}
body.ent #main table th, #main table th{
  height:40px!important;
  padding:0 12px!important;
  background:var(--v1-surface-3)!important;
  color:var(--v1-ink)!important;
  font-size:14px!important;
  font-weight:600!important;
  letter-spacing:0!important;
  border:0!important;
  border-bottom:1px solid var(--v1-line-2)!important;
  white-space:nowrap;
}
body.ent #main table td, #main table td{
  height:44px!important;
  padding:10px 12px!important;
  background:transparent!important;
  color:var(--v1-ink)!important;
  font-size:14px!important;
  border:0!important;
  border-bottom:1px solid var(--v1-line-2)!important;
}
body.ent #main table tbody tr:hover td{ background:var(--v1-surface-2)!important; }
#main .mq-tbl, #main .td-list{ border-radius:2px!important; }

/* ==========================================================================
   六 · 卡：白面、1px 灰边、8px 角、无影
   ========================================================================== */

#main .panel, #main .card, #main .box, #main .blk, #main .rpt-p,
#main .sys-mode, #main .dl-item, #main .qs-req, .blank-box, .fin-hero,
#main .hs-ask, #main .hs-todo, #main .hs-manual, #main .hs-strip{
  background:var(--v1-surface)!important;
  border:1px solid var(--v1-line-2)!important;
  border-radius:2px!important;
  box-shadow:none!important;
}
#main .panel, #main .rpt-p{ padding:18px!important; margin-bottom:16px!important; }
#main .panel > h3{ margin:0 0 14px!important; padding:0 0 12px!important; border-bottom:1px solid var(--v1-line-2)!important; }
/* 卡内嵌块：退一档底，不画边 */
#main .panel .panel, #main .card .card{
  background:var(--v1-surface-2)!important;
  border-color:var(--v1-line-2)!important;
  border-radius:2px!important;
}

/* ==========================================================================
   七 · 签：低饱和浅底 + 同色系字
   ========================================================================== */

.tag{
  display:inline-flex!important;
  align-items:center!important;
  height:22px!important;
  padding:0 8px!important;
  border-radius:2px!important;
  background:var(--v1-surface-3)!important;
  border:1px solid var(--v1-line-2)!important;
  color:var(--v1-ink-2)!important;
  font-size:var(--v1-fs-xs)!important;
  font-weight:400!important;
  letter-spacing:0!important;
  box-shadow:none!important;
}
.tag.r{ background:var(--v1-danger-soft)!important; border-color:#E8E8E8!important; color:var(--v1-danger)!important; }
.tag.g{ background:var(--v1-success-soft)!important; border-color:#E8E8E8!important; color:var(--v1-success)!important; }
.tag.o{ background:var(--v1-warning-soft)!important; border-color:#FAFAFA!important; color:#6E6E6E!important; }
.tag.p, .tag.c{ background:var(--v1-info-soft)!important; border-color:#FAFAFA!important; color:var(--v1-info)!important; }
.tag.gray{ background:var(--v1-surface-3)!important; border-color:var(--v1-line-2)!important; color:var(--v1-ink-3)!important; }

/* ==========================================================================
   八 · 弹窗：白纸一页，圆角 12，轻影，按钮靠右
   ========================================================================== */

#mbg, .modal-bg{
  background:rgba(51,56,60,.36)!important;
  -webkit-backdrop-filter:blur(2px)!important;
  backdrop-filter:blur(2px)!important;
}
#mbox, #mbg .modal, .modal, .dl-sheet{
  background:var(--v1-surface)!important;
  border:1px solid var(--v1-line-2)!important;
  border-radius:2px!important;
  box-shadow:none!important;
  padding:20px 24px 16px!important;
}
/* 把手：只给移动端，且只做提示，不做装饰 */
#mbox::before, #mbg .modal::before{
  content:""!important;
  display:block!important;
  width:36px!important; height:4px!important;
  margin:0 auto 14px!important;
  border-radius:2px!important;
  background:var(--v1-line)!important;
}
#mbox h3, #mbg .modal h3{
  margin:0 0 16px!important;
  padding:0 0 12px!important;
  font-size:var(--v1-fs-h4)!important;
  font-weight:600!important;
  letter-spacing:0!important;
  color:var(--v1-ink)!important;
  border-bottom:1px solid var(--v1-line-2)!important;
  display:flex!important;
  align-items:center!important;
  gap:8px!important;
}
#mbox h3 span, #mbox h3 .tag{
  font-size:var(--v1-fs-xs)!important;
  font-weight:400!important;
  color:var(--v1-ink-3)!important;
}
#mbox .hint, #mbg .modal .hint{
  font-size:var(--v1-fs-sub)!important;
  line-height:1.7!important;
  color:var(--v1-ink-3)!important;
  margin:0 0 14px!important;
}
#mbox .hint b{ color:var(--v1-ink)!important; font-weight:600!important; }

/* 动作区：右对齐。JS 会把尾部按钮收进 .dl-act，这里只管形状 */
.dl-act{
  display:flex!important;
  flex-direction:row-reverse!important;
  justify-content:flex-start!important;
  align-items:center!important;
  gap:8px!important;
  margin-top:20px!important;
  padding-top:16px!important;
  border-top:1px solid var(--v1-line-2)!important;
}
.dl-act .btn{
  width:auto!important;
  min-width:96px!important;
  margin:0!important;
  flex:0 0 auto!important;
}
/* 只有一颗按钮时也靠右 */
.dl-act .btn:only-child{ margin-left:auto!important; }

/* 已有的按钮组同样收口 */
#mbox .ask-act, #mbox .act-bar{ gap:8px!important; margin-top:20px!important; padding-top:16px!important; border-top:1px solid var(--v1-line-2)!important; }

/* ==========================================================================
   九 · 导航：顶栏、页签、底栏
   ========================================================================== */

header, .ent-top, .tz-head{
  background:var(--v1-surface)!important;
  border-bottom:1px solid var(--v1-line-2)!important;
  box-shadow:none!important;
}
header h1{ font-size:20px!important; font-weight:600!important; letter-spacing:.02em!important; }
header .sub, .tz-crumb{ color:var(--v1-ink-3)!important; font-size:var(--v1-fs-xs)!important; }

.subnav{
  background:var(--v1-surface)!important;
  border-bottom:1px solid var(--v1-line-2)!important;
  gap:4px!important;
}
.subnav button{
  height:42px!important;
  padding:0 14px!important;
  background:transparent!important;
  border:0!important;
  border-radius:2px!important;
  color:var(--v1-ink-3)!important;
  font-size:var(--v1-fs-sub)!important;
  font-weight:400!important;
  letter-spacing:0!important;
  box-shadow:none!important;
}
.subnav button.on{
  color:var(--v1-primary)!important;
  font-weight:500!important;
  box-shadow:none!important;
}

body.ent #topnav.topnav{
  background:var(--v1-surface)!important;
  border-top:1px solid var(--v1-line-2)!important;
  box-shadow:none!important;
}
body.ent #topnav.topnav button{
  color:var(--v1-ink-3)!important;
  font-size:11px!important;
  font-weight:400!important;
  letter-spacing:0!important;
}
body.ent #topnav.topnav button.on{ color:var(--v1-primary)!important; font-weight:500!important; }
body.ent #topnav.topnav button.on::after{ display:none!important; }

.tz-foot, footer{
  background:transparent!important;
  border-top:1px solid var(--v1-line-2)!important;
  color:var(--v1-ink-4)!important;
  font-size:11px!important;
  letter-spacing:.04em!important;
}

/* ==========================================================================
   十 · 杂项：滚动条、选中色、提示条
   ========================================================================== */

*::-webkit-scrollbar{ width:8px; height:8px; }
*::-webkit-scrollbar-track{ background:transparent; box-shadow:none; }
*::-webkit-scrollbar-thumb{ background:#9E9E9E; border-radius:2px; box-shadow:none; }
::selection{ background:#E8E8E8; color:var(--v1-ink); }

#toast, .toast, .ok-tip{
  background:rgba(51,56,60,.94)!important;
  color:#FFFFFF!important;
  border-radius:2px!important;
  font-size:var(--v1-fs-sub)!important;
  letter-spacing:0!important;
  box-shadow:none!important;
}

hr, #main hr{ border:0!important; border-top:1px solid var(--v1-line-2)!important; }
.dot, .fin-dot, .pb-dot{ background:var(--v1-danger)!important; }

/* ==========================================================================
   十一 · 移动端：控件不低于 44px 触控
   ========================================================================== */

@media(max-width:640px){
  body .btn, #main .btn, #mbox .btn{ min-height:var(--v1-h-touch)!important; height:var(--v1-h-touch)!important; }
  .dl-act{ flex-direction:column!important; align-items:stretch!important; }
  .dl-act .btn{ width:100%!important; min-width:0!important; }
  #mbox, #mbg .modal{
    border-radius:2px!important;
    padding:16px 20px calc(16px + env(safe-area-inset-bottom,0px))!important;
  }
}

/* ==========================================================================
   十二 · 导航与筛选的选中态（压过 legacy 的实心黑胶囊）
   ========================================================================== */

body[data-style] .subnav button.on.on,
body .subnav button.on.on{
  background:transparent!important;
  color:var(--v1-primary)!important;
  border:0!important;
  border-radius:2px!important;
  box-shadow:none!important;
  font-weight:500!important;
}
body[data-style] .subnav button.on.on .ic{ color:var(--v1-primary)!important; }

body #main .chip.on.on, body #main .fchips .chip.on.on,
body .chip.on.on{
  background:var(--v1-primary-soft)!important;
  border:1px solid var(--v1-primary)!important;
  color:var(--v1-primary)!important;
  box-shadow:none!important;
  font-weight:500!important;
}
#main .rpt-seg b.on{ background:var(--v1-primary)!important; color:#FFFFFF!important; }
#main .rpt-seg b.on:active{ background:var(--v1-primary-d)!important; }

/* 悬浮键：瓷青圆键，不用黑 */
.fab{ background:var(--v1-primary)!important; color:#FFFFFF!important; box-shadow:none!important; }
.fab:active{ background:var(--v1-primary-d)!important; }

/* ==========================================================================
   十三 · 弹窗内的控件（legacy 的 #mbox 规则特异性高，这里一并按住）
   ========================================================================== */

body.ent #mbox input, body.ent #mbox select, body.ent #mbox textarea{
  background:var(--v1-surface)!important;
  background-image:none!important;
  border:1px solid var(--v1-line)!important;
  border-radius:2px!important;
  color:var(--v1-ink)!important;
  font-size:var(--v1-fs-body)!important;
  height:var(--v1-h)!important;
  box-shadow:none!important;
}
body.ent #mbox textarea{ height:auto!important; min-height:88px!important; padding:10px 12px!important; }
body.ent #mbox input:focus, body.ent #mbox select:focus, body.ent #mbox textarea:focus{
  border-color:var(--v1-primary)!important;
  box-shadow:none!important;
}
body.ent #mbox .dl-act .btn.ghost{
  background:transparent!important;
  border:1px solid transparent!important;
  color:var(--v1-ink-3)!important;
}
body.ent #mbox .dl-act .btn:not(.ghost):not(.danger){
  background:var(--v1-primary)!important;
  border:1px solid var(--v1-primary)!important;
  color:#FFFFFF!important;
}
body.ent #mbox .dl-act .btn.danger{
  background:var(--v1-surface)!important;
  border:1px solid var(--v1-danger)!important;
  color:var(--v1-danger)!important;
}

/* 选中的页签：图标不再变黑块，字落瓷青，底压一条瓷青线 */
body.ent #subnav button.on.on,
body #subnav button.on.on{
  color:var(--v1-primary)!important;
  background:transparent!important;
  box-shadow:none!important;
  border-radius:2px!important;
}
body.ent #subnav button.on.on .ic,
body #subnav button.on.on .ic,
body #subnav button.on.on .appic{
  background:transparent!important;
  color:var(--v1-primary)!important;
  box-shadow:none!important;
  border:0!important;
  filter:none!important;
}
/* 图标是线稿：只描边、不填充。
   这一行原来写的是 fill:var(--v1-primary)，把 24×24 的线条图标填成一块实心方块，
   页签选中项看上去就像贴了个脏墨块 —— 这是「选中态难看」的真正来源。 */
body.ent #subnav button.on.on .ic svg{ fill:none!important; stroke:var(--v1-primary)!important; }

/* ==========================================================================
   十四 · 按钮选中态：统一到瓷青（2026-11-14）
   --------------------------------------------------------------------------
   app.css 里页签选中被写成一整套「黑字 + 黑棋子」（#1A1A1A + 石纹贴图），
   跟主按钮的瓷青根本不是一个色系：同屏里主键是青灰绿，选中项是纯黑，
   读起来像两个系统的拼贴。

   这里收成一支笔：
     小块（页签、筛选胶囊）→ 瓷青淡底 + 瓷青字 + 一道极淡瓷青边
     大块（区间分段）      → 瓷青实底 + 白字（本来就对，保留）
   未选中一律青灰，不抢选中项。
   ========================================================================== */

html body #subnav.subnav button.on.on,
html body #subnav button.on.on,
html body .subnav button.on.on{
  /* 淡底再压一档：#E8E8E8 在月白上几乎看不出，选中项全靠字色在撑 */
  background-color:rgba(110,110,110,.13)!important;
  background-image:none!important;
  border:0!important;
  border-radius:2px!important;
  box-shadow:none!important;
  color:var(--v1-primary)!important;
  font-weight:600!important;
  /* 页签条是 flex + align-items:stretch，块会被拉到整条高；
     这里让它自己居中收一档，圆角才露得出来，也不压住条的底边 */
  align-self:center!important;
  height:34px!important;
  min-height:34px!important;
  max-height:34px!important;
  padding-top:0!important;
  padding-bottom:0!important;
}
html body #subnav.subnav button.on.on:active,
html body .subnav button.on.on:active{
  background-color:rgba(110,110,110,.06)!important;
}

/* 选中项的图标：去掉黑棋子底色与描边阴影，跟着字走 */
html body #subnav.subnav button.on.on .ic,
html body #subnav button.on.on .ic,
html body .subnav button.on.on .ic,
html body #subnav button.on.on .appic,
html body .subnav button.on.on .appic{
  background:transparent!important;
  background-image:none!important;
  border:0!important;
  box-shadow:none!important;
  color:var(--v1-primary)!important;
  filter:none!important;
}
html body #subnav button.on.on .ic svg,
html body .subnav button.on.on .ic svg{
  stroke:var(--v1-primary)!important;
  fill:none!important;
}

/* 未选中：青灰，别用纯黑 —— 让选中的那一格自己站出来 */
html body #subnav.subnav button:not(.on),
html body .subnav button:not(.on){
  color:var(--v1-ink-2)!important;
}
html body #subnav.subnav button:not(.on) .ic svg,
html body .subnav button:not(.on) .ic svg{
  stroke:var(--v1-ink-3)!important;
}

/* 筛选胶囊（chip）：同色系，选中用淡底 + 瓷青边，字重提一档。
   cq-f 是页签不是胶囊，2026-11-16 已从这一组摘出，回去用下划线。 */
html body #main .chip.on.on,
html body .chip.on.on{
  background-color:rgba(110,110,110,.13)!important;
  background-image:none!important;
  border:1px solid var(--v1-primary)!important;
  border-radius:2px!important;
  color:var(--v1-primary)!important;
  font-weight:600!important;
  box-shadow:none!important;
}
/* 胶囊里的数字不跟着变瓷青：有些数是有语义的（超期、未登记），
   统一染色会把「红=要处理」的信息抹掉。 */

/* 桌面端顶部页签（.tz-navi）：原来选中是「冷白纸底 + 砖红 2px 上沿线」，
   同屏跟瓷青主色打架。改成透明底 + 瓷青字 + 瓷青2px线，和移动端页签同色系。 */
body.ent .tz-navi.on,
body .tz-navi.on{
  background:transparent!important;
  background-image:none!important;
  color:var(--v1-primary)!important;
  font-weight:600!important;
}
body.ent .tz-navi.on::after,
body .tz-navi.on::after{
  background:var(--v1-primary)!important;
}
body.ent .tz-navi{ color:var(--v1-ink-2)!important; }
body.ent .tz-navi:hover{ color:var(--v1-ink)!important; background:rgba(110,110,110,.06)!important; }

/* 左侧导航（.ent-sub）选中：原来冷白底 + 砖红左边线（#6E6E6E），
   与顶栏页签的瓷青不是一路。统一成瓷青淡底 + 瓷青字 + 瓷青左边线。 */
body.ent .ent-sub.on,
body .ent-sub.on{
  background:rgba(110,110,110,.10)!important;
  color:var(--v1-primary)!important;
  border-left:2px solid var(--v1-primary)!important;
  font-weight:600!important;
  box-shadow:none!important;
}
body.ent .ent-sub.on .si,
body .ent-sub.on .si{ color:var(--v1-primary)!important; opacity:1!important; }
body.ent .ent-sub:hover,
body .ent-sub:hover{ background:rgba(110,110,110,.06)!important; }

/* 底部五大格（#topnav）：选中原来是一颗「黑棋子」——黑底 + 石纹内阴影 + 白字，
   在月白底栏上是一块突兀的黑。改成瓷青线稿 + 瓷青字，不铺底。 */
html body #topnav.topnav button.on,
html body .topnav button.on{
  background:transparent!important;
  background-image:none!important;
  border:0!important;
  box-shadow:none!important;
  color:var(--v1-primary)!important;
}
html body #topnav.topnav button.on .ic,
html body .topnav button.on .ic{
  background:transparent!important;
  background-image:none!important;
  box-shadow:none!important;
  border:0!important;
  color:var(--v1-primary)!important;
}
html body #topnav.topnav button.on .ic svg,
html body .topnav button.on .ic svg{
  fill:none!important; stroke:var(--v1-primary)!important;
}
html body #topnav.topnav button:not(.on){ color:var(--v1-ink-3)!important; }
html body #topnav.topnav button:not(.on) .ic svg{ stroke:var(--v1-ink-3)!important; }

/* ==========================================================================
   动线规整 · 一（2026-11-14）
   --------------------------------------------------------------------------
   问题不是「好不好看」，是「眼睛往哪儿落、手往哪儿伸」。
   ① 有九个页面点进去没有标题：第一行直接是「⋯ 操作（1）」，
      人不知道自己在哪一页。补一行页头，标题取左栏当前项 —— 不臆造文案。
   ② 「⋯ 操作」原来孤悬在右上角，和下面内容没有归属关系。
      收进页头右端，跟标题同一行：左边「我在哪」，右边「我能做什么」。
   ③ 页头下加一道 1px 界栏：标题区和内容区之间要有条缝，
      否则大字和第一块卡片糊在一起，眼睛落不到实处。
   ========================================================================== */
body.ent #main > .pg-hd,
body.ent #main > .pg-hd-x{
  border-bottom:1px solid #E8E8E8!important;
  padding:0 0 12px!important;
  margin:4px 0 16px!important;
  max-width:none!important;
  align-items:center!important;
}
body.ent #main > .pg-hd h2,
body.ent #main > .pg-hd-x h2{
  font-size:20px!important;line-height:1.3!important;
  font-weight:600!important;letter-spacing:-.01em!important;
  color:var(--v1-ink)!important;
}
body.ent #main > .pg-hd p,
body.ent #main > .pg-hd-x p{
  font-size:12px!important;color:var(--v1-ink-3)!important;
  margin-top:5px!important;line-height:1.55!important;
}

/* 补出来的那一行：左标题，右操作 */
body.ent #main > .pg-hd-x{
  display:flex!important;align-items:center!important;justify-content:space-between!important;
  gap:20px!important;min-height:34px!important;
}
body.ent .pg-hd-x .h-l{min-width:0;display:flex;align-items:baseline;gap:10px}
body.ent .pg-hd-x h2{white-space:nowrap}
body.ent .pg-hd-x .pg-act{flex:0 0 auto;display:flex;align-items:center;gap:8px}
body.ent #main > .pg-hd-x .ux-actbar{
  margin:0!important;padding:0!important;background:none!important;border:0!important;
  display:flex!important;justify-content:flex-end!important;width:auto!important;
}
body.ent #main > .pg-hd-x .ux-actbar .dk-trig{
  flex:0 0 auto!important;width:auto!important;min-width:0!important;
  height:32px!important;padding:0 11px!important;
  background:#FFFFFF!important;background-image:none!important;
  border:1px solid #E8E8E8!important;border-radius:2px!important;box-shadow:none!important;
  color:var(--v1-ink-2)!important;font-size:12px!important;font-weight:600!important;
}
body.ent #main > .pg-hd-x .ux-actbar .dk-trig:hover{border-color:#E8E8E8!important}
body.ent .pg-hd-x .ux-acttrig{height:32px!important;background:#FFFFFF!important;background-image:none!important}

/* ③ 修「⋯ 操作」前面那块黑方砖 ---------------------------------------------
   .ic3 原本是三条逐渐变短的横线（菜单记号），靠 background-image 画出来；
   后来一条全局 background-image:none 把图清了，只剩 background:#1A1A1A 的实底，
   于是页面上凭空多出 14×10 的黑块。这里把三条线用渐变补回来。 */
body.ent .dk-trig .ic3{
  width:14px!important;height:9px!important;
  background:transparent!important;
  background-image:
    none;
  background-size:14px 1.6px,9.5px 1.6px,5.5px 1.6px!important;
  background-position:0 0,0 3.7px,0 7.4px!important;
  background-repeat:no-repeat!important;
  opacity:.62!important;
}

/* 标题前那根竖条：原来是 3×15 的玄黑短钉，配 22px 字显得又细又高，
   像笔画掉了一笔。改成 2px 宽、随字高 0.82em 的浅赭记号 —— 只是定位用，
   不参与争夺注意力。 */
body.ent #main > .pg-hd h2::before,
body.ent #main > .pg-hd-x h2::before{
  width:2px!important;height:.82em!important;
  background:#E8E8E8!important;
  margin-right:9px!important;vertical-align:-1px!important;
  border-radius:2px!important;
}
/* 界栏加深半度：#FAFAFA 在月白底上几乎看不见，等于没有 */
body.ent #main > .pg-hd,
body.ent #main > .pg-hd-x{border-bottom-color:#E8E8E8!important}

/* ==========================================================================
   动线规整 · 二（2026-11-14）
   --------------------------------------------------------------------------
   ① 筛选条吸顶：客户总账一页 12387px、合同临期 13215px。
      人滚到第 40 行想换个筛选，得先把页面拉回顶上 —— 这一趟每天要走好几遍。
      把筛选/搜索条钉在页签下面（--v1-top 由脚本按实际栏高写入）。
   ② 横向工具行的主操作一律靠右：合同台账的「新增」原来跟搜索框后面，
      停在页面中线（x=734）；人事的「新增员工」在最左（x=266）；
      计划闭环三个「新建」一个在中线、两个在最左。同一件事三种位置，
      手每次都要重新找。统一推到底端，形成一条纵向的「新建列」。
   ========================================================================== */
#main .roll-chips,
#main .cq-bar,
#main .pi-tools,
#main .dk-bar,
#main .mq-bar,
#main .vf-stats{
  position:sticky!important;
  top:0!important;
  z-index:8!important;
  background:var(--v1-bg)!important;
}
#main .roll-chips,
#main .cq-bar,
#main .pi-tools,
#main .dk-bar{padding-top:6px!important;padding-bottom:6px!important}

/* ==========================================================================
   动线规整 · 三：客户总账从「卡片瀑布」改回「可扫描的表」（2026-11-14）
   --------------------------------------------------------------------------
   874 个客户，原来每个占 80px 三行：名称一行、片区/业务员一行、报价合同欠款一行。
   一屏看到 5 个，滚 12000px 才能到底；而且没有列，眼睛没法「竖着比」——
   看不了「谁欠得最多」，只能一个一个读。
   宽屏改成三列 grid：左客户、中三格金额（固定槽位，缺的留空）、右状态。
   行高压到 56，一屏 11 个；每 6 个多看一眼，一年省下来的时间很实在。
   ========================================================================== */
#main .roll-row{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 336px 108px!important;
  align-items:center!important;column-gap:18px!important;
  background:#FFFFFF!important;border:0!important;
  border-bottom:1px solid #E8E8E8!important;
  padding:9px 8px!important;
}
#main .roll-row:last-of-type{border-bottom:1px solid #E8E8E8!important}
#main .roll-row:hover{background:#FAFAFA!important}
#main .roll-nm{min-width:0}
#main .roll-nm b{font-size:14px!important;line-height:1.35!important}
#main .roll-nm span{margin-top:2px!important}
#main .roll-num{
  display:grid!important;grid-template-columns:repeat(3,104px)!important;
  gap:8px!important;margin:0!important;justify-items:end!important;text-align:right!important;
}
#main .roll-num>div{flex:none!important;white-space:nowrap!important}
#main .roll-num .nil{opacity:0}
#main .roll-tg{margin:0!important;justify-content:flex-end!important}

/* 表头：没有列名的表，等于让人凭记忆认列 */
#main .roll-hd{
  display:grid;grid-template-columns:minmax(0,1fr) 336px 108px;
  column-gap:18px;align-items:center;
  padding:0 8px 7px;font-size:12px;color:var(--v1-ink-3,#9E9E9E);
  letter-spacing:.04em;border-bottom:1px solid #E8E8E8;margin-bottom:2px;
}
#main .roll-hd .hd-num{
  display:grid;grid-template-columns:repeat(3,104px);gap:8px;
  justify-items:end;text-align:right;
}
#main .roll-hd .hd-tg{text-align:right}

/* 下拉筛选别撑成横幅：合同台账的「全部年份」原来一根占满 1120px，
   一个下拉框抢走了整行的质量，还让人以为那是搜索框。收成内容宽。 */
#main .dk-bar .dk-trig,
#main .dk-bar.dk-trig{
  width:auto!important;flex:0 0 auto!important;max-width:300px!important;
}
#main .dk-bar{justify-content:flex-start!important}

/* ==========================================================================
   动线规整 · 四：同一页，两种「身高」（2026-11-14）
   --------------------------------------------------------------------------
   桌面那一套（三列 grid、行高 56）搬到手机上会崩：390px 宽塞不下
   1fr + 336 + 108，行被压成竖条，一页拉成 32000px。
   手机端必须回到两行卡片：名称一行、金额一行、状态一行 —— 拇指扫，不横比。
   ========================================================================== */
@media (max-width:899px){
  #main .roll-row{
    display:block!important;
    padding:11px 4px!important;
    border-bottom:1px solid #E8E8E8!important;
  }
  #main .roll-num{
    display:flex!important;gap:18px!important;
    margin-top:5px!important;justify-items:start!important;text-align:left!important;
  }
  #main .roll-num .nil{display:none!important}
  #main .roll-tg{margin-top:7px!important;justify-content:flex-start!important}
  #main .roll-hd{display:none!important}

  /* 手指比鼠标粗一圈：可点的东西给到 40，别让人在摇晃的车里点三下点不中 */
  #main .btn.sm,#main .chip,#main .hr-mini,#main .td-btn{min-height:40px!important}
  #main .chip{display:inline-flex!important;align-items:center!important}
}

/* ==========================================================================
   动线规整 · 五：首页第一眼该看什么（2026-11-14）
   --------------------------------------------------------------------------
   原来的顺序是：页头 → 维修报价（一张大卡）→ 明天没排班 → 早上好 → 待办四条。
   于是任何人打开首页，先看到的是「开单入口」，第四眼才看到「今天有 9 件要办，3 件急」。
   开单是销售的动作，不是所有人在早上九点要干的第一件事；
   「今天几件、哪几件急」才是。顺序倒过来，眼睛第一落点才对。
   ========================================================================== */
#main > .td-head{
  margin:0 0 10px!important;
  padding:12px 2px 12px!important;
}
#main > .td-head .td-hi{font-size:14px!important;font-weight:700!important;letter-spacing:0!important}
#main > .td-head .td-sum{font-size:14px!important}
#main > .td-head .td-sum b{font-size:20px!important;font-weight:700!important}
/* 提要之后才是开单与排班提醒，给它们一条轻分隔，别跟待办清单黏成一块 */
#main > .qz-quick{margin-top:14px!important}

/* 待办的计数格：「超90天」这种不是数字的计数，原来也按 24px 塞进 48px，
   三个字挤成两行还互相压。数字仍用大号，文字型降一档到 15px 单行。 */
#main .td-n.txt{
  width:auto!important;max-width:64px!important;
  font-size:14px!important;font-weight:700!important;letter-spacing:0!important;
  line-height:1.25!important;white-space:normal!important;
}
/* 提要右端那半句「今天有 9 件要办，3 件急」原来被 margin-left:auto 推到
   离左边 600px 的天边。它是这句话的重点，得跟着「早上好」走。 */
#main > .td-head .td-sum{margin-left:16px!important}
/* 副标题退到次级灰，标题才立得住 */
#main .td-d{color:#6E6E6E!important}

/* 现场那只手：戴着手套、站着、屏幕反光 ------------------------------------
   保养计划每行右侧的「补录」原来只有 44×19 —— 19px 高，
   指尖落在上面大概率按到上一行或下一行。技师一天要按几十次。
   手机上给到 44×40，行高随之松开，一屏少一条，但按得准比看得多重要。
   旁边那个「⋯」同样放大，别让人去戳 30×16 的小点。 */
@media (max-width:899px){
  body.ent #main .mq-do{
    height:40px!important;min-height:40px!important;min-width:60px!important;
    padding:0 12px!important;font-size:14px!important;border-radius:2px!important;
    background:#FFFFFF!important;border:1px solid #E8E8E8!important;
  }
  body.ent #main .mq-more{
    height:40px!important;min-height:40px!important;width:34px!important;font-size:20px!important;
  }
  body.ent #main .pb-skip{min-height:36px!important}
  body.ent #main .cq-f{min-height:36px!important}
}

/* ==========================================================================
   现场上报（换件 / 隐患 / 求助）  2026-11-14
   --------------------------------------------------------------------------
   这一页的主要使用者是站在井道口、戴着手套、屏幕反光的人。
   所以：一列到底、不做两栏、不做下拉框、按钮一律 ≥44 高。
   从上往下就是手指的顺序：我在哪 → 拍三张 → 这是什么 → 交。
   ========================================================================== */
.fd-wrap{
  max-width:560px;margin:0 auto;padding:0 0 96px;
}
body.plain .fd-wrap,body.ent .fd-wrap{display:block}

/* ① 我在哪 */
.fd-geo{
  display:flex;align-items:center;gap:8px;
  min-height:44px;padding:10px 12px;margin:0 0 10px;
  background:#FAFAFA;border:1px solid #E8E8E8;border-radius:2px;
  font-size:14px;color:var(--v1-ink-2,#1A1A1A);
}
.fd-geo.ok{background:#FAFAFA;border-color:#E8E8E8}
.fd-geo b{font-size:14px;font-weight:700;letter-spacing:0}
.fd-geo .fd-d{font-size:12px;color:#9E9E9E}
.fd-geo .fd-dot{
  width:8px;height:8px;border-radius:50%;background:#E8E8E8;flex:0 0 auto;
}
.fd-geo.ok .fd-dot{background:#6E6E6E}
.fd-geo .fd-swap{margin-left:auto;font-size:12px;color:#6E6E6E;text-decoration:underline;cursor:pointer}

/* ② 三张照片 */
.fd-shots{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:0 0 12px}
.fd-shot{
  position:relative;height:104px;border:1px solid #E8E8E8;border-radius:2px;
  background:#FAFAFA;color:#9E9E9E;cursor:pointer;padding:0;overflow:hidden;
  display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;
}
.fd-shot .fd-plus{font-size:20px;line-height:1;color:#E8E8E8}
.fd-shot i{font-style:normal;font-size:12px}
.fd-shot.has{border-style:solid;border-color:#E8E8E8;background:#FFFFFF}
.fd-shot img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.fd-shot.has i{
  position:absolute;left:0;right:0;bottom:0;padding:4px 0;
  background:rgba(18,18,18,.62);color:#FFFFFF;font-size:11px;
}

/* 顶上那条：质量监督 · 拍问题。原来是「报修上报」页里一张通栏卡，
   占了首屏三分之一；并进来之后压成一行 —— 它是另一件事的入口，
   不该比「报修」本身还显眼。 */
.fd-qa{display:flex;align-items:center;gap:8px;margin:0 0 10px;padding:10px 12px;
  background:#FFFFFF;border:1px solid #E8E8E8;border-radius:2px;
  font-size:12px;color:#6E6E6E;cursor:pointer;text-decoration:none}
.fd-qa b{font-size:13px;font-weight:500;color:#1C1B19}
.fd-qa i{font-style:normal;color:#8E8E93}
.fd-qa em{margin-left:auto;font-style:normal;color:#8E8E93;white-space:nowrap}
.fd-qa:active{background:#FAFAFA}

/* ③ 这是什么 */
.fd-kinds{display:grid;grid-template-columns:repeat(5,1fr);gap:0;margin:0 0 12px;
  border:1px solid #E8E8E8;border-radius:2px;overflow:hidden;background:#FFFFFF}
.fd-kind{
  height:44px;border:0;background:#FFFFFF;font-size:14px;font-weight:600;color:#6E6E6E;cursor:pointer;
}
.fd-kind+.fd-kind{border-left:1px solid #E8E8E8}
.fd-kind.on{background:#6E6E6E;color:#FFFFFF}

/* ④ 表单 */
.fd-body{background:#FFFFFF;border:1px solid #E8E8E8;border-radius:2px;padding:4px 12px 12px}
.fd-row{padding:10px 0;border-bottom:1px solid #E8E8E8}
.fd-row:last-child{border-bottom:0}
.fd-row label{display:block;font-size:12px;color:#9E9E9E;margin-bottom:6px}
.fd-in{
  width:100%;height:44px;border:1px solid #E8E8E8;border-radius:2px;
  padding:0 12px;font-size:14px;color:#1A1A1A;background:#FAFAFA;outline:none;
}
.fd-in:focus{border-color:#6E6E6E;background:#FFFFFF}
.fd-ta{height:auto;padding:10px 12px;line-height:1.55;resize:vertical;font-family:inherit}
.fd-in.num{font-variant-numeric:tabular-nums}
.fd-row2{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:10px 0;border-bottom:1px solid #E8E8E8}
.fd-cell label{display:block;font-size:12px;color:#9E9E9E;margin-bottom:6px}
.fd-step{display:flex;align-items:center;height:44px;border:1px solid #E8E8E8;border-radius:2px;background:#FAFAFA}
.fd-step button{width:44px;height:42px;border:0;background:none;font-size:20px;color:#1A1A1A;cursor:pointer}
.fd-step b{flex:1;text-align:center;font-size:20px;font-variant-numeric:tabular-nums}

/* 候选配件：现场没空打字，点一下就对 */
.fd-sug{display:flex;flex-wrap:wrap;gap:6px;padding:0 0 10px}
.fd-chip{
  height:38px;padding:0 12px;border:1px solid #E8E8E8;border-radius:2px;background:#FFFFFF;
  font-size:14px;color:#1A1A1A;cursor:pointer;display:inline-flex;align-items:center;gap:6px;
}
.fd-chip i{font-style:normal;font-size:11px;color:#9E9E9E}
.fd-chip:active{background:#FAFAFA}
.fd-empty{font-size:12px;color:#9E9E9E}

/* 钱：算出来的，不用人按计算器 */
.fd-money{padding:10px 0;font-size:12px;color:#9E9E9E;border-bottom:1px solid #E8E8E8}
.fd-money b{font-size:20px;color:#1A1A1A;font-variant-numeric:tabular-nums}
.fd-money.free{color:#6E6E6E}
.fd-money.free b{color:#6E6E6E}
.fd-money.over{color:#1A1A1A}
.fd-money.over b{color:#1A1A1A}

/* 分段按钮 */
.fd-seg{display:flex;gap:0;border:1px solid #E8E8E8;border-radius:2px;overflow:hidden}
.fd-seg.wrap{display:grid;grid-template-columns:repeat(3,1fr)}
.fd-seg button{
  flex:1;height:40px;border:0;background:#FFFFFF;font-size:14px;color:#6E6E6E;cursor:pointer;
  border-left:1px solid #E8E8E8;
}
.fd-seg button:first-child{border-left:0}
.fd-seg button.on{background:#6E6E6E;color:#FFFFFF}

/* 标讯雷达：外部入口。白底细线一条，不跟「维修报价」的黑卡抢位置 ——
   那是每天出门前要点的，这是顺手看一眼的。右侧「外部 ›」写清楚：
   点下去会离开本系统，别让人以为页面跳错了。 */
.qz-bid{display:flex;align-items:center;gap:9px;margin:0 0 10px;padding:12px 14px;
  background:#FFFFFF;border:1px solid #E8E8E8;border-radius:2px;cursor:pointer;
  text-decoration:none;-webkit-tap-highlight-color:transparent}
.qz-bid:active{background:#FAFAFA}
.qz-bid .qb-t{font-size:14px;font-weight:500;color:#1C1B19;letter-spacing:.02em;flex:none}
.qz-bid .qb-s{flex:1;min-width:0;font-size:11px;color:#8E8E93;
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.qz-bid .qb-r{flex:none;font-size:11px;color:#8E8E93;white-space:nowrap}

/* 说一句：不想填表的人，张嘴就行。三条路（拍、说、打）最后汇到同一张表单 */
.fd-say{text-align:center;font-size:13px;color:#6E6E6E;padding:12px 0 2px;cursor:pointer}
.fd-say b{font-weight:500;color:#1C1B19}
.fd-say:active{color:#1C1B19}

/* ⑤ 提交 */
.fd-foot{padding:14px 0 0}
.fd-foot .btn{width:100%;height:48px;font-size:20px}
.fd-foot-h{text-align:center;font-size:11px;color:#9E9E9E;margin-top:8px}

/* 项目选择 */
.fd-pick{margin:0 0 10px;padding:10px;border:1px solid #E8E8E8;border-radius:2px;background:#FFFFFF}
.fd-pk-h{font-size:11px;color:#9E9E9E;margin:8px 2px 6px;letter-spacing:.04em}
.fd-pk{
  display:flex;align-items:center;gap:8px;width:100%;height:44px;padding:0 10px;
  border:0;border-bottom:1px solid #E8E8E8;background:none;text-align:left;
  font-size:14px;color:#1A1A1A;cursor:pointer;
}
.fd-pk i{font-style:normal;margin-left:auto;font-size:11px;color:#9E9E9E}
.fd-pk-list{max-height:280px;overflow:auto}

/* 完成页 */
.fd-done{max-width:520px;margin:24px auto;text-align:center}
.fd-ok{
  width:56px;height:56px;line-height:56px;margin:0 auto 12px;border-radius:50%;
  background:#6E6E6E;color:#FFFFFF;font-size:20px;
}
.fd-done h2{font-size:20px;margin:0 0 4px;color:#1A1A1A}
.fd-no{font-size:12px;color:#9E9E9E;margin:0 0 14px;font-variant-numeric:tabular-nums}
.fd-dph{display:flex;gap:8px;justify-content:center;margin-bottom:14px}
.fd-dph img{width:104px;height:104px;object-fit:cover;border-radius:2px;border:1px solid #E8E8E8}
.fd-dbtn{display:flex;gap:10px;justify-content:center;margin-top:16px}
.fd-dbtn .btn{min-width:132px;height:44px}
.fd-note{font-size:12px;color:#6E6E6E;margin:6px 0 0}
.fd-flags{display:flex;flex-wrap:wrap;gap:6px;justify-content:center;margin:8px 0}
.fd-flags span{
  font-size:11px;color:#1A1A1A;background:#fbf1f0;border:1px solid #E8E8E8;
  padding:2px 8px;border-radius:2px;
}

/* 悬浮入口 */
.fd-fab{
  position:fixed;right:18px;bottom:calc(92px + env(safe-area-inset-bottom,0px));
  width:54px;height:54px;border-radius:50%;border:0;cursor:pointer;z-index:60;
  background:#6E6E6E;color:#FFFFFF;box-shadow:none;
  display:flex;align-items:center;justify-content:center;
}
.fd-fab svg{width:24px;height:24px}
/* 首页底部那条黑卡（维修报价）右边有个 ＋，正好长在悬浮相机下面：
   手指点 ＋ 点到的是相机，等于这条快捷入口废了。往上挪一格只是把遮挡
   转给上一张卡片（「打开 ▾」被压住），治不了根。
   这一页已经有三个「现场上报」入口（顶部页签、底部管控、黑卡本身），
   不差这一个浮钮 —— 有黑卡时直接收起，页面反而干净。 */
body:has(.qz-quick) .fd-fab{display:none}

/* 页面自己右下角也有一个「＋」（新建客户 / 新建报价 / 新增备件）时，相机要让开。
   两个圆钮几乎同心（页面那个 right:16 bottom:80，相机 right:18 bottom:92，都 54 宽），
   相机 z-index 60 在上面，页面那个「＋」就永远点不到了 ——
   点「新增备件」跳到「现场上报」，44 页里三页如此，单看哪一页都像没问题。

   判据不能用 CSS 的 :has(.fab)：那个 .fab 节点是常驻的，只是 display:none，
   :has 恒成立 → 相机全站消失（试过，44 页全没了）。
   必须按「可见」判，写在 field.js 的 syncFab() 里，body.has-own-fab 由它加。 */
body.has-own-fab .fd-fab{display:none}
.fd-fab:active{transform:scale(.94)}
.fd-fab-n{
  position:absolute;top:-4px;right:-4px;min-width:20px;height:20px;padding:0 6px;
  border-radius:2px;background:#1A1A1A;color:#FFFFFF;font-size:11px;line-height:20px;
  display:none;align-items:center;justify-content:center;font-weight:700;
}
@media (min-width:900px){
  .fd-fab{bottom:28px;right:28px;width:56px;height:56px}
  .fd-wrap{padding-bottom:40px}
}

/* ==========================================================================
   上报台账
   ========================================================================== */
.fd-lsum{display:grid;grid-template-columns:repeat(4,1fr);gap:0;
  background:#FFFFFF;border:1px solid #E8E8E8;border-radius:2px;margin-bottom:12px;overflow:hidden}
.fd-k2{padding:12px 10px;text-align:center;border-left:1px solid #E8E8E8}
.fd-k2:first-child{border-left:0}
.fd-k2 b{display:block;font-size:20px;font-weight:700;color:#1A1A1A;font-variant-numeric:tabular-nums}
.fd-k2 b.r{color:#1A1A1A}
.fd-k2 i{font-style:normal;font-size:11px;color:#9E9E9E}
.fd-lbar{display:flex;align-items:center;gap:10px;margin-bottom:10px;flex-wrap:wrap}
.fd-ltabs{display:flex;gap:0;border:1px solid #E8E8E8;border-radius:2px;overflow:hidden;background:#FFFFFF}
.fd-lt{height:34px;padding:0 14px;border:0;border-left:1px solid #E8E8E8;background:#FFFFFF;
  font-size:14px;color:#6E6E6E;cursor:pointer}
.fd-lt:first-child{border-left:0}
.fd-lt.on{background:#6E6E6E;color:#FFFFFF;font-weight:600}
.fd-lq{flex:1;min-width:160px;height:36px;font-size:14px}
.fd-lm{width:150px;height:36px;font-size:14px}

.fd-list{background:#FFFFFF;border:1px solid #E8E8E8;border-radius:2px;overflow:hidden}
.fd-lrow{display:grid;grid-template-columns:56px minmax(0,1fr) 96px;gap:12px;align-items:center;
  padding:10px 12px;border-bottom:1px solid #E8E8E8;cursor:pointer}
.fd-lrow:last-child{border-bottom:0}
.fd-lrow:hover{background:#FAFAFA}
.fd-lthumb{width:56px;height:56px;border-radius:2px;background:#E8E8E8;overflow:hidden}
.fd-lthumb img{width:100%;height:100%;object-fit:cover}
.fd-l1{display:flex;align-items:center;gap:6px;min-width:0}
.fd-l1 b{font-size:14px;color:#1A1A1A;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.fd-k{font-size:11px;padding:1px 6px;border-radius:2px;flex:0 0 auto}
.fd-k.part{background:#E8E8E8;color:#6E6E6E}
.fd-k.risk{background:#fbf1f0;color:#1A1A1A}
.fd-k.help{background:#FAFAFA;color:#6E6E6E}
.fd-warn{font-size:11px;color:#1A1A1A;border:1px solid #E8E8E8;border-radius:2px;padding:0 4px}
.fd-l2{font-size:14px;color:#1A1A1A;margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.fd-l3{font-size:11px;color:#9E9E9E;margin-top:3px}
.fd-lright{text-align:right}
.fd-lmoney{font-size:14px;font-weight:700;color:#1A1A1A;font-variant-numeric:tabular-nums}
.fd-st{display:inline-block;font-size:11px;padding:1px 7px;border-radius:2px;margin-top:4px}
.fd-st.wait{background:#fbf1f0;color:#1A1A1A}
.fd-st.doing{background:#FAFAFA;color:#6E6E6E}
.fd-st.done{background:#E8E8E8;color:#6E6E6E}
.fd-st.reg{background:#E8E8E8;color:#6E6E6E}
.fd-lg-loading{padding:40px;text-align:center;color:#9E9E9E;font-size:14px}

/* 详情 */
.fd-dt{padding:2px 0 4px}
.fd-dt-h{display:flex;align-items:center;gap:8px;margin-bottom:4px}
.fd-dt-h b{font-size:20px;color:#1A1A1A}
.fd-dt-m{font-size:12px;color:#9E9E9E;font-variant-numeric:tabular-nums}
.fd-dt-desc{margin:10px 0;font-size:14px;color:#1A1A1A;line-height:1.6}
.fd-dt-kv{display:grid;grid-template-columns:auto 1fr;gap:6px 14px;margin:10px 0;
  padding:10px 12px;background:#FAFAFA;border-radius:2px;font-size:14px}
.fd-dt-kv span{color:#9E9E9E}
.fd-dt-kv b{color:#1A1A1A;font-weight:600}
.fd-dt-ph{display:flex;gap:8px;flex-wrap:wrap;margin:10px 0}
.fd-dt-ph img{width:132px;height:132px;object-fit:cover;border-radius:2px;border:1px solid #E8E8E8;cursor:zoom-in}
.fd-dt-geo{font-size:11px;color:#9E9E9E;margin:6px 0}
.fd-dt-btns{display:flex;gap:8px;justify-content:flex-end;margin-top:12px}

@media (max-width:560px){
  .fd-lrow{grid-template-columns:48px minmax(0,1fr) 78px;gap:9px;padding:9px 10px}
  .fd-lthumb{width:48px;height:48px}
  .fd-lsum{grid-template-columns:repeat(2,1fr)}
  .fd-k2:nth-child(3){border-left:0;border-top:1px solid #E8E8E8}
  .fd-k2:nth-child(4){border-top:1px solid #E8E8E8}
  .fd-shot{height:88px}
  .fd-lm{width:100%}
}

/* 现场页二次修正（2026-11-14）：
   ① 候选 14 个摊开会把「数量/单价/提交」整个推到屏幕外 —— 现场没空挑，
      默认只给 3 个，其余收在「还有 N 个」里。
   ② 提交必须永远在拇指底下，不能让人先滚到底。 */
.fd-chip.fd-more{border-style:dashed;color:#9E9E9E}
.fd-foot{
  position:sticky;bottom:0;z-index:9;
  padding:10px 0 calc(10px + env(safe-area-inset-bottom,0px));
  background:linear-gradient(to bottom,rgba(245,245,240,0) 0%,#FAFAFA 22%);
  margin-top:-4px;
}
.fd-foot .btn{box-shadow:none}
/* 桌面端把这条解掉：sticky 是给拇指用的，屏幕一宽就只剩副作用 ——
   提交条吸附在视口底部，把表单最后一行压住。 */
@media (min-width: 761px){
  .fd-foot{position:static;background:none;margin-top:8px;padding-bottom:6px}
}
.fd-shots{margin-top:2px}
.fd-shot{background:#FAFAFA;border-color:#E8E8E8}
.fd-kinds{margin-top:14px}
.fd-body{padding:2px 12px 8px}
.fd-row{padding:9px 0}

/* 现场页三次修正：
   ① 三个照片格原来只有一层几乎看不见的虚线，看起来像三段文字，不像能点的框。
      改成白底 + 明确的赭色虚线，一眼就是「这里有三个位置要拍」。
   ② 进入这一页时右下角的悬浮相机要收起来 —— 页面里已经有拍照区，
      两个相机同时出现，人会犹豫点哪个。
   ③ 数量步进的 +/− 原本吃了全局黑底按钮，太重；这里降回纸面。 */
body:has(#main .fd-wrap) .fd-fab{display:none}
html body #main .fd-wrap .fd-shot{
  background:#FFFFFF!important;border:1px solid #E8E8E8!important;
}
html body #main .fd-wrap .fd-shot .fd-plus{color:#9E9E9E!important}
html body #main .fd-wrap .fd-shot i{color:#6E6E6E!important}
html body #main .fd-wrap .fd-shot.has{border-style:solid!important;border-color:#E8E8E8!important}
html body #main .fd-wrap .fd-step button{
  background:#FAFAFA!important;color:#1A1A1A!important;border-radius:2px!important;
  font-weight:600!important;border:0!important;
}
.fd-step button:first-child{margin-left:3px}
.fd-step button:last-child{margin-right:3px}
.fd-step b{background:#FFFFFF}

/* 台账行：异常标记不该抢项目名的宽度 —— 874 个客户里长名字很多，
   挤一下就成了「艾沃…」。标记挪到第三行，做成灰色小字。 */
html body #main .fd-fg{
  font-style:normal;margin-left:8px;color:#1A1A1A;font-size:11px;
  border:1px solid #E8E8E8;border-radius:2px;padding:0 4px;
}
html body #main .fd-l1 b{max-width:100%}
html body #main .fd-lrow{padding:8px 12px}
html body #main .fd-lthumb{width:52px;height:52px}

/* 桌面上的现场页：表单被拉开到 1200px，单价框有 400 宽，
   眼睛要从「数量」横跨半个屏幕去找「单价」——这不是给人填的。
   现场页本质是一张单据，单据有单据的宽度：640 封顶，居中。 */
html body #main .fd-wrap{
  max-width:640px!important;margin:0 auto!important;
}
html body #main .fd-wrap .fd-foot .btn{
  width:100%!important;height:48px!important;
}
html body #main .fd-wrap .fd-in,
html body #main .fd-wrap .fd-step{height:44px!important}
html body #main .fd-wrap .fd-shot{height:112px!important}
@media (max-width:560px){
  html body #main .fd-wrap .fd-shot{height:88px!important}
}

/* 按人汇总：部门管理拿这一屏去开会、去考核。
   一行一个人，五列数字固定宽度，竖着比 —— 不需要导出 Excel 再数一遍。 */
html body #main .fd-board{
  background:#FFFFFF;border:1px solid #E8E8E8;border-radius:2px;overflow:hidden;
}
html body #main .fd-brow{
  display:grid;grid-template-columns:minmax(120px,1.4fr) repeat(5,minmax(64px,1fr));
  gap:8px;align-items:center;padding:11px 14px;border-bottom:1px solid #E8E8E8;
}
html body #main .fd-brow:last-child{border-bottom:0}
html body #main .fd-brow:hover{background:#FAFAFA}
html body #main .fd-bname b{display:block;font-size:14px;color:#1A1A1A}
html body #main .fd-bname i{font-style:normal;font-size:11px;color:#9E9E9E}
html body #main .fd-bnum{text-align:right}
html body #main .fd-bnum b{display:block;font-size:14px;color:#1A1A1A;font-variant-numeric:tabular-nums}
html body #main .fd-bnum b.r{color:#1A1A1A}
html body #main .fd-bnum i{font-style:normal;font-size:11px;color:#9E9E9E}
@media (max-width:560px){
  html body #main .fd-brow{grid-template-columns:minmax(90px,1.3fr) repeat(5,1fr);gap:4px;padding:10px 8px}
  html body #main .fd-bnum b{font-size:14px}
  html body #main .fd-bnum i{font-size:11px}
}

/* 按人表要有表头：没有表头，每格都得重复写一遍「换件/金额/隐患」，
   三行之后眼睛就乱了。表头一行，下面只留数字，才能竖着比。 */
html body #main .fd-bhead{
  display:grid;grid-template-columns:minmax(120px,1.2fr) repeat(6,minmax(64px,1fr));
  gap:8px;padding:8px 14px;background:#FAFAFA;border-bottom:1px solid #E8E8E8;
  font-size:11px;color:#9E9E9E;letter-spacing:.04em;
}
html body #main .fd-bhead span:not(:first-child){text-align:right}
html body #main .fd-brow{grid-template-columns:minmax(120px,1.2fr) repeat(6,minmax(64px,1fr))}
html body #main .fd-bnum{font-size:14px;color:#1A1A1A;font-variant-numeric:tabular-nums}
html body #main .fd-bnum.r{color:#1A1A1A;font-weight:700}
@media (max-width:560px){
  html body #main .fd-bhead{grid-template-columns:minmax(80px,1.1fr) repeat(6,1fr);gap:4px;padding:8px}
  html body #main .fd-brow{grid-template-columns:minmax(80px,1.1fr) repeat(6,1fr)}
  html body #main .fd-bnum{font-size:12px}
}

/* 管理侧提醒：一条细带，不占地方，点一下就走。
   没有待处理时它根本不出现 —— 天天挂着的红点等于没有红点。 */
html body #main > .fd-alert{
  display:flex;align-items:center;gap:6px;
  margin:0 0 12px;padding:9px 12px;cursor:pointer;
  background:#fbf1f0;border:1px solid #E8E8E8;border-radius:2px;
  font-size:14px;color:#1A1A1A;
}
html body #main > .fd-alert b{font-size:14px;color:#1A1A1A;font-variant-numeric:tabular-nums}
html body #main > .fd-alert span{margin-left:auto;font-size:12px;color:#1A1A1A}
html body #main > .fd-alert:hover{background:#FAFAFA}

/* 可改名的项目名：平时只是名字，鼠标放上去出现一层虚线下划线 ——
   提示「这里能改」，但不加按钮、不加图标，不打扰正常阅读。 */
html body #main .pj-edit{
  cursor:text;border-bottom:1px dashed transparent;transition:border-color .15s;
}
html body #main .pj-edit:hover{
  border-bottom-color:#E8E8E8;
}
html body #main .pj-edit:hover::after{
  content:"改";font-size:11px;color:#9E9E9E;margin-left:4px;vertical-align:super;
}
@media (hover:none){
  html body #main .pj-edit{border-bottom-color:#E8E8E8}
}

/* 改名弹窗 */
.pf-h{font-size:12px;color:#9E9E9E;margin-bottom:4px}
.pf-cur{font-size:20px;font-weight:700;color:#1A1A1A;margin-bottom:14px;line-height:1.35}
.pf-lb{font-size:12px;color:#9E9E9E;margin:12px 0 6px}
.pf-in{
  width:100%;height:46px;border:1px solid #E8E8E8;border-radius:2px;padding:0 12px;
  font-size:20px;color:#1A1A1A;background:#FAFAFA;outline:none;
}
.pf-in:focus{border-color:#6E6E6E;background:#FFFFFF}
.pf-hit{font-size:12px;color:#6E6E6E;margin-top:10px;line-height:1.6;
  background:#FAFAFA;border-left:1px solid #E8E8E8;padding:8px 10px;border-radius:2px}
.pf-btns{display:flex;gap:10px;margin-top:18px}
.pf-btns .btn{flex:1;height:44px}
.pf-note{font-size:11px;color:#9E9E9E;margin-top:10px;text-align:center}

/* ============ 方案 → 合同：一张卡，按一下 ============
   这张卡只在 mbg/mbox 里出现，不在 #main 里，所以不用加 #main 前缀。
   全站按钮底色被 app.css 的 !important 压着，这里只能靠更高的特异性 + !important 反压。 */
html body .ct-mk{padding:20px 18px calc(16px + env(safe-area-inset-bottom))}
html body .ct-mk-k{font-size:12px;letter-spacing:.1em;color:#9E9E9E}
html body .ct-mk-c{font-size:20px;font-weight:600;color:#1A1A1A;margin:5px 0 16px;line-height:1.35}
html body .ct-mk-ok{width:36px;height:36px;border-radius:50%;background:#1A1A1A;color:#FFFFFF;
  display:flex;align-items:center;justify-content:center;font-size:20px;margin-bottom:14px}
html body .ct-mk-g{display:grid;grid-template-columns:1fr 1fr 1fr;gap:1px;background:#E8E8E8;
  border:1px solid #E8E8E8;margin-bottom:16px}
html body .ct-mk-g>div{background:#FAFAFA;padding:12px 10px;text-align:center}
html body .ct-mk-g b{display:block;font-size:20px;font-weight:600;color:#1A1A1A;line-height:1.25}
html body .ct-mk-g span{display:block;font-size:11px;color:#9E9E9E;margin-top:3px}
html body .ct-mk-row{display:flex;align-items:center;justify-content:space-between;gap:10px;
  padding:9px 0;border-top:1px solid #E8E8E8}
html body .ct-mk-row label{font-size:14px;color:#6E6E6E}
html body .ct-mk-row input{width:150px;height:36px;font-size:14px;text-align:right;
  border:0!important;border-bottom:1px solid #E8E8E8!important;border-radius:2px!important;
  background:transparent!important;box-shadow:none!important;padding:0!important}
html body .ct-mk-tip{font-size:12px;color:#6E6E6E;line-height:1.65;margin:10px 0 16px}
html body .ct-mk-warn{font-size:12px;color:#6E6E6E;line-height:1.6;background:#FAFAFA;
  border-left:1px solid #E8E8E8;padding:8px 10px;margin:0 0 14px}
html body .ct-mk-b{display:block;width:100%;height:46px;line-height:46px;text-align:center;
  background:#1A1A1A!important;color:#FFFFFF!important;border:0!important;border-radius:2px!important;
  font-size:14px!important;font-weight:500!important;letter-spacing:.02em}
html body .ct-mk-b:disabled{opacity:.55}
html body .ct-mk-b2{display:block;width:100%;height:42px;line-height:42px;text-align:center;
  background:transparent!important;color:#6E6E6E!important;border:0!important;
  font-size:14px!important;margin-top:4px}
@media (max-width:899px){
  html body .ct-mk-c{font-size:20px}
  html body .ct-mk-b{height:50px;line-height:50px;font-size:20px!important}
}

/* ============ 银行对账 ============
   这一页只干一件事：把流水和应收对上。所以页面上没有筛选、没有统计表，
   只有「认出来的 / 要你看的 / 不认识的」三摞，和底下一颗按钮。 */
html body #main .bk-wrap{max-width:760px}
html body #main .bk-drop{display:flex;flex-direction:column;align-items:center;justify-content:center;
  gap:6px;padding:44px 20px;border:1px solid #E8E8E8;background:#FAFAFA;border-radius:2px;cursor:pointer}
html body #main .bk-drop-i{width:40px;height:40px;line-height:38px;text-align:center;border-radius:50%;
  border:1px solid #E8E8E8;color:#9E9E9E;font-size:20px;margin-bottom:4px}
html body #main .bk-drop b{font-size:20px;font-weight:600;color:#1A1A1A}
html body #main .bk-drop span{font-size:14px;color:#6E6E6E}
html body #main .bk-drop em{font-size:12px;color:#9E9E9E;font-style:normal;margin-top:8px}
html body #main .bk-or{text-align:center;font-size:12px;color:#9E9E9E;margin:14px 0}
html body #main .bk-lk{background:none!important;border:0!important;color:#6E6E6E!important;
  font-size:12px!important;text-decoration:underline;padding:4px 2px!important;height:auto!important;
  min-height:0!important;box-shadow:none!important}
html body #main .bk-hint{font-size:11px;color:#9E9E9E;line-height:1.7;margin-top:14px;text-align:center}
html body #main .bk-err{font-size:12px;color:#6E6E6E;background:#fbf1f0;border-left:1px solid #E8E8E8;
  padding:8px 10px;margin-top:12px}

html body #main .bk-sum{display:grid;grid-template-columns:repeat(4,1fr);gap:1px;background:#E8E8E8;
  border:1px solid #E8E8E8;margin-bottom:12px}
html body #main .bk-sum>div{background:#FAFAFA;padding:10px 8px;text-align:center}
html body #main .bk-sum b{display:block;font-size:14px;font-weight:600;color:#1A1A1A;line-height:1.3}
html body #main .bk-sum span{display:block;font-size:11px;color:#9E9E9E;margin-top:2px}
html body #main .bk-tip{font-size:11px;color:#9E9E9E;line-height:1.7;margin:0 0 14px}

html body #main .bk-g{margin-bottom:16px}
html body #main .bk-g-t{font-size:12px;font-weight:600;color:#1A1A1A;letter-spacing:.04em;
  padding-bottom:6px;border-bottom:1px solid #E8E8E8;display:flex;align-items:baseline;gap:6px}
html body #main .bk-g-t em{font-style:normal;font-weight:400;color:#9E9E9E;font-size:11px}
html body #main .bk-g-n{font-size:11px;color:#9E9E9E;margin:5px 0 2px;line-height:1.6}

html body #main .bk-row{display:grid;grid-template-columns:20px 1fr auto auto;gap:10px;align-items:center;
  padding:11px 8px 11px 2px;border-bottom:1px solid #E8E8E8;cursor:pointer;position:relative}
html body #main .bk-row.on{background:#FAFAFA}
html body #main .bk-ck{width:18px;height:18px;border:1px solid #E8E8E8;border-radius:2px;
  font-size:12px;line-height:16px;text-align:center;color:#FFFFFF;background:transparent}
html body #main .bk-row.on .bk-ck{background:#1A1A1A;border-color:#1A1A1A}
html body #main .bk-main{min-width:0}
html body #main .bk-nm{font-size:14px;color:#1A1A1A;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html body #main .bk-sub{font-size:11px;color:#9E9E9E;margin-top:2px;overflow:hidden;
  text-overflow:ellipsis;white-space:nowrap}
html body #main .bk-row.unsure .bk-sub{color:#6E6E6E}
html body #main .bk-row.none .bk-nm{color:#9E9E9E}
html body #main .bk-amt{font-size:14px;font-weight:600;color:#1A1A1A;font-variant-numeric:tabular-nums}
html body #main .bk-more{background:none!important;border:0!important;color:#9E9E9E!important;
  font-size:11px!important;padding:2px 4px!important;height:auto!important;min-height:0!important}
html body #main .bk-foot{position:static;background:#FFFFFF;padding:14px 0 6px;
  border-top:1px solid #E8E8E8;margin-top:18px;text-align:center}
html body #main .bk-go{display:block;width:100%;height:46px;line-height:46px;text-align:center;
  background:#1A1A1A!important;color:#FFFFFF!important;border:0!important;border-radius:2px!important;
  font-size:14px!important;font-weight:500!important}
html body #main .bk-go:disabled{background:#E8E8E8!important;color:#FFFFFF!important}
html body #main .bk-done{text-align:center;padding:38px 16px}
html body #main .bk-done-ok{width:44px;height:44px;line-height:44px;border-radius:50%;background:#1A1A1A;
  color:#FFFFFF;font-size:20px;margin:0 auto 14px}
html body #main .bk-done b{display:block;font-size:20px;font-weight:600;color:#1A1A1A}
html body #main .bk-done span{display:block;font-size:12px;color:#6E6E6E;line-height:1.7;margin:8px auto 0;max-width:420px}
html body #main .bk-done-b{margin-top:22px}
html body #main .bk-done-b .bk-go{max-width:280px;margin:0 auto}

/* 改这一笔的弹层 */
html body .bk-ed-n{font-size:14px;color:#1A1A1A;margin:2px 0 12px}
html body .bk-ed-n span{font-size:12px;color:#9E9E9E;margin-left:6px}
html body .bk-ed-t{font-size:12px;color:#9E9E9E;margin:14px 0 6px;letter-spacing:.04em}
html body .bk-cd{padding:9px 10px;border:1px solid #E8E8E8;border-radius:2px;margin-bottom:6px;cursor:pointer}
html body .bk-cd b{display:block;font-size:14px;font-weight:500;color:#1A1A1A}
html body .bk-cd span{display:block;font-size:11px;color:#9E9E9E;margin-top:2px}
html body .bk-ed-res{margin-top:8px}
@media (max-width:899px){
  html body #main .bk-sum{grid-template-columns:repeat(2,1fr)}
  html body #main .bk-row{padding:13px 2px}
  html body #main .bk-go{height:50px;line-height:50px;font-size:20px!important}
}

/* 银行对账页占着屏幕时，右下角的相机按钮让开 —— 它正好压在不认识那行的金额上 */
body:has(#main .bk-wrap) .fd-fab{display:none}
/* 确认按钮必须常驻拇指区：对账往往几十笔，让人滚到底再点，等于逼他找按钮。
   手机上固定，桌面上跟着文档走（桌上屏幕高，滚到底不费劲）。 */
@media (max-width:899px){
  html body #main .bk-foot{position:fixed;left:0;right:0;z-index:30;
    bottom:calc(60px + env(safe-area-inset-bottom));padding:10px 14px;
    border-top:1px solid #E8E8E8;box-shadow:none}
  html body #main .bk-wrap{padding-bottom:92px}
}

/* 「改这一笔」：候选多的时候内容会顶出去，按钮必须留在手底下 */
html body .bk-ed{display:flex;flex-direction:column;max-height:76vh}
html body .bk-ed-body{overflow:auto;flex:1;-webkit-overflow-scrolling:touch;padding-right:2px}
html body .bk-ed-foot{display:flex;gap:8px;padding-top:12px;margin-top:8px;border-top:1px solid #E8E8E8;
  background:#FFFFFF;flex:0 0 auto}
html body .bk-b{flex:1;height:46px;background:#1A1A1A!important;color:#FFFFFF!important;border:0!important;
  border-radius:2px!important;font-size:14px!important}
html body .bk-b2{flex:0 0 92px;height:46px;background:transparent!important;color:#6E6E6E!important;
  border:1px solid #E8E8E8!important;border-radius:2px!important;font-size:14px!important}

/* ============ 现场拍摄层：开的是相机，不是相册 ============
   这一层盖住整个屏幕，只有「取景 + 快门 + 关掉」三样东西。
   没有相册入口、没有「选择文件」，因为只要给了，就一定会有人用旧照片。 */
html body.fd-caming{overflow:hidden;touch-action:none}
html body .fd-cam{position:fixed;inset:0;z-index:9000;background:#1A1A1A;overflow:hidden}
html body .fd-cam>video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;background:#1A1A1A}
html body .fd-cam-top{position:absolute;left:0;right:0;top:0;z-index:2;display:flex;align-items:center;gap:10px;
  padding:calc(10px + env(safe-area-inset-top)) 14px 16px;background:linear-gradient(rgba(0,0,0,.5),transparent)}
html body .fd-cam-x{width:40px;height:40px;border-radius:50%;background:rgba(255,255,255,.14)!important;
  color:#FFFFFF!important;border:0!important;font-size:20px!important;line-height:1!important;padding:0!important;min-height:0!important}
html body .fd-cam-t{color:#FFFFFF;font-size:14px;letter-spacing:.05em;opacity:.92}
html body .fd-cam-bot{position:absolute;left:0;right:0;bottom:0;z-index:2;display:flex;flex-direction:column;
  align-items:center;gap:12px;padding:22px 20px calc(34px + env(safe-area-inset-bottom));
  background:linear-gradient(transparent,rgba(0,0,0,.6))}
html body .fd-cam-hint{color:rgba(255,255,255,.7);font-size:12px;letter-spacing:.02em}
html body .fd-cam-sh{width:78px;height:78px;border-radius:50%;background:transparent!important;
  border:4px solid rgba(255,255,255,.92)!important;padding:0!important;position:relative;
  box-shadow:none!important;min-height:0!important;flex:0 0 auto}
html body .fd-cam-sh::after{content:"";position:absolute;inset:6px;border-radius:50%;background:#FFFFFF;transition:transform .12s}
html body .fd-cam-sh:active::after{transform:scale(.88)}
html body .fd-cam-sh.flash::after{background:#E8E8E8}
html body .fd-cam.shot::before{content:"";position:absolute;inset:0;z-index:5;background:#FFFFFF;
  opacity:.8;animation:fdcam .2s ease-out forwards}
@keyframes fdcam{to{opacity:0}}
html body .fd-cam-err{position:absolute;inset:0;z-index:6;display:flex;flex-direction:column;align-items:center;
  justify-content:center;gap:10px;padding:34px 26px;background:rgba(12,12,11,.94);text-align:center}
html body .fd-cam-err[hidden]{display:none!important}
html body .fd-cam-ei{color:#FFFFFF;font-size:14px;line-height:1.75;max-width:320px}
html body .fd-cam-eb{display:flex;flex-direction:column;gap:9px;width:100%;max-width:286px;margin-top:8px}
html body .fd-cam-b{height:46px;border-radius:2px;background:#FFFFFF!important;color:#1A1A1A!important;
  border:0!important;font-size:14px!important;font-weight:500!important}
html body .fd-cam-b2{height:44px;border-radius:2px;background:transparent!important;color:rgba(255,255,255,.82)!important;
  border:1px solid rgba(255,255,255,.26)!important;font-size:14px!important}
html body .fd-cam-en{color:rgba(255,255,255,.48);font-size:11px;line-height:1.7;margin-top:8px;max-width:286px}

/* 缩略图上的「非实时」小标：不拦人交活，但账上得留着这一笔 */
html body #main .fd-shot{position:relative}
html body #main .fd-shot-tag{position:absolute;left:5px;top:5px;z-index:2;background:rgba(28,27,25,.8);
  color:#FFFFFF;font-size:11px;font-weight:400;padding:2px 5px;border-radius:2px;line-height:1.5;letter-spacing:.02em}
html body #main .fd-shot.old img{filter:saturate(.8) brightness(.96)}

/* ============ 长按改一笔（应收台账） ============
   一个框，六个格子，改完点存。没有「下一步」、没有二级页，
   因为这是人在现场发现数字错了的时刻，让他多点两下他就会放弃。 */
html body .qk-f{margin:0 0 11px}
html body .qk-f>label{display:block;font-size:12px;color:#9E9E9E;margin:0 0 5px;letter-spacing:.02em}
html body .qk-f>label .hint{display:block;margin:2px 0 0;line-height:1.5}
html body .qk-f>input{width:100%;height:44px;box-sizing:border-box;padding:0 11px;border-radius:2px;
  border:1px solid #E8E8E8!important;background:#FFFFFF!important;color:#1A1A1A!important;font-size:20px!important;
  font-family:inherit;-webkit-appearance:none;appearance:none}
html body .qk-f>input:focus{border-color:#1A1A1A!important;outline:0}
html body .qk-2{display:grid;grid-template-columns:1fr 1fr;gap:10px}
html body .qk-2 .qk-f{margin-bottom:11px}
html body .qk-b{display:flex;gap:9px;margin-top:14px}
html body .qk-b .btn{flex:1;height:46px;border-radius:2px;font-size:14px!important}
html body .qk-his{margin:2px 0 4px;padding:9px 11px;border-radius:2px;background:#FAFAFA;
  font-size:11px;line-height:1.72;color:#6E6E6E}
html body .qk-his b{color:#1A1A1A;font-weight:600}

/* ============ 跨单位权限（平台级） ============
   这张表管的是「谁能进两家」。人不多，所以不做搜索、不做筛选、
   不做分页 —— 一行一个人，一个开关，看完就关。 */
html body .pd-row{display:flex;align-items:center;gap:10px;padding:12px 0;border-bottom:1px solid #E8E8E8}
html body .pd-row:last-of-type{border-bottom:0}
html body .pd-nm{flex:1;min-width:0}
html body .pd-nm b{display:block;font-size:14px;font-weight:600;color:#1A1A1A;line-height:1.4}
html body .pd-nm span{display:block;font-size:11px;color:#9E9E9E;line-height:1.55;margin-top:2px}
html body .pd-nm span em{font-style:normal;color:#6E6E6E}
html body .pd-sw{position:relative;display:inline-block;width:46px;height:26px;flex-shrink:0}
html body .pd-sw input{position:absolute;opacity:0;width:100%;height:100%;margin:0;cursor:pointer;z-index:2}
html body .pd-sw i{position:absolute;inset:0;background:#E8E8E8;border-radius:2px;transition:.18s;pointer-events:none}
html body .pd-sw i::before{content:"";position:absolute;width:20px;height:20px;left:3px;top:3px;
  background:#FFFFFF;border-radius:50%;transition:.18s;box-shadow:none}
html body .pd-sw input:checked+i{background:#1A1A1A}
html body .pd-sw input:checked+i::before{transform:translateX(20px)}
html body .pd-more{width:100%;margin:12px 0 0;padding:11px;border:1px solid #E8E8E8;background:#FAFAFA;
  border-radius:2px;font-size:12px;color:#6E6E6E;text-align:center;cursor:pointer;font-family:inherit}
html body .pd-more:active{background:#E8E8E8}
/* 友创：同一件事换一副面孔 —— 直角、描边、深蓝开关 */
html[data-tenant="youchuang"][data-skin="gov"] body .pd-row{border-bottom:1px solid #E8E8E8}
html[data-tenant="youchuang"][data-skin="gov"] body .pd-nm b{color:#1A1A1A}
html[data-tenant="youchuang"][data-skin="gov"] body .pd-sw i{border-radius:2px}
html[data-tenant="youchuang"][data-skin="gov"] body .pd-sw i::before{border-radius:2px}
html[data-tenant="youchuang"][data-skin="gov"] body .pd-sw input:checked+i{background:#1A1A1A}

/* ============ 平台选择：只给双权限管理员看的一屏 ============
   这一屏刻意「中性」——不像启迅，也不像友创。
   它是门口那间值班室，不是任何一家的客厅；进门之后才开始有各自的脾气。 */
html body #pickPage{position:fixed;inset:0;z-index:960;background:#FAFAFA;
  display:none;overflow:auto;-webkit-overflow-scrolling:touch;padding:0 20px env(safe-area-inset-bottom)}
html body #pickPage.show{display:block}
html body .pk-in{max-width:420px;margin:0 auto;padding:56px 0 30px}
html body .pk-t{font-size:20px;font-weight:600;letter-spacing:.16em;color:#1A1A1A;line-height:1.5}
html body .pk-sub{font-size:11px;color:#9E9E9E;letter-spacing:.1em;margin-top:7px}
html body .pk-hd{padding-bottom:20px;border-bottom:1px solid #E8E8E8;margin-bottom:20px}
html body .pk-c{background:#FFFFFF;border:1px solid #E8E8E8;border-radius:2px;padding:18px 18px 16px;
  margin-bottom:12px;cursor:pointer;transition:border-color .15s,box-shadow .15s}
html body .pk-c:active{border-color:#9E9E9E;box-shadow:none}
html body .pk-lg{width:38px;height:38px;border-radius:2px;background:#1A1A1A;color:#FAFAFA;
  display:flex;align-items:center;justify-content:center;font-size:20px;letter-spacing:0;margin-bottom:13px}
html body .pk-nm{font-size:14px;font-weight:600;color:#1A1A1A;letter-spacing:.04em;line-height:1.5}
html body .pk-ds{font-size:12px;color:#9E9E9E;line-height:1.75;margin-top:5px;letter-spacing:.02em}
html body .pk-go{margin-top:14px;height:38px;border:1px solid #1A1A1A;border-radius:2px;
  display:flex;align-items:center;justify-content:center;font-size:14px;letter-spacing:.18em;
  color:#1A1A1A;text-indent:.18em}
html body .pk-c:active .pk-go{background:#1A1A1A;color:#FFFFFF}
html body .pk-keep{display:flex;align-items:center;gap:8px;margin:18px 0 0;font-size:12px;
  color:#6E6E6E;line-height:1.6}
html body .pk-keep input{width:16px;height:16px;margin:0;accent-color:#1A1A1A;flex-shrink:0}
html body .pk-ft{margin-top:22px;padding-top:14px;border-top:1px solid #E8E8E8;
  font-size:11px;color:#9E9E9E;line-height:1.7;letter-spacing:.04em}

/* 友创：同一屏，换成制式的那副样子 —— 直角、深蓝、要素齐全 */
html[data-tenant="youchuang"][data-skin="gov"] body #pickPage{background:#E8E8E8;
  font-family:"PingFang SC","Microsoft YaHei","Source Han Sans SC",sans-serif!important}
html[data-tenant="youchuang"][data-skin="gov"] body .pk-hd{border-bottom:1px solid #1A1A1A}
html[data-tenant="youchuang"][data-skin="gov"] body .pk-t{color:#1A1A1A;font-size:20px;letter-spacing:.1em}
html[data-tenant="youchuang"][data-skin="gov"] body .pk-sub{color:#6E6E6E}
html[data-tenant="youchuang"][data-skin="gov"] body .pk-c{border-radius:2px;border:1px solid #E8E8E8;
  border-left:1px solid #1A1A1A}
html[data-tenant="youchuang"][data-skin="gov"] body .pk-lg{border-radius:2px;background:#1A1A1A}
html[data-tenant="youchuang"][data-skin="gov"] body .pk-nm{color:#1A1A1A}
html[data-tenant="youchuang"][data-skin="gov"] body .pk-go{border-radius:2px;border-color:#1A1A1A;color:#1A1A1A;background:#FFFFFF}
html[data-tenant="youchuang"][data-skin="gov"] body .pk-c:active .pk-go{background:#1A1A1A;color:#FFFFFF}
html[data-tenant="youchuang"][data-skin="gov"] body .pk-keep input{accent-color:#1A1A1A}

/* 试用环境的两枚标：顶栏一枚小签、登录页一条说明。
   池不是正式账，页面上得说清楚 —— 客户改完才不会以为改的是真的。 */
.pool-tag{display:inline-block;margin-left:8px;padding:0 6px;font-size:10px;line-height:16px;
  color:#6B6B6B;background:#F2F2F3;border:1px solid #E0E0E0;border-radius:2px;
  vertical-align:middle;font-weight:400;letter-spacing:.02em}
.pool-note{margin-top:14px;margin-bottom:16px;padding:8px 10px;background:#F7F7F8;border:1px solid #E8E8E8;
  border-radius:2px;font-size:11px;line-height:1.8;color:#6B6B6B;text-align:left}
.pool-note b{color:#1A1A1A;font-weight:600}

/* ==========================================================================
   标讯雷达（2026-11-17）
   只收苏州。日式：白底、1px 线、2px 方角、无阴影、无彩色。
   一行一条，日期定宽，标题两行封顶 —— 业务员扫一眼就知道要不要点。
   ========================================================================== */
.bid-wrap{max-width:920px;padding-bottom:72px}
.bid-top{display:flex;gap:8px;align-items:center;margin-bottom:10px}
/* 系统全局给 input 铺的是灰底无边框（填充式）。搜索框要一眼看出去是个「能打字的地方」，
   所以这里压回白底 + 细边。选择器带上 body.ent / #main 才压得住全局那条。 */
body.ent #main .bid-q, #main .bid-q{flex:1;height:36px!important;padding:0 12px;font-size:14px;
  color:#1A1A1A!important;background:#FFFFFF!important;border:1px solid #C8C8C8!important;
  border-radius:2px!important;outline:none;box-sizing:border-box;box-shadow:none!important;
  -webkit-appearance:none;appearance:none}
.bid-q:focus{border-color:#1A1A1A}
.bid-q::placeholder{color:#9E9E9E}
.bid-go{display:inline-flex;align-items:center;justify-content:center;height:36px;padding:0 16px;
  font-size:13px;line-height:36px;color:#FFFFFF;background:#1A1A1A;
  border:1px solid #1A1A1A;border-radius:2px;cursor:pointer;white-space:nowrap;
  user-select:none;-webkit-tap-highlight-color:transparent}
.bid-go:active{background:#000000}

/* 筛选项：细线胶囊。选中反过来 —— 黑底白字，不用彩色去抢注意力 */
.bid-chips{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:10px}
.bid-chip{padding:4px 10px;font-size:12px;line-height:18px;color:#4A4A4A;background:#FFFFFF;
  border:1px solid #D8D8D8;border-radius:2px;cursor:pointer;white-space:nowrap;user-select:none}
.bid-chip:hover{border-color:#B8B8B8}
.bid-chip.on{color:#FFFFFF;background:#1A1A1A;border-color:#1A1A1A}
.bid-chip i{font-style:normal;color:#9E9E9E;margin-left:4px}
.bid-chip.on i{color:#B8B8B8}

.bid-meta{display:flex;justify-content:space-between;align-items:baseline;gap:12px;
  padding:8px 0;margin-bottom:2px;border-bottom:1px solid #1A1A1A;
  font-size:12px;color:#6E6E6E}
.bid-meta b{color:#1A1A1A;font-weight:600;font-size:13px}

.bid-list{background:#FFFFFF}
.brow{display:flex;gap:10px;padding:11px 4px;border-bottom:1px solid #EFEFEF;
  cursor:pointer;text-decoration:none;color:inherit}
.brow:hover{background:#FAFAFA}
.brow:active{background:#F4F4F4}
.brow-d{flex:0 0 74px;font-size:11px;line-height:1.5;color:#9E9E9E;
  font-variant-numeric:tabular-nums;padding-top:1px}
.brow-d b{display:block;color:#6E6E6E;font-weight:500}
.brow-m{flex:1;min-width:0}
.brow-t{font-size:13.5px;line-height:1.55;color:#1A1A1A;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.brow-s{margin-top:4px;font-size:11px;line-height:1.5;color:#9E9E9E}
.brow-s em{font-style:normal;color:#6E6E6E}
.brow-s .bdot{margin:0 5px;color:#D8D8D8}
.brow-r{flex:0 0 34px;text-align:right;font-size:11px;color:#B8B8B8;
  font-variant-numeric:tabular-nums;padding-top:2px}
.brow.hi .brow-r{color:#1A1A1A;font-weight:600}
.bid-empty{padding:48px 12px;text-align:center;font-size:13px;color:#9E9E9E;line-height:2}
.bid-empty b{display:block;color:#4A4A4A;font-weight:500;font-size:14px;margin-bottom:6px}
.bid-foot{padding:14px 4px 4px;font-size:11px;color:#B8B8B8;text-align:center;line-height:1.9}

@media (max-width:760px){
  .bid-wrap{max-width:none}
  .brow-d{flex:0 0 60px;font-size:10.5px}
  .brow-t{font-size:13px}
  .brow-r{flex:0 0 28px;font-size:10px}
  .bid-chips{gap:5px}
  .bid-chip{padding:5px 9px;font-size:11.5px}
}

/* 项目搜索里的「就用这个名字」：虚线框，一眼看出这是新建，不是名单里的人 */
.fd-pk-new{border:1px dashed #C8C8C8!important;margin:8px 0 6px;height:auto!important;
  min-height:44px;padding:8px 10px!important;color:#1A1A1A!important;line-height:1.5;
  border-radius:2px}
.fd-pk-new:active{background:#F4F4F4!important}

/* ============ 标讯分析：行内结论 + 三段面板 (2026-11-17) ============
   一句话的设计原则：结论先给人，证据收在里面。
   列表上只放「去投/可以看/别去」加第一个理由，展开才看三段。
   全铺开的话，一屏只能放三条，人反而懒得翻。 */
.brow-wrap{ }
.brow-an{display:flex;align-items:center;gap:6px;margin-top:5px;font-size:12px;
  line-height:1.5;color:#6B6B6B;flex-wrap:wrap}
.brow-an .ban-tag{flex:none}
.brow-an i{font-style:normal;color:#1A1A1A;font-weight:500}
.ban-tag{display:inline-block;padding:1px 6px;font-size:11px;line-height:17px;
  border-radius:2px;white-space:nowrap;font-weight:500}
.ban-tag.go{background:#FDECEC;color:#C0392B;border:1px solid #F5C6C6}
.ban-tag.mid{background:#F4F4F5;color:#5A5A5F;border:1px solid #E2E2E6}
.ban-tag.no{background:#EEF6F0;color:#3D7A4E;border:1px solid #CFE3D5}

.bpan{margin:0 0 10px;padding:14px 14px 10px;background:#FFFFFF;
  border:1px solid #E6E6E6;border-radius:2px}
.bp-sec{margin-bottom:14px}
.bp-sec:last-of-type{margin-bottom:8px}
.bp-h{display:flex;align-items:center;gap:7px;font-size:12px;color:#8A8A8E;
  letter-spacing:.04em;margin-bottom:6px}
.bp-h .ban-tag{margin-left:2px}
.bp-score{margin-left:auto;font-size:17px;color:#1A1A1A;font-weight:500;font-style:normal}
.bp-h i{font-style:normal;font-size:11px;color:#8A8A8E;margin-left:-4px}
.bp-why{margin:0;padding-left:16px;font-size:13px;line-height:1.85;color:#2A2A2A}
.bp-why li{margin-bottom:1px}
.bp-strong{font-size:14px;color:#1A1A1A;font-weight:500;line-height:1.6}
.bp-sub{font-size:12px;line-height:1.7;color:#6B6B6B;margin-top:3px}
.bp-sub b{color:#1A1A1A;font-weight:500}
.bp-tip{margin-top:7px;padding:7px 9px;font-size:12px;line-height:1.65;
  color:#3A3A3A;background:#FAFAFA;border-left:2px solid #1A1A1A;border-radius:0}
.bp-diff{font-style:normal;font-size:12px;margin-left:6px;font-weight:400}
.bp-diff.up{color:#C0392B}
.bp-diff.dn{color:#3D7A4E}
.bp-facts{margin:2px 0 12px;padding-top:10px;border-top:1px solid #F0F0F0;
  font-size:12px;line-height:1.9;color:#4A4A4A}
.bp-facts div{display:flex;gap:8px}
.bp-facts span{flex:none;width:34px;color:#9A9A9E}
.bp-foot{display:flex;align-items:center;gap:14px;padding-top:10px;
  border-top:1px solid #F0F0F0}
.bp-foot .btn{height:32px;padding:0 16px;font-size:13px;width:auto!important;
  min-width:0!important;display:inline-flex!important;flex:none}
.bp-foot span{font-size:12px;color:#8A8A8E;cursor:pointer}
.bp-empty{padding:10px 2px;font-size:12px;line-height:1.7;color:#6B6B6B}

/* 老客户标记：这是整个标讯列表里最该被一眼看到的东西 ——
   甲方是我们正在做的楼，意味着不用投标也能打电话。 */
.bmine{display:inline-block;padding:1px 6px;font-size:11px;line-height:17px;
  border-radius:2px;background:#1A1A1A;color:#FFFFFF;white-space:nowrap;flex:none}
.bp-mine{border-left-color:#C0392B;background:#FDF7F7}
.bp-foot .bp-fold{font-size:12px;color:#8A8A8E;cursor:pointer;margin-left:auto;
  text-decoration:underline;text-underline-offset:2px}

/* 保养顺延：一条横幅 + 可展开清单。不做弹窗 —— 主管月底来一次，
   要能一眼看到「推了多少、漏了几轮」，而不是先点掉一个对话框。 */
.mroll-box{background:#FFFFFF;border:1px solid #E6E6E6;margin:0 0 14px}
.mroll-hd{padding:13px 16px;cursor:pointer}
.mroll-t{font-size:14px;color:#1A1A1A;line-height:1.5}
.mroll-t b{font-weight:600}
.mroll-s{font-size:12px;color:#8A8A8E;margin-top:3px;line-height:1.45}
.mroll-list{border-top:1px solid #F0F0F0;max-height:320px;overflow-y:auto;-webkit-overflow-scrolling:touch}
.mroll-row{display:flex;justify-content:space-between;align-items:baseline;
  padding:9px 16px;border-bottom:1px solid #F6F6F6}
.mroll-n{font-size:13px;color:#1A1A1A;flex:1;min-width:0;overflow:hidden;
  text-overflow:ellipsis;white-space:nowrap}
.mroll-d{font-size:12px;color:#6E6E6E;flex:none;margin-left:10px;white-space:nowrap}
.mroll-d b{font-weight:600;color:#1A1A1A}
.mroll-d i{font-style:normal;color:#B03A2E;margin-left:6px}
.mroll-more{padding:10px 16px;font-size:12px;color:#8A8A8E}
.mroll-act{display:flex;align-items:center;gap:10px;padding:11px 16px;border-top:1px solid #F0F0F0}
.mroll-tip{font-size:11px;color:#9A9A9E;flex:1;line-height:1.45}
.mroll-undo{font-size:12px;color:#8A8A8E;cursor:pointer;flex:none;
  text-decoration:underline;text-underline-offset:2px}
.mroll-act .btn{flex:none;height:32px;padding:0 16px;font-size:13px}
/* 一键确认不用全局 .btn —— 那个类在台账卡里被改过尺寸，塞进这里会被挤没。
   独立一个类，只有这一处用，谁也影响不到它。 */
.mroll-ok{flex:none;display:inline-flex;align-items:center;justify-content:center;
  background:#1A1A1A;color:#FFFFFF;border:0;height:32px;
  padding:0 16px;font-size:13px;letter-spacing:.02em;cursor:pointer;border-radius:2px;
  font-family:inherit;-webkit-appearance:none;appearance:none;user-select:none}
.mroll-ok:active{background:#000000}
.mroll-act{flex-wrap:wrap;row-gap:8px}
.mroll-done{background:#FFFFFF;border:1px solid #E6E6E6;margin:0 0 14px;
  padding:11px 16px;font-size:12px;color:#8A8A8E;line-height:1.5}

/* 我的权限：两段清单，不做成表格 —— 手机上表格一定横向溢出。
   一段「能做的」，一段「不能做的（找谁）」。 */
.pp-g{background:#FFFFFF;border:1px solid #E6E6E6;margin:0 0 12px}
.pp-t{font-size:12px;color:#8A8A8E;padding:9px 14px 6px;letter-spacing:.04em}
.pp-r{display:flex;flex-direction:column;align-items:flex-start;gap:3px;
  padding:9px 14px;border-top:1px solid #F6F6F6}
.pp-r b{font-weight:400;font-size:13px;color:#1A1A1A;line-height:1.45;width:100%}
.pp-r i{font-style:normal;font-size:11px;color:#9A9A9E;line-height:1.4}
.pp-rest{padding:9px 14px;border-top:1px solid #F6F6F6;font-size:11px;color:#9A9A9E}

/* ===== song.css ===== */
/* ==========================================================================
   SONG · 宋韵简素（系统基准层）V1.0
   --------------------------------------------------------------------------
   适用范围：全部后台业务页面（台账、表单、列表、详情、配置、查询、弹窗）
   气质：清简、留白、理性、克制、低噪
   装饰：无纹样。只允许极淡分割线与留白本身。

   这一层不定义组件形状 —— 按钮、输入、表格、卡片、弹窗全部来自 v1.css。
   它只做三件事：
     ① 页面主区保持月白，不铺满白卡
     ② 把遗留皮肤里「一叠灰卡 / 一排白药丸 / 双线框」的实物收回正常
     ③ 报表与客户名片跟着 V1 色板走
   ========================================================================== */

/* ==========================================================================
   一 · 地：月白一片，不贴卡
   ========================================================================== */

body, body.ent, body.plain, body[data-style="song"]{
  background-color:var(--v1-bg)!important;
  background-image:none!important;
}
body.ent #main, body.plain #main{ background-color:transparent!important; }

/* ==========================================================================
   二 · 首页：三块数、一张入口、一排快捷
   ========================================================================== */

/* 经营横条：不做深色板。三个数就是三格白卡，靠字号分主次 */
.bbar{
  background:var(--v1-surface)!important;
  border:1px solid var(--v1-line-2)!important;
  border-radius:2px!important;
  box-shadow:none!important;
  padding:16px 4px!important;
}
.bbar .bb-t b{ color:var(--v1-ink)!important; font-size:14px!important; font-weight:600!important; letter-spacing:0!important; }
.bbar .bb-t i{ color:var(--v1-ink-3)!important; letter-spacing:0!important; }
.bbar .bb-n span{ color:var(--v1-ink-3)!important; letter-spacing:0!important; font-size:12px!important; }
.bbar .bb-n > div{ border-left:1px solid var(--v1-line-2)!important; }
.bbar .bb-n b{ color:var(--v1-ink)!important; }
.bbar .bb-g{ color:var(--v1-primary)!important; letter-spacing:0!important; }

/* 维修报价入口：白卡 + 瓷青一个字。原来那套双线框与朱色加号，V1 不要 */
#main .qz-quick{
  background:var(--v1-surface)!important;
  border:1px solid var(--v1-line-2)!important;
  border-radius:2px!important;
  box-shadow:none!important;
  color:var(--v1-ink)!important;
}
#main .qz-quick:active{ background:var(--v1-surface-2)!important; }
.qz-quick-t{ color:var(--v1-ink)!important; font-size:20px!important; font-weight:600!important; letter-spacing:0!important; }
.qz-quick-s{ color:var(--v1-ink-3)!important; letter-spacing:0!important; }
.qz-quick-r{
  border:1px solid var(--v1-primary)!important;
  background:var(--v1-primary-soft)!important;
  color:var(--v1-primary)!important;
  font-weight:500!important;
}

/* 首页三格数：只留竖分割线 */
#main .hs-cell + .hs-cell{ border-left:1px solid var(--v1-line-2)!important; }
#main .hs-cell:active{ background:var(--v1-surface-2)!important; }
#main .hs-cell b{ color:var(--v1-ink)!important; }
#main .hs-cell.warn b{ color:var(--v1-danger)!important; }
#main .hs-cell span{ color:var(--v1-ink-3)!important; letter-spacing:0!important; }

/* ==========================================================================
   三 · 列表：从「一叠灰卡」收回「一张表」
   ========================================================================== */

/* 客户片区 */
#main .cq-box{
  margin:0 0 2px!important;
  background:transparent!important;
  border:0!important;
  border-bottom:1px solid var(--v1-line-2)!important;
  border-radius:2px!important;
  overflow:visible!important;
}
#main .cq-boxhd{
  padding:14px 2px!important;
  background:transparent!important;
  border:0!important;
  border-radius:2px!important;
}
#main .cq-box.open{ border-bottom-color:var(--v1-line)!important; }
#main .cq-box.open .cq-boxhd{ border-bottom:1px solid var(--v1-line-2)!important; }
#main .box-t{ font-size:14px!important; font-weight:600!important; letter-spacing:0!important; }
#main .box-c, #main .box-ar{ color:var(--v1-ink-3)!important; letter-spacing:0!important; }
#main .cq-r{
  padding:12px 2px!important;
  background:transparent!important;
  border:0!important;
  border-bottom:1px solid var(--v1-line-2)!important;
  border-radius:2px!important;
}
#main .cq-r:active{ background:var(--v1-surface-2)!important; }

/* 全部功能：格子上墙，不铺灰 */
#main a.all-item{
  background:transparent!important;
  background-image:none!important;
  border:0!important;
  border-bottom:1px solid var(--v1-line-2)!important;
  border-radius:2px!important;
  box-shadow:none!important;
}
#main a.all-item:active{ background:var(--v1-surface-2)!important; }
#main .all-grid{ background:transparent!important; }

/* 保养 / 年检 */
#main .mq-tbl{
  background:transparent!important;
  border:0!important;
  border-top:1px solid var(--v1-line)!important;
  border-radius:2px!important;
}
#main .mq-shelf{
  margin:12px 0 4px!important;
  background:transparent!important;
  border:1px dashed var(--v1-line)!important;
  border-radius:2px!important;
  color:var(--v1-ink-3)!important;
}

/* 「跳过」这类次要动作 */
#main .pb-skip{
  background:transparent!important;
  border:1px dashed var(--v1-line)!important;
  border-radius:2px!important;
  color:var(--v1-ink-3)!important;
}

/* ==========================================================================
   四 · 按钮底闸：app.css 有一条 `#main button[data-ai="1"]`（0,1,2,1）
   --------------------------------------------------------------------------
   它给所有 data-ai 按钮铺灰底。行内小动作（补录、筛选）用类名写两遍提到
   (1,3,0)，确保它们仍是白底细线，而不是一排灰药片。
   ========================================================================== */

#main button.mq-do.mq-do, #main button.hs-q.hs-q{
  background:var(--v1-surface)!important;
  background-image:none!important;
  border:1px solid var(--v1-line)!important;
  border-radius:2px!important;
  color:var(--v1-ink-2)!important;
  box-shadow:none!important;
}
#main button.mq-do.mq-do{ background:transparent!important; }
#main button.mq-do.mq-do:active{ background:var(--v1-surface-2)!important; }
#main .mq-ico{ background:transparent!important; border:0!important; box-shadow:none!important; }

/* ==========================================================================
   五 · 报表：图表与数字用同一套低饱和色
   ========================================================================== */

.rpt{
  --r-ink:#1A1A1A; --r-ink2:#6E6E6E; --r-ink3:#9E9E9E; --r-ink4:#9E9E9E;
  --r-line:#E8E8E8; --r-line2:#E8E8E8; --r-soft:#FAFAFA;
  --r-red:#6E6E6E; --r-green:#9E9E9E;
}
.rpt-seg{ border-color:var(--v1-line)!important; border-radius:2px!important; }
.rpt-seg b{ color:var(--v1-ink-3)!important; border-right:1px solid var(--v1-line-2)!important; }
.rpt-seg b.on{ background:var(--v1-primary)!important; color:#FFFFFF!important; }
.brd-r{ border-top-color:var(--v1-line-2)!important; }
.brd-r:active{ background:var(--v1-surface-2)!important; }
.brd-phase{ background:var(--v1-surface-3)!important; border-color:var(--v1-line-2)!important; color:var(--v1-ink-3)!important; }
.bs-sheet{ background:var(--v1-surface)!important; border-top:1px solid var(--v1-line-2)!important; }
.bs-bar{ border-bottom:1px solid var(--v1-line-2)!important; }

/* ==========================================================================
   六 · 客户名片：色板跟 V1 对齐（结构在 rpt.css，这里只改色）
   ========================================================================== */

#mbox .pj-mb b{ color:var(--v1-ink)!important; }
#mbox .pj-mb b.rd{ color:var(--v1-danger)!important; }
#mbox .pj-card{ background:var(--v1-surface)!important; border-color:var(--v1-line-2)!important; }
#mbox .pj-m{ background:var(--v1-surface-2)!important; border-color:var(--v1-line-2)!important; }
#mbox .pj-mb + .pj-mb{ border-left-color:var(--v1-line-2)!important; }
#mbox .pj-k{ color:var(--v1-ink-3)!important; }
#mbox .pj-r{ border-top-color:var(--v1-line-2)!important; }
#mbox .pj-bd.gn{ background:var(--v1-success-soft)!important; color:var(--v1-success)!important; }
#mbox .pj-bd.rd{ background:var(--v1-danger-soft)!important; color:var(--v1-danger)!important; }
#mbox .pj-bd.gy{ background:var(--v1-surface-3)!important; color:var(--v1-ink-3)!important; }
#mbox .pj-fold{ background:var(--v1-surface-2)!important; border-color:var(--v1-line-2)!important; }
#mbox .pj-fold .panel{ background:transparent!important; }
#mbox .pj-dim-b{ background:var(--v1-line-2)!important; }
#mbox .pj-dim-b i{ background:var(--v1-primary)!important; }
#mbox .pj-qva{ background:var(--v1-surface-3)!important; color:var(--v1-ink-2)!important; }
#mbox .pj-act .pj-b{
  background:var(--v1-surface)!important;
  border:1px solid var(--v1-line)!important;
  color:var(--v1-ink)!important;
  border-radius:2px!important;
}
#mbox .pj-act .pj-b.main{
  background:var(--v1-primary)!important;
  border-color:var(--v1-primary)!important;
  color:#FFFFFF!important;
  font-weight:500!important;
  letter-spacing:0!important;
}
#mbox .pj-act .pj-b.mute{ color:var(--v1-ink-3)!important; border-color:var(--v1-line-2)!important; }

/* ==========================================================================
   七 · 标签绑地（等价于规范里的 data-style）
   ========================================================================== */

body[data-style="song"]{ background-color:var(--v1-bg)!important; }

/* 底栏：宋韵页保持白面，不压深色 */
body[data-style="song"] .tz-foot{ background-color:var(--v1-surface)!important; }

/* ===== han.css ===== */
/* ==========================================================================
   HAN · 汉式厚朴 V1.0
   --------------------------------------------------------------------------
   适用范围（只此三处）：登录扉页 / 品牌导语 / 版权页
   气质：古拙、雄浑、质朴、遒劲
   色：玄黑 #1A1A1A（字与线）、朱砂 #1A1A1A、土赭 #6E6E6E、米灰 #FAFAFA（地）
   约束：
     · 玄黑不大面积铺底 —— 门楣是黑的，墙不是
     · 朱砂占比 <10%，且不做按钮色
     · 装饰面积 ≤8%，只用单线：瓦当圆环 + 汉简横线
     · 表单、输入、按钮仍是现代组件，不改仿古造型
   ========================================================================== */

#loginPage.login{
  background-color:#FAFAFA!important;
  background-image:
    none;
  background-repeat:no-repeat!important;
  color:#1A1A1A!important;
  font-family:var(--v1-sans)!important;
  min-height:100vh;
  display:flex;
  align-items:center;
  justify-content:center;
}
/* 登录成功后必须让位：这里的 display:flex 特异性高于原 .hide */
#loginPage.login.hide{ display:none!important; }

/* 中央一方「碑」：白纸一张，1px 玄黑细界，直角 */
#loginPage .login-box{
  position:relative;
  width:100%;
  max-width:360px!important;
  padding:34px 28px 26px!important;
  background:#FAFAFA!important;
  border:1px solid rgba(18,18,18,.55)!important;
  border-radius:2px!important;
  box-shadow:none!important;
}

/* 装饰：碑额。一道玄黑横线压住纸边，中间嵌 44px 朱砂 —— 汉碑的题额就这么一道。
   不用圆环：圆里一道红，读起来像禁行标志。 */
#loginPage .login-box::before{
  content:""!important;
  position:absolute;
  left:0; right:0; top:0;
  height:2px;
  background:#1A1A1A;
}
#loginPage .login-box::after{
  content:""!important;
  position:absolute;
  left:50%; top:0;
  width:56px; height:3px;
  margin-left:-28px;
  background:#1A1A1A;
}

/* 品牌章：留在圆环里。去色成一方墨，不做彩色商标 */
#loginPage .login-box .logo{
  width:52px!important; height:52px!important;
  margin:0 auto 20px!important;
  border-radius:50%!important;
  box-shadow:none!important;
  filter:none;
}

/* 题名：隶书感只给这一行，其余全无衬线 */
#loginPage .login-box h2{
  font-family:"LiSu","STLiti","Songti SC","Noto Serif CJK SC",serif!important;
  font-size:20px!important;
  font-weight:500!important;
  letter-spacing:.16em!important;
  text-indent:.16em;
  color:#1A1A1A!important;
  line-height:1.5!important;
  margin:0 0 10px!important;
}
#loginPage .login-box h2::after{
  content:""!important;
  display:block;
  width:28px; height:1px;
  margin:12px auto 0;
  background:#6E6E6E;
  opacity:.5;
}
#loginPage .login-box .tip{
  font-family:var(--v1-sans)!important;
  color:#6E6E6E!important;
  letter-spacing:.02em!important;
  font-size:12px!important;
  line-height:1.7!important;
  margin:0 0 26px!important;
}

/* 表单：现代控件，白底灰边，4px 角 */
#loginPage .login-box .field{ margin-bottom:16px!important; }
#loginPage .login-box .field label{
  display:block!important;
  font-family:var(--v1-sans)!important;
  font-size:12px!important;
  font-weight:400!important;
  letter-spacing:0!important;
  color:#6E6E6E!important;
  margin-bottom:8px!important;
}
#loginPage .login-box .field input,
#loginPage .login-box input{
  width:100%!important;
  height:44px!important;
  padding:0 12px!important;
  background:#FFFFFF!important;
  background-image:none!important;
  border:1px solid #E8E8E8!important;
  border-radius:2px!important;
  color:#1A1A1A!important;
  font-family:var(--v1-sans)!important;
  font-size:14px!important;
  letter-spacing:0!important;
  box-shadow:none!important;
}
#loginPage .login-box input:focus{
  border-color:#1A1A1A!important;
  box-shadow:none!important;
  outline:none!important;
}
#loginPage .login-box input::placeholder{ color:#9E9E9E!important; letter-spacing:0!important; }

/* 初始密码一行：土赭小字 */
#loginPage .login-box .lg-init{
  font-family:var(--v1-sans)!important;
  color:#6E6E6E!important;
  font-size:12px!important;
  letter-spacing:0!important;
  line-height:1.7!important;
  margin:2px 0 20px!important;
}
#loginPage .login-box .lg-init b{ color:#1A1A1A!important; font-weight:600!important; }

/* 主键：玄黑一方，米白字。朱砂不做按钮 */
#loginPage .login-box .btn,
#loginPage .login-box #lgBtn{
  width:100%!important;
  height:46px!important;
  background:#1A1A1A!important;
  background-image:none!important;
  border:1px solid #1A1A1A!important;
  border-radius:2px!important;
  color:#FAFAFA!important;
  font-family:var(--v1-sans)!important;
  font-size:14px!important;
  font-weight:500!important;
  letter-spacing:.08em!important;
  text-indent:0;
  box-shadow:none!important;
}
#loginPage .login-box .btn:active,
#loginPage .login-box #lgBtn:active{ background:#1A1A1A!important; border-color:#1A1A1A!important; }
#loginPage .login-box .btn[disabled]{
  background:#E8E8E8!important;
  border-color:#E8E8E8!important;
  color:#9E9E9E!important;
}

/* 指纹 / 面容：文字入口，不加装饰 */
#loginPage .bio-or{ color:#9E9E9E!important; font-family:var(--v1-sans)!important; letter-spacing:0!important; font-size:12px!important; }
#loginPage .bio-or::before, #loginPage .bio-or::after{ background:#E8E8E8!important; }
#loginPage .bio-btn{
  background:#FAFAFA!important;
  border:1px solid #E8E8E8!important;
  border-radius:2px!important;
  color:#1A1A1A!important;
}
#loginPage .bio-tx b, #loginPage .bio-tx em, #loginPage .bio-ar{ color:#1A1A1A!important; }
#loginPage .bio-tx em{ color:#6E6E6E!important; }

/* 错误与链接 */
#loginPage .login-err{ color:#1A1A1A!important; font-family:var(--v1-sans)!important; letter-spacing:0!important; font-size:12px!important; }
#loginPage .login-box .tip a{ color:#6E6E6E!important; text-decoration:none; border-bottom:1px solid rgba(110,110,110,.4); }
#loginPage .login-foot, #loginPage .login-box + .tip{
  color:#9E9E9E!important;
  font-family:var(--v1-sans)!important;
  letter-spacing:.02em!important;
  font-size:11px!important;
}

/* 窄屏：碑收窄，题名不折行 */
@media(max-width:380px){
  #loginPage .login-box{ padding:38px 20px 22px!important; max-width:330px!important; }
  #loginPage .login-box h2{ font-size:20px!important; letter-spacing:.12em!important; }
}

/* ===== tang.css ===== */
/* ==========================================================================
   TANG · 唐风盛大 V1.0
   --------------------------------------------------------------------------
   适用范围（只此四处）：对外门户首页 / 公示大屏 / 公告封面 / 汇报页
   气质：开阔、庄重、明媚、舒展
   色：正红 #1A1A1A（只做标题与关键标识）、石青 #1A1A1A、
       石绿 #6E6E6E、浅鎏金 #E8E8E8、暖白 #FAFAFA（地）
   约束：
     · 正红不做大面积背景 —— 唐的气派靠色带、金线与留白，不靠满屏红
     · 装饰面积 10%–20%，只在标题区、边饰、色带
     · 数据卡、公示列表、正文区不铺纹样
     · 组件仍是现代形状
   ========================================================================== */

#showWrap.showwrap{
  background-color:#FAFAFA!important;
  background-image:none!important;
  color:#1A1A1A!important;
  font-family:var(--v1-sans)!important;
}

/* 顶条：暖白绫，下压一道金线 */
/* 顶条：一块正红。唐的仪式感先在门口给出来，进正文再收住 ——
   红只在这一条和标题字上，正文区仍是暖白，不做满屏红底。 */
#showWrap#showWrap .xbar{
  background-color:#1A1A1A!important;
  background-image:none;
  background-repeat:no-repeat!important;
  background-size:100% 100%!important;
  border-bottom:1px solid #E8E8E8!important;
  box-shadow:none!important;
  padding-top:8px!important;
  padding-bottom:8px!important;
}
#showWrap .xbar b{
  color:#FAFAFA!important;
  font-family:var(--v1-serif)!important;
  font-weight:600!important;
  letter-spacing:.16em!important;
  font-size:14px!important;
}
#showWrap .xbar .xquote{
  background:#E8E8E8!important;
  border:1px solid #E8E8E8!important;
  border-radius:2px!important;
  color:#1A1A1A!important;
  font-family:var(--v1-sans)!important;
  font-weight:500!important;
  letter-spacing:.06em!important;
}
#showWrap .xbar .xplan{
  background:transparent!important;
  border:1px solid rgba(247,247,247,.55)!important;
  border-radius:2px!important;
  color:#FAFAFA!important;
  letter-spacing:.04em!important;
}
#showWrap .xbar button{
  border-radius:2px!important;
  letter-spacing:.04em!important;
  background:transparent!important;
  background-image:none!important;
  border:1px solid rgba(247,247,247,.55)!important;
  color:#FAFAFA!important;
  box-shadow:none!important;
}

/* ---------- 首屏：暖白为地，正红为字，金线收边 ---------- */
#showWrap#showWrap .sw-hero{
  background-color:#FAFAFA!important;
  /* 顶部一道敦煌色带（石青 / 石绿 / 鎏金），下面极淡的暖光 */
  /* 底色只做一层暖光，不再叠色带 —— 色带放在红顶条下面会碎成一条杂色线 */
  background-image:none;
  background-repeat:no-repeat!important;
  background-size:100% 100%!important;
  background-position:top left!important;
  border-bottom:1px solid #E8E8E8!important;
  color:#1A1A1A!important;
  padding:48px 22px 40px!important;
  position:relative;
}
/* 金线双框：外粗内细，只做四角，不封口 */
#showWrap .sw-hero::before{
  content:""!important;
  position:absolute; left:16px; right:16px; top:20px; bottom:16px;
  border:1px solid rgba(158,158,158,.42);
  pointer-events:none;
}
#showWrap .sw-hero::after{
  content:""!important;
  position:absolute; left:20px; right:20px; top:24px; bottom:20px;
  border:1px solid rgba(158,158,158,.18);
  pointer-events:none;
}

#showWrap .sw-hero .kicker{
  color:#1A1A1A!important;
  font-size:11px!important;
  font-weight:500!important;
  letter-spacing:.3em!important;
  text-indent:.3em;
  white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
  margin-bottom:20px!important;
  opacity:1!important;
}
#showWrap .sw-hero h1{
  color:#1A1A1A!important;
  font-family:var(--v1-serif)!important;
  font-size:20px!important;
  font-weight:600!important;
  line-height:1.5!important;
  letter-spacing:.08em!important;
  text-shadow:none!important;
  margin-bottom:14px!important;
}
#showWrap .sw-hero h1 span{ color:#1A1A1A!important; }
#showWrap .sw-hero p{
  color:#6E6E6E!important;
  font-family:var(--v1-sans)!important;
  font-size:14px!important;
  line-height:2!important;
  letter-spacing:.02em!important;
  max-width:380px!important;
}
/* 标题下短金线 */
#showWrap .sw-hero .bar{
  width:48px!important; height:2px!important;
  background:#9E9E9E!important;
  margin:24px auto 0!important;
}
#showWrap .sw-hero .sw-logo{ filter:none!important; }

/* 二维码：白底一方，金线一圈（必须能扫） */
#showWrap .sw-qr{
  background:#FFFFFF!important;
  border:1px solid #E8E8E8!important;
  border-radius:2px!important;
  box-shadow:none!important;
  padding:18px!important;
}
#showWrap .sw-qr img{ border:1px solid #E8E8E8!important; background:#FFFFFF!important; padding:5px!important; }
#showWrap .sw-qr .t1{ color:#1A1A1A!important; font-family:var(--v1-sans)!important; letter-spacing:.04em!important; font-weight:600!important; }
#showWrap .sw-qr .t2{ color:#1A1A1A!important; letter-spacing:.02em!important; }
#showWrap .sw-qr .t3{ color:#9E9E9E!important; line-height:1.8!important; }

/* ---------- 章节：白纸一张，金线分段 ---------- */
#showWrap .sw-sec,
#showWrap .sw-sec:nth-child(even),
#showWrap .sw-sec:nth-child(odd){
  background:#FFFFFF!important;
  padding:28px 18px!important;
  border-top:1px solid #E8E8E8!important;
  border-bottom:0!important;
}
#showWrap .sw-sec h2{
  font-family:var(--v1-sans)!important;
  color:#1A1A1A!important;
  font-size:20px!important;
  font-weight:600!important;
  letter-spacing:.02em!important;
  margin-bottom:6px!important;
}
/* 小节前的短红条：唐风的一处标记，宽 3px */
#showWrap .sw-sec h2::before{
  width:3px!important; height:15px!important;
  background:#1A1A1A!important;
  border-radius:2px!important;
}
#showWrap .sw-sec .sub{ color:#9E9E9E!important; letter-spacing:0!important; margin-bottom:18px!important; font-size:12px!important; }

/* ---------- 数：白卡，金线，红字 ---------- */
#showWrap .sw-nums{
  border:1px solid #E8E8E8!important;
  background:#E8E8E8!important;
  gap:1px!important;
  border-radius:2px!important;
  overflow:hidden!important;
}
#showWrap .sw-num{
  background:#FFFFFF!important;
  padding:20px 10px 17px!important;
}
#showWrap .sw-num .v{
  font-family:var(--v1-sans)!important;
  color:#1A1A1A!important;
  font-size:20px!important;
  font-weight:600!important;
  letter-spacing:0!important;
  font-variant-numeric:tabular-nums;
}
#showWrap .sw-num .v i{ color:#9E9E9E!important; font-style:normal!important; font-size:14px!important; }
#showWrap .sw-num .l{ color:#9E9E9E!important; letter-spacing:.06em!important; margin-top:6px!important; font-size:12px!important; }

/* ---------- 卡片：白底，左侧一道石青 ---------- */
#showWrap .sw-card{
  background:#FFFFFF!important;
  border:1px solid #E8E8E8!important;
  border-left:1px solid #1A1A1A!important;
  border-radius:2px!important;
  box-shadow:none!important;
  padding:16px!important;
}
#showWrap .sw-card .h{ color:#1A1A1A!important; font-size:14px!important; letter-spacing:0!important; font-weight:600!important; }
#showWrap .sw-card .b{ color:#6E6E6E!important; font-size:12px!important; line-height:1.85!important; }
#showWrap .sw-card + .sw-card{ margin-top:9px!important; }

/* ---------- 页脚：石青一块，金线收口 ---------- */
#showWrap .sw-foot{
  background:#1A1A1A!important;
  color:rgba(247,247,247,.82)!important;
  font-family:var(--v1-sans)!important;
  letter-spacing:.08em!important;
  border-top:1px solid #E8E8E8!important;
  font-size:12px!important;
}
#showWrap .sw-foot b{ color:#E8E8E8!important; letter-spacing:.12em!important; font-weight:500!important; }
#showWrap .sw-cards{ background:transparent!important; }

/* ---------- 场景标签：金线细框 ---------- */
#showWrap .sw-tags{ gap:8px!important; }
#showWrap .sw-tags span{
  background:#FFFFFF!important;
  border:1px solid #E8E8E8!important;
  border-radius:2px!important;
  color:#6E6E6E!important;
  font-size:12px!important;
  letter-spacing:.02em!important;
  padding:7px 12px!important;
}

/* ---------- 三大承诺：白绢条 ---------- */
#showWrap .sw-promise .p{
  background:#FAFAFA!important;
  border:1px solid #E8E8E8!important;
  border-left:1px solid #E8E8E8!important;
  border-radius:2px!important;
  padding:15px 16px!important;
}
#showWrap .sw-promise .p b{
  color:#1A1A1A!important;
  font-family:var(--v1-sans)!important;
  font-size:14px!important;
  letter-spacing:.02em!important;
  font-weight:600!important;
}
#showWrap .sw-promise .p span{
  color:#6E6E6E!important;
  line-height:1.85!important;
  font-size:12px!important;
}

/* 桌面：正文一栏 900，四周留白，不把四格数拉成一米宽 */
@media(min-width:900px){
  #showWrap .sw-hero{ padding-left:calc((100% - 900px)/2 + 22px)!important; padding-right:calc((100% - 900px)/2 + 22px)!important; }
  #showWrap .sw-sec:nth-child(n){ padding-left:calc((100% - 900px)/2 + 22px)!important; padding-right:calc((100% - 900px)/2 + 22px)!important; }
  #showWrap .sw-foot{ padding-left:calc((100% - 900px)/2 + 22px)!important; padding-right:calc((100% - 900px)/2 + 22px)!important; }
}

@media(max-width:380px){
  #showWrap .sw-hero h1{ font-size:20px!important; letter-spacing:.04em!important; }
  #showWrap .sw-hero .kicker{ letter-spacing:.4em!important; text-indent:.4em; }
}

/* ===== q2.css ===== */
/* ============================================================================
   制式报价单
   ----------------------------------------------------------------------------
   这一页的样式只服务一件事：让人相信「屏幕上看到的，就是打出来的那张纸」。
   所以：直角、细线、不用彩色底块、数字右对齐、字距略开。
   两家的皮都吃得住 —— 变量给的是中性值，友创那套再由 tenant.css 覆盖主色。
   ========================================================================== */
.q2{
  --q2-ink:#1A1A1A;
  --q2-sub:#6E6E6E;
  --q2-line:#E8E8E8;
  --q2-head:#E8E8E8;
  --q2-bg:#FFFFFF;
  --q2-main:#6E6E6E;
  --q2-red:#1A1A1A;
  max-width:1180px;
  margin:0 auto;
  color:var(--q2-ink);
  font-size:14px;
}
.q2 *{box-sizing:border-box}
.q2-empty{padding:26px;text-align:center;color:var(--q2-sub);font-size:14px}

/* ── 页头 ── */
.q2-hd{padding:2px 0 12px}
.q2-t{font-size:20px;font-weight:700;letter-spacing:.06em}
.q2-sub{font-size:12px;color:var(--q2-sub);margin-top:4px;letter-spacing:.02em}
.q2-tabs{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}
#main .q2 .q2-tab{
  border:1px solid var(--q2-line)!important;background:#FFFFFF!important;color:var(--q2-ink)!important;
  padding:8px 14px!important;font-size:14px!important;cursor:pointer;font-family:inherit;
  display:inline-flex;align-items:center;gap:8px;border-radius:2px!important;line-height:1.3!important;
}
.q2-tab i{font-style:normal;font-size:11px;color:var(--q2-sub);letter-spacing:.04em}
#main .q2 .q2-tab:hover{border-color:var(--q2-main)!important}
#main .q2 .q2-tab.on{background:var(--q2-main)!important;border-color:var(--q2-main)!important;color:#FFFFFF!important}
#main .q2 .q2-tab.on i{color:rgba(255,255,255,.75)!important}

/* ── 表头信息 ── */
.q2-card{
  background:var(--q2-bg);border:1px solid var(--q2-line);
  padding:16px 18px 18px;margin-bottom:16px;
}
.q2-meta{display:flex;flex-wrap:wrap;gap:10px 18px;align-items:flex-end}
.q2-meta .f{display:flex;flex-direction:column;gap:5px;min-width:0}
.q2-meta .f.grow{flex:1 1 260px}
.q2-meta .f.w{width:150px}
.q2-meta label{font-size:11px;color:var(--q2-sub);letter-spacing:.04em}
.q2-meta input{
  height:34px;padding:0 10px;border:1px solid var(--q2-line);background:#FFFFFF;
  font-size:14px;font-family:inherit;color:var(--q2-ink);border-radius:2px;width:100%;
}
.q2-meta input:focus,.q2-meta select:focus{outline:none;border-color:var(--q2-main)}
/* 下拉跟输入框穿同一件衣服：同样的高度、直角、细边。
   浏览器默认的 select 带圆角和内阴影，放在这张纸上一眼就是「外来控件」。 */
.q2-meta select{
  height:34px;padding:0 26px 0 10px;border:1px solid var(--q2-line);background:#FFFFFF;
  font-size:14px;font-family:inherit;color:var(--q2-ink);border-radius:2px;width:100%;
  -webkit-appearance:none;appearance:none;
  background-image:none;
  background-position:calc(100% - 14px) 15px,calc(100% - 9px) 15px;
  background-size:5px 5px,5px 5px;background-repeat:no-repeat;
}
.q2-meta .ro.wrap{height:auto;line-height:1.5;padding:7px 10px;white-space:normal;
  font-family:inherit;font-size:12px;color:var(--q2-ink)}
.q2-meta input:disabled{background:#FAFAFA;color:var(--q2-sub)}
.q2-meta .ro{
  min-height:34px;display:flex;align-items:center;padding:6px 10px;border:1px dashed var(--q2-line);
  font-family:"SFMono-Regular",Consolas,monospace;font-size:14px;color:var(--q2-main);
  letter-spacing:.02em;white-space:normal;overflow-wrap:anywhere;line-height:1.5;
}
.q2-meta .ro em{font-style:normal;color:var(--q2-red);font-size:11px;margin-left:6px}

/* ── 单据标题 ── */
.q2-cap{
  text-align:center;font-size:20px;font-weight:700;letter-spacing:.4em;
  margin:20px 0 14px;padding-bottom:10px;border-bottom:2px solid var(--q2-main);
}

/* ── 明细表 ── */
.q2-tbwrap{overflow-x:auto;border:1px solid var(--q2-line)}
.q2-tb{width:100%;border-collapse:collapse;min-width:940px;table-layout:fixed}
.q2-tb th{
  background:var(--q2-head);font-weight:600;font-size:12px;color:var(--q2-ink);
  padding:8px 6px;border-bottom:1px solid var(--q2-line);text-align:left;white-space:nowrap;
}
.q2-tb td{
  padding:3px 4px;border-bottom:1px solid #E8E8E8;font-size:14px;vertical-align:middle;
}
.q2-tb tbody tr:hover td{background:#FAFAFA}
.q2-tb .c{text-align:center}
.q2-tb .r{text-align:right}
.q2-tb .cw{width:1%}
.q2-tb .num{font-variant-numeric:tabular-nums;font-family:"SFMono-Regular",Consolas,monospace;font-size:12px}
.q2-tb .b{font-weight:700}
.q2-tb .dim{color:#9E9E9E;font-size:12px}
.q2-in{
  width:100%;height:30px;border:0;background:transparent;padding:0 4px;
  font-family:inherit;font-size:14px;color:var(--q2-ink);border-radius:2px;
}
.q2-in:focus{outline:none;background:#FAFAFA;box-shadow:none}
.q2-in.r{text-align:right}
.q2-in.c{text-align:center}
#main .q2 .q2-x{
  border:0!important;background:transparent!important;color:#E8E8E8!important;
  font-size:20px;line-height:1;cursor:pointer;padding:4px 6px!important;min-width:22px;
}
#main .q2 .q2-x:hover{color:var(--q2-red)!important}
#main .q2 .q2-add{
  margin-top:10px;border:1px dashed var(--q2-line)!important;background:#FFFFFF!important;
  color:var(--q2-main)!important;padding:7px 16px!important;font-size:12px!important;
  cursor:pointer;font-family:inherit;border-radius:2px!important;
}
#main .q2 .q2-add:hover{border-color:var(--q2-main)!important;background:#FAFAFA!important}

/* ── 合计 ── */
.q2-sum{
  display:flex;justify-content:flex-end;gap:0;margin-top:14px;
  border-top:1px solid var(--q2-line);border-bottom:1px solid var(--q2-line);
}
.q2-sum .s{
  flex:0 0 auto;min-width:170px;padding:10px 16px;border-right:1px solid var(--q2-line);
  display:flex;justify-content:space-between;align-items:baseline;gap:14px;
}
.q2-sum .s:last-child{border-right:0}
.q2-words{
  padding:9px 16px;border:1px solid var(--q2-line);border-top:0;text-align:right;
  font-size:12px;color:var(--q2-sub);letter-spacing:.02em;
}
.q2-words b{color:var(--q2-ink);font-size:14px;letter-spacing:.04em;margin-left:6px}
.q2-sum .s span{font-size:12px;color:var(--q2-sub);white-space:nowrap}
.q2-sum .s b{font-size:14px;font-family:"SFMono-Regular",Consolas,monospace}
.q2-sum .s.hot{background:var(--q2-main)}
.q2-sum .s.hot span{color:rgba(255,255,255,.8)}
.q2-sum .s.hot b{color:#FFFFFF;font-size:20px}

/* ── 条款 ── */
.q2-terms{margin-top:14px;border:1px solid var(--q2-line);padding:12px 16px;background:#FAFAFA}
.q2-terms .h{font-size:12px;font-weight:700;letter-spacing:.06em;margin-bottom:6px}
.q2-terms ol{margin:0;padding-left:20px}
.q2-terms li{font-size:12px;line-height:1.85;color:#1A1A1A}
.q2-terms .note{font-size:11px;color:#9E9E9E;margin-top:8px}

/* ── 操作 ── */
.q2-act{
  display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin-top:16px;
  padding-top:14px;border-top:1px solid var(--q2-line);
}
#main .q2 .q2-btn{
  height:36px;padding:0 20px!important;border:1px solid var(--q2-line)!important;
  background:#FFFFFF!important;color:var(--q2-ink)!important;font-size:14px!important;
  font-family:inherit;cursor:pointer;border-radius:2px!important;
}
#main .q2 .q2-btn:hover{border-color:var(--q2-main)!important;color:var(--q2-main)!important}
#main .q2 .q2-btn.pri{background:var(--q2-main)!important;border-color:var(--q2-main)!important;color:#FFFFFF!important}
#main .q2 .q2-btn.pri:hover{background:#1A1A1A!important;color:#FFFFFF!important}
#main .q2 .q2-btn.warn{color:var(--q2-red)!important;border-color:#E8E8E8!important}
#main .q2 .q2-btn.warn:hover{background:#FAFAFA!important;border-color:var(--q2-red)!important}
#main .q2 .q2-btn.ghost{color:var(--q2-sub)!important}
.q2-hint{font-size:11px;color:#9E9E9E;margin-left:auto}

/* ── 历史 ── */
.q2-hist{padding-top:14px}
.q2-h{font-size:14px;font-weight:700;letter-spacing:.04em;margin-bottom:10px}
.q2-lst{min-width:820px}
.q2-lst td{font-size:12px;padding:8px 6px}
.q2-lst .mono{font-family:"SFMono-Regular",Consolas,monospace;font-size:12px;color:var(--q2-main)}
.q2-lst tr.void td{color:#9E9E9E;text-decoration:line-through}
.q2-lst tr.void .mono{color:var(--q2-red)}
.q2-lst .ops a{
  color:var(--q2-main);cursor:pointer;margin:0 6px;font-size:12px;
  text-decoration:none;border-bottom:1px solid transparent;
}
.q2-lst .ops a:hover{border-bottom-color:var(--q2-main)}

/* ── 友创：把主色换成藏青，别处不动 ── */
html[data-tenant="youchuang"][data-skin="gov"] .q2{ --q2-main:#1A1A1A; --q2-head:#E8E8E8; }

@media (max-width:720px){
  .q2{padding:0 2px}
  .q2-card{padding:12px}
  .q2-cap{font-size:20px;letter-spacing:.3em}
  .q2-meta .f.w{width:100%}
  .q2-sum{flex-direction:column;border-bottom:1px solid var(--q2-line)}
  .q2-sum .s{border-right:0;border-bottom:1px solid var(--q2-line)}
  .q2-sum .s:last-child{border-bottom:0}
  .q2-hint{margin-left:0;width:100%}
}

/* ── 甲方：客户台账候选浮层（两家共用，配色走变量） ── */
.q2-pw { position: relative; }
.q2-cpop {
  position: absolute; left: 0; right: 0; top: 100%; margin-top: 2px; z-index: 60;
  display: none; max-height: 234px; overflow: auto;
  background: #FFFFFF; border: 1px solid var(--q2-line, #E8E8E8);
  box-shadow: none;
}
.q2-ci { padding: 9px 11px; border-bottom: 1px solid #E8E8E8; cursor: pointer; line-height: 1.35; }
.q2-ci:last-child { border-bottom: 0; }
.q2-ci:active { background: #E8E8E8; }
.q2-ci b { display: block; font-size:14px; font-weight: 600; color: #1A1A1A; }
.q2-ci span {
  display: block; font-size:11px; color: #6E6E6E; margin-top: 2px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.q2-ci.new { color: var(--q2-main, #6E6E6E); font-size:14px; font-weight: 600; background: #FAFAFA; }

/* ============================================================================
   历史单据（2026-11-15）
   ----------------------------------------------------------------------------
   这一屏只回答一个问题：那单在哪儿。
   所以上面一行是搜索和收窄的口子，中间一行是总数，下面就是表 ——
   不再加标题、不加说明、不加卡片阴影。表本身要经得住一千五百行。
   ========================================================================== */

/* ── 视图条：开单 / 历史 ── */
/* 开单页：模板页签在左，去历史的门在右，同一行 */
.q2-hd{display:flex;align-items:flex-end;justify-content:space-between;gap:14px;flex-wrap:wrap}
.q2-hd .q2-tabs{margin-top:0}
#main .q2 .q2-hgoto{margin-bottom:2px}
/* 历史页：右上角一个主动作 */
.q2-hbar{display:flex;justify-content:flex-end;margin:0 0 12px}

/* ── 开单页底部的指路一句 ── */
.q2-tail{
  margin-top:18px;padding-top:12px;border-top:1px solid var(--q2-line);
  font-size:12px;color:var(--q2-sub);letter-spacing:.02em;
}
.q2-tail a{color:var(--q2-main);cursor:pointer;border-bottom:1px solid rgba(110,110,110,.4)}

/* ── 筛选条 ── */
.q2-hf{
  display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:12px;
}
.q2-hf select,.q2-hf input{
  height:32px;border:1px solid var(--q2-line);background:#FFFFFF;border-radius:2px;
  font-family:inherit;font-size:12px;color:var(--q2-ink);padding:0 8px;
}
.q2-hf select{
  padding-right:24px;-webkit-appearance:none;appearance:none;
  background-image:none;
  background-position:calc(100% - 13px) 14px,calc(100% - 8px) 14px;
  background-size:5px 5px,5px 5px;background-repeat:no-repeat;
}
.q2-hf select:focus,.q2-hf input:focus{outline:none;border-color:var(--q2-main)}
.q2-hkw{flex:1 1 320px;min-width:200px}
.q2-hdt{width:130px}
.q2-hdsep{font-size:11px;color:var(--q2-sub);letter-spacing:.04em}
#main .q2 .q2-btn.sm{height:32px;padding:0 12px!important;font-size:12px!important}

/* ── 汇总：五个数，一行 ── */
.q2-hsum{
  display:flex;flex-wrap:wrap;align-items:center;
  border-top:1px solid var(--q2-line);border-bottom:1px solid var(--q2-line);
  padding:11px 0;margin-bottom:14px;
}
.q2-hsum>div{
  padding:0 22px;border-right:1px solid #E8E8E8;
  display:flex;flex-direction:column;gap:3px;
}
.q2-hsum>div:first-child{padding-left:2px}
.q2-hsum>div:last-child{border-right:0}
.q2-hsum b{
  font-family:"SFMono-Regular",Consolas,monospace;font-size:20px;font-weight:600;
  color:var(--q2-ink);letter-spacing:.01em;line-height:1.2;
}
.q2-hsum b.warn{color:var(--q2-red)}
.q2-hsum span{font-size:11px;color:var(--q2-sub);letter-spacing:.12em}
.q2-hsum .w{margin-left:auto;border-right:0;padding-right:2px;align-items:flex-end}
.q2-hnote{font-size:11px;color:#9E9E9E;letter-spacing:.04em}

/* ── 表 ── */
.q2-hcard{padding:0;border:1px solid var(--q2-line);background:#FFFFFF;margin-bottom:0}
.q2-hcard .q2-tbwrap{border:0}
.q2-lst{min-width:1000px}
.q2-lst th{padding:9px 8px;font-size:11px;letter-spacing:.08em;color:var(--q2-sub);background:#FAFAFA}
.q2-lst td{padding:8px 8px;font-size:12px;border-bottom:1px solid #E8E8E8;vertical-align:middle;
  white-space:nowrap}   /* 日期和金额不许折行：2026-11-\n14 读起来像两个数 */
.q2-lst tbody tr:hover td{background:#FAFAFA}
.q2-lst .mono{font-family:"SFMono-Regular",Consolas,monospace;font-size:10.5px;color:var(--q2-ink);letter-spacing:0;white-space:normal;overflow-wrap:anywhere}
.q2-lst .num{font-family:"SFMono-Regular",Consolas,monospace;font-size:12px;font-variant-numeric:tabular-nums}
.q2-lst .num.b{font-weight:600}
.q2-lst .pt{color:var(--q2-ink);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:210px}
.q2-lst .brf{color:var(--q2-sub);font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:260px}
.q2-lst .dim2{color:#9E9E9E;font-size:12px}
.q2-lst tr.void td{color:#9E9E9E}
.q2-lst tr.void td.pt,.q2-lst tr.void td.mono{text-decoration:line-through;text-decoration-color:#E8E8E8}
.q2-lst tr.arch td{color:#6E6E6E}
.q2-nod{font-size:11px;color:#9E9E9E;letter-spacing:.04em}

/* 状态：只有「作废」值得戴个红边，别的都老实待着 */
.q2-st{
  display:inline-block;width:max-content;font-size:11px;line-height:1.5;padding:1px 7px;
  border:1px solid #E8E8E8;color:var(--q2-sub);white-space:nowrap;letter-spacing:.04em;
}
.q2-st.ok{border-color:#E8E8E8;color:#6E6E6E}
.q2-st.v{border-color:#E8E8E8;color:var(--q2-red)}
.q2-st.a{border-color:#E8E8E8;color:#9E9E9E}

.q2-lst .ops{white-space:nowrap}
.q2-lst .ops a{
  color:var(--q2-main);cursor:pointer;margin:0 5px;font-size:12px;
  text-decoration:none;border-bottom:1px solid transparent;
}
.q2-lst .ops a:hover{border-bottom-color:var(--q2-main)}
.q2-lst .ops a.lnk-warn{color:#9E9E9E}
.q2-lst .ops a.lnk-warn:hover{color:var(--q2-red);border-bottom-color:var(--q2-red)}

/* ── 翻页 ── */
.q2-pg{display:flex;align-items:center;justify-content:center;gap:14px;padding:14px 0 2px}
.q2-pg span{font-size:12px;color:var(--q2-sub);letter-spacing:.04em}
#main .q2 .q2-pg .q2-btn:disabled{opacity:.35;cursor:not-allowed}

@media (max-width:720px){
  /* 手机上五个数横排一定挤成「四加一」，最后一个孤零零挂在下一行左边。
     改成三列两行：读的时候是「单据 / 金额 / 本月」三组，成对。 */
  .q2-hsum{display:grid;grid-template-columns:repeat(3,1fr);gap:12px 0;padding:12px 0}
  .q2-hsum>div{padding:0 12px;border-right:1px solid #E8E8E8}
  .q2-hsum>div:nth-child(3n){border-right:0}
  .q2-hsum>div:first-child{padding-left:12px}
  .q2-hsum .w{display:none}
  .q2-hkw{flex:1 1 100%}
  .q2-hf select{flex:1 1 46%}
  .q2-hdate{width:100%}
  .q2-hdt{flex:1 1 auto;min-width:0}
  .q2-hbar .q2-btn{width:100%}
  .q2-hd{flex-direction:column;align-items:stretch;gap:10px}
  /* 手机上这个按钮别铺满整行 —— 铺满了就长得像标题，人会以为那是一句话 */
  #main .q2-hd .q2-hgoto{width:auto!important;align-self:flex-end;height:30px;font-size:12px;padding:0 12px!important}
  /* 横滑的时候单号钉在左边：滑到金额那一列，还得知道这是哪张单 */
  /* 手机竖屏放不下一张八列的表：横滑到金额那列，就看不见单号了。
     试过把首列钉住（sticky），Chrome 对 table-cell 的 sticky 在
     border-collapse:collapse 下不认，改 separate 也不稳 —— 实测仍然不钉。
     索性换形态：一张单一张卡，单号和金额并排，其余按行往下排。

     选择器要压过 jp.css 里那条 `#main tbody td`（它带 !important，
     又排在 q2.css 后面）。所以这里多挂两件衣服：.q2-hcard + table.q2-lst。 */
  .q2-hcard{border:0;background:none!important;padding:0}
  .q2-hcard .q2-tbwrap{overflow:visible;border:0}
  html[data-tenant] #main .q2-hcard table.q2-lst{
    min-width:0!important;display:block;border-collapse:separate;border-spacing:0;
  }
  html[data-tenant] #main .q2-hcard table.q2-lst colgroup,
  html[data-tenant] #main .q2-hcard table.q2-lst thead{display:none}
  html[data-tenant] #main .q2-hcard table.q2-lst tbody{display:block}
  html[data-tenant] #main .q2-hcard table.q2-lst tr{
    display:grid;grid-template-columns:auto 1fr auto;gap:5px 10px;
    align-items:baseline;
    padding:11px 12px 10px;margin-bottom:8px;background:#FFFFFF!important;
    border:1px solid var(--q2-line)!important;
  }
  html[data-tenant] #main .q2-hcard table.q2-lst tr.void{background:#FAFAFA!important}
  html[data-tenant] #main .q2-hcard table.q2-lst td{
    display:block;border:0!important;padding:0!important;height:auto!important;
    background:transparent!important;white-space:normal;max-width:none!important;
  }
  /* 第 1 行：单号 ｜ 金额 */
  html[data-tenant] #main .q2-hcard table.q2-lst td:nth-child(1){grid-area:1/1/2/3;font-size:12px;min-width:0;
    overflow:hidden;text-overflow:ellipsis}
  html[data-tenant] #main .q2-hcard table.q2-lst td:nth-child(5){grid-area:1/3/2/4;font-size:14px;font-weight:600;text-align:right;white-space:nowrap}
  /* 第 2 行：日期 ｜ 状态 ｜ 经手 */
  html[data-tenant] #main .q2-hcard table.q2-lst td:nth-child(2){grid-area:2/1/3/2;font-size:11px;color:#9E9E9E}
  html[data-tenant] #main .q2-hcard table.q2-lst td:nth-child(6){grid-area:2/2/3/3;justify-self:start}
  html[data-tenant] #main .q2-hcard table.q2-lst td:nth-child(7){grid-area:2/3/3/4;justify-self:end;font-size:11px;color:#9E9E9E}
  /* 第 3~5 行：甲方 / 内容 / 操作 */
  html[data-tenant] #main .q2-hcard table.q2-lst td:nth-child(3){grid-area:3/1/4/4;font-size:12px;color:var(--q2-ink)}
  html[data-tenant] #main .q2-hcard table.q2-lst td:nth-child(4){grid-area:4/1/5/4;font-size:12px;color:#6E6E6E}
  html[data-tenant] #main .q2-hcard table.q2-lst td:nth-child(8){grid-area:5/1/6/4;text-align:right}


}

/* 单号下面那行小字：制式单才有的模板名。占位很轻，只为回答「这是哪类单」 */
.q2-lst .no-sub{display:block;font-size:11px;color:#9E9E9E;letter-spacing:.04em;margin-top:2px;font-family:inherit}
.q2-lst tr.void .no-sub{text-decoration:none}
/* 日期那两个框连成一句，不要各自折行 */
.q2-hdate{display:inline-flex;align-items:center;gap:6px;white-space:nowrap}
.q2-hdate input[type=date]{flex:0 0 auto;width:138px;min-width:138px}

/* 整行可点：鼠标停上去给一条底色，别让人猜「哪儿能点」。 */
.q2-lst tbody tr{cursor:pointer}
.q2-lst tbody tr.void{background:#FAFAFA}
.q2-lst tbody tr:hover{box-shadow:none}

/* 报价页不是现场：右下角那颗相机只会挡住金额和「再报一次」。
   开单不用到工地上拍东西，这一页就不给它挂。 */
body:has(#main .q2) .fd-fab{display:none!important}

/* 税率档位：启迅两格（6% / 13%），友创一格只写固定值。
   不做彩色按钮 —— 这张纸整体不着一色，选中用墨块反白，跟纸上的黑线是一路的。 */
.q2-taxbtns{display:inline-flex;border:1px solid var(--q2-line);background:#FFFFFF}
.q2-tbtn{
  min-width:54px;height:30px;padding:0 13px;border:0;border-right:1px solid var(--q2-line);
  background:transparent;color:var(--q2-ink);font:inherit;font-size:12px;
  letter-spacing:.04em;cursor:pointer;transition:background .12s,color .12s;
}
.q2-tbtn:last-child{border-right:0}
.q2-tbtn.on{background:var(--q2-ink);color:#FFFFFF}
.q2-tbtn:hover:not(.on){background:#E8E8E8}

/* 旧编号标记：只提醒，不改号。改了号，纸质档案和 PDF 就对不上了。 */
.q2-lst .no-old{display:inline-block;margin-left:5px;padding:0 4px;border:1px solid #E8E8E8;
  color:#9E9E9E;font-family:inherit;font-size:11px;line-height:15px;border-radius:2px;
  vertical-align:1px;text-decoration:none!important}

/* ══ 商务内容（只改字，不改架子）═════════════════════════════════════
   这一块跟上面的「条款」是同一件事的两半：上面是模板给的，下面是这张单的。
   所以不做成两张卡片 —— 分成两张，人会以为「这是另一个功能」。
   整块用一条上边线接住，视觉上仍是同一张纸的注脚。 */
.q2-cz{margin-top:2px;border:1px solid var(--q2-line);border-top:0;padding:14px 16px 16px;background:#FAFAFA}
.q2-cz-h{display:flex;align-items:baseline;gap:10px;margin-bottom:6px}
.q2-cz-h b{font-size:14px;letter-spacing:.06em;color:var(--q2-ink)}
.q2-cz-h i{font-style:normal;font-size:11px;color:var(--q2-sub);letter-spacing:.02em}
.q2-cz-lock{font-size:11px;line-height:1.7;color:var(--q2-sub);
  background:#FFFFFF;border-left:2px solid var(--q2-ink);padding:7px 10px;margin-bottom:12px}
.q2-cz-lock b{color:var(--q2-ink);font-weight:600}
.q2-cz-row{display:flex;gap:12px;padding:9px 0;border-top:1px solid #E8E8E8}
.q2-cz-row:first-of-type{border-top:0}
.q2-cz-lb{flex:0 0 88px;font-size:12px;color:var(--q2-ink);letter-spacing:.04em;padding-top:4px}
.q2-cz-lb em{display:block;font-style:normal;font-size:11px;color:#9E9E9E;margin-top:2px;letter-spacing:0}
.q2-cz-bd{flex:1;min-width:0}
.q2-chips{display:flex;flex-wrap:wrap;gap:6px}
.q2-cl{
  height:27px;padding:0 10px;border:1px solid var(--q2-line);background:#FFFFFF;
  color:var(--q2-ink);font:inherit;font-size:12px;letter-spacing:.02em;cursor:pointer;
  transition:background .12s,border-color .12s;
}
.q2-cl:hover{border-color:var(--q2-ink)}
.q2-cl.on{background:var(--q2-ink);border-color:var(--q2-ink);color:#FFFFFF}
.q2-cz-none{font-size:11px;color:#9E9E9E}
.q2-ownline{display:flex;gap:6px;margin-top:8px}
.q2-ownline input{flex:1;min-width:0;height:30px;padding:0 9px;border:1px solid var(--q2-line);
  background:#FFFFFF;font:inherit;font-size:12px;color:var(--q2-ink)}
.q2-ownline input:focus{outline:none;border-color:var(--q2-ink)}
.q2-ownline .q2-btn.sm{height:30px;padding:0 12px;font-size:12px}
.q2-picked{list-style:none;margin:8px 0 0;padding:0}
.q2-picked li{display:flex;gap:8px;align-items:flex-start;font-size:11px;line-height:1.6;
  color:var(--q2-ink);background:#FFFFFF;border-left:1px solid #E8E8E8;padding:5px 8px;margin-bottom:4px}
.q2-picked li span{flex:1;min-width:0}
.q2-cx{flex:0 0 auto;border:0;background:transparent;color:#9E9E9E;font:inherit;font-size:14px;
  line-height:1;cursor:pointer;padding:0 2px}
.q2-cx:hover{color:var(--q2-ink)}
.q2-cz-line{display:flex;align-items:center;gap:8px;margin-bottom:6px}
.q2-cz-line select{height:28px;padding:0 22px 0 8px;border:1px solid var(--q2-line);
  background:#FFFFFF;font:inherit;font-size:12px;color:var(--q2-ink)}
.q2-cz-n{margin-left:auto;font-size:11px;color:#9E9E9E;letter-spacing:.02em}
.q2-cz textarea{width:100%;padding:7px 9px;border:1px solid var(--q2-line);background:#FFFFFF;
  font:inherit;font-size:12px;line-height:1.65;color:var(--q2-ink);resize:vertical;min-height:44px}
.q2-cz textarea:focus{outline:none;border-color:var(--q2-ink)}
/* 纸上追加的那几条：屏幕上给一个浅底，让人知道「这几条是自己加的」 */
.q2-terms ol li.add{color:var(--q2-ink)}
.q2-terms ol li.add::marker{color:#9E9E9E}
@media(max-width:640px){
  .q2-cz{padding:12px}
  .q2-cz-row{flex-direction:column;gap:6px}
  .q2-cz-lb{flex:none;padding-top:0}
  .q2-cz-lb em{display:inline;margin-left:6px}
  .q2-ownline{flex-wrap:wrap}
}

/* ── 填单联想弹层 ────────────────────────────────────────────────────
   挂 body、position:fixed。明细表外壳是 overflow-x:auto，挂在表格里
   会被裁成一条缝；挂 body 才能盖住下面的行。
   两层信息：名称+规格+单位+库价一行，历史价一行 —— 报价的人真正要看的是后者。 */
.q2-sug{
  position:fixed; z-index:9000; display:none;
  background:#fff; border:1px solid #DDDDDD; border-radius:2px;
  box-shadow:0 6px 20px rgba(0,0,0,.07);
  overflow-y:auto; font-size:12.5px; line-height:1.5; color:#1A1A1A;
  -webkit-overflow-scrolling:touch;
}
.q2-sug .g{padding:6px 10px; border-bottom:1px solid #F4F4F5; cursor:pointer}
.q2-sug .g:last-of-type{border-bottom:0}
.q2-sug .g.on{background:#F5F5F7}
.q2-sug .r1{display:flex; align-items:baseline; gap:7px}
.q2-sug .r1 b{font-weight:600; white-space:nowrap; overflow:hidden; text-overflow:ellipsis}
.q2-sug .r1 i{font-style:normal; color:#8A8A8E; font-size:11.5px; white-space:nowrap;
  overflow:hidden; text-overflow:ellipsis}
.q2-sug .r1 .u{color:#B0B0B4; font-size:11px; white-space:nowrap}
.q2-sug .r1 em{margin-left:auto; font-style:normal; font-size:12px; white-space:nowrap;
  font-variant-numeric:tabular-nums; font-family:"SFMono-Regular",Consolas,monospace}
.q2-sug .r1 em.dim{color:#C0C0C4; font-family:inherit; font-size:11px}
.q2-sug .r2{color:#9A9A9E; font-size:11px; margin-top:1px}
.q2-sug .ft{padding:6px 10px; color:#B0B0B4; font-size:11px; border-top:1px solid #F4F4F5}
@media(max-width:640px){
  .q2-sug{font-size:13px}
  .q2-sug .r1 i{display:none}
  .q2-sug .g{padding:8px 10px}
}

/* 手机上明细表有 11 列，必须横滑。以前没有任何提示，
   人看到表格被切一半，以为坏了；「删行」那个 × 在最右边，找不到。*/
.q2-swipe{display:none}
@media (max-width:760px){
  .q2-swipe{display:block;font-size:11px;color:#8e8e93;margin:2px 0 4px;letter-spacing:.02em}
}

/* 四个报价类型（维修 / 年度维保 / 急修 / 改造）原来是 flex-wrap，
   宽度各随内容，排出来是 192 / 190 / 156 / 158 四块参差的砖：
   第一行一个、第二行两个、第三行一个，右边空一截，看着像没排完。
   手机上改成 2×2 等宽，一眼看全四个；桌面留一行四个。
   编码（QIXUN-WX 这类）缩到第二行右端，不跟名字抢宽度。 */
@media (max-width:899px){
  #main .q2 .q2-tabs{display:grid;grid-template-columns:1fr 1fr;gap:6px}
  #main .q2 .q2-tabs .q2-tab{width:100%;justify-content:center;padding:8px 8px!important;
    white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  /* 编码（QIXUN-WX）在 178 宽里挤不下，把「维修/换件报价」顶成两行，
     四个按钮就高低不一（52 / 34）。选类型的时候用不着编码，
     手机上收了；单号生成后表单里会写明是哪个前缀。 */
  #main .q2 .q2-tabs .q2-tab i{display:none}
}

/* ===== tenant.css ===== */
/* ============================================================================
   两套皮：启迅（日式精益） / 友创（国企规范）
   ----------------------------------------------------------------------------
   这一份只管「看起来是另一家公司」，不管业务。业务只有一份代码，
   改这里不会改到任何一个数、任何一条流程。

   做法：同一个 HTML，靠 <html data-tenant="…"> 切。
   启迅几乎不用覆盖 —— 现在的宋韵底子本来就是照着它长的；
   友创在这里把「规整、分层、可存档」这一路补齐。

   覆盖时一律加 html[data-tenant="youchuang"][data-skin="gov"] 前缀 + !important：
   （data-skin 是皮肤开关：不写就吃宋韵，写 gov 才套国企规范那一套。
     2026-11 起默认走宋韵 —— 两家的页面长得一样，才不会一眼看出是两套系统。）
   app.css 里有一批全局 !important，不带前缀压不住（踩过）。
   ========================================================================== */

/* ── 两家都修的一条：登录页盖不住顶栏 ──
   .login 是 z-index:300，顶栏比它高，登录页顶上就露出一条黑边，
   看着像「页面没加载完」。抬到 950（相机层 9000 在它上面）。 */
#loginPage { z-index: 950 !important; }

/* ================== 友创｜国企规范版 ==================
   要的东西：抬头规范、要素齐全、层级清晰、边界分明、适合打印存档迎检。
   不要的东西：圆角、柔和阴影、灰度留白、极简到看不出层级。 */
html[data-tenant="youchuang"][data-skin="gov"] {
  --yc-navy: #1A1A1A;        /* 主色：深藏青，公文/制式系统常用 */
  --yc-navy-2: #1A1A1A;
  --yc-red: #1A1A1A;         /* 红头、必填星、重要提示 */
  --yc-line: #E8E8E8;        /* 所有分隔线统一这一个色，不许浓淡不一 */
  --yc-head: #E8E8E8;        /* 表头 / 区块标题底 */
  --yc-bg: #FAFAFA;
  --yc-ink: #1A1A1A;
  --yc-sub: #1A1A1A;
}

/* ── 整体：底色换冷灰，正文换宋体观感，行距放大（要能打印、要能读） ── */
html[data-tenant="youchuang"][data-skin="gov"] body {
  background: var(--yc-bg) !important;
  color: var(--yc-ink) !important;
  letter-spacing: .01em;
  /* 宋体是启迅的底子（宋韵）。国企版换成无衬线：制式系统要的是「规整、像公文」，
     不是「有味道」。这一条改完，两家的第一眼就不一样了。 */
  font-family: "PingFang SC", "Microsoft YaHei", "Source Han Sans SC", "Noto Sans CJK SC", "Hiragino Sans GB", sans-serif !important;
}

/* ── 顶栏：单位全称在左，系统名在后，像一块门楣 ── */
html[data-tenant="youchuang"][data-skin="gov"] header {
  background: var(--yc-navy) !important;
  border-bottom: 3px solid var(--yc-red) !important;
  box-shadow: none !important;
}
html[data-tenant="youchuang"][data-skin="gov"] header h1 {
  font-size:20px !important;
  font-weight: 600 !important;
  letter-spacing: .04em !important;
  color: #FFFFFF !important;
}
html[data-tenant="youchuang"][data-skin="gov"] header .sub {
  color: rgba(255, 255, 255, .74) !important;
  font-size:11px !important;
  letter-spacing: .06em !important;
}

/* ── 卡片 / 面板：直角 + 一圈细边 + 标题带底色条，界线清楚才谈得上归档 ── */
html[data-tenant="youchuang"][data-skin="gov"] .panel,
html[data-tenant="youchuang"][data-skin="gov"] .pibox,
html[data-tenant="youchuang"][data-skin="gov"] .card,
html[data-tenant="youchuang"][data-skin="gov"] .fold {
  background: #FFFFFF !important;
  border: 1px solid var(--yc-line) !important;
  border-radius: 2px!important;
  box-shadow: none !important;
}
html[data-tenant="youchuang"][data-skin="gov"] .panel > h3,
html[data-tenant="youchuang"][data-skin="gov"] .pibox-hd {
  background: var(--yc-head) !important;
  border-bottom: 1px solid var(--yc-line) !important;
  padding: 10px 13px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  color: var(--yc-navy) !important;
  letter-spacing: .02em;
}
html[data-tenant="youchuang"][data-skin="gov"] .panel > h3::before {
  content: "";
  display: inline-block;
  width: 3px; height: 13px;
  margin-right: 8px;
  vertical-align: -2px;
  background: var(--yc-red);
}

/* ── 按钮：方、厚、字正。主色深蓝，次要描边 ── */
html[data-tenant="youchuang"][data-skin="gov"] .btn {
  border-radius: 2px!important;
  background: var(--yc-navy) !important;
  color: #FFFFFF !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  letter-spacing: .05em !important;
  border: 1px solid var(--yc-navy) !important;
  box-shadow: none !important;
}
html[data-tenant="youchuang"][data-skin="gov"] .btn.ghost {
  background: #FFFFFF !important;
  color: var(--yc-navy) !important;
  border: 1px solid var(--yc-line) !important;
}
html[data-tenant="youchuang"][data-skin="gov"] .btn.danger {
  background: var(--yc-red) !important;
  border-color: var(--yc-red) !important;
}
html[data-tenant="youchuang"][data-skin="gov"] .chip {
  border-radius: 2px!important;
  border: 1px solid var(--yc-line) !important;
  background: #FFFFFF !important;
  color: var(--yc-sub) !important;
  font-size:12px !important;
}
html[data-tenant="youchuang"][data-skin="gov"] .chip.on {
  background: var(--yc-navy) !important;
  color: #FFFFFF !important;
  border-color: var(--yc-navy) !important;
}

/* ── 表单：标签完整、必填显性、输入框描边（要能一眼看出哪格没填） ── */
html[data-tenant="youchuang"][data-skin="gov"] .field > label,
html[data-tenant="youchuang"][data-skin="gov"] .qk-f > label {
  font-size:12px !important;
  color: var(--yc-ink) !important;
  font-weight: 600 !important;
  letter-spacing: .02em;
}
html[data-tenant="youchuang"][data-skin="gov"] input,
html[data-tenant="youchuang"][data-skin="gov"] select,
html[data-tenant="youchuang"][data-skin="gov"] textarea {
  border-radius: 2px!important;
  border: 1px solid var(--yc-line) !important;
  background: #FFFFFF !important;
  box-shadow: none !important;
}
html[data-tenant="youchuang"][data-skin="gov"] input:focus,
html[data-tenant="youchuang"][data-skin="gov"] select:focus,
html[data-tenant="youchuang"][data-skin="gov"] textarea:focus {
  border-color: var(--yc-navy) !important;
  outline: 1px solid rgba(43,43,43,.18) !important;
}

/* ── 数据条：平铺，不要那种「卡片浮在灰底上」的轻飘感 ── */
html[data-tenant="youchuang"][data-skin="gov"] .ar-item,
html[data-tenant="youchuang"][data-skin="gov"] .pirow,
html[data-tenant="youchuang"][data-skin="gov"] .nq-qcard,
html[data-tenant="youchuang"][data-skin="gov"] .list-item {
  background: #FFFFFF !important;
  border: 1px solid var(--yc-line) !important;
  border-radius: 2px!important;
  box-shadow: none !important;
  margin-bottom: -1px !important;   /* 相邻两条共用一条线，像一张表 */
}
html[data-tenant="youchuang"][data-skin="gov"] .ar-item + .ar-item,
html[data-tenant="youchuang"][data-skin="gov"] .pirow + .pirow { margin-top: 0 !important; }

/* ── 统计块：四格方阵，数字居中，标签在下，便于截图进汇报材料 ── */
html[data-tenant="youchuang"][data-skin="gov"] .stat,
html[data-tenant="youchuang"][data-skin="gov"] .box {
  background: #FFFFFF !important;
  border: 1px solid var(--yc-line) !important;
  border-radius: 2px!important;
  box-shadow: none !important;
}
html[data-tenant="youchuang"][data-skin="gov"] .stat .label,
html[data-tenant="youchuang"][data-skin="gov"] .box .l {
  color: var(--yc-sub) !important;
  font-size:11px !important;
  letter-spacing: .06em;
}

/* ── 标签（tag）：做成小方牌，写全称不缩写 ── */
html[data-tenant="youchuang"][data-skin="gov"] .tag {
  border-radius: 2px!important;
  font-weight: 500 !important;
  letter-spacing: .04em;
}

/* ── 侧栏：深底浅字，一级一级缩进，层级要看得见 ── */
html[data-tenant="youchuang"][data-skin="gov"] .ent-side {
  background: #FFFFFF !important;
  border-right: 1px solid var(--yc-line) !important;
}
html[data-tenant="youchuang"][data-skin="gov"] .ent-nav .nav-g {
  color: var(--yc-navy) !important;
  font-weight: 600 !important;
  letter-spacing: .05em;
  border-left: 3px solid transparent;
}
html[data-tenant="youchuang"][data-skin="gov"] .ent-nav .nav-g.on {
  border-left-color: var(--yc-red);
  background: #FAFAFA !important;
}

/* ================== 登录页：两套完全不同的开场 ==================
   启迅：一张白纸，居中的名字，两个框，一颗按钮。看完就走，不耽误人。
   友创：抬头、单位全称、系统名、必填标记、备案页脚。像进了一间办公室。
   注意 #loginPage 前缀：app.css 里登录页那套是 #id 级别的，少写一位压不住。 */
html[data-tenant="youchuang"][data-skin="gov"] #loginPage {
  background: #E8E8E8 !important;
  z-index: 950;                     /* 顶栏 z-index 比 300 高，不抬起来会露出一条黑边 */
}
html[data-tenant="youchuang"][data-skin="gov"] #loginPage .login-box {
  background: #FFFFFF !important;
  border: 1px solid var(--yc-line) !important;
  border-radius: 2px!important;
  /* 抬头不做"红头条"：试过 border-top 和 inset 阴影，两种都在左上角
     露出一截杂色（app.css 那边还有一层边框压着）。国企的庄重不靠一条红边，
     靠的是「单位全称 + 系统名 + 一条分隔线 + 规整的表单」，这些已经有。 */
  box-shadow: none!important;
  max-width: 360px !important;
  padding: 26px 22px 22px !important;
  font-family: "PingFang SC", "Microsoft YaHei", "Source Han Sans SC", "Noto Sans CJK SC", sans-serif !important;
}
/* 汉风那套「碑额」装饰（一道玄黑压边 + 中间 56px 朱砂）是启迅的底子，
   文人气重，友创不要。去掉之后抬头靠单位全称和分隔线立住。 */
html[data-tenant="youchuang"][data-skin="gov"] #loginPage .login-box::before,
html[data-tenant="youchuang"][data-skin="gov"] #loginPage .login-box::after {
  content: none !important;
  display: none !important;
}
html[data-tenant="youchuang"] #loginPage .login-box .logo { display: none !important; }
html[data-tenant="youchuang"] #loginPage .login-box h2 {
  font-size:20px !important;
  font-weight: 600 !important;
  color: var(--yc-navy) !important;
  letter-spacing: .06em !important;
  margin: 0 0 3px !important;
  text-align: center;
  line-height: 1.5 !important;
}
html[data-tenant="youchuang"][data-skin="gov"] #loginPage .yc-sub {
  text-align: center;
  font-size:11px;
  color: var(--yc-sub);
  letter-spacing: .06em;
  padding-bottom: 10px;
  margin-bottom: 12px;
  border-bottom: 2px solid var(--yc-red);
}
html[data-tenant="youchuang"][data-skin="gov"] #loginPage .login-box .tip {
  font-size:11px !important;
  color: var(--yc-sub) !important;
  line-height: 1.75 !important;
  text-align: center;
  margin: 0 0 14px !important;
  letter-spacing: .02em !important;
}
html[data-tenant="youchuang"][data-skin="gov"] #loginPage .login-box .field { margin-bottom: 11px !important; }
html[data-tenant="youchuang"][data-skin="gov"] #loginPage .login-box .field > label {
  font-size:12px !important;
  font-weight: 600 !important;
  color: var(--yc-ink) !important;
  letter-spacing: .04em !important;
}
html[data-tenant="youchuang"][data-skin="gov"] #loginPage .login-box .field > label::after {
  content: "＊";
  color: var(--yc-red);
  font-size: 11px;
  margin-left: 2px;
}
html[data-tenant="youchuang"][data-skin="gov"] #loginPage .login-box input {
  height: 40px !important;
  border-radius: 2px!important;
  border: 1px solid var(--yc-line) !important;
  background: #FFFFFF !important;
  color: var(--yc-ink) !important;
  font-size:14px !important;
}
html[data-tenant="youchuang"][data-skin="gov"] #loginPage .login-box input:focus {
  border-color: var(--yc-navy) !important;
  outline: 1px solid rgba(43,43,43,.16) !important;
}
html[data-tenant="youchuang"][data-skin="gov"] #loginPage .login-box .lg-init {
  margin: 0 0 12px !important;
  padding: 8px 10px !important;
  background: #FAFAFA !important;
  border: 1px solid var(--yc-line) !important;
  border-left: 2px solid var(--yc-navy) !important;
  border-radius: 2px!important;
  font-size: 11px !important;
  color: var(--yc-sub) !important;
  line-height: 1.7 !important;
  text-align: left !important;
  letter-spacing: .01em !important;
}
html[data-tenant="youchuang"][data-skin="gov"] #loginPage .login-box .btn,
html[data-tenant="youchuang"][data-skin="gov"] #loginPage .login-box #lgBtn {
  width: 100% !important;
  height: 42px !important;
  border-radius: 2px!important;
  background: var(--yc-navy) !important;
  background-image: none !important;
  color: #FFFFFF !important;
  border: 1px solid var(--yc-navy) !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  letter-spacing: .3em !important;
  text-indent: .3em;
  box-shadow: none !important;
  text-shadow: none !important;
}
html[data-tenant="youchuang"][data-skin="gov"] #loginPage .yc-foot {
  margin-top: 14px;
  padding-top: 11px;
  border-top: 1px solid var(--yc-line);
  text-align: center;
  font-size:11px;
  color: var(--yc-sub);
  letter-spacing: .1em;
  line-height: 1.7;
}
html[data-tenant="youchuang"][data-skin="gov"] #loginPage .login-box .tip:last-of-type {
  margin: 12px 0 0 !important;
  font-size:11px !important;
  letter-spacing: .06em;
  color: #9E9E9E !important;
}

/* ── 打印：友创导出要能直接上传、归档 ── */
@media print {
  html[data-tenant="youchuang"][data-skin="gov"] body { background: #FFFFFF !important; }
  html[data-tenant="youchuang"][data-skin="gov"] .panel { border: 1px solid #E8E8E8 !important; }
  html[data-tenant="youchuang"][data-skin="gov"] header,
  html[data-tenant="youchuang"][data-skin="gov"] .ent-side,
  html[data-tenant="youchuang"][data-skin="gov"] .bottom-nav { display: none !important; }
}

/* ================== 友创：把首页也换过来 ==================
   首页的类名不是通用的 card/panel，是 hs-* / qz-* 这一套。
   不点名改，右边这半边就还是一张圆角卡片堆，跟启迅没那么大差别。 */
html[data-tenant="youchuang"][data-skin="gov"] .tz-head,
html[data-tenant="youchuang"][data-skin="gov"] .tz-head .ent-top {
  /* 2026-11-14：门楣由深蓝改成纸。
     原来整条压 #1A1A1A，进系统第一眼就是一块黑，屋里再素，门口先闷住。
     新中式的墙是白的，只有瓦是黑的 —— 分量收到最下沿那根线上就够。
     现在：米纸底、墨字、2px 绛红收口；顶栏不再是「一块色」，只是一条边。 */
  background: #FAFAFA !important;
  background-image: none !important;
  border-bottom: 0 !important;
  box-shadow: none !important;
}
html[data-tenant="youchuang"][data-skin="gov"] .tz-head {
  border-bottom: 2px solid var(--yc-red) !important;
}
html[data-tenant="youchuang"][data-skin="gov"] .tz-head .tz-brand-n,
html[data-tenant="youchuang"][data-skin="gov"] .tz-head .tz-brand-n span,
html[data-tenant="youchuang"][data-skin="gov"] .tz-head .ent-burger { color: #1A1A1A !important; }
html[data-tenant="youchuang"][data-skin="gov"] .tz-head .tz-brand-n span { color: #6E6E6E !important; }
html[data-tenant="youchuang"][data-skin="gov"] .tz-head .tz-brand-s { color: #9E9E9E !important; }
html[data-tenant="youchuang"][data-skin="gov"] .tz-head .ent-search {
  background: #FFFFFF !important;
  border: 1px solid #E8E8E8 !important;
}
html[data-tenant="youchuang"][data-skin="gov"] .tz-head .ent-search input {
  background: transparent !important;
  border: 0 !important;
  color: #1A1A1A !important;
  border-radius: 2px!important;
}
html[data-tenant="youchuang"][data-skin="gov"] .tz-head .ent-search span { color: #9E9E9E !important; }
html[data-tenant="youchuang"][data-skin="gov"] .tz-head .ent-logo { filter: none !important; }

html[data-tenant="youchuang"][data-skin="gov"] .hs-strip,
html[data-tenant="youchuang"][data-skin="gov"] .qz-quick,
html[data-tenant="youchuang"][data-skin="gov"] .hs-ask,
html[data-tenant="youchuang"][data-skin="gov"] .hs-todo,
html[data-tenant="youchuang"][data-skin="gov"] .hs-manual,
html[data-tenant="youchuang"][data-skin="gov"] .hs-cell {
  background: #FFFFFF !important;
  border: 1px solid var(--yc-line) !important;
  border-radius: 2px!important;
  box-shadow: none !important;
}
html[data-tenant="youchuang"][data-skin="gov"] .hs-strip {
  border-left: 3px solid var(--yc-navy) !important;
}
html[data-tenant="youchuang"][data-skin="gov"] .hs-cell + .hs-cell { border-left: 1px solid var(--yc-line) !important; }
html[data-tenant="youchuang"][data-skin="gov"] .hs-cell b { color: var(--yc-navy) !important; }

html[data-tenant="youchuang"][data-skin="gov"] .bbar,
html[data-tenant="youchuang"][data-skin="gov"] .tz-foot {
  background: #FFFFFF !important;
  border-top: 1px solid var(--yc-line) !important;
  box-shadow: none !important;
}

/* 圆角归零：点名，不通配。
   试过 [class*="quick"] 这种写法，结果把卡片里的「加号」也压成方框了 ——
   子元素的类名往往带着父级的词（qz-quick 里就有 qz-quick-a）。
   点名长一点，但不会误伤。 */
html[data-tenant="youchuang"][data-skin="gov"] #main .hs-strip,
html[data-tenant="youchuang"][data-skin="gov"] #main .qz-quick,
html[data-tenant="youchuang"][data-skin="gov"] #main .hs-ask,
html[data-tenant="youchuang"][data-skin="gov"] #main .hs-todo,
html[data-tenant="youchuang"][data-skin="gov"] #main .hs-manual,
html[data-tenant="youchuang"][data-skin="gov"] #main .panel,
html[data-tenant="youchuang"][data-skin="gov"] #main .pibox {
  border-radius: 2px!important;
}
html[data-tenant="youchuang"][data-skin="gov"] #main .hs-ask,
html[data-tenant="youchuang"][data-skin="gov"] #main .hs-todo,
html[data-tenant="youchuang"][data-skin="gov"] #main .hs-manual,
html[data-tenant="youchuang"][data-skin="gov"] #main .qz-quick {
  box-shadow: none!important;
  border: 0 !important;
}

/* ================== 友创｜标识（LOGO） ==================
   图形按官方标识重绘成矢量：三块红色柱体（左两块各开一道白色竖缝）、
   中间一根窄柱、顶部一枚金黄菱形。
   为什么重绘不用截图：截图是白底 210px 位图，抠底有毛边，放到顶栏 30px
   还行、放到打印件上就发虚；矢量版从 16px 到 A4 红头都是硬的。
   要换成真图（比如设计部给了 svg/ai）：只改下面这一行，别处不用动。 */
html[data-tenant="youchuang"] {
  --qx-logo: url("/static/assets/youchuang-logo.png");
}

/* 登录页：原来把 logo 藏了（汉风那块朱砂碑额去掉后上面太空）。
   现在有真标识了，摆回来 —— 单位全称 + 标识，才是国企登录页的正门样子。 */
/* 登录页是宣纸浅底：顶栏那枚米白 X 放这儿会看不见，换成墨色同一枚 */
html[data-tenant="youchuang"] #loginPage .login-box .logo,
#loginPage .login-box .logo {
  background-image: url("/static/assets/youchuang-logo.png") !important;
}
html[data-tenant="youchuang"] #loginPage .login-box .logo {
  display: block !important;
  width: 52px !important;
  height: 52px !important;
  margin: 0 auto 10px !important;
  background: var(--qx-logo) center/contain no-repeat !important;
  filter: none !important;
}

/* 抬头是全称「苏州友创工程设备有限公司」12 个字。
   360px 的卡片内宽约 316px，18px 正正好一行；再大就得折行，
   折行也不算错，但要让它折得整齐 —— 所以给 .9 的 letter-spacing 和 1.45 行高。 */
html[data-tenant="youchuang"] #loginPage .login-box h2 {
  font-size:20px !important;
  letter-spacing: .02em !important;
  line-height: 1.45 !important;
}

/* 顶栏的 logo 是白底图形压在深蓝条上，彩色的红块会把深蓝搅浑。
   统一转成单色白 —— 跟文头「单位标识」的位置和重量一致就行，不必抢色。 */
html[data-tenant="youchuang"][data-skin="gov"] .tz-head .ent-logo,
html[data-tenant="youchuang"][data-skin="gov"] .tz-head .tz-logo {
  filter: grayscale(1) brightness(3) !important;
}

/* ===== xin.css ===== */
/* ============================================================================
   XIN · 新中式（友创专属皮肤）V1.0   2026-11-14
   ----------------------------------------------------------------------------
   一句话：一张宣纸，一方墨，一道金线，一点绛红。

   新中式不是把古建搬进屏幕，是把「留白、细线、材质」这三件事做对：
     ① 纸是宣纸 —— 米白偏暖，有帘纹有纤维，不是纯色板
     ② 墨要分层 —— 门楣深墨、正文近墨、辅助灰墨，三档拉开，字才看得清
     ③ 线要细 —— 1px 发丝线，只在需要分界的地方出现，不做框
     ④ 红要少 —— 绛红只给当前项、必填、和一处收口，占比 <5%
     ⑤ 金只一条 —— 门楣下沿一道黄铜细线，是全站唯一的金属
     ⑥ 角要收 —— 块面 2–3px 微圆角，不是直角也不是大圆角

   色板（六色，多一个就乱）：
     墨   #1A1A1A   门楣、主按钮、标题
     黛青 #6E6E6E   主色（链接、聚焦、选中）
     发丝 #E8E8E8   所有分隔线
     宣纸 #FAFAFA   块面
     月白 #FAFAFA   页面地
     绛红 #6E6E6E   当前项、必填、门楣收口

   加载顺序：本文件在 tenant.css 之后，友创下覆盖前面所有层。
   ========================================================================== */

/* ============================== 一 · 色板 ==============================
   直接改写 v1 的变量：所有读 --v1-* 的组件（按钮/输入/表格/弹窗/标签）
   一次性换到宣纸黛青，不用逐个重写，也不会漏。 */
html[data-tenant="youchuang"] {
  --qin-ink: #1A1A1A;
  --qin-ink-2: #1A1A1A;
  --qin-brick: #6E6E6E;
  --qin-brick-d: #1A1A1A;
  --qin-brick-l: #9E9E9E;
  --qin-line: #E8E8E8;
  --qin-line-2: #FAFAFA;
  --qin-ground: #FAFAFA;
  --qin-paper: #FAFAFA;
  --qin-paper-2: #FAFAFA;
  --qin-cinnabar: #6E6E6E;
  --qin-cinnabar-l: #6E6E6E;
  --qin-clay: #9E9E9E;

  /* v1 变量接管 */
  --v1-bg: #FAFAFA !important;
  --v1-surface: #FAFAFA !important;
  --v1-surface-2: #FAFAFA !important;
  --v1-surface-3: #FAFAFA !important;
  --v1-line: #E8E8E8 !important;
  --v1-line-2: #FAFAFA !important;
  --v1-ink: #1A1A1A !important;
  --v1-ink-2: #1A1A1A !important;
  --v1-ink-3: #6E6E6E !important;
  --v1-ink-4: #9E9E9E !important;
  --v1-primary: #6E6E6E !important;
  --v1-primary-d: #1A1A1A !important;
  --v1-primary-soft: #FAFAFA !important;
  --v1-accent: #E8E8E8 !important;
  --v1-danger: #6E6E6E !important;
  --v1-danger-soft: #FAFAFA !important;
  --v1-success: #6E6E6E !important;
  --v1-success-soft: #E8E8E8 !important;
  --v1-warning: #9E9E9E !important;
  --v1-warning-soft: #FAFAFA !important;
  --v1-info: #6E6E6E !important;
  --v1-info-soft: #E8E8E8 !important;

  /* 圆角收到 2–3px：中式家具是收口的，不是刀切的 */
  --v1-r-btn: 0 !important;
  --v1-r-input: 0 !important;
  --v1-r-card: 0 !important;
  --v1-r-modal: 0 !important;
  --v1-r-tag: 0 !important;
  --v1-sh-1:none;
  --v1-sh-2:none;
  --v1-sh-3:none;

  /* 旧变量（带 !important 的那批）同样接管 */
  --bg: #FAFAFA !important;
  --card: #FAFAFA !important;
  --t: #1A1A1A !important;
  --m: #1A1A1A !important;
  --bd: #E8E8E8 !important;
  --p: #6E6E6E !important;
  --pd: #1A1A1A !important;
  --red: #6E6E6E !important;
  --green: #6E6E6E !important;
  --orange: #9E9E9E !important;
  --purple: #6E6E6E !important;
  --cyan: #6E6E6E !important;
  --st-0: #FAFAFA !important;
  --st-1: #FAFAFA !important;
  --st-2: #FAFAFA !important;
  --st-3: #FAFAFA !important;
  --st-line: #E8E8E8 !important;
  --st-hair: #FAFAFA !important;
  --st-ink: #1A1A1A !important;
  --st-sub: #1A1A1A !important;
  --hs-floor: #FAFAFA !important;
  --jp-paper: #FAFAFA !important;
  --jp-card: #FAFAFA !important;
  --jp-line: #E8E8E8 !important;
  --jp-line-l: #FAFAFA !important;
  --jp-ai: #6E6E6E !important;
}

/* ============================== 二 · 地 ==============================
   三层叠出来的「纸」：
     ① 纤维 —— 细噪点，近看是纸的絮，远看只是不平整
     ② 帘纹 —— 4px 一道极淡横纹，是抄纸时竹帘留下的
     ③ 明暗 —— 一大团极淡的暖光从左上透进来，右下略沉 */
html[data-tenant="youchuang"] body {
  background-color: #FAFAFA !important;
  background-image: none !important;
  color: #1A1A1A !important;
  letter-spacing: .014em;
  font-family: "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei",
               "Source Han Sans SC", "Noto Sans CJK SC", sans-serif !important;
}
html[data-tenant="youchuang"] body.ent #main,
html[data-tenant="youchuang"] body.plain #main {
  background: transparent !important;
  background-image: none !important;
}

/* 标题：衬线 + 字距，像碑额 */
html[data-tenant="youchuang"] h1,
html[data-tenant="youchuang"] h2,
html[data-tenant="youchuang"] .panel > h3,
html[data-tenant="youchuang"] .pibox-t,
html[data-tenant="youchuang"] .bb-t b,
html[data-tenant="youchuang"] .qz-quick-t,
html[data-tenant="youchuang"] .hs-hi,
html[data-tenant="youchuang"] .box-t {
  font-family: "Songti SC", "STSong", "Source Han Serif SC",
               "Noto Serif CJK SC", "SimSun", serif !important;
  letter-spacing: .045em !important;
}

/* ============================== 三 · 门楣 ==============================
   顶栏走纸不走墨（2026-11-14 改）。
   原先这里是一整块 #1A1A1A 的深墨，下沿一道绛红 —— 分量是够了，
   可一进系统最先撞见的就是这条黑带，像在门口砌了道影壁。
   新中式讲「白墙黛瓦」：墙是白的，只有瓦是黑的。
   现在米纸底、墨字，分量全收到最下沿那 2px 绛红线上。
   页面的深浅对比从「一块」降到「一根」，整个人就先松下来了。 */
html[data-tenant="youchuang"] .tz-head {
  background: #FAFAFA !important;
  border-bottom: 1px solid #E8E8E8 !important;
  box-shadow: none !important;
  position: relative;
  z-index: 60;
}
html[data-tenant="youchuang"] .ent-top {
  background: #FAFAFA !important;
  border-bottom: 0 !important;
  position: relative;
  overflow: hidden;
}
/* 原来那两条伪元素线（黄铜 + 绛红）现在多余：边框已经收了口 */
html[data-tenant="youchuang"] .ent-top::after { content: none !important; }
html[data-tenant="youchuang"] .tz-head::after { content: none !important; }

html[data-tenant="youchuang"] .tz-head .tz-brand-tx,
html[data-tenant="youchuang"] .tz-head .tz-brand-n,
html[data-tenant="youchuang"] .tz-head .tz-brand-tx b { color: #1A1A1A !important; }
html[data-tenant="youchuang"] .tz-head .tz-brand-n span { color: #6E6E6E !important; letter-spacing: .18em !important; }
html[data-tenant="youchuang"] .tz-head .tz-brand-s { color: #9E9E9E !important; letter-spacing: .18em !important; }
/* 图标改回墨线：纸底上原来那套米白 = 看不见 */
html[data-tenant="youchuang"] .tz-head .ent-burger svg,
html[data-tenant="youchuang"] .tz-head .ent-bell svg,
html[data-tenant="youchuang"] .ent-burger svg,
html[data-tenant="youchuang"] .ent-bell svg,
html[data-tenant="youchuang"] .ent-help svg {
  fill: none !important; stroke: #1A1A1A !important;
}
html[data-tenant="youchuang"] .ent-burger,
html[data-tenant="youchuang"] .ent-bell,
html[data-tenant="youchuang"] .ent-help,
html[data-tenant="youchuang"] .ent-show {
  background: transparent !important;
  color: #1A1A1A !important;
}
html[data-tenant="youchuang"] .ent-burger:active,
html[data-tenant="youchuang"] .ent-bell:active {
  background: rgba(110,110,110,.10) !important;
}
html[data-tenant="youchuang"] .tz-head .tz-me-tx b { color: #1A1A1A !important; }
html[data-tenant="youchuang"] .tz-head .tz-me-tx i { color: #6E6E6E !important; }
html[data-tenant="youchuang"] .tz-head .tz-me { border-left-color: #E8E8E8 !important; }
html[data-tenant="youchuang"] .ent-logo.tz-logo,
html[data-tenant="youchuang"] .header .qx-logo,
html[data-tenant="youchuang"] header .qx-logo {
  filter: none !important;
}

/* 桌面端 header（另一套结构）：同一张纸，同一根红线 */
html[data-tenant="youchuang"] header {
  background: #FAFAFA !important;
  border-bottom: 1px solid #E8E8E8 !important;
  box-shadow: none !important;
}
html[data-tenant="youchuang"] header h1 { color: #1A1A1A !important; }
html[data-tenant="youchuang"] header .sub { color: #6E6E6E !important; }

/* ============================== 四 · 块面 ==============================
   微圆角、一圈发丝线、极轻的投影。块面本身是素纸，不铺纹。 */
html[data-tenant="youchuang"] .panel,
html[data-tenant="youchuang"] .pibox,
html[data-tenant="youchuang"] .card,
html[data-tenant="youchuang"] .fold,
html[data-tenant="youchuang"] .box,
html[data-tenant="youchuang"] .stat,
html[data-tenant="youchuang"] .kpi,
html[data-tenant="youchuang"] .qs-req,
html[data-tenant="youchuang"] .dl-item {
  background-color: #FAFAFA !important;
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20width%3D%27160%27%20height%3D%27160%27%3E%3Cfilter%20id%3D%27n%27%20x%3D%270%27%20y%3D%270%27%20width%3D%27100%25%27%20height%3D%27100%25%27%3E%3CfeTurbulence%20type%3D%27fractalNoise%27%20baseFrequency%3D%271.1%27%20numOctaves%3D%273%27%20stitchTiles%3D%27stitch%27%2F%3E%3CfeColorMatrix%20type%3D%27saturate%27%20values%3D%270%27%2F%3E%3C%2Ffilter%3E%3Crect%20width%3D%27160%27%20height%3D%27160%27%20filter%3D%27url%28%23n%29%27%20opacity%3D%27.35%27%2F%3E%3C%2Fsvg%3E") !important;
  background-size: 160px 160px !important;
  border: 1px solid #E8E8E8 !important;
  border-radius: 2px!important;
  box-shadow: none!important;
}

/* 面板标题：底下一道发丝线，左侧一道绛红细线 */
html[data-tenant="youchuang"] .panel > h3,
html[data-tenant="youchuang"] .pibox-hd {
  background: transparent !important;
  border-bottom: 1px solid #E8E8E8 !important;
  padding: 11px 13px !important;
  font-size:14px !important;
  font-weight: 600 !important;
  color: #1A1A1A !important;
  letter-spacing: .07em !important;
  position: relative;
}
html[data-tenant="youchuang"] .panel > h3::before {
  content: "";
  display: inline-block;
  width: 3px; height: 13px;
  margin-right: 9px;
  vertical-align: -2px;
  border-radius: 2px;
  border: 0;
  background: #6E6E6E;
  box-shadow: none;
}
html[data-tenant="youchuang"] .panel > h3 em { color: #6E6E6E !important; letter-spacing: 0 !important; }

/* ============================== 五 · 按钮 ==============================
   墨色方钮：微圆角、字距宽、按下沉 1px。次要按钮：素纸 + 发丝线。 */
html[data-tenant="youchuang"] .btn,
html[data-tenant="youchuang"] #main button.pri {
  background: #1A1A1A !important;
  color: #FAFAFA !important;
  border: 1px solid #1A1A1A !important;
  border-radius: 2px!important;
  box-shadow: none !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  letter-spacing: .12em !important;
  text-indent: .12em;
}
html[data-tenant="youchuang"] .btn:active,
html[data-tenant="youchuang"] #main button.pri:active {
  background: #1A1A1A !important;
  transform: translateY(1px);
}
html[data-tenant="youchuang"] .btn.ghost {
  background: #FAFAFA !important;
  color: #1A1A1A !important;
  border: 1px solid #E8E8E8 !important;
}
html[data-tenant="youchuang"] .btn.danger {
  background: #6E6E6E !important;
  border-color: #6E6E6E !important;
  color: #FAFAFA !important;
}
html[data-tenant="youchuang"] .btn[disabled],
html[data-tenant="youchuang"] .btn:disabled {
  background: #E8E8E8 !important;
  border-color: #E8E8E8 !important;
  color: #9E9E9E !important;
}

/* 分段 / 筛选片：做成小签条 */
html[data-tenant="youchuang"] .chip {
  background: #FAFAFA !important;
  border: 1px solid #E8E8E8 !important;
  border-radius: 2px!important;
  color: #1A1A1A !important;
  font-size:12px !important;
  letter-spacing: .05em !important;
}
html[data-tenant="youchuang"] .chip.on {
  background: #1A1A1A !important;
  border-color: #1A1A1A !important;
  color: #FAFAFA !important;
}

/* ============================== 六 · 输入 ==============================
   方框、发丝线；聚焦时底线转绛红。 */
html[data-tenant="youchuang"] input,
html[data-tenant="youchuang"] select,
html[data-tenant="youchuang"] textarea {
  background: #FAFAFA !important;
  border: 1px solid #E8E8E8 !important;
  border-radius: 2px!important;
  box-shadow: none !important;
  color: #1A1A1A !important;
}
html[data-tenant="youchuang"] input:focus,
html[data-tenant="youchuang"] select:focus,
html[data-tenant="youchuang"] textarea:focus {
  border-color: #6E6E6E !important;
  box-shadow: none!important;
  outline: none !important;
}
html[data-tenant="youchuang"] .field > label,
html[data-tenant="youchuang"] .qk-f > label {
  color: #1A1A1A !important;
  letter-spacing: .06em !important;
  font-size:12px !important;
}
html[data-tenant="youchuang"] input::placeholder,
html[data-tenant="youchuang"] textarea::placeholder { color: #9E9E9E !important; }

/* ============================== 七 · 列表 / 表格 ==============================
   行与行之间只留发丝线：1px 暖灰，不做卡片堆叠。 */
html[data-tenant="youchuang"] .ar-item,
html[data-tenant="youchuang"] .pirow,
html[data-tenant="youchuang"] .nq-qcard,
html[data-tenant="youchuang"] .list-item,
html[data-tenant="youchuang"] .cq-r {
  background: transparent !important;
  border: 0 !important;
  border-bottom: 1px solid #E8E8E8 !important;
  border-radius: 2px!important;
  box-shadow: none !important;
}
html[data-tenant="youchuang"] .ar-item:active,
html[data-tenant="youchuang"] .list-item:active,
html[data-tenant="youchuang"] .cq-r:active { background: #FAFAFA !important; }

html[data-tenant="youchuang"] table thead th,
html[data-tenant="youchuang"] .tb-hd {
  background: #FAFAFA !important;
  color: #1A1A1A !important;
  border-color: #E8E8E8 !important;
  letter-spacing: .06em !important;
  font-weight: 600 !important;
}
html[data-tenant="youchuang"] table td { border-color: #FAFAFA !important; }
html[data-tenant="youchuang"] tbody tr:nth-child(even) { background: rgba(201,201,201,.16) !important; }

/* ============================== 八 · 首页几块 ============================== */
/* 经营横条：原来顶上加了一条 3px 墨线「像册页的眉」，投到 1280 的大屏上
   就是一道扎眼黑杠，压得下面的数字抬不起头。收成和其余三边一样的发丝线。 */
html[data-tenant="youchuang"] .bbar {
  background: #FAFAFA !important;
  border: 1px solid #E8E8E8 !important;
  border-top: 1px solid #E8E8E8 !important;
  border-radius: 2px!important;
  box-shadow: none !important;
}
html[data-tenant="youchuang"] .bbar .bb-t b {
  color: #1A1A1A !important;
  font-size:14px !important;
  font-weight: 600 !important;
  letter-spacing: .08em !important;
}
html[data-tenant="youchuang"] .bbar .bb-t i { color: #6E6E6E !important; letter-spacing: .02em !important; }
html[data-tenant="youchuang"] .bbar .bb-n > div { border-left: 1px solid #E8E8E8 !important; }
html[data-tenant="youchuang"] .bbar .bb-n b {
  color: #1A1A1A !important;
  font-family: "Songti SC", "STSong", "Source Han Serif SC", serif !important;
  font-weight: 600 !important;
  font-variant-numeric: tabular-nums;
}
html[data-tenant="youchuang"] .bbar .bb-n span { color: #6E6E6E !important; letter-spacing: .04em !important; }
html[data-tenant="youchuang"] .bbar .bb-g { color: #6E6E6E !important; letter-spacing: .02em !important; }

/* 维修报价入口：左侧一道绛红细线，右侧圆钮 */
html[data-tenant="youchuang"] #main .qz-quick {
  background-color: #FAFAFA !important;
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20width%3D%27160%27%20height%3D%27160%27%3E%3Cfilter%20id%3D%27n%27%20x%3D%270%27%20y%3D%270%27%20width%3D%27100%25%27%20height%3D%27100%25%27%3E%3CfeTurbulence%20type%3D%27fractalNoise%27%20baseFrequency%3D%271.1%27%20numOctaves%3D%273%27%20stitchTiles%3D%27stitch%27%2F%3E%3CfeColorMatrix%20type%3D%27saturate%27%20values%3D%270%27%2F%3E%3C%2Ffilter%3E%3Crect%20width%3D%27160%27%20height%3D%27160%27%20filter%3D%27url%28%23n%29%27%20opacity%3D%27.35%27%2F%3E%3C%2Fsvg%3E") !important;
  background-size: 160px 160px !important;
  border: 1px solid #E8E8E8 !important;
  border-radius: 2px!important;
  position: relative;
  overflow: hidden;
  border-radius: 2px!important;
  box-shadow: none !important;
  color: #1A1A1A !important;
}
html[data-tenant="youchuang"] #main .qz-quick:active { background-color: #FAFAFA !important; }
/* 一道短书签，不是整条红边 —— 中式的东西都在「露一点」 */
html[data-tenant="youchuang"] #main .qz-quick::before {
  content: "";
  position: absolute;
  left: 0; top: 50%%;
  transform: translateY(-50%%);
  width: 3px; height: 26px;
  background: #6E6E6E;
}
html[data-tenant="youchuang"] .qz-quick-t {
  font-size:20px !important;
  font-weight: 600 !important;
  letter-spacing: .07em !important;
}
html[data-tenant="youchuang"] .qz-quick-s { color: #6E6E6E !important; letter-spacing: .04em !important; }
html[data-tenant="youchuang"] .qz-quick-r {
  border: 1px solid #1A1A1A !important;
  border-radius: 50% !important;
  background: transparent !important;
  color: #1A1A1A !important;
}

/* 三格数：竖砖缝分隔，数字用衬线 */
html[data-tenant="youchuang"] #main .hs-cell + .hs-cell { border-left: 1px solid #E8E8E8 !important; }
html[data-tenant="youchuang"] #main .hs-cell:active { background: #FAFAFA !important; }
html[data-tenant="youchuang"] #main .hs-cell b {
  color: #1A1A1A !important;
  font-family: "Songti SC", "STSong", "Source Han Serif SC", serif !important;
  font-variant-numeric: tabular-nums;
}
html[data-tenant="youchuang"] #main .hs-cell.warn b { color: #6E6E6E !important; }
html[data-tenant="youchuang"] #main .hs-cell span { color: #6E6E6E !important; letter-spacing: .04em !important; }
html[data-tenant="youchuang"] #main .hs-hi,
html[data-tenant="youchuang"] #main .tz-greet {
  color: #1A1A1A !important;
  font-family: "Songti SC", "STSong", "Source Han Serif SC", "Noto Serif CJK SC", "SimSun", serif !important;
  font-weight: 700 !important;
  letter-spacing: .06em !important;
}
html[data-tenant="youchuang"] .hs-date { color: #6E6E6E !important; letter-spacing: .08em !important; }

/* ============================== 九 · 导航 ==============================
   底栏：素纸 + 顶边砖缝；选中项底下压一块朱砂砖。 */
html[data-tenant="youchuang"] .topnav {
  background: #FAFAFA !important;
  border-top: 1px solid #E8E8E8 !important;
  box-shadow: none !important;
}
html[data-tenant="youchuang"] .topnav button { color: #6E6E6E !important; border-radius: 2px!important; }
html[data-tenant="youchuang"] .topnav button .ic { opacity: .62 !important; }
html[data-tenant="youchuang"] .topnav button.on { color: #1A1A1A !important; font-weight: 600 !important; }
html[data-tenant="youchuang"] .topnav button.on .ic { opacity: 1 !important; }
html[data-tenant="youchuang"] .topnav button.on {
  color: #1A1A1A !important;
  box-shadow: none!important;
}
html[data-tenant="youchuang"] .topnav button.on::after { content: none !important; display: none !important; }

/* 侧栏（桌面）：素纸，分组标题做成砖铭 */
html[data-tenant="youchuang"] .ent-side {
  background: #FAFAFA !important;
  border-right: 1px solid #E8E8E8 !important;
}
html[data-tenant="youchuang"] .tz-side-hd {
  background: #1A1A1A !important;
  border-bottom: 1px solid #E8E8E8 !important;
}
html[data-tenant="youchuang"] .tz-side-hd,
html[data-tenant="youchuang"] .tz-side-hd * { color: #FAFAFA !important; }
html[data-tenant="youchuang"] .ent-nav .nav-g {
  border-radius: 2px!important;
  color: #1A1A1A !important;
  letter-spacing: .05em !important;
}
html[data-tenant="youchuang"] .ent-nav .nav-g.on {
  background: #1A1A1A !important;
  color: #FAFAFA !important;
}
html[data-tenant="youchuang"] .ent-door-h { border-radius: 2px!important; }
html[data-tenant="youchuang"] .ent-u { border-top: 1px solid #E8E8E8 !important; }

/* ============================== 十 · 标签 / 状态 ==============================
   小方牌，不做药丸。 */
html[data-tenant="youchuang"] .tag,
html[data-tenant="youchuang"] .badge {
  border-radius: 2px!important;
  letter-spacing: .04em !important;
  background: #FAFAFA !important;
  color: #1A1A1A !important;
  border: 1px solid #E8E8E8 !important;
}

/* ============================== 十一 · 弹窗 / 浮层 ==============================
   全屏遮罩压深，面板直角、双线框（外粗内细），像一块碑从墙里推出来。 */
html[data-tenant="youchuang"] .modal-mask,
html[data-tenant="youchuang"] .mask {
  background: rgba(26, 27, 30, .58) !important;
  backdrop-filter: blur(1.5px);
}
html[data-tenant="youchuang"] .modal-box,
html[data-tenant="youchuang"] .modal,
html[data-tenant="youchuang"] .sheet {
  background: #FAFAFA !important;
  border: 1px solid #1A1A1A !important;
  border-radius: 2px!important;
  box-shadow: none!important;
}
html[data-tenant="youchuang"] .modal-box h3,
html[data-tenant="youchuang"] .modal h3 {
  border-bottom: 1px solid #E8E8E8 !important;
  letter-spacing: .08em !important;
}

/* 右下角浮钮：圆形，墨底细边 */
html[data-tenant="youchuang"] .fab,
html[data-tenant="youchuang"] .cam-fab {
  background: #1A1A1A !important;
  border: 1px solid #E8E8E8 !important;
  box-shadow: none!important;
}

/* ============================== 十二 · 报错 / 空态 ============================== */
html[data-tenant="youchuang"] .empty,
html[data-tenant="youchuang"] .no-data { color: #6E6E6E !important; letter-spacing: .06em !important; }

/* ============================== 十三 · 登录扉页 ==============================
   一张宣纸，一个方框，顶上一条绛红书口，框里一枚双线签条。
   不放纹样、不放山水 —— 留白本身就是中式。 */
html[data-tenant="youchuang"] #loginPage.login {
  background-color: #FAFAFA !important;
  background-image: none !important;
}
html[data-tenant="youchuang"] #loginPage .login-box {
  background: #FAFAFA !important;
  border: 1px solid #E8E8E8 !important;
  border-radius: 2px!important;
  box-shadow: none!important;
  padding-top: 0 !important;
  overflow: hidden;
}
/* 书口：顶上一条绛红细带，下面一道两端渐隐的金线 */
html[data-tenant="youchuang"] #loginPage .login-box::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 3px;
  border: 0 !important;
  border-radius: 2px!important;
  background: #6E6E6E !important;
  width: auto !important;
  transform: none !important;
  margin: 0 !important;
  box-shadow: none !important;
}
html[data-tenant="youchuang"] #loginPage .login-box::after {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 3px;
  height: 1px;
  background: #E8E8E8 !important;
  width: auto !important;
  transform: none !important;
  margin: 0 !important;
  border: 0 !important;
}
html[data-tenant="youchuang"] #loginPage .login-box .logo {
  width: 56px !important;
  height: 56px !important;
  margin: 34px auto 10px !important;
  display: block !important;
}
html[data-tenant="youchuang"] #loginPage .login-box h2 {
  font-family: "Songti SC", "STSong", "Source Han Serif SC", "Noto Serif CJK SC", "SimSun", serif !important;
  font-size:20px !important;
  font-weight: 700 !important;
  letter-spacing: .13em !important;
  color: #1A1A1A !important;
  text-indent: .13em;
}
/* 单位名下面那道「汉简横线」：一道长、一道短 */
html[data-tenant="youchuang"] #loginPage .login-box h2::after {
  content: "" !important;
  display: block !important;
  width: 66px !important;
  height: 3px !important;
  margin: 11px auto 0 !important;
  border-top: 1px solid #E8E8E8 !important;
  border-bottom: 1px solid #E8E8E8 !important;
  background: transparent !important;
}
html[data-tenant="youchuang"] #loginPage .yc-sub { color: #6E6E6E !important; letter-spacing: .1em !important; }
html[data-tenant="youchuang"] #loginPage .login-box .tip { color: #6E6E6E !important; letter-spacing: .04em !important; }
html[data-tenant="youchuang"] #loginPage .login-box .field > label {
  color: #1A1A1A !important;
  letter-spacing: .1em !important;
  font-size:12px !important;
}
html[data-tenant="youchuang"] #loginPage .login-box input {
  background: #FAFAFA !important;
  border: 1px solid #E8E8E8 !important;
  border-radius: 2px!important;
  height: 44px !important;
}
html[data-tenant="youchuang"] #loginPage .login-box input:focus {
  border-color: #6E6E6E !important;
  box-shadow: none!important;
}
html[data-tenant="youchuang"] #loginPage .login-box .btn,
html[data-tenant="youchuang"] #loginPage .login-box #lgBtn {
  background: #1A1A1A !important;
  border: 1px solid #1A1A1A !important;
  border-radius: 2px!important;
  color: #FAFAFA !important;
  height: 46px !important;
  font-size:14px !important;
  letter-spacing: .4em !important;
  text-indent: .4em;
  box-shadow: none !important;
}
html[data-tenant="youchuang"] #loginPage .login-box .btn:active,
html[data-tenant="youchuang"] #loginPage .login-box #lgBtn:active {
  background: #1A1A1A !important;
  transform: translateY(1px);
}
html[data-tenant="youchuang"] #loginPage .login-box .lg-init { color: #6E6E6E !important; }
html[data-tenant="youchuang"] #loginPage .yc-foot {
  color: #6E6E6E !important;
  letter-spacing: .18em !important;
  border-top: 1px solid #E8E8E8 !important;
  padding-top: 10px !important;
}

/* ============================== 十四 · 报价单 ==============================
   单据仍是纸，但纸换成素纸，主色从瓷青换砖青，表头换夯土。 */
html[data-tenant="youchuang"] .q2 {
  --q2-main: #1A1A1A;
  --q2-line: #E8E8E8;
  --q2-head: #FAFAFA;
  --q2-ink: #1A1A1A;
}
html[data-tenant="youchuang"] .q2 .q2-tab {
  background: #FAFAFA !important;
  border: 1px solid #E8E8E8 !important;
  border-radius: 2px!important;
  color: #1A1A1A !important;
}
html[data-tenant="youchuang"] .q2 .q2-tab.on {
  background: #1A1A1A !important;
  border-color: #1A1A1A !important;
  color: #FAFAFA !important;
}
html[data-tenant="youchuang"] .q2 .q2-btn {
  background: #1A1A1A !important;
  border-radius: 2px!important;
  color: #FAFAFA !important;
  letter-spacing: .1em !important;
}
html[data-tenant="youchuang"] .q2 .q2-btn.ghost {
  background: #FAFAFA !important;
  color: #1A1A1A !important;
  border: 1px solid #E8E8E8 !important;
}
html[data-tenant="youchuang"] .q2 .q2-hd {
  border-bottom: 1px solid #1A1A1A !important;
  font-family: "Songti SC", "STSong", "Source Han Serif SC", serif !important;
  letter-spacing: .1em !important;
}

/* ============================== 十五 · 页脚 ============================== */
html[data-tenant="youchuang"] .tz-foot {
  border-top: 1px solid #E8E8E8 !important;
  color: #6E6E6E !important;
  letter-spacing: .06em !important;
}
html[data-tenant="youchuang"] .tz-foot b { color: #1A1A1A !important; }

/* 甲方候选：新建那一条用绛红，和「当前项」同一支笔 */
html[data-tenant="youchuang"] .q2-ci.new { color: #6E6E6E !important; background: #FAFAFA !important; }
html[data-tenant="youchuang"] .q2-ci b { color: #1A1A1A !important; }
html[data-tenant="youchuang"] .q2-cpop {
  background: #FAFAFA !important;
  border-color: #E8E8E8 !important;
  box-shadow: none!important;
}
html[data-tenant="youchuang"] .q2-ci { border-bottom-color: #FAFAFA !important; }

/* ── 客户展示页：两家各一条顶带，都不许抢客户的眼 ────────────────
   tang.css 原来给的是红底金字（庆典风），两家共用一条红带 ——
   客户看完只会记得「很红」，记不住是谁。改成：
     启迅：墨黑细带，一根发丝线收边（日式）；
     友创：朱红暗带（新中式），不是那个正红。
   按钮从实心金块改成细框，字号压小，它是工具，不是招牌。 */
/* tang.css 用的是 #showWrap#showWrap 双重 id 提高权重，这里必须同权重才压得住 */
#showWrap#showWrap .xbar{
  background-color:#1A1A1A !important;
  background-image:none !important;
  border-bottom:1px solid #1A1A1A !important;
  padding-top:7px !important; padding-bottom:7px !important;
}
html[data-tenant="youchuang"] #showWrap#showWrap .xbar{
  background-color:#1A1A1A !important;
  background-image:none !important;
  border-bottom:1px solid #E8E8E8 !important;
  padding-top:7px !important; padding-bottom:7px !important;
}
#showWrap .xbar b{
  color:#FAFAFA !important; font-size:12px !important;
  letter-spacing:.14em !important; font-weight:500 !important;
}
#showWrap .xbar .xquote,
#showWrap .xbar .xplan,
#showWrap .xbar button{
  background:transparent !important;
  background-image:none !important;
  border:1px solid rgba(247,247,247,.42) !important;
  color:#FAFAFA !important;
  border-radius:2px!important;
  font-size:11px !important;
  font-weight:400 !important;
  letter-spacing:.08em !important;
  padding:5px 11px !important;
}
#showWrap .xbar .xquote:hover,
#showWrap .xbar .xplan:hover,
#showWrap .xbar button:hover{
  background:rgba(247,247,247,.12) !important;
  border-color:rgba(247,247,247,.7) !important;
}

/* 字标是横排的，方框装不下：给一块 3:1 的位置，别拉伸 */
#showWrap .sw-hero .sw-logo{
  width:104px !important; height:35px !important;
  object-fit:contain !important; margin:0 auto 16px !important;
}

/* ── 启迅的展示页不许出现红：日式的纸上是墨，不是喜帖 ──────────
   tang.css 把数字、主标题、分隔条全染成了朱红，两家共用一套喜气。
   启迅这边一律归墨，只留灰度差；友创保留朱红（那是新中式的印色）。 */
html:not([data-tenant="youchuang"]) #showWrap .sw-num .v{ color:#1A1A1A !important; }
html:not([data-tenant="youchuang"]) #showWrap .sw-hero h1{ color:#1A1A1A !important; }
html:not([data-tenant="youchuang"]) #showWrap .sw-hero h1 span{ color:#1A1A1A !important; }
html:not([data-tenant="youchuang"]) #showWrap .sw-hero .bar{ background:#1A1A1A !important; width:36px !important; height:2px !important; }
html:not([data-tenant="youchuang"]) #showWrap .sw-sec h2::before,
html:not([data-tenant="youchuang"]) #showWrap .sw-cap::before{ background:#1A1A1A !important; }
html:not([data-tenant="youchuang"]) #showWrap .sw-hero .kicker{ color:#6E6E6E !important; letter-spacing:.1em !important; }

/* 友创的朱红只有一个色号：#6E6E6E。tang.css 里散着 #1A1A1A（正红），
   同一个页面上两个红，一个偏橘一个偏暗，看着像没调准。统一收口。 */
html[data-tenant="youchuang"] #showWrap .sw-sec h2::before,
html[data-tenant="youchuang"] #showWrap .sw-hero .bar{ background:#6E6E6E !important; }
html[data-tenant="youchuang"] #showWrap .sw-num .v,
html[data-tenant="youchuang"] #showWrap .sw-hero h1 span{ color:#6E6E6E !important; }

/* 公司全称那一行原来染成藏蓝（模板默认的品牌色），在墨与朱的纸上是第三色。
   归到灰褐：它只是注脚，不该有颜色。 */
#showWrap#showWrap .sw-hero .kicker{ color:#6E6E6E !important; letter-spacing:.12em !important; }

/* ── 展示页的卡片与页脚：把「唐风石青」摘掉 ────────────────────
   tang.css 给的是白卡 + 石青左条 + 金线，页脚整块石青底。
   石青是第三个颜色，两家都不该有：
     启迅（日式）：白卡、一根灰发丝、左侧不留色条；页脚白底，只有一条上线。
     友创（新中式）：米卡、发丝线、左侧一道朱红；页脚米底，门楣金收口。 */
html:not([data-tenant="youchuang"]) #showWrap .sw-card{
  background:#FFFFFF !important;
  border:1px solid #E8E8E8 !important;
  border-left:1px solid #E8E8E8 !important;
  border-radius:2px!important;
}
html:not([data-tenant="youchuang"]) #showWrap .sw-nums{
  background:#E8E8E8 !important; border-color:#E8E8E8 !important;
}
html:not([data-tenant="youchuang"]) #showWrap .sw-num{ background:#FFFFFF !important; }
html:not([data-tenant="youchuang"]) #showWrap .sw-foot{
  background:#FFFFFF !important; color:#6E6E6E !important;
  border-top:1px solid #E8E8E8 !important;
}
html:not([data-tenant="youchuang"]) #showWrap .sw-foot b{ color:#1A1A1A !important; }
html:not([data-tenant="youchuang"]) #showWrap .sw-tags span{
  background:#FFFFFF !important; border-color:#E8E8E8 !important; color:#1A1A1A !important;
}
html:not([data-tenant="youchuang"]) #showWrap .sw-promise .p{
  background:#FFFFFF !important; border-color:#E8E8E8 !important;
  border-left:1px solid #E8E8E8 !important;
}
html:not([data-tenant="youchuang"]) #showWrap .sw-promise .p b{ color:#1A1A1A !important; }

html[data-tenant="youchuang"] #showWrap .sw-card{
  background:#FAFAFA !important;
  border:1px solid #E8E8E8 !important;
  border-left:1px solid #E8E8E8 !important;
  border-radius:2px!important;
}
html[data-tenant="youchuang"] #showWrap .sw-nums{
  background:#E8E8E8 !important; border-color:#E8E8E8 !important;
}
html[data-tenant="youchuang"] #showWrap .sw-num{ background:#FAFAFA !important; }
html[data-tenant="youchuang"] #showWrap .sw-foot{
  background:#FAFAFA !important; color:#6E6E6E !important;
  border-top:1px solid #E8E8E8 !important;
}
html[data-tenant="youchuang"] #showWrap .sw-foot b{ color:#1A1A1A !important; }
html[data-tenant="youchuang"] #showWrap .sw-tags span{
  background:#FAFAFA !important; border-color:#E8E8E8 !important; color:#6E6E6E !important;
}
html[data-tenant="youchuang"] #showWrap .sw-promise .p{
  background:#FAFAFA !important; border-color:#E8E8E8 !important;
  border-left:1px solid #E8E8E8 !important;
}
html[data-tenant="youchuang"] #showWrap .sw-promise .p b{ color:#6E6E6E !important; }

/* 展示页卡片前的方印（2026-11-14）
   原来写的是 🔧 🚨 ⚙️ 这类 emoji。安卓和没装 Segoe UI Emoji 的老 Windows 上，
   系统字库缺字就成空心方框 —— 客户当着面翻屏，一眼就看见那几个方框。
   换成汉字方印：不挑字库，一个墨框压一个字，倒更像这行的门牌。 */
#showWrap#showWrap .sw-card .h .sw-ix{
  display:inline-block;min-width:19px;height:19px;line-height:17px;
  margin-right:8px;vertical-align:-4px;text-align:center;
  font-style:normal;font-size:11px;letter-spacing:0;
  border:1px solid currentColor;border-radius:2px;box-sizing:border-box;
}
html[data-tenant="youchuang"] #showWrap#showWrap .sw-card .h .sw-ix{
  color:#6E6E6E !important;
}

/* ==========================================================================
   ▍五 · 柜子（2026-11-15 · 5S 整顿）
   桌面端侧栏从「永久摊开」改成「拉开才在」。
   前面几套皮肤段各自写了 margin-left:236px!important 给内容让位，
   这里统一收回：横向那道门是唯一常在的导航，侧栏是需要时才开的柜子。
   抽屉拉开时压在内容上（浮层），不推挤版心 —— 柜子开门不该把桌子往后挪。
   ========================================================================== */
@media (min-width:900px){
  body.ent #main{
    margin-left:0!important;
    padding-left:max(24px, calc((100vw - 1040px) / 2))!important;
    padding-right:max(24px, calc((100vw - 1040px) / 2))!important;
  }
  body.ent .ent-top{ margin-left:0!important; width:auto!important; }
  body.ent .ent-side{
    transform:translateX(-100%);
    transition:transform .24s cubic-bezier(.32,.72,0,1);
    box-shadow:none;
    z-index:80;
  }
  body.ent .ent-side.open{
    transform:translateX(0);
    box-shadow:none;
  }
  body.ent .ent-burger{ display:inline-flex!important; }
  /* 抽屉拉开时给一层很轻的纱，点一下就回去 */
  body.ent .ent-back.show{
    display:block; position:fixed; inset:0; z-index:75;
    background:rgba(28,27,25,.18); border:none;
  }
}

/* 首页：内容沉在版心上方，页脚沉在页面底部 —— 中间那段白是留白，不是没写完。
   （2026-11-15 5S · 台面上只有三件东西，剩下的地方就该是空的） */
@media (min-width:900px){
  body.ent #main:has(> .hs-wrap){
    display:flex; flex-direction:column;
    min-height:calc(100vh - 136px);
  }
  body.ent #main:has(> .hs-wrap) > .hs-wrap{ flex:1 0 auto; padding-top:64px; }
  body.ent #main:has(> .hs-wrap) > .tz-foot{ margin-top:auto; }
  /* 品牌副标是给设计者看的一句话，不是给用户看的位置提示。
     顶栏只留名字，右边留白 —— 苹果的导航栏从不解释自己。 */
  .tz-brand-s{ display:none!important; }
}

/* 抽屉：拉开时需要有「浮起来」的层次，否则看着像内容被削掉一块 */
@media (min-width:900px){
  body.ent .ent-side{ background:#FFFFFF; }
  body.ent .ent-side.open{ box-shadow:none; }
  body.ent .ent-side .tz-side-x{ display:flex; }
}

/* 侧栏收进柜子之后，顶栏与面包屑也不再为它让位（前面几套皮肤写了 margin-left） */
@media (min-width:900px){
  body.ent .tz-head{ margin-left:0!important; }
  body.ent .tz-crumb{ margin-left:0!important; }
  body.ent .subnav{ margin-left:0!important; }
  body.ent .topnav{ margin-left:0!important; }
}

/* ===== entry.css ===== */
/* ============================================================================
   ENTRY · 入口页（两家共用）   2026-11-15
   ----------------------------------------------------------------------------
   门是系统的门，不是某家公司的门。
   门外只有两样东西：品牌 X.core，和一句话「安心可托」。
   单位名、单位 logo、单位色，全部留在门里 —— 进门之后顶栏才出现。

   为什么门口不放公司 logo：
   两家共用一个入口。门上挂「启迅」，友创的人一打开就看见不属于自己的字；
   反过来也一样。同一张门脸，谁看都是自己的。

   为什么 X.core 用文字排、不用图片：
   公司 logo 是各单位自己的资产，宣传用了多年，只能原样引用，不能仿制。
   品牌名用字排，不画图形 —— 不占哪家的视觉资产，也不会像谁的标。

   这个文件必须排在入口相关样式的最后：.logo 这一格被前面几层皮肤反复改过
   （app.css 用伪元素画、tenant.css 给友创换成自家标、tenant.js 内联挂字标），
   这里用高特异性选择器统一收成一处。
   ========================================================================== */

html[data-tenant] #loginPage .login-box .logo {
  width: auto !important;
  height: auto !important;
  margin: 30px auto 12px !important;
  display: block !important;
  background: none !important;
  background-image: none !important;
  font-size: 0 !important;      /* 清掉各层皮肤留下的字号，字标自己带字号 */
  line-height: 1.1 !important;
  filter: none !important;
  border: 0 !important;
  box-shadow: none !important;
  text-align: center !important;
  overflow: visible !important;
}

/* 各层皮肤都往这一格里塞过图（XAC 母标、两家字标、二维码），一律清掉。
   不清的话，X.core 底下会透出半张旧图。 */
html[data-tenant] #loginPage .login-box .logo::before,
html[data-tenant] #loginPage .login-box .logo::after {
  content: none !important;
  display: none !important;
  background: none !important;
  background-image: none !important;
}

/* 品牌字标：X.core。衬线排，字距微开；只有那个点用朱红 ——
   它是全页唯一一处彩色，作为落款的那一点红。 */
html[data-tenant] #loginPage .login-box .logo .xc-brand {
  display: inline-block;
  font-family: "Songti SC", "Noto Serif SC", "Source Han Serif SC",
               Georgia, "Times New Roman", serif;
  font-size:20px;
  font-weight: 400;
  letter-spacing: .015em;
  line-height: 1.15;
  color: #1A1A1A;
  white-space: nowrap;
}
html[data-tenant] #loginPage .login-box .logo .xc-brand i {
  font-style: normal;
  color: #6E6E6E;
  margin: 0 .01em;
}

/* 门口那句话：安心可托。字号收到副标，字距放开 ——
   读起来是一句话，不是一个标题；不跟 X.core 抢。 */
html[data-tenant] #loginPage .login-box h2 {
  font-size: 14px !important;
  font-weight: 400 !important;
  letter-spacing: .44em !important;
  text-indent: .44em !important;
  color: #6E6E6E !important;
  margin: 0 0 28px !important;
}

/* ===== jp.css ===== */
/* ==========================================================================
   ▍和纸 · 启迅（2026-11-15 · 第二版）
   只给启迅：html[data-tenant="qixun"]。友创是政府项目皮（tenant.css gov 段），不动。

   三样材料，别的都不要：
     纸  生成り（きなり）——未漂白的米白：页面 #FAFAFA、卡面 #FFFFFF
     墨  #1A1A1A 一色到底，靠深浅分三级，不靠彩色分
     朱  #6E6E6E 印泥红，全站只给「逾期 / 欠款 / 当前」三处

   日式的做法，四条：
     1. 不画阴影 —— 纸靠「压」和「留白」分层，不靠浮起来
     2. 圆角 0–2px —— 纸不会自己卷边
     3. 标题宋体，正文黑体；字距放宽一点，才像排过版
     4. 表用「上线粗、下线细」，行间不画格 —— 眼睛顺字走，不顺格子走

   为什么变量写在 body 上并带 !important：
   这套工程前面叠了十几层皮肤（app / ux-kit / sys / v1 / song / han / tang /
   tenant / xin / entry），同一批 --jp-* 变量在 :root、皮肤段、qin.css 里
   被反复改写过，还有一处直接写死 background:#FFFFFF。要让"纸"真正落地，
   只能在这一层把值钉死。
   ========================================================================== */

html[data-tenant="qixun"] body,
html[data-tenant="qixun"] body.ent,
html[data-tenant="qixun"] body.plain{
  --jp-paper:#FAFAFA!important;   /* 生纸 */
  --jp-card:#FFFFFF!important;    /* 上过浆的白 */
  --jp-sunk:#E8E8E8!important;    /* 凹下去一块：表头、灰条 */
  --jp-ink:#1A1A1A!important;     /* 墨 */
  --jp-sub:#6E6E6E!important;     /* 淡墨 */
  --jp-line:#E8E8E8!important;    /* 主线 */
  --jp-line-l:#FAFAFA!important;  /* 发丝线 */
  --jp-ai:#1A1A1A!important;
  --jp-shu:#6E6E6E!important;     /* 朱 */

  --bg:#FAFAFA!important; --card:#FFFFFF!important;
  --t:#1A1A1A!important; --m:#6E6E6E!important; --bd:#E8E8E8!important;
  --p:#1A1A1A!important; --pd:#1A1A1A!important;
  --red:#6E6E6E!important; --orange:#6E6E6E!important;
  --green:#6E6E6E!important; --purple:#6E6E6E!important; --cyan:#6E6E6E!important;
  --sh:none; --sh2:none!important; --r:2px!important;
  --ent-bg:#FAFAFA!important; --ent-side:#FFFFFF!important;
  --ent-bd:#E8E8E8!important; --ent-t:#1A1A1A!important; --ent-m:#6E6E6E!important;

  /* 别家留在这套变量上的颜色（黛青、砖红）不能漏进启迅：
     报价单的选中页签、合计列头都在读 --qin-*，不在这里钉死就还是别人的色。 */
  --qin-ink:#1A1A1A!important; --qin-ink-2:#1A1A1A!important;
  --qin-brick:#1A1A1A!important; --qin-brick-d:#1A1A1A!important; --qin-brick-l:#6E6E6E!important;
  --qin-line:#E8E8E8!important; --qin-line-2:#FAFAFA!important;
  --qin-ground:#FAFAFA!important; --qin-paper:#FFFFFF!important; --qin-paper-2:#FAFAFA!important;
  --qin-cinnabar:#6E6E6E!important; --qin-cinnabar-l:#6E6E6E!important;

  background-color:#FAFAFA!important;
  color:#1A1A1A;
}
html[data-tenant="qixun"]{ background-color:#FAFAFA!important; }

/* 字体：标题明朝、正文黑体。Noto Serif CJK 是给没装宋体的机器兜的 */
html[data-tenant="qixun"] #main .pg-hd h2,
html[data-tenant="qixun"] #main .pg-hd-x h2,
html[data-tenant="qixun"] #main .panel>h3,
html[data-tenant="qixun"] #main .fold-hd .ft,
html[data-tenant="qixun"] .modal h3,
html[data-tenant="qixun"] #main .hs-hi,
html[data-tenant="qixun"] .tz-brand-n,
html[data-tenant="qixun"] #main .sec-h,
html[data-tenant="qixun"] #main .hs-ask-t{
  font-family:"Hiragino Sans","Hiragino Kaku Gothic ProN","PingFang SC","Noto Sans CJK SC","Microsoft YaHei",sans-serif!important;
  font-weight:600!important;
  letter-spacing:.14em!important;
}

/* ---------- 一 · 顶栏：一条纸，一行字，一条线 ---------- */
html[data-tenant="qixun"] .tz-head{
  background:#FFFFFF!important;
  border-bottom:1px solid #E8E8E8!important;
  box-shadow:none!important;
}
html[data-tenant="qixun"] .ent-top{
  background:transparent!important; border-bottom:none!important;
  -webkit-backdrop-filter:none!important; backdrop-filter:none!important;
}
html[data-tenant="qixun"] .tz-brand-n{ font-size:14px!important; font-weight:600!important; color:#1A1A1A!important; }
html[data-tenant="qixun"] .tz-brand-n span{
  font-family:inherit; font-size:11px!important; font-weight:400!important;
  letter-spacing:.18em!important; color:#6E6E6E!important;
}
html[data-tenant="qixun"] .ent-search{
  background:#E8E8E8!important; border:1px solid transparent!important;
  border-radius:2px!important; box-shadow:none!important;
}
html[data-tenant="qixun"] .ent-search:focus-within{ background:#FFFFFF!important; border-color:#E8E8E8!important; }
html[data-tenant="qixun"] .tz-me-av{ background:transparent!important; border:1px solid #E8E8E8!important; color:#6E6E6E!important; }
html[data-tenant="qixun"] .tz-me-tx i{ color:#6E6E6E!important; letter-spacing:.08em!important; }

/* 一级门：没有胶囊、没有底板，只有字；当前那扇门下压一道朱线 */
html[data-tenant="qixun"] .tz-nav{ gap:0!important; }
html[data-tenant="qixun"] .tz-navi{
  height:42px!important; padding:0 16px!important;
  background:transparent!important; border-radius:2px!important;
  font-size:14px!important; font-weight:400!important;
  letter-spacing:.12em!important; color:#6E6E6E!important;
}
html[data-tenant="qixun"] .tz-navi.on{ color:#1A1A1A!important; font-weight:700!important; background:transparent!important; }
html[data-tenant="qixun"] .tz-navi.on::after{
  content:""; position:absolute; left:16px; right:16px; bottom:0;
  height:2px; background:#6E6E6E; border-radius:2px;
}
html[data-tenant="qixun"] .ent-burger,
html[data-tenant="qixun"] .ent-bell,
html[data-tenant="qixun"] .ent-help,
html[data-tenant="qixun"] .ent-show{ color:#6E6E6E!important; background:transparent!important; }

html[data-tenant="qixun"] .tz-crumb{ background:#FAFAFA!important; border-bottom:1px solid #E8E8E8!important; }
html[data-tenant="qixun"] .tz-cur,
html[data-tenant="qixun"] .ent-crumb{ color:#6E6E6E!important; letter-spacing:.1em!important; }

/* ---------- 二 · 侧栏（柜子） ---------- */
html[data-tenant="qixun"] .ent-side{
  background:#FFFFFF!important; border-right:1px solid #E8E8E8!important;
}
html[data-tenant="qixun"] .tz-side-t{
  font-family:"Hiragino Sans","PingFang SC","Noto Sans CJK SC",sans-serif!important;
  letter-spacing:.3em!important; color:#6E6E6E!important; font-size:11px!important;
}
html[data-tenant="qixun"] .ent-door-h{ letter-spacing:.12em!important; color:#1A1A1A!important; }
html[data-tenant="qixun"] .ent-sub{ letter-spacing:.06em!important; color:#6E6E6E!important; }
html[data-tenant="qixun"] .ent-sub.on{ color:#6E6E6E!important; }

/* ---------- 三 · 页头 ---------- */
html[data-tenant="qixun"] #main .pg-hd,
html[data-tenant="qixun"] #main .pg-hd-x{
  border-bottom:1px solid #E8E8E8!important;
  padding-bottom:12px!important;
}
html[data-tenant="qixun"] #main .pg-hd h2,
html[data-tenant="qixun"] #main .pg-hd-x h2{
  font-weight:600!important; color:#1A1A1A!important;
}
html[data-tenant="qixun"] #main .pg-hd p,
html[data-tenant="qixun"] #main .pg-hd-x p{ color:#6E6E6E!important; letter-spacing:.04em!important; }

/* ---------- 四 · 纸片：不浮，只是换了一张纸 ---------- */
html[data-tenant="qixun"] #main .panel,
html[data-tenant="qixun"] #main .card,
html[data-tenant="qixun"] #main .fold,
html[data-tenant="qixun"] #main .stat,
html[data-tenant="qixun"] #main .kpi,
html[data-tenant="qixun"] #main .pibox,
html[data-tenant="qixun"] #main .pirow,
html[data-tenant="qixun"] #main .blank-box,
html[data-tenant="qixun"] #main .dl-item,
html[data-tenant="qixun"] #main .nv-card,
html[data-tenant="qixun"] #main .hr-card,
html[data-tenant="qixun"] #main .fin-todo,
html[data-tenant="qixun"] #main .sys-mode{
  background:#FFFFFF!important;
  border:1px solid #E8E8E8!important;
  border-radius:2px!important;
  box-shadow:none!important;
}
html[data-tenant="qixun"] #main .panel h3{
  font-weight:600!important;
  padding-bottom:9px!important;
  border-bottom:1px solid #E8E8E8!important;
}
html[data-tenant="qixun"] #main .panel h3 em{ color:#6E6E6E!important; letter-spacing:.04em!important; }

/* 数字：明朝体的数字比黑体更「印」得上去，且等宽对齐 */
html[data-tenant="qixun"] #main .stat .num,
html[data-tenant="qixun"] #main .roll-num,
html[data-tenant="qixun"] #main .pirow-amt,
html[data-tenant="qixun"] #main .hd-num,
html[data-tenant="qixun"] #main .hs-cell b,
html[data-tenant="qixun"] #main .fin-k>b,
html[data-tenant="qixun"] #main .kv b{
  font-family:"Helvetica Neue","Hiragino Sans","PingFang SC","Noto Sans CJK SC",sans-serif!important;
  font-weight:500!important;
  font-variant-numeric:tabular-nums;
  letter-spacing:.02em!important;
}
html[data-tenant="qixun"] #main .stat .label,
html[data-tenant="qixun"] #main .roll-k{ color:#6E6E6E!important; letter-spacing:.1em!important; }

/* ---------- 五 · 表：上线粗、下线细 ---------- */
html[data-tenant="qixun"] #main table{ border-collapse:collapse!important; }
html[data-tenant="qixun"] #main thead th{
  background:transparent!important;
  color:#6E6E6E!important;
  font-weight:400!important; font-size:11px!important; letter-spacing:.14em!important;
  border:none!important;
  border-top:1px solid #E8E8E8!important;
  border-bottom:1px solid #E8E8E8!important;
}
html[data-tenant="qixun"] #main tbody td{
  border:none!important;
  border-bottom:1px solid #E8E8E8!important;
  background:transparent!important;
}
html[data-tenant="qixun"] #main tbody tr:hover td{ background:#FAFAFA!important; }
html[data-tenant="qixun"] #main tbody tr:last-child td{ border-bottom:1px solid #E8E8E8!important; }

/* ---------- 六 · 控件：一方印的形状 ---------- */
html[data-tenant="qixun"] #main .btn,
html[data-tenant="qixun"] #main button.btn{
  border-radius:2px!important; letter-spacing:.08em!important; box-shadow:none!important;
}
html[data-tenant="qixun"] #main .btn.primary,
html[data-tenant="qixun"] #main .btn.pri{
  background:#1A1A1A!important; color:#FAFAFA!important; border:1px solid #1A1A1A!important;
}
html[data-tenant="qixun"] #main .btn.ghost,
html[data-tenant="qixun"] #main .btn.sm.ghost{
  background:transparent!important; color:#6E6E6E!important; border:1px solid #E8E8E8!important;
}
html[data-tenant="qixun"] #main .chip{
  background:transparent!important; border:1px solid #E8E8E8!important;
  border-radius:2px!important; color:#6E6E6E!important; letter-spacing:.06em!important;
}
html[data-tenant="qixun"] #main .chip.on,
html[data-tenant="qixun"] #main .chip.on *{
  background:#1A1A1A!important; color:#FAFAFA!important; border-color:#1A1A1A!important;
}
html[data-tenant="qixun"] #main .hub-bar{
  background:transparent!important; border:none!important; box-shadow:none!important;
  border-bottom:1px solid #E8E8E8!important; border-radius:2px!important;
}
html[data-tenant="qixun"] #main .hub-bar button{
  background:transparent!important; border:none!important; border-radius:2px!important;
  color:#6E6E6E!important; letter-spacing:.08em!important;
}
html[data-tenant="qixun"] #main .hub-bar button.on{
  color:#1A1A1A!important; font-weight:700!important; background:transparent!important;
}
html[data-tenant="qixun"] #main .hub-bar .hub-pill{
  background:transparent!important; border-bottom:1px solid #E8E8E8;
  border-radius:2px!important; box-shadow:none!important;
}

/* 标签：细线小框，不填色 —— 填了色就成了按钮 */
html[data-tenant="qixun"] #main .tag{
  background:transparent!important;
  border:1px solid #E8E8E8!important;
  border-radius:2px!important;
  color:#6E6E6E!important;
  font-size:11px!important; letter-spacing:.06em!important;
}
html[data-tenant="qixun"] #main .tag.r,
html[data-tenant="qixun"] #main .tag.o,
html[data-tenant="qixun"] #main .tag.warn{
  border-color:#9E9E9E!important; color:#6E6E6E!important; background:transparent!important;
}
html[data-tenant="qixun"] #main .tag.g{ border-color:#E8E8E8!important; color:#6E6E6E!important; }

/* ---------- 七 · 输入：一格白纸 ---------- */
html[data-tenant="qixun"] #main input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=hidden]):not([type=file]),
html[data-tenant="qixun"] #main select,
html[data-tenant="qixun"] #main textarea{
  background:#FFFFFF!important;
  border:1px solid #E8E8E8!important;
  border-radius:2px!important;
  box-shadow:none!important;
  color:#1A1A1A!important;
}
html[data-tenant="qixun"] #main input:focus,
html[data-tenant="qixun"] #main select:focus,
html[data-tenant="qixun"] #main textarea:focus{
  border-color:#6E6E6E!important; outline:none!important;
  box-shadow:none!important;
}
html[data-tenant="qixun"] #main input::placeholder{ color:#6E6E6E!important; }

/* ---------- 八 · 首页台面 ---------- */
html[data-tenant="qixun"] #main .hs-ask{
  background-color:#1A1A1A!important;
  border:none!important;
  border-radius:2px!important;
  box-shadow:none!important;
  padding:22px 20px!important;
}
/* 这张卡原来是黑底，字就配了近白（#FAFAFA）。后来第 894 行统一把卡改成白底，
   字色没跟着改 —— 白底白字，首页最要紧的那句提示等于隐形。
   现在卡是白的（#FFFFFF），字按白底配：主句用墨，副句用中灰，箭头用浅灰。 */
html[data-tenant="qixun"] #main .hs-ask .hs-ask-t{ color:#1A1A1A!important; font-size:20px!important; font-weight:600!important; }
html[data-tenant="qixun"] #main .hs-ask .hs-ask-d{ color:#6E6E6E!important; letter-spacing:.08em!important; }
html[data-tenant="qixun"] #main .hs-ask .hs-ask-go{ color:#9E9E9E!important; }
html[data-tenant="qixun"] #main .hs-hi{ font-weight:600!important; font-size:20px!important; letter-spacing:.14em!important; }
html[data-tenant="qixun"] #main .hs-date{ color:#6E6E6E!important; letter-spacing:.14em!important; }
html[data-tenant="qixun"] #main .hs-tl{
  background:#FFFFFF!important; border:1px solid #E8E8E8!important;
  border-radius:2px!important; box-shadow:none!important;
}
html[data-tenant="qixun"] #main .hs-ti{ border-bottom:1px solid #E8E8E8!important; }
html[data-tenant="qixun"] #main .hs-ti-bd b{ letter-spacing:.04em!important; }
html[data-tenant="qixun"] #main .hs-ti-bd em{ color:#6E6E6E!important; }
html[data-tenant="qixun"] #main .hs-ti.urg .hs-ti-bd b{ color:#6E6E6E!important; }
html[data-tenant="qixun"] #main .hs-todo{ background:transparent!important; border:none!important; box-shadow:none!important; color:#6E6E6E!important; }
html[data-tenant="qixun"] #main .tdstamp{
  border:1px solid #E8E8E8!important; border-radius:2px!important;
  color:#6E6E6E!important; background:transparent!important;
}
html[data-tenant="qixun"] #main .tdstamp.urg{ border-color:#9E9E9E!important; color:#6E6E6E!important; }
html[data-tenant="qixun"] #main .hs-line{ color:#6E6E6E!important; letter-spacing:.06em!important; }
html[data-tenant="qixun"] #main .hs-line b{ color:#1A1A1A!important; }
html[data-tenant="qixun"] #main .hs-foot{ border-top:1px solid #E8E8E8!important; }
html[data-tenant="qixun"] #main .hs-foot a{ color:#6E6E6E!important; letter-spacing:.16em!important; }

/* ---------- 九 · 弹层 ---------- */
html[data-tenant="qixun"] .modal,
html[data-tenant="qixun"] .dl-in,
html[data-tenant="qixun"] .bs-sheet{
  background:#FFFFFF!important; border-radius:2px!important;
  box-shadow:none!important;
}
html[data-tenant="qixun"] .modal-bg,
html[data-tenant="qixun"] .dl-mask{ background:rgba(35,32,27,.34)!important; }

/* ---------- 十 · 页脚 ---------- */
html[data-tenant="qixun"] .tz-foot{
  background:transparent!important; border-top:1px solid #E8E8E8!important;
  color:#6E6E6E!important; letter-spacing:.08em!important;
}
html[data-tenant="qixun"] .tz-foot b{ color:#6E6E6E!important; font-weight:600!important; }

/* 滚动条：细的一根 */
html[data-tenant="qixun"] ::-webkit-scrollbar{ width:8px; height:8px; }
html[data-tenant="qixun"] ::-webkit-scrollbar-thumb{ background:#E8E8E8; border-radius:2px; }
html[data-tenant="qixun"] ::-webkit-scrollbar-track{ background:transparent; }

/* ---------- 补 · 顶栏起首线（2026-11-15 二改） ----------
   【上一版错了，记在这里免得再犯】
   上一版把左上角换成一枚「朱红小方印」，用的图是 assets/stamp.png。
   那不是装饰图案 —— 那是公司的**公章扫描件**：红圈、五角星、环形公司名、
   底下还带着统一社会信用代码。往顶栏一挂，等于每打开一页就盖一次章。

   章和标是两回事：
     章 = 一次授权动作，法律凭证，盖在哪份文件上就只对那份文件负责；
     标 = 一个身份，天天在，谁看都一样。
   把章当标用，客户截图一裁就能当"我方已盖章"的文件；员工天天看见，
   也会觉得这系统拿公章当贴纸。这不是审美问题，是把凭证当成了素材。

   所以启迅顶栏挂自己的标：那张蓝底白鸟的圆标，是单位对外用了多年的
   资产，员工在名片、车贴、合同上都见过 —— 系统里挂回它，才对得上号。
   不用排版另做一个字标去顶，也不拿公章来充数。 */
html[data-tenant="qixun"] .ent-logo.tz-logo,
html[data-tenant="qixun"] header .qx-logo{
  width:21px!important; height:21px!important; min-width:21px!important;
  background:var(--qx-logo) center/contain no-repeat!important;
  border:none!important; border-radius:2px!important; filter:none!important;
  opacity:1;
}
/* 一级门要有 position，否则那道朱线会跑到页头上去 */
html[data-tenant="qixun"] .tz-navi{ position:relative; }
/* 门楣压一条墨线：顶栏与内容之间要有「一条线」的分界，不是一块色差 */
html[data-tenant="qixun"] .tz-head{ border-bottom:1px solid #1A1A1A!important; }
html[data-tenant="qixun"] .tz-crumb{ border-bottom:none!important; }
html[data-tenant="qixun"] #main .hs-foot a{ letter-spacing:.1em!important; }

/* ==========================================================================
   ▍数据校准台（2026-11-15）
   这一页不是仪表盘，是一张校样：纸上有什么就写什么，不许有阴影和渐变。
   唯一的颜色是朱红，只用在「需要你动手」的地方。
   ========================================================================== */
#main .cal-wrap{ max-width:940px; margin:0 auto; padding:8px 0 60px; }

#main .cal-hd{ border-bottom:1px solid #1A1A1A; padding-bottom:14px; margin-bottom:26px; }
#main .cal-t{
  font-family:"Hiragino Sans","PingFang SC","Noto Sans CJK SC",sans-serif;
  font-size:20px; font-weight:600; letter-spacing:.12em; color:#1A1A1A; margin:0 0 10px;
  line-height:1.3;
}
/* 这一页的按钮本来就摆在纸面上，不需要再收进「⋯ 操作」那个抽屉里。
   收进去等于同一把钥匙挂两遍：台面上看不见，还得先想起有个抽屉。 */
#main:has(> .cal-wrap) > .ux-actbar{ display:none!important; }
#main .cal-sub{ font-size:14px; line-height:1.95; color:#6E6E6E; margin:0; letter-spacing:.04em; }

#main .cal-load{ padding:60px 0; text-align:center; color:#9E9E9E; font-size:14px; letter-spacing:.2em; }

/* ---- 四个数：不加框，靠上下两条线和留白分隔 ---- */
#main .cal-nums{ display:grid; grid-template-columns:repeat(4,1fr); border-top:1px solid #E8E8E8; border-bottom:1px solid #E8E8E8; margin-bottom:26px; }
#main .cal-num{ padding:18px 4px 16px; text-align:center; border-right:1px solid #E8E8E8; }
#main .cal-num:last-child{ border-right:none; }
#main .cal-num b{ display:block; font-family:"Hiragino Sans","PingFang SC","Noto Sans CJK SC",sans-serif; font-size:20px; font-weight:600; color:#1A1A1A; letter-spacing:.02em; line-height:1.2; }
#main .cal-num span{ display:block; margin-top:5px; font-size:11px; color:#9E9E9E; letter-spacing:.16em; }
#main .cal-num.hot b{ color:#6E6E6E; }

/* ---- 页签：只有字和一条底线，没有胶囊、没有底色 ---- */
#main .cal-tabs{ display:flex; gap:26px; margin-bottom:28px; }
#main .cal-tabs button{
  background:none; border:none; border-bottom:2px solid transparent; padding:0 0 8px;
  font-size:14px; color:#9E9E9E; letter-spacing:.1em; cursor:pointer;
}
#main .cal-tabs button.on{ color:#1A1A1A; border-bottom-color:#6E6E6E; }

#main .cal-h2{ margin-bottom:16px; }
#main .cal-h2 h2{
  font-family:"Hiragino Sans","PingFang SC","Noto Sans CJK SC",sans-serif; font-size:20px; font-weight:600;
  color:#1A1A1A; letter-spacing:.06em; margin:0 0 7px;
}
#main .cal-h2 p{ font-size:12px; line-height:1.95; color:#6E6E6E; margin:0; letter-spacing:.02em; }

/* ---- 操作条 ---- */
#main .cal-bar{ display:flex; align-items:center; gap:10px; margin:18px 0 14px; flex-wrap:wrap; }
#main .cal-sp{ flex:1 }
#main .cal-say{ font-size:12px; color:#6E6E6E; letter-spacing:.04em; }
#main .cal-ck{ font-size:12px; color:#6E6E6E; display:inline-flex; align-items:center; gap:6px; cursor:pointer; }
#main .cal-btn{
  background:#FFFFFF; border:1px solid #E8E8E8; color:#1A1A1A; font-size:12px;
  padding:7px 15px; border-radius:2px; cursor:pointer; letter-spacing:.08em;
  transition:background .15s, border-color .15s;
}
#main .cal-btn:hover{ background:#FAFAFA; border-color:#9E9E9E; }
#main .cal-btn.pri{ background:#6E6E6E; border-color:#6E6E6E; color:#FFFFFF; }
#main .cal-btn.pri:hover{ background:#1A1A1A; }
#main .cal-btn.sm{ padding:4px 10px; font-size:12px; }

/* ---- 规则方块 ---- */
#main .cal-rules{ display:flex; flex-wrap:wrap; gap:8px; margin-bottom:18px; }
#main .cal-rule{
  display:inline-flex; align-items:baseline; gap:8px; background:#FFFFFF;
  border:1px solid #E8E8E8; padding:7px 12px; cursor:pointer; border-radius:2px;
  transition:border-color .15s, background .15s;
}
#main .cal-rule:hover{ border-color:#E8E8E8; }
#main .cal-rule.on{ border-color:#6E6E6E; background:#FAFAFA; }
#main .cal-rule-n{ font-family:"Hiragino Sans","PingFang SC","Noto Sans CJK SC",sans-serif; font-size:20px; font-weight:600; color:#6E6E6E; min-width:18px; }
#main .cal-rule-t{ font-size:12px; color:#1A1A1A; letter-spacing:.04em; }

/* ---- 表：竖线全去掉，只留横线 ---- */
#main .cal-tb{ width:100%; border-collapse:collapse; margin-top:6px; table-layout:fixed; }
#main .cal-tb.pv{ table-layout:fixed; }
#main .cal-tb th{
  text-align:left; font-weight:500; font-size:11px; color:#9E9E9E; letter-spacing:.14em;
  padding:8px 10px; border-bottom:1px solid #E8E8E8; background:none;
}
#main .cal-tb td{
  padding:9px 10px; border-bottom:1px solid #E8E8E8; font-size:12px; color:#1A1A1A;
  vertical-align:top; line-height:1.75;
}
#main .cal-tb tr.bad td{ background:#FAFAFA; }
#main .cal-tb tr.bad td:first-child{ box-shadow:none; }
#main .cal-tb tr.bad .mono{ color:#6E6E6E; }
#main .cal-tb tr.off td{ opacity:.42; }
#main .cal-tb .mono{ font-family:ui-monospace,Menlo,monospace; font-size:11px; color:#6E6E6E; }
#main .cal-desc{ color:#6E6E6E; font-size:12px; }
#main .cal-empty{ text-align:center; color:#9E9E9E; padding:26px 0 !important; letter-spacing:.1em; }
#main .cal-empty2{ color:#9E9E9E; font-size:12px; padding:22px 0; text-align:center; border:1px solid #E8E8E8; letter-spacing:.06em; }
#main .cal-more{ font-size:11px; color:#9E9E9E; margin-top:10px; letter-spacing:.04em; }

#main .cal-iss{ display:flex; flex-direction:column; gap:3px; align-items:flex-start; }
#main .cal-iss .i{ font-size:12px; color:#6E6E6E; }
#main .cal-iss .i.err{ color:#6E6E6E; }
#main .cal-iss .i.warn{ color:#6E6E6E; }
#main .cal-sim{
  font-style:normal; font-size:11px; color:#9E9E9E; border:1px solid #E8E8E8;
  padding:0 4px; margin-left:6px; letter-spacing:.06em;
}

/* ---- 认列 ---- */
#main .cal-map{ display:grid; grid-template-columns:repeat(3,1fr); gap:8px 18px; margin:6px 0 14px; }
#main .cal-map-i{ display:flex; align-items:center; gap:7px; font-size:12px; color:#9E9E9E; }
#main .cal-map-i.on{ color:#1A1A1A; }
#main .cal-map-i > span{ width:64px; flex:none; letter-spacing:.06em; }
#main .cal-map-i select{
  flex:1; min-width:0; border:1px solid #E8E8E8; background:#FFFFFF; border-radius:2px;
  font-size:12px; padding:4px 6px; color:#1A1A1A;
}
#main .cal-map-i em{ font-style:normal; font-size:11px; color:#9E9E9E; width:34px; text-align:right; flex:none; }

/* ---- 拖放区 ---- */
#main .cal-drop{
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  border:1px solid #E8E8E8; padding:46px 20px; cursor:pointer; background:#FAFAFA;
  transition:border-color .18s, background .18s;
}
#main .cal-drop:hover{ border-color:#6E6E6E; background:#FAFAFA; }
#main .cal-drop b{ font-family:"Hiragino Sans","PingFang SC","Noto Sans CJK SC",sans-serif; font-size:20px; font-weight:600; color:#1A1A1A; letter-spacing:.3em; margin-bottom:10px; }
#main .cal-drop span{ font-size:12px; color:#9E9E9E; letter-spacing:.06em; }
#main .cal-tip{ font-size:11px; color:#9E9E9E; margin-top:10px; letter-spacing:.04em; line-height:1.9; }
#main .cal-tip a{ color:#6E6E6E; border-bottom:1px solid rgba(110,110,110,.35); text-decoration:none; }

#main .cal-in{
  width:100%; border:none; border-bottom:1px solid transparent; background:none;
  font-size:12px; color:#1A1A1A; padding:2px 0; outline:none;
  font-family:inherit; letter-spacing:.02em;
}
#main .cal-in::placeholder{ color:#E8E8E8; }
#main .cal-in:focus{ border-bottom-color:#6E6E6E; background:#FAFAFA; }
#main .cal-sel{
  border:1px solid #E8E8E8; background:#FFFFFF; border-radius:2px; font-size:12px; padding:3px 5px; color:#1A1A1A;
}
#main .cal-how{
  display:inline-block; font-size:11px; color:#6E6E6E; letter-spacing:.06em;
  border:1px solid #E8E8E8; padding:1px 6px; white-space:nowrap; line-height:1.6;
}
#main .cal-how.dict{ color:#6E6E6E; border-color:#E8E8E8; }
#main .cal-how.exact{ color:#6E6E6E; border-color:#E8E8E8; }
#main .cal-how.none{ color:#6E6E6E; border-color:#E8E8E8; }

/* ---- 该关的规则 ---- */
#main .cal-note{ border-left:1px solid #E8E8E8; padding:12px 0 12px 16px; margin:6px 0 24px; background:#FAFAFA; }
#main .cal-note b{ font-size:14px; color:#6E6E6E; letter-spacing:.1em; display:block; margin-bottom:6px; }
#main .cal-note p{ font-size:12px; color:#6E6E6E; line-height:1.9; margin:0 0 10px; }
#main .cal-pr{ display:flex; align-items:center; gap:10px; padding:6px 0; border-top:1px solid #E8E8E8; }
#main .cal-pr span{ font-size:12px; color:#1A1A1A; }
#main .cal-pr em{ font-style:normal; font-size:11px; color:#9E9E9E; flex:1; }
/* 片区缺项的行：三栏对齐（名称 / 样例 / 处理），样例太长就换行，不挤下拉 */
#main .cal-zm{ display:grid; grid-template-columns:112px 1fr 186px; gap:10px; align-items:center;
  padding:8px 0; border-top:1px solid #E8E8E8; }
#main .cal-zm:first-of-type{ border-top:none; }
#main .cal-zm-k{ font-size:14px; color:#1A1A1A; letter-spacing:.04em; }
#main .cal-zm-s{ font-style:normal; font-size:11px; color:#6E6E6E; line-height:1.75; }
#main .cal-zm .cal-sel{ width:100%; }

/* ---- 学到的 ---- */
#main .cal-learn{ border:1px solid #E8E8E8; background:#FFFFFF; padding:14px 16px; margin-bottom:10px; }
#main .cal-learn-h b{ font-size:12px; color:#6E6E6E; letter-spacing:.12em; margin-right:10px; }
#main .cal-learn-h span{ font-size:12px; color:#1A1A1A; line-height:1.85; }
#main .cal-learn-s{ margin:9px 0 11px; display:flex; flex-wrap:wrap; gap:6px; }
#main .cal-learn-s i{
  font-style:normal; font-size:11px; color:#6E6E6E; background:#FAFAFA;
  padding:2px 8px; border:1px solid #E8E8E8;
}

/* ---- 开关 ---- */
#main .cal-sw{
  position:relative; display:inline-block; width:30px; height:15px;
  background:#E8E8E8; cursor:pointer; transition:background .18s;
}
#main .cal-sw input{ position:absolute; inset:0; opacity:0; margin:0; cursor:pointer; width:100%; height:100%; }
#main .cal-sw i{ position:absolute; left:2px; top:2px; width:11px; height:11px; background:#FFFFFF;
  transition:left .18s cubic-bezier(.3,.8,.3,1); box-shadow:none; }
#main .cal-sw input:checked ~ i{ left:17px; }
#main .cal-sw:has(input:checked){ background:#6E6E6E; }

@media screen and (max-width:820px){
  #main .cal-nums{ grid-template-columns:repeat(2,1fr); }
  #main .cal-num:nth-child(2){ border-right:none; }
  #main .cal-num:nth-child(1),#main .cal-num:nth-child(2){ border-bottom:1px solid #E8E8E8; }
  #main .cal-map{ grid-template-columns:1fr 1fr; }
  #main .cal-tb th:nth-child(3),#main .cal-tb td:nth-child(3){ display:none; }
}

/* ==========================================================================
   ▍登录页（2026-11-15）
   系统里是米纸，登录页还是灰白 —— 进门第一眼和进门之后不是一套纸。
   中间那枚标是 XAC（母集团英文缩写），标题只写「电梯管理系统」：
   启迅的人每天登录，看到的是两个跟自己没关系的名字。

   （entry.css 里那条规则的原意是「两家共用这一个入口，所以挂母标」。
     事实上一个进程只服务一家，两个域名各自登录 —— 前提不成立，
     启迅这一屏就该写启迅。）

   压制的写法在这里又踩了一次老坑：光写 `html[data-tenant] .login-box`
   压不住 entry.css 的 `html[data-tenant] #loginPage .login-box .logo`
   —— 人家多一个 id。所以这一整段全部带 #loginPage。
   ========================================================================== */
html[data-tenant="qixun"] #loginPage{ background:#FAFAFA!important; background-image:none!important; }
html[data-tenant="qixun"] #loginPage .login-box{
  background:#FFFFFF!important; border:1px solid #E8E8E8!important;
  border-radius:2px!important; box-shadow:none!important;
  padding:34px 34px 30px!important;
}
/* 字标：把 entry.css 那个 ::before 的 XAC 关掉，换成启迅横排墨字 */
html[data-tenant="qixun"] #loginPage .login-box .logo{
  width:190px!important; height:63px!important; margin:6px auto 14px!important;
  background-image:none!important;
  font-size:0!important; line-height:0!important; opacity:.9;
  position:relative!important;
}
/* 图由 tenant.js 用内联样式挂上去 —— 这一页叠了七八层皮肤，
   .logo 的 background 被反复设成 none，CSS 里压不动，内联最省事。 */

html[data-tenant="qixun"] #loginPage .login-box .logo::before{ content:none!important; display:none!important; }
/* 汉风皮肤在卡片顶上画了一道玄黑横线、中间嵌一截 44px 朱砂（汉碑题额）。
   这套皮肤里它是成立的；换到米纸上、卡片又是一圈米线细边，
   这道黑线就成了「纸边破了」，朱砂块像贴歪的胶带。
   日式的做法是不加装饰：一道细线收边就够，纸自己会分层次。 */
html[data-tenant="qixun"] #loginPage .login-box::before,
html[data-tenant="qixun"] #loginPage .login-box::after{ content:none!important; display:none!important; }
html[data-tenant="qixun"] #loginPage .login-box h2{
  font-family:"Hiragino Sans","PingFang SC","Noto Sans CJK SC",sans-serif!important;
  font-size:14px!important; font-weight:400!important; color:#6E6E6E!important;
  letter-spacing:.32em!important; text-indent:.32em; margin:0 0 24px!important;
}
/* 题名下面那道 28px 短线是汉风留下的，颜色是土金 #6E6E6E —— 在米纸上像旧报纸的断版线。
   留住这道线（题名和正文之间确实需要一口气），只把它放淡到纸线色。 */
html[data-tenant="qixun"] #loginPage .login-box h2::after{ background:#E8E8E8!important; opacity:1!important; width:24px!important; }
html[data-tenant="qixun"] #loginPage .login-box .field label{
  color:#9E9E9E!important; letter-spacing:.18em!important; font-size:11px!important;
}
html[data-tenant="qixun"] #loginPage .login-box input{
  background:#FAFAFA!important; border:none!important;
  border-bottom:1px solid #E8E8E8!important; border-radius:2px!important;
  font-size:14px!important; color:#1A1A1A!important;
}
html[data-tenant="qixun"] #loginPage .login-box input:focus{ border-bottom-color:#6E6E6E!important; }
html[data-tenant="qixun"] #loginPage .login-box .btn{
  background:#1A1A1A!important; border:1px solid #1A1A1A!important;
  border-radius:2px!important; height:46px!important; letter-spacing:.4em!important;
  margin-top:10px!important;
}

/* ==========================================================================
   ▍页头呼吸（2026-11-15）
   每一页的大标题离页签条只有 4px，字顶顶着一条横线，像被裁掉。
   日式排版里，题名上方要留白 —— 白本身是版面的一部分，不是浪费。
   ========================================================================== */
/* 用 padding 不用 margin：这一页的标题块上边距被前面几层皮肤写成了 0，
   加 !important 也顶不动（总有一条更晚、更具体）。给容器留白更省事，
   而且不会和外层元素发生外边距合并。 */
html[data-tenant="qixun"] #main:has(.pg-hd){ padding-top:22px!important; }

/* ---------- 九 · 日式细部（2026-11-15 · 第三版） ----------
   皮肤不是换配色就完事：日式的「静」来自三件事 ——
   菜单像一排签（有界线、有节奏），搜索像一条下划线（不是一块灰底），
   卡片是白纸上的一格（不是浮起来的板）。这里把这三处钉死。 */
html[data-tenant="qixun"] .ent-door{
  margin:0!important;
  border-bottom:1px solid #E8E8E8!important;
}
html[data-tenant="qixun"] .ent-door:first-of-type{ border-top:1px solid #E8E8E8!important; }
html[data-tenant="qixun"] .ent-door-h{
  border-radius:2px!important;
  padding:15px 16px!important;
}
html[data-tenant="qixun"] .ent-door-t{
  font-size:14px!important; font-weight:500!important;
  letter-spacing:.18em!important; color:#1A1A1A!important;
}
html[data-tenant="qixun"] .ent-door-h:hover{ background:#FAFAFA!important; }
html[data-tenant="qixun"] .ent-door-cv{ color:#9E9E9E!important; font-size:12px!important; }

/* 搜索：只有一条线，没有底块 */
html[data-tenant="qixun"] .ent-search{
  background:transparent!important;
  border:none!important;
  border-bottom:1px solid #E8E8E8!important;
  border-radius:2px!important;
  box-shadow:none!important;
}
html[data-tenant="qixun"] .ent-search:focus-within{
  background:transparent!important;
  border-bottom-color:#1A1A1A!important;
}
html[data-tenant="qixun"] .ent-search input{ letter-spacing:.08em!important; }

/* 顶栏右侧那个人：不要胶囊，只要一行字 */
html[data-tenant="qixun"] .tz-me-av{
  border:1px solid #E8E8E8!important; border-radius:2px!important;
  background:#FFFFFF!important; color:#6E6E6E!important;
}

/* 二级菜单（门里那一排）：小字、宽字距、当前项一道朱线，左侧不留色条 */
html[data-tenant="qixun"] .ent-sub{
  border-radius:2px!important; letter-spacing:.1em!important;
  color:#6E6E6E!important;
}
html[data-tenant="qixun"] .ent-sub.on{
  color:#1A1A1A!important; font-weight:600!important;
  background:transparent!important;
  box-shadow:none!important;
}
html[data-tenant="qixun"] .ent-sub:hover{ background:#FAFAFA!important; }

/* ---------- 门外三尺：两家一字不差（2026-11-15 收口） ----------
   登录页是唯一「两家看起来必须是同一家公司」的地方：X.core / 安心可托。
   上面各层的按钮圆角、字距、提示色写法不一，这里用 body 抬一级特异性，
   把最后这几格钉成同一组值 —— 以后改门外，只改这两段。 */
html[data-tenant="qixun"] body #loginPage .login-box .btn{
  background:#1A1A1A!important; border:1px solid #1A1A1A!important;
  border-radius:2px!important; letter-spacing:.4em!important; text-indent:.4em;
  box-shadow:none!important;
}
html[data-tenant="qixun"] body #loginPage .login-box h2::after{
  height:1px!important; width:24px!important; background:#E8E8E8!important;
}
html[data-tenant="qixun"] body #loginPage .login-box .tip,
html[data-tenant="qixun"] body #loginPage .login-box a{ color:#6E6E6E!important; font-size:12px!important; }

/* ---------- 十 · 制式单证（q2）：瓷青不是启迅的色 ----------
   q2.css 把「主色」定成瓷青 #6E6E6E，页签、合计格、主按钮都读它。
   日式这边主色只有墨：黑底白字，朱红只给金额与当前项。 */
html[data-tenant="qixun"] #main .q2{
  --q2-main:#1A1A1A!important;
  --q2-red:#6E6E6E!important;
  --q2-line:#E8E8E8!important;
  --q2-head:#FAFAFA!important;
  --q2-sub:#6E6E6E!important;
  --q2-ink:#1A1A1A!important;
}
html[data-tenant="qixun"] #main .q2 .q2-btn.pri:hover{ background:#1A1A1A!important; }
html[data-tenant="qixun"] #main .q2 .q2-btn.pri,
html[data-tenant="qixun"] #main .q2 .q2-tab.on{ letter-spacing:.06em!important; }
html[data-tenant="qixun"] #main .q2 .s.hot{
  background:#1A1A1A!important; color:#FFFFFF!important;
}
html[data-tenant="qixun"] #main .q2 .s.hot b{ color:#FFFFFF!important; }


/* ==========================================================================
   ▍启迅 = iOS（2026-11-15 · 锁死版）
   --------------------------------------------------------------------------
   老板给了最终文档：启迅按苹果 iOS 装修，友创按安卓 Material 装修，
   两边货架（菜单、页面、表单、流程）一模一样，装修一刀两断。
   之前这套是「日式极简」—— 方向没错（白、静、少），但还差 iOS 的三件事：

     ① 圆角是连续的，不是切出来的方角。iOS 控件没有 2px 直角的。
     ② 层次靠「材质」不靠「线」。分组底灰 + 白卡，不用一圈描边收边。
     ③ 反馈是「暗一下」，不是闪、不是弹、不是水波纹。

   所以这一层不改货架，只改装修：把 v1 那套令牌整组换掉（圆角/阴影/
   字体/底色），再补几处结构差异（顶栏毛玻璃、弹窗磨砂、分割线内缩）。
   全站按钮、输入、表格、卡片都读这些令牌，改一处，全场跟着变。

   禁止：加边框、加色块、加水波纹、加弹跳动画 —— 那不是 iOS。
   ========================================================================== */

html[data-tenant="qixun"]{
  /* 底色：iOS 分组列表的底（systemGroupedBackground），比纯白低一档 */
  --v1-bg:#E8E8E8!important;
  --v1-surface:#FFFFFF!important;
  --v1-surface-2:#FAFAFA!important;
  --v1-surface-3:#FAFAFA!important;
  --v1-line:#9E9E9E!important;
  --v1-line-2:#E8E8E8!important;
  --v1-ink:#1A1A1A!important;
  --v1-ink-2:#1A1A1A!important;
  --v1-ink-3:#9E9E9E!important;
  --v1-ink-4:#9E9E9E!important;

  /* 主色：iOS 的按钮多数是「实心墨」或「文字蓝」，这里走墨 ——
     一家电梯公司的单据系统，通栏亮蓝太吵；蓝只在聚焦环上露一下。 */
  --v1-primary:#1A1A1A!important;
  --v1-primary-d:#1A1A1A!important;
  --v1-primary-soft:#FAFAFA!important;
  --v1-accent:#6E6E6E!important;
  --v1-danger:#6E6E6E!important;
  --v1-danger-soft:#FAFAFA!important;
  --v1-success:#9E9E9E!important;
  --v1-success-soft:#FAFAFA!important;
  --v1-warning:#9E9E9E!important;
  --v1-warning-soft:#FAFAFA!important;
  --v1-info:#6E6E6E!important;
  --v1-info-soft:#FAFAFA!important;

  /* 圆角：iOS 没有小圆角。按钮 12、输入 10、卡片 14、弹窗 20 */
  --v1-r-btn:2px!important;
  --v1-r-input:2px!important;
  --v1-r-card:2px!important;
  --v1-r-modal:2px!important;
  --v1-r-tag:2px!important;

  /* 阴影：iOS 的卡片几乎不投影，靠底色分层；只给弹层留一层柔的 */
  --v1-sh-1:none;
  --v1-sh-2:none;
  --v1-sh-3:none;

  /* 字体：系统字。iOS 上就是 SF Pro + 苹方，字距不收不放 */
  --v1-sans:-apple-system,BlinkMacSystemFont,"SF Pro Text","PingFang SC",
            "Helvetica Neue","Noto Sans CJK SC","Microsoft YaHei",sans-serif!important;

  /* 旧变量同步（前八层皮肤仍在引用 --bg/--card/--jp-* 这些） */
  --bg:#E8E8E8!important;  --card:#FFFFFF!important;
  --t:#1A1A1A!important;   --m:#1A1A1A!important;  --bd:#E8E8E8!important;
  --p:#1A1A1A!important;   --pd:#1A1A1A!important;
  --red:#6E6E6E!important; --green:#9E9E9E!important;
  --orange:#9E9E9E!important; --purple:#6E6E6E!important; --cyan:#6E6E6E!important;
  --jp-paper:#E8E8E8!important; --jp-card:#FFFFFF!important;
  --jp-ink:#1A1A1A!important;   --jp-sub:#9E9E9E!important;
  --jp-line:#E8E8E8!important;  --jp-line-l:#FAFAFA!important;
  --jp-ai:#1A1A1A!important;    --jp-shu:#6E6E6E!important;
  --st-0:#FFFFFF!important; --st-1:#FAFAFA!important; --st-2:#FAFAFA!important;
  --st-3:#E8E8E8!important; --st-line:#9E9E9E!important; --st-hair:#E8E8E8!important;
  --st-ink:#1A1A1A!important; --st-sub:#9E9E9E!important;
  --hs-floor:#E8E8E8!important;
  --ent-bd:#E8E8E8!important; --ent-t:#1A1A1A!important; --ent-m:#9E9E9E!important;
  --qin-ink:#1A1A1A!important; --qin-ink-2:#1A1A1A!important;
  --qin-brick:#1A1A1A!important; --qin-brick-d:#1A1A1A!important; --qin-brick-l:#9E9E9E!important;
  --qin-line:#E8E8E8!important; --qin-line-2:#FAFAFA!important;
  --qin-ground:#E8E8E8!important; --qin-paper:#FFFFFF!important; --qin-paper-2:#FAFAFA!important;
  --qin-cinnabar:#6E6E6E!important; --qin-cinnabar-l:#6E6E6E!important;
}

/* ---------- 一 · 页面与顶栏：一块毛玻璃，一条发丝线 ---------- */
html[data-tenant="qixun"] body,
html[data-tenant="qixun"] body.ent,
html[data-tenant="qixun"] body.plain{
  background-color:#E8E8E8!important;
  font-family:var(--v1-sans)!important;
  -webkit-font-smoothing:antialiased;
}
html[data-tenant="qixun"] #main{
  background:#E8E8E8!important;
  background-image:none!important;
}

/* iOS 的导航栏是半透明白 + 背景模糊（不是纯白条） */
html[data-tenant="qixun"] .tz-head,
html[data-tenant="qixun"] header{
  background:rgba(249,249,251,.78)!important;
  -webkit-backdrop-filter:saturate(180%) blur(20px)!important;
  backdrop-filter:saturate(180%) blur(20px)!important;
  border-bottom:1px solid rgba(60,60,67,.18)!important;
  box-shadow:none!important;
}
html[data-tenant="qixun"] .ent-top{
  background:transparent!important;
  -webkit-backdrop-filter:none!important; backdrop-filter:none!important;
}
html[data-tenant="qixun"] .tz-crumb{
  background:transparent!important; border-bottom:1px solid rgba(60,60,67,.12)!important;
}
html[data-tenant="qixun"] .tz-brand-n{ font-size:20px!important; font-weight:600!important; letter-spacing:-.01em!important; }
html[data-tenant="qixun"] .tz-brand-n span{ font-size:11px!important; font-weight:400!important; letter-spacing:.02em!important; color:#9E9E9E!important; }

/* 顶栏一级门：选中不靠下划线，靠字重与颜色（iOS 分段控件的做法） */
html[data-tenant="qixun"] .tz-navi{
  height:44px!important; padding:0 12px!important; border-radius:2px!important;
  font-size:14px!important; font-weight:400!important; letter-spacing:0!important;
  color:#1A1A1A!important;
  transition:background .18s ease,color .18s ease!important;
}
html[data-tenant="qixun"] .tz-navi:hover{ background:rgba(120,120,128,.08)!important; }
html[data-tenant="qixun"] .tz-navi.on{
  color:#1A1A1A!important; font-weight:600!important;
  background:rgba(120,120,128,.12)!important;
}
html[data-tenant="qixun"] .tz-navi.on::after{ display:none!important; content:none!important; }

/* 搜索：iOS 搜索框是「一块灰底 + 放大镜」，不是下划线 */
html[data-tenant="qixun"] .ent-search{
  background:rgba(118,118,128,.12)!important;
  border:none!important; border-radius:2px!important;
  box-shadow:none!important;
  transition:background .18s ease!important;
}
html[data-tenant="qixun"] .ent-search:focus-within{
  background:#FFFFFF!important;
  box-shadow:none!important;
}
html[data-tenant="qixun"] .ent-search input{ letter-spacing:0!important; font-size:14px!important; }
html[data-tenant="qixun"] .tz-me-av{
  background:rgba(118,118,128,.12)!important; border:none!important;
  border-radius:50%!important; color:#1A1A1A!important;
}

/* ---------- 二 · 侧栏：白色面板，选中项一块淡灰 ---------- */
html[data-tenant="qixun"] .ent-side{
  background:rgba(255,255,255,.92)!important;
  -webkit-backdrop-filter:saturate(180%) blur(20px)!important;
  backdrop-filter:saturate(180%) blur(20px)!important;
  border-right:1px solid rgba(60,60,67,.14)!important;
}
html[data-tenant="qixun"] .tz-side-t{
  font-family:var(--v1-sans)!important; font-size:11px!important;
  font-weight:500!important; letter-spacing:.08em!important; color:#9E9E9E!important;
}
html[data-tenant="qixun"] .ent-door{ margin:2px 8px!important; border-bottom:none!important; }
html[data-tenant="qixun"] .ent-door:first-of-type{ border-top:none!important; }
html[data-tenant="qixun"] .ent-door-h{
  border-radius:2px!important; padding:11px 12px!important;
  transition:background .16s ease!important;
}
html[data-tenant="qixun"] .ent-door-h:hover{ background:rgba(120,120,128,.08)!important; }
html[data-tenant="qixun"] .ent-door-t{
  font-size:14px!important; font-weight:500!important; letter-spacing:0!important; color:#1A1A1A!important;
}
html[data-tenant="qixun"] .ent-door-cv{ color:#9E9E9E!important; font-size:12px!important; }
html[data-tenant="qixun"] .ent-sub{
  border-radius:2px!important; margin:1px 8px!important; padding:8px 12px!important;
  font-size:14px!important; letter-spacing:0!important; color:#1A1A1A!important;
  transition:background .16s ease!important;
}
html[data-tenant="qixun"] .ent-sub:hover{ background:rgba(120,120,128,.08)!important; }
html[data-tenant="qixun"] .ent-sub.on{
  background:rgba(120,120,128,.14)!important;
  color:#1A1A1A!important; font-weight:600!important;
  box-shadow:none!important;
}

/* ---------- 三 · 卡片：白纸一张，圆角连续，不描边 ---------- */
html[data-tenant="qixun"] #main .panel,
html[data-tenant="qixun"] #main .card,
html[data-tenant="qixun"] #main .fold,
html[data-tenant="qixun"] #main .stat,
html[data-tenant="qixun"] #main .kpi,
html[data-tenant="qixun"] #main .pibox,
html[data-tenant="qixun"] #main .pirow,
html[data-tenant="qixun"] #main .blank-box,
html[data-tenant="qixun"] #main .dl-item,
html[data-tenant="qixun"] #main .nv-card,
html[data-tenant="qixun"] #main .hr-card,
html[data-tenant="qixun"] #main .fin-todo,
html[data-tenant="qixun"] #main .sys-mode,
html[data-tenant="qixun"] #main .hs-tl,
html[data-tenant="qixun"] #main .hs-ask,
html[data-tenant="qixun"] #main .box{
  background:#FFFFFF!important;
  border:none!important;
  border-radius:2px!important;
  box-shadow:none!important;
}
html[data-tenant="qixun"] #main .panel h3{
  font-size:14px!important; font-weight:600!important; letter-spacing:-.01em!important;
  border-bottom:1px solid #E8E8E8!important; padding-bottom:10px!important;
}

/* 页头：大标题 + 一行说明，iOS 大标题的样子 */
html[data-tenant="qixun"] #main .pg-hd h2,
html[data-tenant="qixun"] #main h2{
  font-family:var(--v1-sans)!important;
  font-size:20px!important; font-weight:700!important;
  letter-spacing:-.02em!important; color:#1A1A1A!important;
}
html[data-tenant="qixun"] #main .pg-hd .pg-sub,
html[data-tenant="qixun"] #main .pg-hd p{ color:#9E9E9E!important; font-size:14px!important; }

/* ---------- 四 · 表：只留发丝线，行高不挤 ---------- */
html[data-tenant="qixun"] #main thead th{
  background:transparent!important; color:#9E9E9E!important;
  font-size:11px!important; font-weight:500!important; letter-spacing:.04em!important;
  border-top:none!important; border-bottom:1px solid rgba(60,60,67,.18)!important;
}
html[data-tenant="qixun"] #main tbody td{
  border-bottom:1px solid #E8E8E8!important;
  font-size:14px!important;
}
html[data-tenant="qixun"] #main tbody tr:hover td{ background:rgba(120,120,128,.05)!important; }
html[data-tenant="qixun"] #main tbody tr:last-child td{ border-bottom:none!important; }

/* ---------- 五 · 控件：胶囊感，按下去暗一格 ---------- */
html[data-tenant="qixun"] #main .btn,
html[data-tenant="qixun"] #main button.btn,
html[data-tenant="qixun"] #mbox .btn{
  border-radius:2px!important;
  font-size:14px!important; font-weight:500!important; letter-spacing:0!important;
  box-shadow:none!important;
  transition:opacity .16s ease,transform .16s ease,background .16s ease!important;
}
html[data-tenant="qixun"] #main .btn:active,
html[data-tenant="qixun"] #mbox .btn:active{ opacity:.62!important; transform:scale(.985)!important; }
html[data-tenant="qixun"] #main .btn.primary,
html[data-tenant="qixun"] #main .btn.pri{
  background:#1A1A1A!important; color:#FFFFFF!important; border:none!important;
}
html[data-tenant="qixun"] #main .btn.ghost{
  background:rgba(118,118,128,.12)!important; color:#1A1A1A!important; border:none!important;
}
html[data-tenant="qixun"] #main .chip{
  background:rgba(118,118,128,.10)!important; border:none!important;
  border-radius:999px!important; color:#1A1A1A!important;
  font-size:12px!important; letter-spacing:0!important;
  transition:background .16s ease!important;
}
html[data-tenant="qixun"] #main .chip.on,
html[data-tenant="qixun"] #main .chip.on *{
  background:#1A1A1A!important; color:#FFFFFF!important;
}
html[data-tenant="qixun"] #main .tag{
  background:rgba(118,118,128,.10)!important; border:none!important;
  border-radius:2px!important; color:#1A1A1A!important;
  font-size:11px!important; letter-spacing:0!important;
}
html[data-tenant="qixun"] #main .tag.r,
html[data-tenant="qixun"] #main .tag.o,
html[data-tenant="qixun"] #main .tag.warn{
  background:rgba(110,110,110,.10)!important; color:#6E6E6E!important; border:none!important;
}
html[data-tenant="qixun"] #main .tag.g{
  background:rgba(158,158,158,.12)!important; color:#6E6E6E!important;
}

/* 分段控件（页内 tab / hub-bar）：iOS 的胶囊分段 */
html[data-tenant="qixun"] #main .hub-bar{
  background:rgba(118,118,128,.10)!important; border:none!important;
  border-radius:2px!important; padding:2px!important;
}
html[data-tenant="qixun"] #main .hub-bar button{
  border-radius:2px!important; font-size:14px!important; letter-spacing:0!important;
  color:#1A1A1A!important; transition:background .18s ease!important;
}
html[data-tenant="qixun"] #main .hub-bar button.on{
  background:#FFFFFF!important; color:#1A1A1A!important; font-weight:600!important;
  box-shadow:none!important;
}
html[data-tenant="qixun"] #main .hub-bar .hub-pill{
  background:#FFFFFF!important; border:none!important;
  box-shadow:none!important;
}

/* ---------- 六 · 输入：灰底圆角，聚焦一圈淡环 ---------- */
html[data-tenant="qixun"] #main input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=hidden]):not([type=file]),
html[data-tenant="qixun"] #main select,
html[data-tenant="qixun"] #main textarea,
html[data-tenant="qixun"] #mbox input,
html[data-tenant="qixun"] #mbox textarea,
html[data-tenant="qixun"] #mbox select{
  background:#E8E8E8!important;
  border:1px solid transparent!important;
  border-radius:2px!important;
  font-size:14px!important;
  transition:background .16s ease,box-shadow .16s ease!important;
}
html[data-tenant="qixun"] #main input:focus,
html[data-tenant="qixun"] #main select:focus,
html[data-tenant="qixun"] #main textarea:focus,
html[data-tenant="qixun"] #mbox input:focus,
html[data-tenant="qixun"] #mbox textarea:focus{
  background:#FFFFFF!important;
  box-shadow:none!important;
  outline:none!important;
}

/* ---------- 七 · 弹层：磨砂背景 + 缩放淡入 ---------- */
html[data-tenant="qixun"] #mbg{
  background:rgba(20,20,22,.28)!important;
  -webkit-backdrop-filter:blur(14px) saturate(120%)!important;
  backdrop-filter:blur(14px) saturate(120%)!important;
}
html[data-tenant="qixun"] #mbox{
  background:rgba(255,255,255,.98)!important;
  border:none!important;
  border-radius:2px!important;
  box-shadow:none!important;
  animation:qxiosPop .22s cubic-bezier(.32,.72,0,1) both;
}
@keyframes qxiosPop{
  from{ opacity:0; transform:scale(.96) translateY(6px); }
  to  { opacity:1; transform:none; }
}
html[data-tenant="qixun"] #mbox h3,
html[data-tenant="qixun"] #mbg .modal h3{
  font-size:20px!important; font-weight:600!important; letter-spacing:-.01em!important;
  border-bottom:1px solid #E8E8E8!important;
}
html[data-tenant="qixun"] #mbox::before,
html[data-tenant="qixun"] #mbg .modal::before{ display:none!important; content:none!important; }

/* ---------- 八 · 滚动：iOS 的阻尼回弹 ---------- */
html[data-tenant="qixun"] #main,
html[data-tenant="qixun"] .ent-side,
html[data-tenant="qixun"] #mbox{
  -webkit-overflow-scrolling:touch;
  overscroll-behavior:contain;
}
html[data-tenant="qixun"] *{ -webkit-tap-highlight-color:transparent; }

/* iOS 里没有水波纹：谁给启迅加了 ripple，这里一律拆掉 */
html[data-tenant="qixun"] .ripple,
html[data-tenant="qixun"] .md-ripple{ display:none!important; }

/* ===== songyun.css ===== */
/* ==========================================================================
   ▍日式 · 友创（2026-11-16 换调；文件名沿用 songyun.css，旧链接不 404）
   只给友创：html[data-tenant="youchuang"]。启迅是 jp.css（和纸），同一套做法——
   两个租户各一份文件，底色、线、墨三样完全一致，不是两套审美。

   为什么换掉宋韵：宋韵要的是「纸放旧了」的暖，米白 + 暖灰 + 棕墨，看久了发闷。
   日式要的是「刚裁好的纸」：干净、准、没有温度。同样三样材料，全部转中性：
     纸  底 #FAFAFA（浅，像桌面）· 卡片 #FFFFFF（真白，像纸）
     墨  #1A1A1A 一色到底，靠浓淡分主次，不用彩
     线  主 #E8E8E8 / 次 #E8E8E8，两级就够，不再出现第三种灰

   四条做法（与启迅同一套）：
     1. 卡片不浮起来 —— 无阴影，一圈 1px 细线收边，方角 2px
     2. 底色只分三层：桌 #FAFAFA、区块 #FAFAFA、纸 #FFFFFF，不做第四层
     3. 分隔线一律 1px，不画格子；表用「上线略深、下线略淡」，眼睛顺字走
     4. 装饰只留一处：登录页纸边那道由淡到无的横线

   为什么写在最后一层：这一页叠了 app / ux-kit / sys / v1 / song / han / tang /
   tenant / xin / entry / jp 十一层皮肤，同一批属性被反复改写。
   要让它真正落地，只能最后写、并且带够特异性（这里全部带
   html[data-tenant="youchuang"] + #loginPage / #main）。
   ========================================================================== */

/* ── 一 · 登录：门外只有一个入口，两家一字不差 ────────────────────────
   2026-11-15 改：登录页原来按租户换了纸色（友创米黄、启迅近白），
   可门外这块是给客户和员工看同一件事的地方 —— X.core / 安心可托。
   皮从门里开始，门外一律白纸黑字，两边共用同一段规则（启迅那份在 jp.css）。
   ─────────────────────────────────────────────────────────────────── */

/* xin.css 那条写的是 #loginPage.login（多一个类），特异性压过这里 —— 所以照抄它那一位 */
html[data-tenant="youchuang"] #loginPage.login,
html[data-tenant="youchuang"] #loginPage{ background:#FFFFFF!important; background-image:none!important; }
html[data-tenant="youchuang"] #loginPage .login-box{
  background:#FFFFFF!important; border:1px solid #E8E8E8!important;
  border-radius:2px!important; box-shadow:none!important;
  padding:34px 34px 30px!important;
}
/* 字标：把 entry.css 那个 ::before 的 XAC 关掉，换成启迅横排墨字 */
html[data-tenant="youchuang"] #loginPage .login-box .logo{
  width:190px!important; height:63px!important; margin:6px auto 14px!important;
  background-image:none!important;
  font-size:0!important; line-height:0!important; opacity:.9;
  position:relative!important;
}
/* 图由 tenant.js 用内联样式挂上去 —— 这一页叠了七八层皮肤，
   .logo 的 background 被反复设成 none，CSS 里压不动，内联最省事。 */

html[data-tenant="youchuang"] #loginPage .login-box .logo::before{ content:none!important; display:none!important; }
/* 汉风皮肤在卡片顶上画了一道玄黑横线、中间嵌一截 44px 朱砂（汉碑题额）。
   这套皮肤里它是成立的；换到米纸上、卡片又是一圈米线细边，
   这道黑线就成了「纸边破了」，朱砂块像贴歪的胶带。
   日式的做法是不加装饰：一道细线收边就够，纸自己会分层次。 */
html[data-tenant="youchuang"] #loginPage .login-box::before,
html[data-tenant="youchuang"] #loginPage .login-box::after{ content:none!important; display:none!important; }
html[data-tenant="youchuang"] #loginPage .login-box h2{
  font-family:"Hiragino Sans","PingFang SC","Noto Sans CJK SC",sans-serif!important;
  font-size:14px!important; font-weight:400!important; color:#6E6E6E!important;
  letter-spacing:.32em!important; text-indent:.32em; margin:0 0 24px!important;
}
/* 题名下面那道 28px 短线是汉风留下的，颜色是土金 #6E6E6E —— 在米纸上像旧报纸的断版线。
   留住这道线（题名和正文之间确实需要一口气），只把它放淡到纸线色。 */
html[data-tenant="youchuang"] #loginPage .login-box h2::after{ background:#E8E8E8!important; opacity:1!important; width:24px!important; }
html[data-tenant="youchuang"] #loginPage .login-box .field label{
  color:#9E9E9E!important; letter-spacing:.18em!important; font-size:11px!important;
}
html[data-tenant="youchuang"] #loginPage .login-box input{
  background:#FFFFFF!important; border:none!important;
  border-bottom:1px solid #E8E8E8!important; border-radius:2px!important;
  font-size:14px!important; color:#1A1A1A!important;
}
html[data-tenant="youchuang"] #loginPage .login-box input:focus{ border-bottom-color:#6E6E6E!important; }
html[data-tenant="youchuang"] #loginPage .login-box .btn{
  background:#1A1A1A!important; border:1px solid #1A1A1A!important;
  border-radius:2px!important; height:46px!important; letter-spacing:.4em!important;
  margin-top:10px!important;
}

/* ── 二 · 后台：纸是底，卡是另一张纸，靠线分开 ─────────────────────── */

html[data-tenant="youchuang"] body,
html[data-tenant="youchuang"] body.ent,
html[data-tenant="youchuang"] body.plain{
  background-color:#FAFAFA!important;
}

/* 卡片：不浮起来。一层 1px 暖灰线，方角 2px。
   原来这些卡是纯白 + 冷灰边（#E8E8E8）+ 10px 圆角 —— 那是手机系统的样子，
   放在米纸上像贴了一张打印纸，不是宣纸。 */
html[data-tenant="youchuang"] #main .hs-tl,
html[data-tenant="youchuang"] #main .hs-ask,
html[data-tenant="youchuang"] #main .card,
html[data-tenant="youchuang"] #main .panel,
html[data-tenant="youchuang"] #main .pibox,
html[data-tenant="youchuang"] #main .fold,
html[data-tenant="youchuang"] #main .box{
  background:#FFFFFF!important;
  border:1px solid #E8E8E8!important;
  border-radius:2px!important;
  box-shadow:none!important;
}

/* 图标底衬也跟着走纸色，不要那块冷白 */
html[data-tenant="youchuang"] #main .hs-ti-ic,
html[data-tenant="youchuang"] #main .tdstamp{
  background:#FAFAFA!important;
  border-color:#E8E8E8!important;
  border-radius:2px!important;
  color:#6E6E6E!important;
}

/* 标题：宋体。字号不动 —— 宋体本身比黑体收，同样字号看着更静。 */
html[data-tenant="youchuang"] #main .pg-hd h2,
html[data-tenant="youchuang"] #main .pg-hd h1,
html[data-tenant="youchuang"] #main .panel > h3,
html[data-tenant="youchuang"] #main .pibox-hd,
html[data-tenant="youchuang"] #main .fold > h3{
  font-family:"Songti SC","STSong","Noto Serif CJK SC","SimSun",serif!important;
  letter-spacing:.04em!important;
  color:#1A1A1A!important;
}

/* 分隔线：一律暖灰单线，表头压一道略深的 */
/* 只给 <hr>。.hs-line 不是分隔线 —— 它是首页那行状态数
   （「本月收款 1.6 万 · 7 天内该保养 36」），名字里带 line 被这条规则
   当成横线涂了一整块灰底：300 像素宽的灰条从文字后面拖出去一截，
   右边露出半截空灰块，看着像页面被谁划了一道。 */
html[data-tenant="youchuang"] #main hr{
  background:#E8E8E8!important;
  border-color:#E8E8E8!important;
}
html[data-tenant="youchuang"] #main table th{
  background:#FAFAFA!important;
  border-bottom:1px solid #E8E8E8!important;
  color:#6E6E6E!important;
  font-weight:500!important;
}
html[data-tenant="youchuang"] #main table td{
  border-bottom:1px solid #E8E8E8!important;
}

/* 按钮：方角 2px，墨底不动，次要按钮用纸色 */
html[data-tenant="youchuang"] #main .btn{ border-radius:2px!important; }
html[data-tenant="youchuang"] #main .btn.ghost{
  background:#FAFAFA!important;
  border:1px solid #E8E8E8!important;
  color:#1A1A1A!important;
}

/* 顶栏：纸色通栏 + 一道暖灰细线。现在是一条冷灰，压在米纸上是两种温度 */
html[data-tenant="youchuang"] header{
  background:#FAFAFA!important;
  border-bottom:1px solid #E8E8E8!important;
  box-shadow:none!important;
}

/* 页面底色上的那层冷光晕（han/song 留下的 radial-gradient）在宋韵里多余 */
html[data-tenant="youchuang"] #main{
  background-image:none!important;
}

/* 门外一律素色：题名下那道短线用纸线色，不用朱红（朱红是门里的「当前项」） */
html[data-tenant="youchuang"] #loginPage .login-box h2::after{
  background:#E8E8E8!important; opacity:1!important; width:24px!important;
}
html[data-tenant="youchuang"] #loginPage .login-box .tip,
html[data-tenant="youchuang"] #loginPage .login-box a,
html[data-tenant="youchuang"] #loginPage .login-box .bio-btn{
  color:#6E6E6E!important; font-size:12px!important;
}

/* ---------- 门外三尺：两家一字不差（2026-11-15 收口） ----------
   登录页是唯一「两家看起来必须是同一家公司」的地方：X.core / 安心可托。
   上面各层的按钮圆角、字距、提示色写法不一，这里用 body 抬一级特异性，
   把最后这几格钉成同一组值 —— 以后改门外，只改这两段。 */
html[data-tenant="youchuang"] body #loginPage .login-box .btn{
  background:#1A1A1A!important; border:1px solid #1A1A1A!important;
  border-radius:2px!important; letter-spacing:.4em!important; text-indent:.4em;
  box-shadow:none!important;
}
html[data-tenant="youchuang"] body #loginPage .login-box h2::after{
  height:1px!important; width:24px!important; background:#E8E8E8!important;
}


/* ==========================================================================
   ▍友创 = Material Design（2026-11-15 · 锁死版）
   --------------------------------------------------------------------------
   老板的最终文档：启迅苹果、友创安卓，货架一模一样，装修一刀两断。
   原来这套是「宋韵」（宣纸、宋体、朱印、无阴影）—— 好看，但它和启迅
   都走「平、静、无阴影」的路子，关掉 logo 两张图放一起，得看三秒才分得清。
   Material 恰好相反，它靠三件事立住：

     ① 高程（elevation）：卡片是浮在底上的，有影子、有层。
     ② 形状：8 / 12 / 16 的圆角，硬朗；不是苹果那种连续大圆角。
     ③ 反馈：点哪儿，哪儿荡开一圈水波（ripple）—— 这是安卓的标志。

   所以这一层把纸色、宋体、方角全部撤掉，换成灰底 + 白卡 + 影子；
   再挂一个 md.js 负责水波纹（纯 CSS 做不出「跟着手指位置扩散」）。
   ========================================================================== */

html[data-tenant="youchuang"]{
  /* 底色：Material 的 surface 层（灰 50），卡片才是白 */
  --v1-bg:#FAFAFA!important;
  --v1-surface:#FFFFFF!important;
  --v1-surface-2:#FAFAFA!important;
  --v1-surface-3:#E8E8E8!important;
  --v1-line:#E8E8E8!important;
  --v1-line-2:#E8E8E8!important;
  --v1-ink:#1A1A1A!important;
  --v1-ink-2:#1A1A1A!important;
  --v1-ink-3:#6E6E6E!important;
  --v1-ink-4:#9E9E9E!important;

  /* 主色：保留友创的朱红 —— Material 允许品牌色，形状和动效才是风格 */
  --v1-primary:#6E6E6E!important;
  --v1-primary-d:#1A1A1A!important;
  --v1-primary-soft:#FAFAFA!important;
  --v1-accent:#6E6E6E!important;
  --v1-danger:#6E6E6E!important;
  --v1-danger-soft:#FAFAFA!important;
  --v1-success:#6E6E6E!important;
  --v1-success-soft:#FAFAFA!important;
  --v1-warning:#9E9E9E!important;
  --v1-warning-soft:#FAFAFA!important;
  --v1-info:#6E6E6E!important;
  --v1-info-soft:#FAFAFA!important;

  /* 圆角：Material 的 8 / 12 / 16，比苹果那套收一档 */
  --v1-r-btn:2px!important;
  --v1-r-input:2px!important;
  --v1-r-card:2px!important;
  --v1-r-modal:2px!important;
  --v1-r-tag:2px!important;

  /* 高程：Material 的 1 / 2 / 8 dp —— 影子分两层，近的实、远的虚 */
  --v1-sh-1:none;
  --v1-sh-2:none;
  --v1-sh-3:none;

  /* 字体：安卓是 Roboto / 思源黑，字距略放，行距比苹果松 */
  --v1-sans:Roboto,"Noto Sans SC","Noto Sans CJK SC","PingFang SC",
            "Microsoft YaHei",sans-serif!important;

  /* 旧变量同步 */
  --bg:#FAFAFA!important;  --card:#FFFFFF!important;
  --t:#1A1A1A!important;   --m:#1A1A1A!important;  --bd:#E8E8E8!important;
  --p:#6E6E6E!important;   --pd:#1A1A1A!important;
  --red:#6E6E6E!important; --green:#6E6E6E!important;
  --orange:#9E9E9E!important; --purple:#1A1A1A!important; --cyan:#6E6E6E!important;
  --jp-paper:#FAFAFA!important; --jp-card:#FFFFFF!important;
  --jp-ink:#1A1A1A!important;   --jp-sub:#6E6E6E!important;
  --jp-line:#E8E8E8!important;  --jp-line-l:#E8E8E8!important;
  --jp-ai:#6E6E6E!important;    --jp-shu:#6E6E6E!important;
  --st-0:#FFFFFF!important; --st-1:#FAFAFA!important; --st-2:#E8E8E8!important;
  --st-3:#E8E8E8!important; --st-line:#E8E8E8!important; --st-hair:#E8E8E8!important;
  --st-ink:#1A1A1A!important; --st-sub:#6E6E6E!important;
  --hs-floor:#FAFAFA!important;
  --ent-bd:#E8E8E8!important; --ent-t:#1A1A1A!important; --ent-m:#6E6E6E!important;
  --qin-ink:#1A1A1A!important; --qin-ink-2:#1A1A1A!important;
  --qin-brick:#6E6E6E!important; --qin-brick-d:#1A1A1A!important; --qin-brick-l:#9E9E9E!important;
  --qin-line:#E8E8E8!important; --qin-line-2:#E8E8E8!important;
  --qin-ground:#FAFAFA!important; --qin-paper:#FFFFFF!important; --qin-paper-2:#FAFAFA!important;
  --qin-cinnabar:#6E6E6E!important; --qin-cinnabar-l:#9E9E9E!important;
}

/* ---------- 一 · 底与顶栏：白条压一道影子 ---------- */
html[data-tenant="youchuang"] body,
html[data-tenant="youchuang"] body.ent,
html[data-tenant="youchuang"] body.plain{
  background-color:#FAFAFA!important;
}
html[data-tenant="youchuang"] #main{
  background:#FAFAFA!important; background-image:none!important;
  font-family:var(--v1-sans)!important;
}
/* 顶栏：Material 的 top app bar —— 纯白、无模糊、靠影子离开内容 */
html[data-tenant="youchuang"] .tz-head,
html[data-tenant="youchuang"] header{
  background:#FFFFFF!important;
  -webkit-backdrop-filter:none!important; backdrop-filter:none!important;
  border-bottom:none!important;
  box-shadow:none!important;
}
html[data-tenant="youchuang"] .ent-top{ background:transparent!important; }
html[data-tenant="youchuang"] .tz-crumb{
  background:#FFFFFF!important; border-bottom:1px solid #E8E8E8!important;
}
html[data-tenant="youchuang"] .tz-brand-n{ font-size:14px!important; font-weight:500!important; letter-spacing:.01em!important; }
html[data-tenant="youchuang"] .tz-brand-n span{ font-size:11px!important; letter-spacing:.06em!important; color:#6E6E6E!important; }

/* 顶栏一级门：Material 的 tabs —— 选中项下面一条 2px 主色 */
html[data-tenant="youchuang"] .tz-navi{
  height:46px!important; padding:0 16px!important; border-radius:2px!important;
  font-size:14px!important; font-weight:500!important; letter-spacing:.03em!important;
  color:#6E6E6E!important;
  transition:background .2s cubic-bezier(.4,0,.2,1)!important;
}
html[data-tenant="youchuang"] .tz-navi:hover{ background:rgba(110,110,110,.06)!important; }
html[data-tenant="youchuang"] .tz-navi.on{ color:#6E6E6E!important; font-weight:500!important; }
html[data-tenant="youchuang"] .tz-navi.on::after{
  content:""!important; position:absolute!important; left:8px!important; right:8px!important;
  bottom:0!important; height:2px!important; background:#6E6E6E!important;
  border-radius:2px!important; display:block!important;
}

/* 搜索：Material 的 filled field —— 灰底、圆角、聚焦时主色底边 */
html[data-tenant="youchuang"] .ent-search{
  background:#E8E8E8!important; border:none!important;
  border-radius:2px!important;
  box-shadow:none!important;
  transition:background .2s cubic-bezier(.4,0,.2,1),box-shadow .2s!important;
}
html[data-tenant="youchuang"] .ent-search:focus-within{
  background:#FAFAFA!important;
  box-shadow:none!important;
}
html[data-tenant="youchuang"] .ent-search input{ letter-spacing:.01em!important; font-size:14px!important; }
html[data-tenant="youchuang"] .tz-me-av{
  background:#E8E8E8!important; border:none!important;
  border-radius:50%!important; color:#1A1A1A!important;
}

/* ---------- 二 · 侧栏：白色抽屉 + 选中项主色淡底 ---------- */
html[data-tenant="youchuang"] .ent-side{
  background:#FFFFFF!important;
  border-right:none!important;
  box-shadow:none!important;
}
html[data-tenant="youchuang"] .tz-side-t{
  font-family:var(--v1-sans)!important; font-size:11px!important;
  font-weight:500!important; letter-spacing:.12em!important; color:#6E6E6E!important;
}
html[data-tenant="youchuang"] .ent-door{
  margin:0 8px!important; border-bottom:1px solid #E8E8E8!important;
}
html[data-tenant="youchuang"] .ent-door-h{
  border-radius:2px!important; padding:12px 12px!important;
  transition:background .2s cubic-bezier(.4,0,.2,1)!important;
}
html[data-tenant="youchuang"] .ent-door-h:hover{ background:rgba(110,110,110,.06)!important; }
html[data-tenant="youchuang"] .ent-door-t{
  font-size:14px!important; font-weight:500!important; letter-spacing:.02em!important; color:#1A1A1A!important;
}
html[data-tenant="youchuang"] .ent-door-cv{ color:#9E9E9E!important; }
html[data-tenant="youchuang"] .ent-sub{
  border-radius:2px!important; margin:1px 8px!important; padding:9px 12px!important;
  font-size:14px!important; letter-spacing:.02em!important; color:#1A1A1A!important;
  transition:background .2s cubic-bezier(.4,0,.2,1)!important;
}
html[data-tenant="youchuang"] .ent-sub:hover{ background:rgba(110,110,110,.06)!important; }
html[data-tenant="youchuang"] .ent-sub.on{
  background:#FAFAFA!important; color:#6E6E6E!important; font-weight:500!important;
  box-shadow:none!important;
}

/* ---------- 三 · 卡片：白卡浮在灰底上（elevation 1dp） ---------- */
html[data-tenant="youchuang"] #main .panel,
html[data-tenant="youchuang"] #main .card,
html[data-tenant="youchuang"] #main .fold,
html[data-tenant="youchuang"] #main .stat,
html[data-tenant="youchuang"] #main .kpi,
html[data-tenant="youchuang"] #main .pibox,
html[data-tenant="youchuang"] #main .pirow,
html[data-tenant="youchuang"] #main .blank-box,
html[data-tenant="youchuang"] #main .dl-item,
html[data-tenant="youchuang"] #main .nv-card,
html[data-tenant="youchuang"] #main .hr-card,
html[data-tenant="youchuang"] #main .fin-todo,
html[data-tenant="youchuang"] #main .sys-mode,
html[data-tenant="youchuang"] #main .hs-tl,
html[data-tenant="youchuang"] #main .hs-ask,
html[data-tenant="youchuang"] #main .box{
  background:#FFFFFF!important;
  border:none!important;
  border-radius:2px!important;
  box-shadow:none!important;
  transition:box-shadow .2s cubic-bezier(.4,0,.2,1)!important;
}
html[data-tenant="youchuang"] #main .panel:hover,
html[data-tenant="youchuang"] #main .card:hover,
html[data-tenant="youchuang"] #main .hs-tl:hover{
  box-shadow:none!important;
}
html[data-tenant="youchuang"] #main .panel h3{
  font-family:var(--v1-sans)!important;
  font-size:14px!important; font-weight:500!important; letter-spacing:.01em!important;
  color:#1A1A1A!important;
  border-bottom:1px solid #E8E8E8!important; padding-bottom:10px!important;
}
html[data-tenant="youchuang"] #main .pg-hd h2,
html[data-tenant="youchuang"] #main h2{
  font-family:var(--v1-sans)!important;
  font-size:20px!important; font-weight:500!important;
  letter-spacing:.01em!important; color:#1A1A1A!important;
}

/* ---------- 四 · 表：表头灰底、行线浅、悬停淡红 ---------- */
html[data-tenant="youchuang"] #main thead th{
  background:#E8E8E8!important; color:#6E6E6E!important;
  font-size:12px!important; font-weight:500!important; letter-spacing:.04em!important;
  border-top:none!important; border-bottom:1px solid #E8E8E8!important;
}
html[data-tenant="youchuang"] #main tbody td{
  border-bottom:1px solid #E8E8E8!important;
  font-size:14px!important;
}
html[data-tenant="youchuang"] #main tbody tr:hover td{ background:#FAFAFA!important; }
html[data-tenant="youchuang"] #main tbody tr:last-child td{ border-bottom:none!important; }

/* ---------- 五 · 控件：按钮有高程，按下去影子收起来 ---------- */
html[data-tenant="youchuang"] #main .btn,
html[data-tenant="youchuang"] #main button.btn,
html[data-tenant="youchuang"] #mbox .btn{
  border-radius:2px!important;
  font-size:14px!important; font-weight:500!important; letter-spacing:.04em!important;
  box-shadow:none!important;
  transition:box-shadow .2s cubic-bezier(.4,0,.2,1),background .2s!important;
  position:relative!important; overflow:hidden!important;
}
html[data-tenant="youchuang"] #main .btn:hover{
  box-shadow:none!important;
}
html[data-tenant="youchuang"] #main .btn:active{
  box-shadow:none!important;
}
html[data-tenant="youchuang"] #main .btn.primary,
html[data-tenant="youchuang"] #main .btn.pri{
  background:#6E6E6E!important; color:#FFFFFF!important; border:none!important;
}
html[data-tenant="youchuang"] #main .btn.ghost{
  background:#FFFFFF!important; color:#6E6E6E!important;
  border:1px solid #E8E8E8!important; box-shadow:none!important;
}
html[data-tenant="youchuang"] #main .chip{
  background:#E8E8E8!important; border:none!important;
  border-radius:2px!important; color:#1A1A1A!important;
  font-size:12px!important; letter-spacing:.03em!important;
  transition:background .2s cubic-bezier(.4,0,.2,1)!important;
}
html[data-tenant="youchuang"] #main .chip.on,
html[data-tenant="youchuang"] #main .chip.on *{
  background:#FAFAFA!important; color:#6E6E6E!important;
}
html[data-tenant="youchuang"] #main .tag{
  background:#E8E8E8!important; border:none!important;
  border-radius:2px!important; color:#6E6E6E!important;
  font-size:11px!important; letter-spacing:.03em!important;
}
html[data-tenant="youchuang"] #main .tag.r,
html[data-tenant="youchuang"] #main .tag.o,
html[data-tenant="youchuang"] #main .tag.warn{
  background:#FAFAFA!important; color:#6E6E6E!important; border:none!important;
}
html[data-tenant="youchuang"] #main .tag.g{ background:#FAFAFA!important; color:#6E6E6E!important; }

/* hub-bar：Material 的 tabs，选中项一道主色底线 */
html[data-tenant="youchuang"] #main .hub-bar{
  background:#FFFFFF!important; border:none!important;
  border-radius:2px!important; padding:0!important;
  border-bottom:1px solid #E8E8E8!important;
  box-shadow:none!important;
}
html[data-tenant="youchuang"] #main .hub-bar button{
  border-radius:2px!important; font-size:14px!important; font-weight:500!important;
  letter-spacing:.04em!important; color:#6E6E6E!important;
  transition:background .2s cubic-bezier(.4,0,.2,1)!important;
}
html[data-tenant="youchuang"] #main .hub-bar button.on{ color:#6E6E6E!important; background:transparent!important; }
html[data-tenant="youchuang"] #main .hub-bar .hub-pill{
  background:transparent!important;
  border-bottom:1px solid #E8E8E8!important;
  box-shadow:none!important;
}

/* ---------- 六 · 输入：filled 风格，底边一条主色 ---------- */
html[data-tenant="youchuang"] #main input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=hidden]):not([type=file]),
html[data-tenant="youchuang"] #main select,
html[data-tenant="youchuang"] #main textarea,
html[data-tenant="youchuang"] #mbox input,
html[data-tenant="youchuang"] #mbox textarea,
html[data-tenant="youchuang"] #mbox select{
  background:#FAFAFA!important;
  border:none!important;
  border-radius:2px!important;
  box-shadow:none!important;
  font-size:14px!important;
  transition:box-shadow .2s cubic-bezier(.4,0,.2,1),background .2s!important;
}
html[data-tenant="youchuang"] #main input:focus,
html[data-tenant="youchuang"] #main select:focus,
html[data-tenant="youchuang"] #main textarea:focus,
html[data-tenant="youchuang"] #mbox input:focus,
html[data-tenant="youchuang"] #mbox textarea:focus{
  background:#E8E8E8!important;
  box-shadow:none!important;
  outline:none!important;
}

/* ---------- 七 · 弹层：卡片浮起来，从下往上起 ---------- */
html[data-tenant="youchuang"] #mbg{
  background:rgba(0,0,0,.42)!important;
  -webkit-backdrop-filter:none!important; backdrop-filter:none!important;
}
html[data-tenant="youchuang"] #mbox{
  background:#FFFFFF!important;
  border:none!important;
  border-radius:2px!important;
  box-shadow:none!important;
  animation:ycmdRise .24s cubic-bezier(.4,0,.2,1) both;
}
@keyframes ycmdRise{
  from{ opacity:0; transform:translateY(18px) scale(.98); }
  to  { opacity:1; transform:none; }
}
html[data-tenant="youchuang"] #mbox h3,
html[data-tenant="youchuang"] #mbg .modal h3{
  font-size:20px!important; font-weight:500!important; letter-spacing:.02em!important;
  color:#1A1A1A!important; border-bottom:1px solid #E8E8E8!important;
}
html[data-tenant="youchuang"] #mbox::before,
html[data-tenant="youchuang"] #mbg .modal::before{ display:none!important; content:none!important; }

/* ---------- 八 · 回弹：安卓没有苹果那一下弹 ---------- */
html[data-tenant="youchuang"] #main,
html[data-tenant="youchuang"] .ent-side,
html[data-tenant="youchuang"] #mbox{
  -webkit-overflow-scrolling:auto;
  overscroll-behavior:none;
}
html[data-tenant="youchuang"] *{ -webkit-tap-highlight-color:transparent; }

/* ---------- 九 · 水波纹（ripple）：安卓的标志，必须有 ---------- */
html[data-tenant="youchuang"] .md-ripple{
  position:absolute!important;
  border-radius:50%!important;
  pointer-events:none!important;
  transform:scale(0);
  background:currentColor;
  opacity:.28;
  animation:mdRipple .55s cubic-bezier(.4,0,.2,1) forwards;
}
@keyframes mdRipple{
  to{ transform:scale(1); opacity:0; }
}

/* ==========================================================================
   ▍十 · 桌面收口（2026-11-16）
   换日式时顺手抓出来的三处硬伤，都是「手机版规则跑到桌面上」：
     1. 侧栏顶上那条深色「功能菜单 ×」—— 那是手机抽屉的标题栏，
        桌面上侧栏一直露着，它就像贴了一块黑补丁。桌面不要。
     2. 内容区左右各留 200px —— 1440 的屏上，正文被挤到中间一小条。
     3. 容器 max-width:720px —— 手机版定的宽度，PC 上右边空一大片。
   三处都只在桌面生效，手机端一个字不动。
   ========================================================================== */
@media (min-width: 900px){
  html[data-tenant="youchuang"] .tz-side-hd{ display:none!important; }
  html[data-tenant="youchuang"] #main{ padding:0 56px 48px!important; }
  html[data-tenant="youchuang"] .hs-wrap{
    max-width:1080px!important; margin:0 auto!important; padding:36px 0 48px!important;
  }
}

/* ── 十一 · 线的分工（2026-11-16）
   日式不靠底色分区，靠线。但线要有分工，不是每样都画一条：
     区域之间 —— 一条（顶栏下、页签下）
     条目之间 —— 不画，靠留白和行高分开
   之前侧栏七个门每项都带一条下边框，看着像一张表格，反而碎。 */
html[data-tenant="youchuang"] .ent-top{
  border-bottom:1px solid #E8E8E8!important;
}
html[data-tenant="youchuang"] .hub-bar{
  border-bottom:1px solid #E8E8E8!important;
}
html[data-tenant="youchuang"] .ent-door{
  border-bottom:none!important;
}
html[data-tenant="youchuang"] .ent-door + .ent-door{
  border-top:none!important;
}
html[data-tenant="youchuang"] .ent-door-h{
  padding:14px 12px!important;
}
html[data-tenant="youchuang"] .ent-sub{
  color:#1A1A1A!important;
}

/* ── 十二 · 维修报价入口（2026-11-16）
   这块被改过三次：qin.css 刷成 #FAFAFA 加左侧 4px 竖条，
   xin.css 又刷成 #FAFAFA 并贴了一张 SVG 纹理。
   一层层叠下来，首页最显眼的一格反而成了全页唯一的暖色块，
   边上还带着纹样 —— 日式里没有这种东西。
   这里裁回一张白卡：1px 墨线收边，深字，不贴图、不加竖条、不留阴影。
   主操作的分量靠边框颜色给，不靠底色。 */
html[data-tenant="youchuang"] #main .qz-quick{
  background:#FFFFFF!important; background-image:none!important;
  border:1px solid #1A1A1A!important; border-left:1px solid #1A1A1A!important;
  border-radius:2px!important; box-shadow:none!important;
  color:#1A1A1A!important; padding:15px 18px!important;
}
html[data-tenant="youchuang"] #main .qz-quick .qz-quick-t{ color:#1A1A1A!important; }
html[data-tenant="youchuang"] #main .qz-quick .qz-quick-s{ color:#6E6E6E!important; }
html[data-tenant="youchuang"] #main .qz-quick .qz-quick-r{
  border:1px solid #1A1A1A!important; border-radius:2px!important;
  background:transparent!important; color:#1A1A1A!important;
}
html[data-tenant="youchuang"] #main .qz-quick:active{ background:#FAFAFA!important; }

/* ===== nav.css ===== */
/* ==========================================================================
   桌面侧栏常驻（2026-11-15）
   --------------------------------------------------------------------------
   原来桌面端侧栏是「柜子」：默认收在屏幕外，要用点汉堡才拉开，拉开还浮在
   内容上。结果一进系统，左边 236px 是空的，导航得先想起来去点那三横。
   现在改成：桌面默认摊开、内容整体右移；想收还是能收（汉堡 / 侧栏右上 ×），
   收过就记住。手机端不动，依旧是抽屉。

   为什么用 body 的 padding-left 而不用 #main 的 margin：
     顶栏、面包屑、二级导航都各自写过 margin-left:0!important（七八层皮肤都
     改过这一格）。body 的 padding 是所有层都没碰过的属性，一处生效，全部让位，
     也不用再跟 !important 打架。
   ========================================================================== */

@media (min-width:900px){
  body.ent:not(.side-min){ padding-left:236px; }

  /* 常驻的侧栏不再是个「浮起来的柜子」：不位移、不投影，只留一条右边线 */
  body.ent:not(.side-min) .ent-side{
    transform:none!important;
    box-shadow:none!important;
    border-right:1px solid var(--ent-bd)!important;
  }

  /* 摊开时，那个「×」就是收起：留着它，别让侧栏变成收不回去的墙 */
  body.ent:not(.side-min) .ent-side .tz-side-x{ display:flex!important; }

  /* 一级门已经整排在左边了，顶栏那条横排就是同一批东西的第二份 —— 撤掉。
     撤掉之后顶栏正好矮一行，品牌、搜索、用户三个人一排，不挤。 */
  body.ent:not(.side-min) .tz-head .tz-nav{ display:none!important; }
  body.ent:not(.side-min) .tz-head .ent-top{ height:60px!important; min-height:60px!important; }

  /* 收起来之后内容回满宽（只有这一条要抢 #main 的 margin） */
  body.ent.side-min #main{
    margin-left:0!important;
    width:auto!important;
  }
}

/* ===== net.css ===== */
/* ==========================================================================
   净面 · PC 收口层（2026-11-16）
   这一层排在所有皮肤之后，只做三件事：
     ① 骨架 —— 侧栏不再顶着一块手机抽屉的标题栏，内容居中、有边距
     ② 材质 —— 底三级、线两级，全部来自「白纸 + 一条线」
     ③ 尺寸 —— 行高与密度按 PC 的鼠标来，不按手指
   气质：Zendesk 的结构 + Linear 的克制 + 日式的留白。
   只改样式，不碰任何业务逻辑与数据。
   ========================================================================== */

/* ── 一 · 纸与墨：底三级 ─────────────────────────────────────────────
   B1 白   #FFFFFF  卡片、面板、输入框（焦点）
   B2 纸   #FAFAFA  页面底
   B3 灰   #F2F2F2  表头、分区、悬停、只读
   三级之外不再有第四种底。 */
html, body, body.ent, body.plain{
  background:#FAFAFA !important;
  background-image:none !important;
}

/* ── 二 · 线的分工：两级 ─────────────────────────────────────────────
   L1 弱线 #E8E8E8  一切分隔
   L2 强线 #1A1A1A  只给主操作与当前项 */
body.ent .ent-top{ border-bottom:1px solid #E8E8E8 !important; }
/* .hub-bar 是灰底分格页签，本身不画线 —— 给它加一条下边框反而多一道 */

/* 侧栏：门与门之间不画线，靠行高分开 */
.tz-side .ent-door,
.tz-side .ent-door + .ent-door{ border:none !important; }

/* ── 三 · 桌面骨架 ───────────────────────────────────────────────────
   ① 侧栏顶上那块「功能菜单 ×」是手机抽屉的标题栏，桌面上一直露着，
      像贴了一块深色补丁 —— 桌面不要。
   ② 内容居中，两边各留 56px，最宽 1080 —— 再宽眼睛要横着扫。
   ③ 行距按鼠标给，不按手指。 */
@media (min-width: 900px){
  .tz-side-hd{ display:none !important; }

  body.ent #main{
    padding:32px 56px 56px !important;
    max-width:none !important;
  }

  #main .hs-wrap{
    max-width:1080px !important;
    margin:0 auto !important;
    padding:32px 0 48px !important;
  }

  /* 正文段落不拉满，超过 72 字一行就读不动了 */
  #main .card > p,
  #main .panel > p{ max-width:72ch; }
}

/* ── 四 · 输入与表单：白纸上一格灰 ───────────────────────────────────
   输入框不再用「白底 + 淡边」（白底上淡边等于没有边），
   改成「灰底 + 无感边」，焦点时边变墨色。 */
#main input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=hidden]),
#main select,
#main textarea,
#loginPage input{
  background:#F2F2F2 !important;
  border:1px solid #E8E8E8 !important;
  border-radius:2px !important;
  box-shadow:none !important;
}
#main input:focus,
#main select:focus,
#main textarea:focus,
#loginPage input:focus{
  background:#FFFFFF !important;
  border-color:#1A1A1A !important;
  outline:none !important;
}

/* 表头：灰底，不加粗，字距略开 */
#main table th{
  background:#F2F2F2 !important;
  border-bottom:1px solid #E8E8E8 !important;
  font-weight:500 !important;
  letter-spacing:.02em;
}
#main table td{ border-bottom:1px solid #E8E8E8 !important; }
#main table tr:last-child td{ border-bottom:none !important; }

/* ── 五 · 卡片：一张白纸 + 一条线 ───────────────────────────────────
   没有阴影、没有渐变、圆角 2px。悬停只把线加深一档，不浮起来。 */
#main .card,
#main .panel,
#main .box,
#main .fold,
#main .pibox,
#main .hs-tl{
  background:#FFFFFF !important;
  background-image:none !important;
  border:1px solid #E8E8E8 !important;
  border-radius:2px !important;
  box-shadow:none !important;
}
#main .card:hover,
#main .panel:hover{ border-color:#9E9E9E !important; }

/* ── 六 · 标题层级：一共四层 ─────────────────────────────────────────
   L4 20px 页面标题 / 大数
   L3 14px 段落小标题、按钮、字段值
   L2 12px 正文
   L1 11px 辅助、表头、脚注 */
#main .pg-hd h2,
#main .pg-hd h1{
  font-size:20px !important;
  font-weight:600 !important;
  letter-spacing:.01em !important;
  color:#1A1A1A !important;
}
#main .pg-hd p,
#main .pg-hd .sub{
  font-size:12px !important;
  color:#6E6E6E !important;
  margin-top:6px;
}

/* ── 七 · 侧栏：条目是一行字，不是一张卡片 ───────────────────────────
   当前项用左侧一条墨线 + 略深字色表示，不用底色块。 */
.tz-side .ent-door-h{
  font-size:14px !important;
  font-weight:500 !important;
  color:#1A1A1A !important;
  padding:12px 12px !important;
}
.tz-side .ent-sub{
  font-size:12px !important;
  color:#6E6E6E !important;
  padding:8px 12px 8px 24px !important;
  border-radius:2px;
}
.tz-side .ent-sub:hover{
  background:#F2F2F2 !important;
  color:#1A1A1A !important;
}
.tz-side .ent-sub.on,
.tz-side .ent-sub.active{
  background:#F2F2F2 !important;
  color:#1A1A1A !important;
  font-weight:500 !important;
}
.tz-side .ent-door-h.on,
.tz-side .ent-door-h.active{ color:#1A1A1A !important; }

/* ── 八 · 按钮：两种就够 ─────────────────────────────────────────────
   主：墨底白字；次：白底墨线。没有第三种。 */
#main .btn{
  border-radius:2px !important;
  box-shadow:none !important;
  font-size:14px !important;
  font-weight:500 !important;
  letter-spacing:.02em;
}
#main .btn.ghost,
#main .btn.sec,
#main .btn.line{
  background:#FFFFFF !important;
  border:1px solid #E8E8E8 !important;
  color:#1A1A1A !important;
}
#main .btn.ghost:hover,
#main .btn.sec:hover,
#main .btn.line:hover{ border-color:#1A1A1A !important; }

/* ── 九 · 标签与徽记：方角，不填色 ───────────────────────────────────
   状态靠字色和一条线说，不靠色块。 */
#main .tag,
#main .badge,
#main .pill{
  border-radius:2px !important;
  background:transparent !important;
  border:1px solid #E8E8E8 !important;
  font-size:11px !important;
  padding:1px 6px;
}

/* ── 十 · 滚动条：细，灰，出现时才可见 ─────────────────────────────── */
@media (min-width: 900px){
  #main::-webkit-scrollbar,
  .tz-side::-webkit-scrollbar{ width:8px; height:8px; }
  #main::-webkit-scrollbar-thumb,
  .tz-side::-webkit-scrollbar-thumb{
    background:#E8E8E8; border-radius:2px;
  }
  #main::-webkit-scrollbar-thumb:hover,
  .tz-side::-webkit-scrollbar-thumb:hover{ background:#9E9E9E; }
  #main::-webkit-scrollbar-track,
  .tz-side::-webkit-scrollbar-track{ background:transparent; }
}

/* ── 十一 · 首页密度：把手机的「大块」收成 PC 的「一行」 ───────────────
   手机上一格 110px 高是对的（手指要打得中），桌面上一屏只放得下三条，
   信息密度就没了。这里只改桌面：门变成横向一行，图标 20px，行高 56px。 */
@media (min-width: 900px){
  #main .td-doors{
    gap:1px !important;
    background:#E8E8E8 !important;
    border:1px solid #E8E8E8 !important;
    margin:0 0 16px !important;
  }
  #main .td-door{
    display:flex !important;
    align-items:center !important;
    gap:12px !important;
    padding:14px 18px !important;
    border:none !important;
    background:#FFFFFF !important;
    min-height:56px !important;
  }
  #main .td-door .td-dc{
    margin:0 !important;
    flex:none !important;
    font-size:20px !important;
    line-height:1 !important;
  }
  #main .td-door .td-dt2{
    font-size:14px !important;
    font-weight:500 !important;
    letter-spacing:.02em !important;
    color:#1A1A1A !important;
  }
  #main .td-door .td-dd{
    font-size:12px !important;
    color:#6E6E6E !important;
    margin:2px 0 0 !important;
  }
  #main .td-door .td-dt2,
  #main .td-door .td-dd{ display:block; }
  #main .td-door.pri{
    background:#FFFFFF !important;
    border:none !important;
    box-shadow:inset 3px 0 0 #1A1A1A !important;
  }
  #main .td-door.pri .td-dc,
  #main .td-door.pri .td-dt2{ color:#1A1A1A !important; }
  #main .td-door.pri .td-dd{ color:#6E6E6E !important; }
  #main .td-door.pri:hover{ background:#FAFAFA !important; }

  /* 待办列表：一行 52px，PC 上一屏能看七八条 */
  #main .td-list{ border:1px solid #E8E8E8 !important; background:#FFFFFF !important; }
  #main .td-list > *{
    min-height:52px !important;
    padding-top:10px !important;
    padding-bottom:10px !important;
    border-bottom:1px solid #E8E8E8 !important;
  }
  #main .td-list > *:last-child{ border-bottom:none !important; }

  /* 单行提示条：只做一条线，不占一张卡 */
  #main .shift-empty{
    background:transparent !important;
    border:none !important;
    border-left:1px solid #E8E8E8 !important;
    padding:6px 0 6px 12px !important;
    margin:0 0 16px !important;
    font-size:12px !important;
    color:#6E6E6E !important;
  }

  /* 页脚与折叠条：淡到只剩可点 */
  #main .tz-foot{
    border-top:1px solid #E8E8E8 !important;
    margin-top:40px !important;
    padding-top:16px !important;
    font-size:11px !important;
    color:#9E9E9E !important;
  }
  #main .td-all{
    font-size:12px !important;
    color:#6E6E6E !important;
    padding:8px 0 !important;
    border:none !important;
  }
  #main .td-all:hover{ color:#1A1A1A !important; }
  #main .fold{
    border:1px solid #E8E8E8 !important;
    background:#FFFFFF !important;
    padding:10px 14px !important;
    margin-bottom:1px !important;
  }
  #main .fold > h3,
  #main .fold > summary{ font-size:14px !important; font-weight:500 !important; }
}

/* ── 十二 · 维修报价：一行字 + 一个加号 ───────────────────────────────
   原来做成一张黑底大卡，手机上是首页最重的一块。桌面上一行就够，
   分量靠一条墨线给，不靠黑底。 */
@media (min-width: 900px){
  #main .qz-quick{
    max-width:none !important;
    padding:15px 18px !important;
    background:#FFFFFF !important;
    background-image:none !important;
    border:1px solid #1A1A1A !important;
    border-radius:2px !important;
    box-shadow:none !important;
    color:#1A1A1A !important;
    gap:14px !important;
  }
  #main .qz-quick::before{ display:none !important; }
  #main .qz-quick-l{ flex:0 0 auto !important; }
  #main .qz-quick-t{
    font-size:14px !important; font-weight:500 !important;
    letter-spacing:.04em !important; color:#1A1A1A !important;
  }
  #main .qz-quick-s{
    font-size:11px !important; color:#6E6E6E !important;
    letter-spacing:.04em !important; margin-top:3px !important;
  }
  #main .qz-quick-r{
    flex:none !important;
    width:24px !important; height:24px !important;
    font-size:14px !important; line-height:1 !important;
    border:1px solid #E8E8E8 !important;
    border-radius:2px !important;
    background:transparent !important;
    color:#1A1A1A !important;
    display:flex; align-items:center; justify-content:center;
  }
  #main .qz-quick:hover{ background:#FAFAFA !important; }
  #main .qz-quick:hover .qz-quick-r{ border-color:#1A1A1A !important; }

  /* 页脚链接类：左对齐，不居中 */
  #main .td-all{ text-align:left !important; display:block !important; }
}

/* ── 十三 · 筛选：页签就是页签，不是一排按钮 ─────────────────────────
   净面之后暴露出来的：筛选条上的「在保 605 / 停保 53」被后面几层皮肤
   刷成了四个带框的小方块，和按钮抢同一套视觉。筛选用下划线说当前项，
   按钮才用框。 */
#main .cq-f,
#main .mq-f{
  border:0 !important;
  border-bottom:1px solid transparent !important;
  border-radius:0 !important;
  background:transparent !important;
  box-shadow:none !important;
  height:auto !important;
  padding:7px 2px !important;
  margin-right:18px !important;
  color:#6E6E6E !important;
  font-size:12px !important;
  font-weight:400 !important;
  letter-spacing:.02em;
}
#main .cq-f b,
#main .mq-f b{
  font-weight:600 !important;
  margin-left:5px !important;
  color:#9E9E9E !important;
  font-variant-numeric:tabular-nums;
}
#main .cq-f.on,
#main .mq-f.on{
  color:#1A1A1A !important;
  border-bottom-color:#1A1A1A !important;
  font-weight:600 !important;
  background:transparent !important;
}
#main .cq-f.on b,
#main .mq-f.on b{ color:#1A1A1A !important; }
#main .cq-f:hover,
#main .mq-f:hover{ color:#1A1A1A !important; }

/* 筛选条本身不画外框，只在下面留一条线 */
#main .cq-bar{
  background:transparent !important;
  border:0 !important;
  border-bottom:1px solid #E8E8E8 !important;
  border-radius:0 !important;
  padding:0 0 10px !important;
  margin:0 0 14px !important;
}
#main .cq-row{
  border-top:0 !important;
  margin-top:0 !important;
  padding-top:8px !important;
  gap:2px !important;
}

/* ── 十四 · 表格：只留横线 ───────────────────────────────────────────
   人事物表原来每列都带竖线，一张表像一张网。净面里表格靠列宽和对齐
   分列，只留表头下一条、行间一条。 */
#main table{ border-collapse:collapse !important; }
#main table th,
#main table td{
  border-left:0 !important;
  border-right:0 !important;
  border-top:0 !important;
  padding:8px 12px !important;
}
#main table th{
  font-weight:500 !important;
  color:#6E6E6E !important;
  background:#F2F2F2 !important;
  border-bottom:1px solid #E8E8E8 !important;
  white-space:nowrap;
}
#main table td{
  border-bottom:1px solid #E8E8E8 !important;
  vertical-align:middle;
}
#main table tbody tr:hover td{ background:#FAFAFA !important; }
#main table tbody tr:last-child td{ border-bottom:none !important; }
/* 数字列右对齐、等宽，扫一眼就能比大小 */
#main table td.num,
#main table th.num,
#main table .r{ text-align:right !important; font-variant-numeric:tabular-nums; }

/* ── 十五 · 数据格：一格里两行，上标签下数字 ─────────────────────────
   年检页那种「476 / 年检项目」挤成一行的情况，统一给足高度。 */
@media (min-width: 900px){
  /* 只认真正的数据格。.td-head 里那句「今天有 10 件要办」是一行说明，
     给它 76px 高度会把问候语顶到下面去 —— 2026-11-16 踩过。 */
  #main .stat,
  #main .kpi{
    min-height:76px !important;
    padding:14px 18px !important;
  }
  #main .stat .num,
  #main .kpi .kv2{
    font-size:20px !important;
    line-height:1.15 !important;
    font-weight:600 !important;
    letter-spacing:-.01em !important;
  }
  #main .stat .lb,
  #main .stat small,
  #main .kpi .k{ font-size:11px !important; color:#6E6E6E !important; }
}

/* ── 十六 · 单选/复选行：标签与控件不隔一条马路 ───────────────────────
   设置页的「宽松 / 标准 / 严格」把圆点甩到最右边，中间空 600px，
   眼睛要来回折返两次才连得起来。整行做成可点，圆点紧贴文字右侧。 */
@media (min-width: 900px){
  #main .sec-opt,
  #main .opt-row,
  #main .radio-row{
    display:flex !important;
    align-items:center !important;
    gap:12px !important;
    max-width:640px !important;
    padding:12px 0 !important;
    border-bottom:1px solid #E8E8E8 !important;
  }
  #main .sec-opt:last-child,
  #main .opt-row:last-child{ border-bottom:none !important; }
  #main .sec-opt input[type=radio],
  #main .opt-row input[type=radio]{
    order:-1;
    margin:0 !important;
    accent-color:#1A1A1A;
  }
}

/* ── 十七 · 一屏滚动区：截断处要能看出来是「还有」────────────────────
   .fit-scroll 按一屏高度算，最后一行常被拦腰切断，看着像页面坏了。
   底部留 12px 呼吸 + 一条渐细的提示线，滚动区就有边界感。 */
#main .fit-scroll{
  padding-bottom:2px !important;
  margin-bottom:12px !important;
  border-bottom:1px solid #E8E8E8 !important;
}
#main .fit-scroll::-webkit-scrollbar{ width:8px; height:8px; }
#main .fit-scroll::-webkit-scrollbar-thumb{ background:#E8E8E8; border-radius:2px; }
#main .fit-scroll::-webkit-scrollbar-track{ background:transparent; }
#main .mq-shelf{ margin-top:2px !important; }

/* ── 十八 · 数据格的字：数字一行，标签一行 ───────────────────────────
   .stat 里 .num 和 .label 是两块，但行高太挤，看着像「476 年检项目」一句。 */
#main .stat .label,
#main .stat .lb{
  display:block !important;
  margin-top:6px !important;
  font-size:11px !important;
  color:#6E6E6E !important;
  letter-spacing:.02em;
}
#main .stat .num{ display:block !important; }

/* ── 十九 · 页脚：一条线收住，不抢戏 ──────────────────────────────── */
#main .tz-foot a,
#main .tz-foot{ color:#9E9E9E !important; font-size:11px !important; }

/* ── 二十 · 手机端主区铺满 ─────────────────────────────────────────
   body 是 flex，桌面上靠它把侧栏和主区并排。手机上侧栏已经改成抽屉
   （fixed），但主区还留着桌面的 flex 语义，宽度被算成 306~345，
   右边空出 45~84px。一屏本来就窄，这几十像素白扔着太难看。
   手机端把主区交回普通块级：占满整行，左右边距由 padding 管。 */
@media (max-width: 899px){
  body.ent{ display: block !important; }
  body.ent #main{
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box;
  }
}

/* ══ 二十一 · 日管控 / 周排查 / 月调度 ══════════════════════════════
   这三张是给监管看的法定记录，版式要比其它页更"公文"：
   不用色块分区、不用卡片阴影，靠线和对齐区分层级。
   颜色只承担一件事 —— 哪一项不合格。合格是墨色，不合格才是红。 */

.lp3-bar{
  display:flex; align-items:center; gap:12px; flex-wrap:wrap;
  padding:0 0 12px; border-bottom:1px solid #1A1A1A;
}
.lp3-nav{ display:flex; align-items:center; gap:0; }
.lp3-ar{
  width:28px; height:28px; border:1px solid #E8E8E8; background:#fff;
  color:#1A1A1A; font-size:15px; line-height:1; cursor:pointer; border-radius:2px;
}
.lp3-ar:hover{ border-color:#1A1A1A; }
.lp3-date{
  height:28px; border:1px solid #E8E8E8; border-left:none; border-right:none;
  padding:0 8px; font-size:12px; font-family:inherit; color:#1A1A1A; background:#fff;
}
.lp3-td{
  height:28px; margin-left:6px; padding:0 9px; border:1px solid #E8E8E8;
  background:#fff; font-size:11px; color:#6E6E6E; cursor:pointer; border-radius:2px;
}
.lp3-td:hover{ border-color:#1A1A1A; color:#1A1A1A; }
.lp3-st{
  font-size:11px; padding:2px 8px; border:1px solid #E8E8E8; color:#6E6E6E; border-radius:2px;
}
.lp3-st.ok{ color:#1A1A1A; border-color:#1A1A1A; }
.lp3-st.bad{ color:#B42318; border-color:#B42318; }
.lp3-st.warn{ color:#B26A00; border-color:#B26A00; }
.lp3-st.signed{ color:#fff; background:#1A1A1A; border-color:#1A1A1A; }
.lp3-signbtn{ margin-left:auto; }

/* 当日四条事实 */
.lp3-facts{ display:flex; border-bottom:1px solid #E8E8E8; }
.lp3-f{
  flex:1; padding:12px 0 10px; text-align:center; border-right:1px solid #E8E8E8;
}
.lp3-f:last-child{ border-right:none; }
.lp3-f span{ display:block; font-size:11px; color:#6E6E6E; }
.lp3-f b{ font-size:20px; font-weight:600; line-height:1.3; letter-spacing:-.4px; }
.lp3-f b.z{ color:#C4C4C4; }
.lp3-f i{ font-size:11px; color:#9E9E9E; font-style:normal; margin-left:2px; }

/* 结论条 */
.lp3-concl{
  display:flex; align-items:baseline; gap:10px; padding:10px 12px; margin:12px 0 0;
  border:1px solid #E8E8E8; border-left-width:3px; border-radius:2px; background:#FAFAFA;
}
.lp3-concl b{ font-size:13px; }
.lp3-concl span{ font-size:12px; color:#6E6E6E; }
.lp3-concl.ok{ border-left-color:#1A1A1A; }
.lp3-concl.bad{ border-left-color:#B42318; }
.lp3-concl.warn{ border-left-color:#B26A00; }
.lp3-concl.bad b{ color:#B42318; }
.lp3-concl.warn b{ color:#B26A00; }

/* 九项表 */
.lp3-wrap{ margin-top:12px; overflow-x:auto; }
.lp3-t{ width:100%; border-collapse:collapse; font-size:12px; }
.lp3-t th:nth-child(2){ width:23%; }
.lp3-t th{
  text-align:left; font-weight:600; font-size:11px; color:#6E6E6E;
  padding:7px 8px; background:#F2F2F2; border-bottom:1px solid #1A1A1A; white-space:nowrap;
}
.lp3-t td{ padding:9px 8px; border-bottom:1px solid #E8E8E8; vertical-align:top; line-height:1.55; }
.lp3-t td.c{ text-align:center; white-space:nowrap; }
.lp3-t td.ev{ color:#6E6E6E; font-size:11px; }
.lp3-t td.ev em{ display:block; color:#1A1A1A; font-style:normal; margin-top:2px; }
.lp3-t td.ty{ font-size:11px; color:#9E9E9E; }
.lp3-t tr.r-bad td{ background:#FDF6F5; }
.lp3-t tr.r-bad b{ color:#B42318; }
.lp3-t tr.r-pend b{ color:#8A8A8A; font-weight:500; }
.lp3-t tr.r-na b{ color:#9E9E9E; font-weight:400; }

/* 口径说明 */
.lp3-note{
  margin-top:10px; padding:10px 12px; background:#FAFAFA; border-left:2px solid #D8D8D8;
  font-size:11px; color:#6E6E6E; line-height:1.7;
}
.lp3-note b{ color:#1A1A1A; font-weight:600; }
.lp3-note b.warn{ color:#B42318; }

/* 已签认 */
.lp3-signed{
  margin-top:12px; padding:12px; border:1px solid #1A1A1A; border-radius:2px;
  font-size:12px; line-height:1.9;
}
.lp3-signed b{ display:inline-block; width:96px; color:#6E6E6E; font-weight:400; }
.lp3-act{ margin-top:10px; padding-top:10px; border-top:1px solid #E8E8E8; display:flex; gap:8px; }

/* 近 14 天 */
.lp3-hist{ margin-top:18px; padding-top:12px; border-top:1px solid #E8E8E8; }
.lp3-hist-t{ font-size:11px; color:#6E6E6E; margin-bottom:8px; }
.lp3-hist-b{ display:flex; gap:4px; flex-wrap:wrap; }
.lp3-hd{
  width:38px; padding:6px 0 5px; border:1px solid #E8E8E8; background:#fff;
  cursor:pointer; border-radius:2px; text-align:center; line-height:1.25;
}
.lp3-hd b{ display:block; font-size:12px; font-weight:600; color:#1A1A1A; }
.lp3-hd i{ display:block; font-size:10px; font-style:normal; color:#9E9E9E; }
.lp3-hd.ok{ border-color:#C4C4C4; }
.lp3-hd.bad{ border-color:#B42318; }
.lp3-hd.bad i{ color:#B42318; }
.lp3-hd.warn i{ color:#B26A00; }
.lp3-hd.signed{ background:#1A1A1A; border-color:#1A1A1A; }
.lp3-hd.signed b,.lp3-hd.signed i{ color:#fff; }
.lp3-hd.on{ outline:1px solid #1A1A1A; outline-offset:1px; }

/* 旧记录 */
.lp3-old{ margin-top:14px; font-size:11px; color:#6E6E6E; }
.lp3-old summary{ cursor:pointer; padding:6px 0; }
.lp3-oldr{ padding:6px 0; border-top:1px solid #F0F0F0; line-height:1.6; }
.lp3-oldr b{ color:#1A1A1A; margin-right:6px; }

/* 签认弹窗 */
.lp3-sheet h3{ margin:0 0 12px; font-size:14px; font-weight:600; }
.lp3-schk{ border-top:1px solid #1A1A1A; margin-bottom:12px; }
.lp3-sr{
  display:flex; align-items:baseline; gap:8px; padding:5px 0;
  border-bottom:1px solid #E8E8E8; font-size:12px;
}
.lp3-sn{ flex:1; color:#1A1A1A; }
.lp3-sv{ font-size:11px; font-weight:600; white-space:nowrap; }
.lp3-sv.ok{ color:#1A1A1A; }
.lp3-sv.bad{ color:#B42318; }
.lp3-sv.pend{ color:#B26A00; }
.lp3-sv.na{ color:#9E9E9E; }
.lp3-sv.warn{ color:#B26A00; }
.lp3-sline{
  display:flex; align-items:baseline; gap:8px; padding:9px 0; margin-bottom:10px;
  border-bottom:1px solid #E8E8E8; font-size:12px;
}
.lp3-sline em{ color:#6E6E6E; font-style:normal; font-size:11px; }
.lp3-fl{ display:block; font-size:12px; margin-bottom:10px; color:#6E6E6E; }
.lp3-fl textarea{
  display:block; width:100%; margin-top:5px; min-height:52px; box-sizing:border-box;
  font-family:inherit; font-size:12px; color:#1A1A1A;
}
.lp3-frow{ display:flex; align-items:center; gap:12px; flex-wrap:wrap; margin:4px 0 14px; font-size:12px; color:#6E6E6E; }
.lp3-hint{ font-size:11px; color:#9E9E9E; flex:1; min-width:160px; }
.lp3-btns{ display:flex; gap:8px; padding-top:10px; border-top:1px solid #E8E8E8; }

/* 手机端：九项改成卡片（结构在 loop3.js 里另出一套 .lp3-cards）。
   表格那套在手机上直接不显示 —— td 在 table 内无法可靠 block 化。 */
.lp3-cards{ display:none; }

@media (max-width: 899px){
  .lp3-bar{ gap:8px; }
  .lp3-signbtn{ margin-left:0; width:100%; }
  .lp3-f b{ font-size:17px; }
  .lp3-hd{ width:34px; }

  .lp3-t-d{ display:none; }
  .lp3-cards{ display:block; margin-top:12px; }
  .lp3-c{ padding:12px 0; border-bottom:1px solid #E8E8E8; }
  .lp3-c-h{ display:flex; align-items:flex-start; gap:8px; }
  .lp3-c-h i{ flex:0 0 16px; font-style:normal; font-size:11px; color:#9E9E9E; padding-top:3px; }
  .lp3-c-h b{ flex:1; font-size:12.5px; font-weight:600; line-height:1.5; }
  .lp3-c-r{ flex:0 0 auto; font-size:11px; font-weight:600; font-style:normal; white-space:nowrap; padding-top:3px; }
  .lp3-c-e{ margin:5px 0 0 24px; font-size:11px; color:#6E6E6E; line-height:1.65; }
  .lp3-c-a{ margin:4px 0 0 24px; font-size:11px; color:#1A1A1A; line-height:1.65; }
  .lp3-c.r-bad .lp3-c-h b, .lp3-c.r-bad .lp3-c-r{ color:#B42318; }
  .lp3-c.r-pend .lp3-c-r{ color:#8A8A8A; }
  .lp3-c.r-na .lp3-c-h b{ color:#8A8A8A; font-weight:500; }
  .lp3-c.r-na .lp3-c-r{ color:#9E9E9E; }

  /* 周表列多，转卡片会丢掉责任人与期限；直接横向滑动，保留完整信息 */
  .lp3-tw{ overflow-x:auto; -webkit-overflow-scrolling:touch; }
  .lp3-tw table{ min-width:660px; }

  /* 底部悬浮球会压住最后一行，留出空档 */
  .lp3-hist{ padding-bottom:56px; }
}
}

/* 周 / 月：周次、区块、编辑表 */
.lp3-wk{ padding:0 10px; font-size:13px; font-weight:600; height:28px; line-height:28px;
  border-top:1px solid #E8E8E8; border-bottom:1px solid #E8E8E8; }
.lp3-range{ font-size:11px; color:#9E9E9E; margin-left:8px; }
.lp3-sub{ font-size:12px; font-weight:600; margin:14px 0 6px; padding-left:8px;
  border-left:2px solid #1A1A1A; line-height:1.4; }
.lp3-blk{ margin:12px 0; }
.lp3-blk b{ display:block; font-size:11px; color:#6E6E6E; font-weight:400; margin-bottom:3px; }
.lp3-blk p{ margin:0; font-size:12px; line-height:1.75; color:#1A1A1A; }
.lp3-blk p.lp3-empty{ color:#B0B0B0; }
.lp3-empty{ font-size:12px; color:#9E9E9E; padding:10px 0; }
.lp3-wide{ max-width:940px; }
.lp3-t-edit td{ padding:5px 4px; }
.lp3-t-edit .ipt{ height:26px; font-size:12px; }
.lp3-hw{
  width:44px; padding:6px 0 5px; border:1px solid #E8E8E8; background:#fff;
  cursor:pointer; border-radius:2px; text-align:center; line-height:1.25;
}
.lp3-hw b{ display:block; font-size:12px; font-weight:600; color:#1A1A1A; }
.lp3-hw i{ display:block; font-size:10px; font-style:normal; color:#9E9E9E; }
.lp3-hw.bad{ border-color:#B42318; } .lp3-hw.bad i{ color:#B42318; }
.lp3-hw.warn i{ color:#B26A00; }
.lp3-hw.signed{ background:#1A1A1A; border-color:#1A1A1A; }
.lp3-hw.signed b,.lp3-hw.signed i{ color:#fff; }
.lp3-hw.on{ outline:1px solid #1A1A1A; outline-offset:1px; }
@media (max-width: 899px){
  .lp3-range{ display:none; }
  .lp3-hw{ width:38px; }
}

/* ===== tbl.css ===== */
/* ============================================================================
   tbl.css · 表格组件的样子
   ----------------------------------------------------------------------------
   一套线：浅线 #E8E8E8 分隔，墨线 #1A1A1A 表示「这条能用/已选」。
   方角 2px，无阴影，无渐变。跟 net.css 的净面规则同一套语言。
   ========================================================================== */

@media (min-width: 900px) {


  /* ── 页面自己的按钮搬进工具条之后 ───────────────────────────────────
     它们原来各占一个 flex:1 的大格，现在缩成跟「列」「选择」一样的
     细线小按钮，一排放得下四个。 */
  .tbl-bar .hr-tools,
  .tbl-bar [data-tbl-tools] {
    display: flex;
    gap: 8px;
    align-items: center;
    margin: 0;
  }
  .tbl-bar .hr-tools .btn,
  .tbl-bar [data-tbl-tools] .btn {
    flex: 0 0 auto;
    padding: 5px 13px;
    font-size: 12px;
    min-height: 0;
    height: auto;
    line-height: 1.4;
    border-radius: 2px;
    box-shadow: none;
  }

  /* ── 一行摘要：代替四个大数字格 ─────────────────────────────────────
     四格 60px 高，只为了写「33 人 / 33 在职 / 27 技师 / 6 非技师」。
     一行字说完，省下的高度还给表格。 */
  #main .hr-sum {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 6px;
    font-size: 12px;
    color: #6E6E6E;
    padding: 0 0 14px;
    letter-spacing: .02em;
  }
  #main .hr-sum b {
    font-size: 15px;
    font-weight: 600;
    color: #1A1A1A;
    font-variant-numeric: tabular-nums;
    margin-right: 2px;
  }
  #main .hr-sum i { color: #C4C4C4; font-style: normal; }

  /* ── 表格工具条：一行，靠右放两个按钮 ───────────────────────────── */
  .tbl-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 0 10px;
    position: relative;
  }
  .tbl-n { font-size: 11px; color: #9E9E9E; letter-spacing: .02em; }
  .tbl-bar-sp { flex: 1 1 auto; }

  .tbl-btn {
    border: 1px solid #E8E8E8;
    background: #FFFFFF;
    color: #1A1A1A;
    font-size: 12px;
    font-family: inherit;
    line-height: 1.4;
    padding: 5px 13px;
    border-radius: 2px;
    cursor: pointer;
    transition: border-color .12s ease, color .12s ease;
  }
  .tbl-btn:hover { border-color: #1A1A1A; }
  .tbl-btn:active { background: #FAFAFA; }
  .tbl-btn[disabled] { color: #C4C4C4; border-color: #F2F2F2; cursor: default; }

  /* ── 列面板 ────────────────────────────────────────────────────── */
  .tbl-pop {
    position: absolute;
    right: 0;
    top: 34px;
    z-index: 60;
    width: 184px;
    background: #FFFFFF;
    border: 1px solid #1A1A1A;
    border-radius: 2px;
    padding: 6px 0 0;
  }
  .tbl-pop-h {
    font-size: 11px;
    color: #9E9E9E;
    padding: 4px 12px 8px;
    letter-spacing: .04em;
  }
  .tbl-pop-i {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 6px 12px;
    font-size: 12px;
    color: #1A1A1A;
    cursor: pointer;
  }
  .tbl-pop-i:hover { background: #FAFAFA; }
  .tbl-pop-i input { accent-color: #1A1A1A; margin: 0; width: 13px; height: 13px; }
  .tbl-pop-i.lock { color: #9E9E9E; }
  .tbl-pop-f {
    border-top: 1px solid #E8E8E8;
    margin-top: 6px;
    padding: 7px 12px;
    display: flex;
    gap: 16px;
  }
  .tbl-pop-f a { font-size: 11px; color: #6E6E6E; cursor: pointer; }
  .tbl-pop-f a:hover { color: #1A1A1A; }

  /* ── 列宽与隐藏 ────────────────────────────────────────────────────
     只有 JS 算出模板时才覆盖（--tbl-tpl 没设就走原样式）。
     原来写死的 52px 1fr 74px 1fr 1fr 66px 108px 保留为 fallback。 */
  #main .hr-tbl .hr-tr {
    grid-template-columns: var(--tbl-tpl, 52px 1.3fr 118px 1fr 1fr 84px 136px) !important;
  }
  #main .hr-tbl[data-hide~="0"] .hr-tr > [data-c="0"],
  #main .hr-tbl[data-hide~="1"] .hr-tr > [data-c="1"],
  #main .hr-tbl[data-hide~="2"] .hr-tr > [data-c="2"],
  #main .hr-tbl[data-hide~="3"] .hr-tr > [data-c="3"],
  #main .hr-tbl[data-hide~="4"] .hr-tr > [data-c="4"],
  #main .hr-tbl[data-hide~="5"] .hr-tr > [data-c="5"],
  #main .hr-tbl[data-hide~="6"] .hr-tr > [data-c="6"],
  #main .hr-tbl[data-hide~="7"] .hr-tr > [data-c="7"],
  #main .hr-tbl[data-hide~="8"] .hr-tr > [data-c="8"] { display: none !important; }


  /* ── 行高与单元格：一行 44px，格内不换行 ───────────────────────────
     原来一格里的内容想多高就多高：岗位摆八个标签，那一行撑到 100px，
     整张表的节奏全乱了，往下翻也数不清第几行。
     表格的规矩是「一行一个人」，格子里放不下的省略，不折行。 */
  #main .hr-tbl .hr-tr {
    min-height: 44px;
    padding-top: 0;
    padding-bottom: 0;
  }
  #main .hr-tbl .hr-tr > div {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    line-height: 1.4;
  }
  /* 岗位那格要能放两个标签 + 一个 +N，单独放开折行会破坏行高，
     改成不折行 + 省略；真的塞不下时 +N 还在，点开能看全。 */
  #main .hr-tbl .hr-tr > [data-c="2"] {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: nowrap;
  }
  #main .hr-tbl .hr-tr > [data-c="2"] .hr-role {
    flex: 0 0 auto;
    max-width: 72px;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  #main .hr-tbl .hr-role.hr-more {
    background: #F2F2F2 !important;
    color: #6E6E6E !important;
    font-size: 10px;
  }
  /* ── 行内按钮：鼠标移上去才出现 ────────────────────────────────────
     sys.css 里有一条 body.ent .ra{display:none!important}，把人事表的
     编辑/详情/删除全藏了 —— 33 行一个按钮都没有，操作列空着，
     只能靠「点整行」展开编辑，「删除」更是彻底没有入口。
     这里改成悬停显示：平时干净，鼠标扫到哪一行，哪一行的动作才出来。
     触屏没有 hover，就常显。 */
  #main .hr-tbl .hr-tr > .hr-rowbtn {
    display: flex;
    gap: 3px;
    justify-content: flex-end;
    overflow: visible;
    min-width: 0;
  }
  body.ent #main .hr-tbl .hr-rowbtn .hr-mini.ra {
    display: inline-flex !important;
    align-items: center;
    visibility: hidden;
    font-size: 11px;
    padding: 2px 7px;
    line-height: 1.5;
    height: auto;
  }
  body.ent #main .hr-tbl .hr-tr:hover .hr-rowbtn .hr-mini.ra,
  body.ent #main .hr-tbl .hr-tr.sel .hr-rowbtn .hr-mini.ra,
  [data-tbl].sel-mode #main .hr-tbl .hr-tr .hr-rowbtn .hr-mini.ra {
    visibility: visible;
  }
  /* 键盘走到按钮上也要看得见 —— 只靠 hover 的话，Tab 过去是一片空白 */
  body.ent #main .hr-tbl .hr-rowbtn .hr-mini.ra:focus-visible {
    visibility: visible;
    outline: 1px solid #1A1A1A;
    outline-offset: 1px;
  }
  @media (hover: none) {
    body.ent #main .hr-tbl .hr-rowbtn .hr-mini.ra { visibility: visible; }
  }
  #main .hr-tbl .hr-mini { white-space: nowrap; }

  /* ── 选择模式：行首浮一个方框 ─────────────────────────────────────
     不常驻勾选框 —— 常驻就跟「点行展开编辑」抢手势，人点一下不知道
     自己是想编辑还是想勾。进选择模式才出现，出来就消失。 */
  /* 选择模式下每行左边让出 28px 放方框。表头也一起让，否则列头会和
     下面的数据错开 —— 但表头本身不要方框，那是「全选」的位置，
     点一下勾三行的人容易误触。 */
  [data-tbl].sel-mode .hr-tr { padding-left: 28px; position: relative; }
  [data-tbl].sel-mode .hr-tr.hr-th::before,
  [data-tbl].sel-mode .hr-tr.hr-th::after { display: none; }
  [data-tbl].sel-mode .hr-tr::before {
    content: "";
    position: absolute;
    left: 9px;
    top: 50%;
    width: 12px;
    height: 12px;
    margin-top: -6px;
    border: 1px solid #C4C4C4;
    border-radius: 2px;
    background: #FFFFFF;
  }
  [data-tbl].sel-mode .hr-tr.picked::before { background: #1A1A1A; border-color: #1A1A1A; }
  [data-tbl].sel-mode .hr-tr.picked::after {
    content: "";
    position: absolute;
    left: 13.5px;
    top: calc(50% - 4px);
    width: 3px;
    height: 6px;
    border: solid #FFFFFF;
    border-width: 0 1.5px 1.5px 0;
    transform: rotate(45deg);
  }
  [data-tbl].sel-mode .hr-tr.picked { background: #FAFAFA; }
  [data-tbl].sel-mode .hr-rowbtn { display: none; }

  /* ── 批量条：白底、一条墨线，浮在底部 ─────────────────────────────
     不用黑底大条：这一条是「你正拿着三样东西」的提示，
     不是弹窗，不需要压住整页。 */
  .tbl-bulk {
    position: fixed;
    left: 50%;
    bottom: -90px;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 12px;
    background: #FFFFFF;
    border: 1px solid #1A1A1A;
    border-radius: 2px;
    padding: 9px 14px;
    z-index: 220;
    transition: bottom .18s ease;
    white-space: nowrap;
  }
  .tbl-bulk.on { bottom: 28px; }
  .tbl-bulk b { font-size: 12px; font-weight: 500; color: #1A1A1A; letter-spacing: .02em; }
  .tbl-bulk-sp { width: 1px; height: 16px; background: #E8E8E8; }
  .tbl-bulk .tbl-btn { padding: 4px 11px; }
  .tbl-bulk .tbl-btn[disabled] { color: #C4C4C4; border-color: #F2F2F2; }
}

/* 手机端不做列控制：一列都挤不下，还谈什么藏列。
   但工具条本身不能藏 —— 页面自己的「新增员工 / 导出」被搬进了这条里，
   整条 display:none 会连它们一起消失，手机上就没法加人了。
   这里只藏组件自己的那两三个按钮，页面的按钮原样留着。 */
@media (max-width: 899px) {
  .tbl-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 0 10px;
    flex-wrap: wrap;
  }
  .tbl-bar > .tbl-btn,
  .tbl-bar > .tbl-n,
  .tbl-bar > .tbl-bar-sp { display: none; }
  .tbl-bar [data-tbl-tools] {
    display: flex;
    gap: 8px;
    width: 100%;
  }
  .tbl-bar [data-tbl-tools] .btn { flex: 1 1 0; }
  .tbl-bar [data-tbl-tools] .btn {
    width: 100%;
    min-width: 0;
    padding-left: 4px;
    padding-right: 4px;
    font-size: 13px;
  }
  .tbl-bar [data-tbl-note].in-bar {
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    font-size: 11px;
    color: #9E9E9E;
    display: inline-flex;
    align-items: center;
    gap: 6px;
  }
  .tbl-bar [data-tbl-note].in-bar b { color: #1A1A1A; font-weight: 500; }
  .tbl-bulk { display: none; }
  .tbl-fw { display: none; }
}

@media (min-width: 900px) {
  .tbl-bar .hr-tipbar.in-bar,
  .tbl-bar [data-tbl-note].in-bar {
    margin: 0 0 0 10px;
    padding: 0;
    border: 0;
    background: transparent;
    font-size: 11px;
    color: #9E9E9E;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
  }
  .tbl-bar [data-tbl-note].in-bar b { color: #1A1A1A; font-weight: 500; }
  .tbl-bar [data-tbl-note].in-bar:hover { color: #1A1A1A; }
}

@media (min-width: 900px) {
  /* ── 筛选弹窗：居中、白底、一条墨线 ───────────────────────────────── */
  .tbl-fw {
    position: fixed;
    inset: 0;
    background: rgba(26, 26, 26, .34);
    z-index: 300;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .tbl-fbox {
    width: 340px;
    background: #FFFFFF;
    border: 1px solid #1A1A1A;
    border-radius: 2px;
    overflow: hidden;
  }
  .tbl-fhd {
    font-size: 12px;
    color: #6E6E6E;
    letter-spacing: .06em;
    padding: 14px 18px 10px;
  }
  .tbl-fbody { padding: 0 8px 6px; }
  .tbl-frow {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 10px;
    font-size: 13px;
    color: #1A1A1A;
    cursor: pointer;
    border-radius: 2px;
  }
  .tbl-frow:hover { background: #FAFAFA; }
  .tbl-frow input { accent-color: #1A1A1A; margin: 0; width: 13px; height: 13px; }
  .tbl-frow span { flex: 1; }
  .tbl-frow em {
    font-style: normal;
    font-size: 11px;
    color: #9E9E9E;
    font-variant-numeric: tabular-nums;
  }
  .tbl-fft {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 14px;
    border-top: 1px solid #E8E8E8;
    background: #FAFAFA;
  }
  .tbl-btn.dark {
    background: #1A1A1A;
    border-color: #1A1A1A;
    color: #FFFFFF;
  }
  .tbl-btn.dark:hover { background: #000000; border-color: #000000; }
}

/* ===== 首屏加载态收尾（生成时追加） ===== */
.boot{display:none!important}
