* { margin: 0; padding: 0; box-sizing: border-box; }
  :root {
    --ink: #22302B; --ink2: #4A5A54; --mut: #8B948D; --line: #E6E1D3;
    --bg: #F7F4EC; --card: #fff; --cream: #FAF7EF;
    --green: #0F5B4C; --green2: #1A7A65; --act: #2E9E8A;
    --warn: #B05C2E; --warnbg: #FDF3E8; --warnln: #F2DCC4;
    --dan: #BE3A26; --danbg: #FCEDE8; --danln: #F3D2C8;
    --ok: #0F6E56; --okbg: #E6F5EF; --okln: #C9E8DC;
  }
  body {
    font-family: -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
    background: var(--bg); color: var(--ink); font-size: 13px;
    -webkit-font-smoothing: antialiased;
  }
  .app { display: flex; min-height: 100vh; }

  /* ================= 侧栏 ================= */
  .side {
    width: 224px; flex: none; background: var(--green); color: #fff;
    display: flex; flex-direction: column; position: sticky; top: 0; height: 100vh;
  }
  .brand { padding: 16px 16px 13px; display: flex; align-items: center; gap: 10px; border-bottom: 1px solid rgba(255,255,255,.1); }
  .brand img { width: 30px; height: 30px; object-fit: contain; border-radius: 8px; background: #fff; padding: 2px; flex: none; }
  .brand .bt { font-size: 13.5px; font-weight: 600; letter-spacing: .3px; }
  .brand .bs { font-size: 10px; color: rgba(255,255,255,.55); margin-top: 2px; }

  .tenant {
    margin: 11px 12px 6px; background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.14);
    border-radius: 9px; padding: 8px 10px; cursor: pointer; position: relative;
  }
  .tenant:hover { background: rgba(255,255,255,.14); }
  .tenant .l { font-size: 9.5px; color: rgba(255,255,255,.55); }
  .tenant .v { font-size: 12.5px; font-weight: 500; margin-top: 3px; display: flex; align-items: center; }
  .tenant .v i { margin-left: auto; font-style: normal; font-size: 9px; opacity: .7; }

  .nav { flex: 1; overflow-y: auto; padding: 8px 10px 16px; }
  .nav::-webkit-scrollbar { width: 4px; }
  .nav::-webkit-scrollbar-thumb { background: rgba(255,255,255,.16); border-radius: 3px; }
  .ng { margin-top: 10px; }
  .ng > .gh {
    font-size: 9.5px; color: rgba(255,255,255,.42); letter-spacing: 1px;
    padding: 0 8px 5px; display: flex; align-items: center; cursor: pointer;
  }
  .ng > .gh i { margin-left: auto; font-style: normal; font-size: 8px; transition: .2s; }
  .ng.collapsed .gh i { transform: rotate(-90deg); }
  .ng.collapsed .items { display: none; }
  .ni {
    display: flex; align-items: center; gap: 7px; padding: 7px 9px; border-radius: 8px;
    font-size: 12.5px; color: rgba(255,255,255,.76); cursor: pointer; margin-bottom: 1px;
    border-left: 2px solid transparent;
  }
  .ni:hover { background: rgba(255,255,255,.08); color: #fff; }
  .ni.on { background: var(--green2); color: #fff; font-weight: 500; border-left-color: #F2E9CF; }
  .ni .bd {
    margin-left: auto; background: #D97706; color: #fff; font-size: 9px;
    padding: 1px 5px; border-radius: 7px; font-weight: 600; min-width: 16px; text-align: center;
  }
  .ni .bd.red { background: #C0392B; }

  .side-foot { padding: 10px 14px 14px; border-top: 1px solid rgba(255,255,255,.1); font-size: 10px; color: rgba(255,255,255,.4); line-height: 1.7; }

  /* ================= 主区 ================= */
  .main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
  .top {
    height: 52px; background: #fff; border-bottom: 1px solid var(--line);
    display: flex; align-items: center; padding: 0 20px; gap: 12px; position: sticky; top: 0; z-index: 20;
  }
  .crumb { font-size: 12.5px; color: var(--mut); }
  .crumb b { color: var(--ink); font-weight: 500; }
  .crumb em { font-style: normal; margin: 0 6px; color: #C6C1B4; }
  .top .sp { flex: 1; }
  .tsearch {
    display: flex; align-items: center; gap: 6px; background: var(--cream); border: 1px solid var(--line);
    border-radius: 8px; padding: 6px 10px; width: 218px; color: var(--mut); font-size: 12px;
  }
  .ticon {
    width: 30px; height: 30px; border-radius: 8px; background: var(--cream); border: 1px solid var(--line);
    display: flex; align-items: center; justify-content: center; font-size: 13px; cursor: pointer; position: relative;
  }
  .ticon:hover { border-color: #BFD8CE; }
  .ticon .d { position: absolute; top: 3px; right: 3px; width: 6px; height: 6px; background: #C0392B; border-radius: 50%; border: 1.5px solid #fff; }
  .me { display: flex; align-items: center; gap: 7px; cursor: pointer; }
  .me .av {
    width: 28px; height: 28px; border-radius: 50%; background: var(--act); color: #fff;
    display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 500;
  }
  .me .nm { font-size: 12px; }
  .me .rl { font-size: 9.5px; color: var(--mut); }

  .body { padding: 16px 20px 30px; min-width: 0; }

  /* ---------- 页头 ---------- */
  .ph { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 13px; }
  .ph h2 { font-size: 17px; font-weight: 600; letter-spacing: .2px; }
  .ph .st { font-size: 11.5px; color: var(--mut); margin-top: 5px; line-height: 1.6; }
  .ph .sp { flex: 1; }
  .btn {
    border: 1px solid var(--line); background: #fff; color: var(--ink2); font-family: inherit;
    font-size: 12.5px; padding: 7px 13px; border-radius: 8px; cursor: pointer; white-space: nowrap;
  }
  .btn:hover { border-color: #BFD8CE; color: var(--green2); }
  .btn.pri { background: var(--act); border-color: var(--act); color: #fff; }
  .btn.pri:hover { background: var(--green2); border-color: var(--green2); color: #fff; }
  .btn.sm { padding: 5px 10px; font-size: 11.5px; }
  .btn.off { background: #EFEBDE; border-color: #EFEBDE; color: #A8A090; cursor: not-allowed; }

  /* ---------- 原则条 ---------- */
  .rulebar {
    background: #FBF9F3; border: 1px solid var(--line); border-left: 3px solid var(--act);
    border-radius: 10px; padding: 11px 14px; margin-bottom: 13px;
    font-size: 11.5px; color: var(--ink2); line-height: 1.9;
  }
  .rulebar .tt { display: block; font-size: 12.5px; color: var(--green); font-weight: 600; margin-bottom: 4px; }
  .rulebar b { color: var(--ink); font-weight: 600; }
  .rulebar em { font-style: normal; color: var(--dan); font-weight: 500; }

  /* ---------- 统计 ---------- */
  .kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 13px; }
  .kpi { background: #fff; border: 1px solid var(--line); border-radius: 11px; padding: 12px 14px; position: relative; overflow: hidden; }
  .kpi .k { font-size: 11px; color: var(--mut); display: flex; align-items: center; gap: 5px; }
  .kpi .v { font-size: 23px; font-weight: 600; margin-top: 5px; letter-spacing: -.5px; }
  .kpi .v small { font-size: 11px; font-weight: 400; color: var(--mut); margin-left: 4px; }
  .kpi .f { font-size: 10.5px; color: var(--mut); margin-top: 4px; }
  .kpi .f b { font-weight: 500; }
  .kpi.dan { border-color: var(--danln); background: linear-gradient(180deg, #FEF7F5, #fff); }
  .kpi.dan .v { color: var(--dan); }
  .kpi.warn { border-color: var(--warnln); background: linear-gradient(180deg, #FEFAF4, #fff); }
  .kpi.warn .v { color: var(--warn); }

  /* ---------- 卡片壳 ---------- */
  .card { background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }

  .fbar { padding: 11px 14px; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 9px; flex-wrap: wrap; background: #fff; }
  .ftabs { display: flex; gap: 4px; background: var(--cream); border-radius: 9px; padding: 3px; }
  .ftab {
    font-size: 12px; color: var(--ink2); padding: 5px 11px; border-radius: 7px; cursor: pointer; white-space: nowrap;
  }
  .ftab:hover { color: var(--green2); }
  .ftab.on { background: #fff; color: var(--green); font-weight: 500; box-shadow: 0 1px 4px rgba(90,80,50,.12); }
  .ftab .n { font-size: 10px; color: var(--mut); margin-left: 3px; }
  .ftab.on .n { color: var(--act); }
  .sel {
    border: 1px solid var(--line); border-radius: 8px; padding: 6px 9px; font-size: 12px; color: var(--ink2);
    background: #fff; cursor: pointer; font-family: inherit;
  }
  .fbar .sp { flex: 1; }
  .kw { border: 1px solid var(--line); border-radius: 8px; padding: 6px 10px; font-size: 12px; width: 190px; font-family: inherit; outline: none; }
  .kw:focus { border-color: var(--act); }

  /* ---------- 表格 ---------- */
  .tw { overflow-x: auto; }
  table { width: 100%; border-collapse: collapse; min-width: 1180px; }
  thead th {
    text-align: left; font-size: 11px; font-weight: 500; color: var(--mut); letter-spacing: .2px;
    padding: 10px 12px; background: #FBF9F3; border-bottom: 1px solid var(--line); white-space: nowrap;
  }
  tbody td { padding: 11px 12px; border-bottom: 1px solid #F1EDE2; font-size: 12.5px; vertical-align: middle; }
  tbody tr { cursor: pointer; }
  tbody tr:hover { background: #FBFDFB; }
  tbody tr.timeout { background: #FEF9F7; }
  tbody tr.timeout:hover { background: #FDF4F1; }
  tbody tr.done-row { cursor: default; opacity: .72; }
  tbody tr.done-row:hover { background: #fff; }

  .cno { font-family: ui-monospace, Menlo, monospace; font-size: 11.5px; color: var(--green); font-weight: 500; }
  .csub { font-size: 10.5px; color: var(--mut); margin-top: 3px; }
  .svc { font-weight: 500; }
  .svc .money { font-size: 11px; color: var(--mut); font-weight: 400; margin-left: 5px; }
  .person { display: flex; align-items: center; gap: 6px; }
  .person .av {
    width: 22px; height: 22px; border-radius: 50%; background: #E8F4EF; color: var(--green2);
    display: flex; align-items: center; justify-content: center; font-size: 10.5px; flex: none; font-weight: 500;
  }
  .person .info b { font-weight: 500; font-size: 12.5px; }
  .person .info span { font-size: 10px; color: var(--mut); display: block; margin-top: 1px; }
  .tagx {
    display: inline-block; font-size: 10px; padding: 2px 6px; border-radius: 5px;
    background: var(--cream); color: var(--ink2); border: 1px solid var(--line);
  }
  .tagx.dan { background: var(--danbg); color: var(--dan); border-color: var(--danln); }
  .tagx.warn { background: var(--warnbg); color: var(--warn); border-color: var(--warnln); }
  .tagx.ok { background: var(--okbg); color: var(--ok); border-color: var(--okln); }
  .ask { font-size: 12px; color: var(--ink); }
  .ask em { font-style: normal; display: block; font-size: 10.5px; color: var(--mut); margin-top: 3px; }
  .src { font-size: 11px; color: var(--ink2); display: flex; align-items: center; gap: 4px; }
  .src .dt { width: 5px; height: 5px; border-radius: 50%; background: var(--act); flex: none; }
  .src .dt.warn { background: #D97706; }
  .src .dt.dan { background: #C0392B; }
  .cd { font-family: ui-monospace, Menlo, monospace; font-size: 12px; font-weight: 500; }
  .cd.warn { color: var(--warn); }
  .cd.dan { color: var(--dan); }
  .cd.ok { color: var(--ok); font-family: inherit; font-size: 11.5px; }
  .stt { display: inline-flex; align-items: center; gap: 4px; font-size: 11.5px; font-weight: 500; }
  .stt .d { width: 6px; height: 6px; border-radius: 50%; }
  .stt.pending { color: var(--warn); } .stt.pending .d { background: #D97706; }
  .stt.timeout { color: var(--dan); } .stt.timeout .d { background: #C0392B; box-shadow: 0 0 0 3px rgba(192,57,43,.14); }
  .stt.doing { color: var(--green2); } .stt.doing .d { background: var(--act); }
  .stt.done { color: var(--mut); } .stt.done .d { background: #C3CCD9; }
  .ops { display: flex; gap: 6px; white-space: nowrap; }

  .pager { padding: 11px 14px; display: flex; align-items: center; gap: 8px; font-size: 11.5px; color: var(--mut); }
  .pager .sp { flex: 1; }
  .pager .p { border: 1px solid var(--line); border-radius: 6px; padding: 4px 9px; cursor: pointer; background: #fff; }
  .pager .p.on { background: var(--green); border-color: var(--green); color: #fff; }

  /* ================= 抽屉 ================= */
  .mask {
    position: fixed; inset: 0; background: rgba(34,48,43,.42); z-index: 60;
    opacity: 0; pointer-events: none; transition: .22s;
  }
  .mask.on { opacity: 1; pointer-events: auto; }
  .drawer {
    position: fixed; top: 0; right: 0; bottom: 0; width: 788px; max-width: 96vw; background: var(--bg);
    z-index: 61; transform: translateX(100%); transition: transform .26s cubic-bezier(.4,0,.2,1);
    display: flex; flex-direction: column; box-shadow: -12px 0 40px rgba(40,50,45,.16);
  }
  .drawer.on { transform: none; }
  .dh {
    background: #fff; border-bottom: 1px solid var(--line); padding: 14px 20px; flex: none;
  }
  .dh .r1 { display: flex; align-items: center; gap: 9px; }
  .dh h3 { font-size: 15.5px; font-weight: 600; }
  .dh .x { margin-left: auto; width: 26px; height: 26px; border-radius: 7px; background: var(--cream); display: flex; align-items: center; justify-content: center; cursor: pointer; color: var(--mut); font-size: 14px; }
  .dh .x:hover { background: #EFEBDD; color: var(--ink); }
  .dh .r2 { display: flex; align-items: center; gap: 14px; margin-top: 9px; font-size: 11.5px; color: var(--mut); flex-wrap: wrap; }
  .dh .r2 b { color: var(--ink); font-weight: 500; }
  .dh .cdbar {
    margin-top: 11px; background: var(--warnbg); border: 1px solid var(--warnln); border-radius: 8px;
    padding: 8px 11px; font-size: 11.5px; color: var(--warn); display: flex; align-items: center; gap: 7px;
  }
  .dh .cdbar.dan { background: var(--danbg); border-color: var(--danln); color: var(--dan); }
  .dh .cdbar b { font-family: ui-monospace, Menlo, monospace; font-size: 13px; }

  .dbody { flex: 1; overflow-y: auto; padding: 14px 18px 20px; }
  .blk { background: #fff; border: 1px solid var(--line); border-radius: 11px; margin-bottom: 11px; overflow: hidden; }
  .bh {
    padding: 10px 13px; border-bottom: 1px solid #F1EDE2; display: flex; align-items: center; gap: 7px;
    font-size: 12.5px; font-weight: 600;
  }
  .bh i.bar { width: 3px; height: 12px; border-radius: 2px; background: var(--act); }
  .bh .note { margin-left: auto; font-size: 10.5px; color: var(--mut); font-weight: 400; }
  .bb { padding: 12px 13px; }

  /* 双方主张 */
  .two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .side-card { border: 1px solid var(--line); border-radius: 9px; padding: 10px 11px; background: #FDFCF8; }
  .side-card.user { border-color: #D9E7F5; background: #F8FBFE; }
  .side-card.wk { border-color: var(--okln); background: #F8FDFA; }
  .side-card .who { display: flex; align-items: center; gap: 6px; font-size: 11.5px; color: var(--mut); }
  .side-card .who b { color: var(--ink); font-size: 12.5px; font-weight: 500; }
  .side-card .who .bdg { margin-left: auto; font-size: 9.5px; padding: 1px 6px; border-radius: 5px; background: #fff; border: 1px solid var(--line); color: var(--mut); }
  .side-card .q {
    font-size: 12px; line-height: 1.75; color: var(--ink); margin-top: 8px;
    background: #fff; border-left: 2px solid #D8D3C4; padding: 7px 9px; border-radius: 0 6px 6px 0;
  }
  .side-card.user .q { border-left-color: #8FB9E0; }
  .side-card.wk .q { border-left-color: var(--act); }
  .side-card .meta { font-size: 10.5px; color: var(--mut); margin-top: 7px; line-height: 1.7; }

  /* 证据 */
  .ev-tl { display: flex; gap: 0; margin-bottom: 12px; }
  .ev-n { flex: 1; position: relative; padding-right: 8px; }
  .ev-n::before {
    content: ""; position: absolute; left: 11px; top: 7px; right: -6px; height: 1px; background: #DCD7C8;
  }
  .ev-n:last-child::before { display: none; }
  .ev-n .dot {
    width: 15px; height: 15px; border-radius: 50%; background: #fff; border: 2px solid var(--act);
    display: flex; align-items: center; justify-content: center; font-size: 8px; color: var(--act);
    position: relative; z-index: 2;
  }
  .ev-n .dot.ok { background: var(--act); color: #fff; border-color: var(--act); }
  .ev-n .dot.miss { border-color: #D8D3C4; color: #B8B2A2; }
  .ev-n .nm { font-size: 11px; color: var(--ink2); margin-top: 6px; }
  .ev-n .tm { font-size: 9.5px; color: var(--mut); margin-top: 2px; font-family: ui-monospace, Menlo, monospace; }

  .shots { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
  .shot {
    border: 1px solid var(--line); border-radius: 8px; overflow: hidden; cursor: pointer; background: #fff;
  }
  .shot .im {
    height: 68px; background: linear-gradient(132deg, #DCE6E0, #C9D6CE 52%, #B7C7BD);
    position: relative; display: flex; align-items: center; justify-content: center;
    font-size: 9.5px; color: #5E6E64; letter-spacing: .5px;
  }
  .shot.miss .im { background: repeating-linear-gradient(45deg, #F2EFE4, #F2EFE4 6px, #E8E4D6 6px, #E8E4D6 12px); color: #A8A090; }
  .shot .im .flag {
    position: absolute; top: 4px; left: 4px; font-size: 8.5px; padding: 1px 5px; border-radius: 4px;
    background: rgba(15,110,86,.9); color: #fff;
  }
  .shot .im .flag.warn { background: rgba(176,92,46,.92); }
  .shot .cp { padding: 5px 6px; font-size: 9.5px; color: var(--mut); line-height: 1.55; }
  .shot .cp b { display: block; color: var(--ink2); font-size: 10px; font-weight: 500; }

  .verify { margin-top: 11px; border-radius: 9px; padding: 9px 11px; font-size: 11.5px; line-height: 1.8; }
  .verify.ok { background: var(--okbg); border: 1px solid var(--okln); color: var(--ok); }
  .verify.warn { background: var(--warnbg); border: 1px solid var(--warnln); color: var(--warn); }
  .verify.dan { background: var(--danbg); border: 1px solid var(--danln); color: var(--dan); }
  .verify b { font-weight: 600; }
  .verify ul { padding-left: 15px; margin-top: 4px; }
  .verify li { list-style: disc; }

  .geo { display: flex; gap: 11px; align-items: center; }
  .geo-map {
    width: 176px; height: 108px; border-radius: 8px; border: 1px solid var(--line); flex: none; position: relative;
    background:
      linear-gradient(#EDEAE0 1px, transparent 1px) 0 0 / 100% 26px,
      linear-gradient(90deg, #EDEAE0 1px, transparent 1px) 0 0 / 26px 100%,
      #F8F6EE;
  }
  .geo-map .pin { position: absolute; width: 9px; height: 9px; border-radius: 50%; background: var(--act); border: 2px solid #fff; box-shadow: 0 1px 4px rgba(0,0,0,.2); }
  .geo-map .pin.a { left: 46px; top: 34px; }
  .geo-map .pin.b { left: 92px; top: 58px; }
  .geo-map .pin.c { left: 130px; top: 40px; }
  .geo-map .pin.d { left: 74px; top: 78px; }
  .geo-map .home { position: absolute; left: 88px; top: 34px; width: 15px; height: 15px; border-radius: 50%; border: 1.5px dashed var(--warn); }
  .geo-map .lg { position: absolute; left: 6px; bottom: 5px; font-size: 8.5px; color: var(--mut); background: rgba(255,255,255,.85); padding: 1px 4px; border-radius: 3px; }
  .geo-info { font-size: 11.5px; color: var(--ink2); line-height: 1.9; }
  .geo-info b { color: var(--ink); font-weight: 500; }
  .geo-info .okm { color: var(--ok); }

  /* 历史 */
  .hist { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
  .hist .h { background: var(--cream); border-radius: 8px; padding: 8px 10px; }
  .hist .h .k { font-size: 10px; color: var(--mut); }
  .hist .h .v { font-size: 15px; font-weight: 600; margin-top: 3px; }
  .hist .h .v small { font-size: 10px; font-weight: 400; color: var(--mut); }

  /* 裁定表单 */
  .fg { margin-bottom: 12px; }
  .fg .lb { font-size: 11.5px; color: var(--ink2); margin-bottom: 6px; display: flex; align-items: center; gap: 5px; }
  .fg .lb em { font-style: normal; color: var(--dan); }
  .fg .lb .hint { margin-left: auto; font-size: 10.5px; color: var(--mut); }
  .opts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .opt {
    border: 1px solid var(--line); border-radius: 9px; padding: 9px 11px; cursor: pointer; background: #fff;
    display: flex; gap: 8px; align-items: flex-start;
  }
  .opt:hover { border-color: #BFD8CE; }
  .opt.on { border-color: var(--act); background: #F5FCF9; box-shadow: 0 0 0 2px rgba(46,158,138,.12); }
  .opt .rd {
    width: 13px; height: 13px; border-radius: 50%; border: 1.5px solid #C9C4B4; flex: none; margin-top: 1px;
    display: flex; align-items: center; justify-content: center;
  }
  .opt.on .rd { border-color: var(--act); }
  .opt.on .rd::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--act); }
  .opt .tx b { font-size: 12.5px; font-weight: 500; display: block; }
  .opt .tx span { font-size: 10.5px; color: var(--mut); line-height: 1.6; display: block; margin-top: 2px; }
  .opt.wide { grid-column: span 2; }

  .amtbox { display: flex; gap: 8px; align-items: center; margin-top: 9px; }
  .amtbox input {
    border: 1px solid var(--line); border-radius: 8px; padding: 7px 10px; font-size: 13px; width: 132px;
    font-family: ui-monospace, Menlo, monospace; outline: none;
  }
  .amtbox input:focus { border-color: var(--act); }
  .amtbox .tip { font-size: 10.5px; color: var(--mut); }
  .amtbox .tip.bad { color: var(--dan); }

  textarea, .sel2 {
    width: 100%; border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; font-size: 12.5px;
    font-family: inherit; outline: none; resize: vertical; color: var(--ink);
  }
  textarea:focus { border-color: var(--act); }
  .sel2 { padding: 7px 10px; cursor: pointer; background: #fff; }

  /* 账务处理（只读，系统算） */
  .acct {
    background: #FBF9F3; border: 1px solid #EFEBDD; border-radius: 9px;
    padding: 10px 12px; font-size: 11.5px; color: #4A5A54; line-height: 1.95;
  }
  .acct .ac-empty { color: #A8A090; font-size: 11px; }
  .acct .ac-hd { font-size: 10.5px; color: #8B948D; letter-spacing: .3px; }
  .acct .ac-row { display: flex; align-items: baseline; gap: 5px; flex-wrap: wrap; }
  .acct .ac-row b { font-family: ui-monospace, Menlo, monospace; font-size: 12px; color: #22302B; font-weight: 600; }
  .acct .ac-sep { height: 1px; background: #E9E4D6; margin: 7px 0; }
  .acct .ac-dan { color: #BE3A26; }
  .acct .ac-dan b { color: #BE3A26; }
  .acct .ac-ok { color: #0F6E56; }
  .acct .ac-ok b { color: #0F6E56; }
  .acct .ac-note { font-size: 10.5px; color: #8B948D; margin-top: 6px; line-height: 1.75; }
  .acct .ac-note b { color: #22302B; font-weight: 500; }

  /* 影响预览 */
  .impact { background: #F8F6EE; border: 1px dashed #DCD7C8; border-radius: 9px; padding: 10px 12px; }
  .impact .t { font-size: 11px; color: var(--mut); margin-bottom: 6px; letter-spacing: .3px; }
  .impact li { font-size: 11.5px; color: var(--ink2); line-height: 1.9; list-style: none; padding-left: 14px; position: relative; }
  .impact li::before { content: "→"; position: absolute; left: 0; color: var(--act); font-size: 10px; }
  .impact li b { color: var(--ink); font-weight: 500; }
  .impact li.d { color: var(--dan); } .impact li.d::before { color: var(--dan); }
  .impact li.o { color: var(--ok); } .impact li.o::before { color: var(--ok); }

  /* 时间线 */
  .tl { padding-left: 4px; }
  .tl .it { display: flex; gap: 9px; padding-bottom: 11px; position: relative; }
  .tl .it:last-child { padding-bottom: 0; }
  .tl .it::before { content: ""; position: absolute; left: 5px; top: 14px; bottom: -2px; width: 1px; background: #E2DDCE; }
  .tl .it:last-child::before { display: none; }
  .tl .it .d { width: 11px; height: 11px; border-radius: 50%; background: #fff; border: 2px solid #D3CEBE; flex: none; margin-top: 3px; position: relative; z-index: 2; }
  .tl .it.on .d { border-color: var(--act); background: var(--act); }
  .tl .it.cur .d { border-color: var(--act); background: #fff; box-shadow: 0 0 0 3px rgba(46,158,138,.16); }
  .tl .it .c b { font-size: 12px; font-weight: 500; display: block; }
  .tl .it .c span { font-size: 10.5px; color: var(--mut); display: block; margin-top: 2px; line-height: 1.6; }

  /* 抽屉底栏 */
  .df {
    background: #fff; border-top: 1px solid var(--line); padding: 11px 18px; flex: none;
    display: flex; align-items: center; gap: 9px;
  }
  .df .note { font-size: 10.5px; color: var(--mut); line-height: 1.6; max-width: 300px; }
  .df .sp { flex: 1; }

  /* toast */
  .toast {
    position: fixed; left: 50%; bottom: 42px; transform: translate(-50%, 14px); background: #22302B;
    color: #fff; font-size: 12.5px; padding: 10px 17px; border-radius: 10px; z-index: 200;
    opacity: 0; pointer-events: none; transition: .24s; max-width: 76vw; line-height: 1.6;
    box-shadow: 0 8px 26px rgba(30,40,36,.28);
  }
  .toast.on { opacity: 1; transform: translate(-50%, 0); }

  .empty { padding: 46px; text-align: center; color: var(--mut); font-size: 12.5px; }
  .empty .em { font-size: 26px; margin-bottom: 8px; opacity: .4; }

  /* ================= 多页面切换（D53） ================= */
  .body.page { display: none; }
  .body.page.on { display: block; }

  /* 表单小件 */
  .ck {
    width: 14px; height: 14px; accent-color: var(--act); cursor: pointer; vertical-align: -2px;
  }
  .pill {
    display: inline-flex; align-items: center; gap: 4px; font-size: 10.5px; padding: 2px 7px;
    border-radius: 20px; border: 1px solid var(--line); background: var(--cream); color: var(--ink2);
    white-space: nowrap;
  }
  .pill.pf { background: #EEF5FF; border-color: #D6E4F7; color: #26557E; }
  .pill.mz { background: #F4F0FA; border-color: #E1D8F2; color: #5A4390; }
  .pill.ok { background: var(--okbg); border-color: var(--okln); color: var(--ok); }
  .pill.warn { background: var(--warnbg); border-color: var(--warnln); color: var(--warn); }
  .pill.dan { background: var(--danbg); border-color: var(--danln); color: var(--dan); }
  .pill.gray { background: #F1EEE3; border-color: #E6E1D3; color: var(--mut); }

  .amt { font-family: ui-monospace, Menlo, monospace; font-size: 12.5px; font-weight: 600; }
  .amt.g { color: var(--ok); }
  .amt.r { color: var(--dan); }
  .amt.n { color: var(--ink2); font-weight: 500; }

  /* 布局 */
  .g2 { display: grid; grid-template-columns: 1.18fr 1fr; gap: 10px; align-items: start; }
  @media (max-width: 1260px) { .g2 { grid-template-columns: 1fr; } }
  table.tb2 { min-width: 0; }
  table.tb2 thead th { padding: 9px 11px; }
  table.tb2 tbody td { padding: 9px 11px; }

  /* 汇总数字条 */
  .sumrow { display: flex; align-items: stretch; padding: 12px 6px; flex-wrap: wrap; }
  .sumcell { padding: 0 18px; border-right: 1px dashed var(--line); min-width: 168px; }
  .sumcell:last-child { border-right: 0; }
  .sumcell .k { font-size: 10.5px; color: var(--mut); }
  .sumcell .v { font-size: 19px; font-weight: 600; letter-spacing: -.3px; margin-top: 3px; font-family: ui-monospace, Menlo, monospace; }
  .sumcell .v.dan { color: var(--dan); }
  .sumcell .v.ok { color: var(--ok); }
  .sumcell .f { font-size: 10px; color: var(--mut); margin-top: 2px; }

  /* 15 分钟监控卡 */
  .mon { padding: 11px 12px; display: flex; flex-direction: column; gap: 8px; }
  .mc { border: 1px solid var(--line); border-radius: 10px; padding: 9px 11px; background: #FDFCF8; }
  .mc.urgent { border-color: var(--danln); background: #FEF8F6; }
  .mc.gone { opacity: .62; background: #fff; }
  .mc .l1 { display: flex; align-items: center; gap: 7px; }
  .mc .no { font-family: ui-monospace, Menlo, monospace; font-size: 11.5px; color: var(--green); font-weight: 500; }
  .mc .cd2 { margin-left: auto; font-family: ui-monospace, Menlo, monospace; font-size: 14px; font-weight: 600; color: var(--warn); }
  .mc .cd2.dan { color: var(--dan); }
  .mc .l2 { font-size: 11.5px; color: var(--ink2); margin-top: 5px; line-height: 1.7; }
  .mc .l2 b { font-weight: 500; color: var(--ink); }
  .mc .l3 { display: flex; gap: 6px; margin-top: 8px; align-items: center; }
  .mc .l3 .sp { flex: 1; }
  .pg2 { height: 4px; border-radius: 3px; background: #EFEBDE; overflow: hidden; margin-top: 7px; }
  .pg2 i { display: block; height: 100%; background: var(--act); border-radius: 3px; transition: width .5s linear; }
  .pg2 i.warn { background: #D97706; }
  .pg2 i.dan { background: #C0392B; }

  /* 通用抽屉（第二个） */
  .mini { font-size: 10.5px; color: var(--mut); line-height: 1.7; }
  .kv { display: grid; grid-template-columns: 96px 1fr; gap: 7px 10px; font-size: 12px; }
  .kv .k { color: var(--mut); font-size: 11.5px; }
  .kv .v { color: var(--ink); }
  .kv .v b { font-weight: 600; }
  .hit { background: #FBF6E8; border: 1px solid #EFE4C6; border-radius: 8px; padding: 8px 10px; font-size: 11.5px; color: #7A5B1E; line-height: 1.75; }
  .pick3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .opt3 {
    border: 1px solid var(--line); border-radius: 9px; padding: 9px 10px; cursor: pointer; background: #fff;
  }
  .opt3:hover { border-color: #BFD8CE; }
  .opt3.on { border-color: var(--act); background: #F3FBF8; box-shadow: 0 0 0 1px var(--act) inset; }
  .opt3 b { font-size: 12px; font-weight: 600; display: block; }
  .opt3 span { font-size: 10.5px; color: var(--mut); display: block; margin-top: 3px; line-height: 1.6; }

  /* 十字标记：已处理行 */
  tbody tr.faded { opacity: .6; }
  tbody tr.faded:hover { background: #fff; }


/* ===== D54 代打款 ===== */
.pill.pend { background: #EAF0FA; border-color: #C9D8EE; color: #2A4A6B; }
.poRow { display: flex; align-items: center; gap: 9px; padding: 7px 0; border-bottom: 1px dashed var(--line); font-size: 12px; }
.poRow:last-child { border-bottom: 0; }
.poRow .m { font-family: ui-monospace, Menlo, monospace; font-size: 12px; margin-left: auto; font-weight: 600; }
.poRow .nm { font-weight: 600; }
.filebox { display: flex; align-items: center; gap: 8px; border: 1px dashed #D8D2C0; border-radius: 9px;
    padding: 10px 12px; background: #FCFAF3; font-size: 11.5px; color: var(--mut); cursor: pointer; }
.filebox:hover { border-color: #BFD8CE; background: #F7FBF8; }
.filebox .ic { font-size: 15px; }
.filebox.on { border-style: solid; border-color: var(--okln); background: var(--okbg); color: var(--ok); }
.stepline { display: flex; align-items: center; gap: 8px; font-size: 11px; color: var(--mut); margin-top: 7px; flex-wrap: wrap; }
.stepline i { font-style: normal; padding: 2px 8px; border-radius: 20px; border: 1px solid var(--line); background: #fff; }
.stepline i.on { border-color: var(--act); color: var(--act); font-weight: 600; background: #F3FBF8; }
.stepline em { font-style: normal; color: #C9C3B2; }

/* ===== D55 月账单 + 选人派单 ===== */
.pkrow { display: flex; align-items: center; gap: 9px; padding: 8px 10px; border: 1px solid var(--line);
    border-radius: 9px; background: #fff; cursor: pointer; margin-bottom: 6px; }
.pkrow:hover { border-color: #BFD8CE; }
.pkrow.on { border-color: var(--act); background: #F3FBF8; box-shadow: 0 0 0 1px var(--act) inset; }
.pkrow.off { opacity: .55; cursor: not-allowed; }
.pkrow .av { width: 26px; height: 26px; border-radius: 50%; background: var(--cream); border: 1px solid var(--line);
    display: flex; align-items: center; justify-content: center; font-size: 11.5px; color: var(--ink2); flex: 0 0 auto; }
.pkrow .mid { min-width: 0; flex: 1; }
.pkrow .mid b { font-size: 12.5px; font-weight: 600; display: block; }
.pkrow .lvtag { font-size: 10px; color: var(--mut); font-weight: 400; margin-left: 4px; }
.pkrow .mid .mini { margin-top: 2px; line-height: 1.5; }
.dpsearch { display: flex; gap: 7px; margin-bottom: 9px; }
.dpsearch input { flex: 1; border: 1px solid var(--line); border-radius: 8px; padding: 7px 10px; font-size: 12px;
    outline: none; font-family: inherit; }
.dpsearch input:focus { border-color: var(--act); }
.mzMonthTag { font-size: 11px; color: var(--mut); }

/* ===== D61 四页：数据概览 / 调价申请 / 培训运营 / 值守工作台 ===== */
.seg2 { display: flex; gap: 4px; background: var(--cream); border: 1px solid var(--line); border-radius: 9px; padding: 3px; }
.seg2 span { font-size: 12px; color: var(--ink2); padding: 5px 12px; border-radius: 7px; cursor: pointer; white-space: nowrap; }
.seg2 span:hover { color: var(--green2); }
.seg2 span.on { background: #fff; color: var(--green); font-weight: 600; box-shadow: 0 1px 4px rgba(90,80,50,.12); }

/* 趋势柱 */
.trend { padding: 12px 14px 4px; }
.trend .bars { display: flex; align-items: flex-end; gap: 9px; height: 138px; }
.trend .b { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 5px; height: 100%; }
.trend .b i { display: block; width: 100%; max-width: 30px; border-radius: 5px 5px 2px 2px; background: linear-gradient(180deg, #2E9E8A, #1A7A65); }
.trend .b.mz i { background: linear-gradient(180deg, #8E79C4, #6A56A0); }
.trend .b i.mz { background: linear-gradient(180deg, #8E79C4, #6A56A0); }
.trend .b b { font-size: 10px; color: var(--ink2); font-weight: 600; }
.trend .b em { font-style: normal; font-size: 9.5px; color: var(--mut); white-space: nowrap; }
.trend .lg2 { display: flex; gap: 14px; font-size: 10.5px; color: var(--mut); padding: 6px 2px 8px; }
.trend .lg2 i { display: inline-block; width: 8px; height: 8px; border-radius: 2px; margin-right: 4px; }

/* 排行 / 待办 */
.rankrow { display: flex; align-items: center; gap: 9px; padding: 8px 0; border-bottom: 1px dashed var(--line); font-size: 12px; }
.rankrow:last-child { border-bottom: 0; }
.rankrow .rn { width: 17px; height: 17px; border-radius: 5px; background: var(--cream); color: var(--mut); font-size: 10px; display: flex; align-items: center; justify-content: center; flex: none; font-weight: 600; }
.rankrow .rn.t1 { background: var(--green); color: #fff; }
.rankrow .rn.t2 { background: var(--act); color: #fff; }
.rankrow .rn.t3 { background: #7FBFAE; color: #fff; }
.rankrow .nm2 { flex: 1; min-width: 0; font-weight: 500; }
.rankrow .nm2 span { display: block; font-size: 10px; color: var(--mut); font-weight: 400; margin-top: 2px; }
.rankrow .rv { font-family: ui-monospace, Menlo, monospace; font-size: 12px; font-weight: 600; }

.todo2 { display: flex; align-items: center; gap: 8px; padding: 9px 0; border-bottom: 1px dashed var(--line); cursor: pointer; }
.todo2:last-child { border-bottom: 0; }
.todo2:hover .tt2 { color: var(--green2); }
.todo2 .tt2 { font-size: 12px; font-weight: 500; }
.todo2 .ss2 { font-size: 10px; color: var(--mut); margin-top: 2px; }
.todo2 .go2 { margin-left: auto; font-size: 11px; color: var(--act); flex: none; }

/* 审批链 */
.chain { display: flex; align-items: flex-start; }
.chain .st2 { flex: 1; position: relative; padding-right: 6px; }
.chain .st2::before { content: ""; position: absolute; left: 15px; top: 8px; right: -4px; height: 1px; background: #DCD7C8; }
.chain .st2:last-child::before { display: none; }
.chain .st2 .dt2 { width: 17px; height: 17px; border-radius: 50%; background: #fff; border: 2px solid #D8D3C4; color: #B8B2A2; font-size: 9px; display: flex; align-items: center; justify-content: center; position: relative; z-index: 2; }
.chain .st2.ok2 .dt2 { background: var(--act); border-color: var(--act); color: #fff; }
.chain .st2.cur2 .dt2 { border-color: var(--act); color: var(--act); box-shadow: 0 0 0 3px rgba(46,158,138,.14); }
.chain .st2 .nm2 { font-size: 11px; color: var(--ink2); margin-top: 6px; line-height: 1.5; }
.chain .st2 .tm2 { font-size: 9.5px; color: var(--mut); margin-top: 2px; font-family: ui-monospace, Menlo, monospace; }

/* 价格 */
.dlt { font-family: ui-monospace, Menlo, monospace; font-size: 12px; font-weight: 600; }
.dlt.up { color: var(--dan); }
.dlt.dn { color: var(--ok); }
.pricecell .o { font-size: 11px; color: var(--mut); text-decoration: line-through; margin-right: 5px; }

/* 课程卡 */
.cgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 9px; padding: 12px 14px; }
@media (max-width: 1260px) { .cgrid { grid-template-columns: repeat(2, 1fr); } }
.ccard { border: 1px solid var(--line); border-radius: 10px; padding: 10px 11px; background: #FDFCF8; }
.ccard .h { font-size: 12.5px; font-weight: 600; display: flex; align-items: center; gap: 6px; }
.ccard .m { font-size: 10px; color: var(--mut); margin-top: 5px; line-height: 1.7; }
.ccard .f { display: flex; align-items: center; gap: 6px; margin-top: 8px; }

/* 值守 */
.duty { display: flex; align-items: center; gap: 14px; background: linear-gradient(135deg, #0F5B4C, #1A7A65); color: #fff; border-radius: 12px; padding: 12px 15px; margin-bottom: 12px; }
.duty .lb2 { font-size: 10px; opacity: .7; letter-spacing: .5px; }
.duty .vv { font-size: 14px; font-weight: 600; margin-top: 3px; }
.duty .vv small { font-size: 10px; font-weight: 400; opacity: .75; margin-left: 5px; }
.duty .sp { flex: 1; }
.duty .mn2 { text-align: right; font-size: 10px; opacity: .8; line-height: 1.75; }
.duty .dotlive { width: 8px; height: 8px; border-radius: 50%; background: #7BE3C0; box-shadow: 0 0 0 4px rgba(123,227,192,.24); display: inline-block; margin-right: 6px; }
.wq { padding: 11px 12px; display: flex; flex-direction: column; gap: 8px; }
.wq .mc .tt3 { font-size: 12.5px; font-weight: 600; }
.wq .mc .acts { display: flex; gap: 6px; margin-top: 8px; flex-wrap: wrap; align-items: center; }
.wq .mc .acts .sp { flex: 1; }
.mini2 { font-size: 10.5px; color: var(--mut); line-height: 1.75; }

  /* ================= 平台总控 局部 ================= */
  a.btn { text-decoration: none; display: inline-flex; align-items: center; }
  table.tn { min-width: 1240px; }
  .tnname { display: flex; align-items: center; gap: 8px; }
  .tnname .ico {
    width: 28px; height: 28px; border-radius: 8px; flex: none; display: flex; align-items: center; justify-content: center;
    background: var(--okbg); color: var(--green); font-size: 12px; font-weight: 600; border: 1px solid var(--okln);
  }
  .tnname .ico.wait { background: var(--warnbg); color: var(--warn); border-color: var(--warnln); }
  .tnname .ico.off { background: #F1EFE6; color: #9A9484; border-color: #E2DDD0; }
  .tnname .tx b { font-size: 12.5px; font-weight: 500; display: block; }
  .tnname .tx span { font-size: 10.5px; color: var(--mut); margin-top: 2px; display: block; }
  .accc { font-family: ui-monospace, Menlo, monospace; font-size: 13px; font-weight: 500; }
  .accc small { display: block; font-family: inherit; font-size: 10px; color: var(--mut); font-weight: 400; margin-top: 2px; }
  .dline { font-size: 11.5px; color: var(--ink2); }
  .dline.dan { color: var(--dan); font-weight: 500; }
  .dline.warn { color: var(--warn); font-weight: 500; }
  .dline small { display: block; font-size: 10px; color: var(--mut); font-weight: 400; margin-top: 2px; }
  .lgt { font-family: ui-monospace, Menlo, monospace; font-size: 11px; color: var(--mut); }
  .todo4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 9px; margin-bottom: 13px; }
  .td {
    background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; cursor: pointer;
    display: flex; align-items: center; gap: 9px; transition: .14s;
  }
  .td:hover { border-color: #BFD8CE; background: #FCFEFD; }
  .td .n {
    width: 26px; height: 26px; border-radius: 8px; flex: none; display: flex; align-items: center; justify-content: center;
    font-size: 12px; font-weight: 600; background: var(--warnbg); color: var(--warn); border: 1px solid var(--warnln);
  }
  .td .n.dan { background: var(--danbg); color: var(--dan); border-color: var(--danln); }
  .td .n.ok { background: var(--okbg); color: var(--ok); border-color: var(--okln); }
  .td .tx b { display: block; font-size: 12px; font-weight: 500; }
  .td .tx span { display: block; font-size: 10.5px; color: var(--mut); margin-top: 2px; }
  .td .ar { margin-left: auto; color: #C6C1B4; font-size: 13px; }

  .kvg { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 9px; overflow: hidden; }
  .kvg > div { background: #fff; padding: 9px 12px; }
  .kvg .k { font-size: 10.5px; color: var(--mut); }
  .kvg .v { font-size: 12.5px; margin-top: 3px; }
  .kvg .v b { font-weight: 500; }
  .cnt4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
  .cnt4 > div { background: #FDFCF8; border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; text-align: center; }
  .cnt4 .v { font-size: 18px; font-weight: 600; color: var(--green); }
  .cnt4 .k { font-size: 10.5px; color: var(--mut); margin-top: 2px; }
  .ckl { display: flex; align-items: center; gap: 8px; font-size: 11.5px; padding: 6px 0; border-bottom: 1px dashed #F1EDE2; }
  .ckl:last-child { border-bottom: 0; }
  .ckl .bx { width: 14px; height: 14px; border-radius: 4px; flex: none; display: flex; align-items: center; justify-content: center; background: var(--act); }
  .ckl .bx.no { background: #fff; border: 1px solid #CBD3CC; }
  .ckl .bx svg { width: 9px; height: 9px; stroke: #fff; stroke-width: 2.6; fill: none; }
  .ckl .tx { flex: 1; }
  .ckl .tx em { font-style: normal; font-size: 10.5px; color: var(--mut); display: block; margin-top: 1px; }
  .ckl .st { font-size: 10.5px; }
  .ckl .st.ok { color: var(--ok); }
  .ckl .st.no { color: var(--warn); }
  .sform { background: var(--danbg); border: 1px solid var(--danln); border-radius: 9px; padding: 11px 12px; margin-top: 10px; display: none; }
  .sform.on { display: block; }
  .sform .t { font-size: 12px; color: var(--dan); font-weight: 600; }
  .sform textarea {
    width: 100%; margin-top: 8px; border: 1px solid var(--danln); border-radius: 7px; padding: 7px 9px;
    font-family: inherit; font-size: 12px; outline: 0; resize: vertical; min-height: 52px; background: #fff; color: var(--ink);
  }
  .sform textarea:focus { border-color: var(--dan); }
  .sform .chk { display: flex; align-items: center; gap: 6px; font-size: 11px; color: #8A3B2B; margin-top: 8px; cursor: pointer; }
  .sform .chk .bx { width: 13px; height: 13px; border-radius: 3px; border: 1px solid #DDAF9F; background: #fff; flex: none; display: flex; align-items: center; justify-content: center; }
  .sform .chk .bx svg { width: 8px; height: 8px; stroke: #fff; stroke-width: 3; fill: none; opacity: 0; }
  .sform .chk.on .bx { background: var(--dan); border-color: var(--dan); }
  .sform .chk.on .bx svg { opacity: 1; }
  .sform .acts { display: flex; gap: 7px; margin-top: 9px; }
  .sform .btn.dg { background: var(--dan); border-color: var(--dan); color: #fff; }
  .sform .btn.dg:hover { background: #A32F1E; border-color: #A32F1E; color: #fff; }
  .expbar {
    display: flex; flex-direction: column; gap: 7px;
    margin-bottom: 11px; padding: 11px 13px;
    border: 1px solid #E8CFA6; border-left: 3px solid #D89614;
    background: linear-gradient(180deg, #FFFBF1, #FEF7E8); border-radius: 9px;
  }
  .expbar .el { display: flex; align-items: center; gap: 9px; font-size: 11.5px; color: #6B4E14; line-height: 1.7; }
  .expbar .el b { font-weight: 600; color: #8A5B08; }
  .expbar .el > b:first-child {
    flex: none; font-size: 10px; padding: 2px 7px; border-radius: 4px;
    background: #D89614; color: #fff; letter-spacing: .3px;
  }
  .expbar .el span { flex: 1; }
  .expbar .el span b { color: #22302B; }
  .expbar .btn.sm { flex: none; }

  .duectl { margin-top: 13px; padding-top: 12px; border-top: 1px dashed #D9E1DA; }
  .duectl .lb { font-size: 11.5px; font-weight: 600; color: #22302B; margin-bottom: 8px; }
  .duectl .lb span { font-weight: 400; color: #8B948D; }
  .duectl .presets { display: flex; gap: 6px; margin-bottom: 9px; flex-wrap: wrap; }
  .duectl .drow { display: flex; gap: 9px; align-items: flex-end; flex-wrap: wrap; }
  .duectl .drow label { font-size: 10.5px; color: #6E7A73; display: flex; flex-direction: column; gap: 4px; }
  .duectl .drow input[type=date] {
    font: inherit; font-size: 11.5px; padding: 6px 8px; border: 1px solid #D3DBD5;
    border-radius: 6px; color: #22302B; background: #fff; width: 132px;
  }
  .duectl .drow input[type=date]:focus { outline: none; border-color: var(--act); box-shadow: 0 0 0 3px rgba(46,158,138,.12); }
  .duectl .dnote { font-size: 10.5px; color: #8B948D; margin-top: 8px; line-height: 1.75; }
  .duectl .dnote em { font-style: normal; color: #8A3B2B; }
  .duectl .dfoot { display: flex; align-items: center; gap: 9px; margin-top: 9px; }
  .duectl .dfoot .msg { font-size: 10.5px; color: #8A3B2B; }

  .curview {
    display: flex; align-items: center; gap: 7px; background: #EAF2FB; border: 1px solid #D3E2F3; color: #2A4A6B;
    border-radius: 8px; padding: 7px 11px; font-size: 11.5px; margin-bottom: 11px;
  }
  .curview b { font-weight: 600; }
  .curview .x { margin-left: auto; color: #6E8AA8; cursor: pointer; font-size: 11px; }
  #toast {
    position: fixed; left: 50%; bottom: 40px; transform: translate(-50%, 12px); z-index: 200;
    background: #22302B; color: #fff; font-size: 12px; padding: 9px 15px; border-radius: 8px;
    opacity: 0; pointer-events: none; transition: .22s; max-width: 74vw; line-height: 1.6;
  }
  #toast.on { opacity: 1; transform: translate(-50%, 0); }

  /* ================= 开通审批 · 收件箱（居中弹窗） ================= */
  .opmask {
    position: fixed; inset: 0; z-index: 150; background: rgba(16,32,28,.45);
    display: none; align-items: flex-start; justify-content: center;
    padding: 42px 18px; overflow-y: auto;
  }
  .opmask.on { display: flex; }
  .opbox {
    width: 100%; max-width: 780px; background: #fff; border-radius: 14px;
    padding: 18px 20px 20px; box-shadow: 0 22px 60px rgba(10,28,24,.3);
  }
  .ophd { display: flex; align-items: flex-start; }
  .ophd .cr { font-size: 10px; letter-spacing: 2px; color: #8B948D; margin-bottom: 4px; }
  .ophd h4 { font-size: 16px; font-weight: 600; color: #22302B; }
  .ophd h4 em { font-style: normal; font-size: 11px; color: #8B948D; font-weight: 400; margin-left: 8px; }
  .ophd .opx { margin-left: auto; cursor: pointer; color: #8B948D; font-size: 14px; padding: 2px 6px; }
  .ophd .opx:hover { color: #22302B; }
  .ophint {
    margin-top: 10px; font-size: 11px; color: #5E6B64; line-height: 1.8;
    background: #F4F8F4; border: 1px solid #DFE9DF; border-radius: 9px; padding: 9px 12px;
  }
  .ophint b { color: #2A5C4C; font-weight: 600; }
  .oprow { border: 1px solid #E0E6E0; border-radius: 11px; padding: 13px 15px; margin-top: 10px; }
  .oprow .r1 { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
  .oprow .r1 b { font-size: 13.5px; color: #22302B; }
  .oprow .no { font-size: 10.5px; color: #8B948D; }
  .optag { font-size: 10px; border-radius: 6px; padding: 2px 7px; }
  .optag.w { color: #9A6A0B; background: #FBF3DF; border: 1px solid #EFDFAF; }
  .optag.b { color: #2B5A8A; background: #E7F0F9; border: 1px solid #C6DBEE; }
  .optag.o { color: #A54D12; background: #FCEDE0; border: 1px solid #F0D4B8; }
  .optag.g { color: #2A6E4F; background: #E6F4EC; border: 1px solid #C4E2CF; }
  .optag.r { color: #8A3B2B; background: #F9E9E5; border: 1px solid #EBCFC6; }
  .opmeta { font-size: 11.3px; color: #5E6B64; margin-top: 6px; line-height: 1.85; }
  .opmeta b { color: #22302B; font-weight: 600; }
  .opplan {
    font-size: 11.3px; color: #43514B; background: #F8FAF7; border: 1px solid #E5ECE4;
    border-radius: 8px; padding: 8px 11px; margin-top: 8px; line-height: 1.85;
  }
  .opplan .lb2 { font-weight: 600; color: #22302B; }
  .opacts { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
  .opempty { text-align: center; color: #8B948D; font-size: 12px; padding: 30px 0 22px; }
  /* 商务经理卡片 */
  .bzcard { border: 1px solid #E0E6E0; border-radius: 12px; padding: 13px 15px; margin-top: 10px; }
  .bzhd { display: flex; align-items: center; gap: 9px; }
  .bzav {
    width: 34px; height: 34px; border-radius: 50%; flex: none;
    background: linear-gradient(135deg, #3E8E6B, #2A6E4F); color: #fff;
    display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 600;
  }
  .bzhd .bi { flex: 1; min-width: 0; }
  .bzhd .bi b { font-size: 13.5px; color: #22302B; }
  .bzhd .bi span { font-size: 10.8px; color: #8B948D; margin-left: 7px; }
  .bzhd .bi .t2 { display: block; font-size: 10.8px; color: #5E6B64; margin-top: 2px; }
  .bzdone { font-size: 10.5px; color: #2A6E4F; background: #E6F4EC; border: 1px solid #C4E2CF; border-radius: 6px; padding: 2px 8px; }
  .bzleads { margin-top: 9px; display: flex; flex-direction: column; gap: 7px; }
  .bzlead { border: 1px dashed #D5DEd5; border-radius: 9px; padding: 9px 11px; font-size: 11.3px; color: #43514B; line-height: 1.8; background: #FBFDFB; }
  .bzlead b { color: #22302B; }
  .bzlead .r2 { display: flex; gap: 8px; margin-top: 6px; flex-wrap: wrap; }
  .bznone { font-size: 11px; color: #8B948D; padding: 8px 2px 2px; }
  .asign { display: inline-flex; gap: 6px; flex-wrap: wrap; }
  .asign .btn { padding: 0 12px; }
  .ni.lock { opacity: .38; }
  .ni.lock:hover { background: transparent; }
  /* 账号管理 */
  .acrow { border: 1px solid #E0E6E0; border-radius: 11px; padding: 11px 13px; margin-top: 9px; }
  .acrow .r1 { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
  .acrow .r1 b { font-size: 13px; color: #22302B; }
  .acrow .no { font-size: 10.5px; color: #8B948D; }
  .rtag { font-size: 10px; border-radius: 6px; padding: 2px 7px; }
  .rtag.sa { color: #6A3B8A; background: #F2E9F8; border: 1px solid #DCC7EA; }
  .rtag.ap { color: #A54D12; background: #FCEDE0; border: 1px solid #F0D4B8; }
  .rtag.bd { color: #2B5A8A; background: #E7F0F9; border: 1px solid #C6DBEE; }
  .rtag.cs { color: #4A5A54; background: #EEF2EE; border: 1px solid #DAE2DA; }
  .stg { font-size: 10px; border-radius: 6px; padding: 2px 7px; color: #2A6E4F; background: #E6F4EC; border: 1px solid #C4E2CF; }
  .stg.off { color: #8A3B2B; background: #F9E9E5; border: 1px solid #EBCFC6; }
  .acbf { margin-top: 14px; border-top: 1px dashed #D9E2D9; padding-top: 12px; display: none; }
  .acbf.on { display: block; }
  .acbf h5 { font-size: 12.5px; font-weight: 600; color: #22302B; margin-bottom: 8px; }
  .fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 10px; }
  .fgrid .fi label { display: block; font-size: 10.5px; color: #5E6B64; margin-bottom: 4px; }
  .fgrid .fi input, .fgrid .fi select {
    width: 100%; height: 34px; border: 1px solid #DCE4DC; border-radius: 8px;
    padding: 0 10px; font-size: 12px; color: #22302B; background: #fff; font-family: inherit;
  }
  .fgrid .fi input:focus, .fgrid .fi select:focus { outline: none; border-color: #3E8E6B; }
  .fgrid .fi.err input { border-color: #C9573F; background: #FDF6F4; }
  .fgrid .wide { grid-column: 1 / -1; }
  .acerr { margin-top: 8px; font-size: 11px; color: #A6402B; display: none; line-height: 1.8; }
  .acerr.on { display: block; }
  /* 角色权限矩阵 */
  .rmat { width: 100%; border-collapse: collapse; margin-top: 10px; font-size: 11.5px; }
  .rmat th, .rmat td { border: 1px solid #E4EAE4; padding: 7px 8px; text-align: center; }
  .rmat th { background: #F6F9F6; color: #43514B; font-weight: 600; font-size: 11px; }
  .rmat td:first-child, .rmat th:first-child { text-align: left; color: #22302B; }
  .rmat .ck { color: #2A6E4F; font-weight: 700; }
  .rmat .no2 { color: #C3CCC3; }
  .rolerow { border: 1px solid #E0E6E0; border-radius: 10px; padding: 10px 12px; margin-top: 9px; }
  .rolerow b { font-size: 12.5px; color: #22302B; }
  .rolerow span { font-size: 11px; color: #5E6B64; display: block; margin-top: 3px; line-height: 1.75; }

  /* 页内小灰标签：D106 起 09 / 10 / 02 页统一用 */
  .tg {
    display: inline-block; font-size: 10.5px; color: var(--mut);
    background: var(--cream); border: 1px solid var(--line);
    border-radius: 5px; padding: 1px 7px; line-height: 1.7;
  }

  /* ---------- D107 服务图标 ---------- */
  .ico { display: inline-block; vertical-align: -2px; flex: none; }

  /* 列表里的小图标方块：浅底 + 描边，颜色跟随服务状态 */
  .ico-sq {
    display: inline-flex; align-items: center; justify-content: center;
    width: 28px; height: 28px; border-radius: 8px; flex: none;
    background: var(--cream); border: 1px solid var(--line); color: #5B6B63;
  }
  .ico-sq.lg { width: 40px; height: 40px; border-radius: 11px; }
  .ico-sq.blue { background: #EAF3FB; border-color: #CFE2F3; color: #2E6FA8; }
  .ico-sq.red { background: #FDF0ED; border-color: #F3D6CE; color: #B0472F; }
  .ico-sq.amber { background: #FCF4E4; border-color: #EFDDBB; color: #8A6A2A; }
  .ico-sq.purple { background: #F3EEFA; border-color: #E0D4F2; color: #6B4C9A; }
  .ico-sq.teal { background: #E9F6F3; border-color: #CDE8E1; color: #12735F; }

  /* 图标选择器：网格 + 选中态（自绘，不用 radio 圆点） */
  .ipick { display: grid; grid-template-columns: repeat(auto-fill, minmax(58px, 1fr)); gap: 6px; }
  .ipick .ic {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
    padding: 7px 2px 5px; border: 1px solid var(--line); border-radius: 8px;
    background: #FFF; cursor: pointer; transition: border-color .12s, background .12s;
    font-size: 9.5px; color: var(--mut); line-height: 1.2; text-align: center;
  }
  .ipick .ic:hover { border-color: #C9D6CF; background: #FBFAF6; }
  .ipick .ic.on { border-color: var(--ok); background: #EAF6F3; color: #0F5B4C; font-weight: 600; }
  .ipick .ic.on .ico { color: #12735F; }
  .ipick .ic svg { pointer-events: none; }

  /* 右侧「小程序 / 中控台效果预览」里的服务卡 */
  .prev-card {
    display: flex; gap: 10px; align-items: flex-start;
    border: 1px solid var(--line); border-radius: 10px; padding: 11px 12px; background: #FFF;
  }
  .prev-card .pc-b { flex: 1; min-width: 0; }
  .prev-card .pc-nm { font-size: 13.5px; font-weight: 600; color: var(--ink); }
  .prev-card .pc-sub { font-size: 11px; color: var(--mut); margin-top: 3px; line-height: 1.6; }
  .prev-card .pc-p { font-size: 15px; font-weight: 700; color: #B0472F; margin-top: 6px; }
  .prev-card .pc-p small { font-size: 11px; font-weight: 500; color: var(--mut); }

  /* D110：小程序服务列表卡（同一份 HTML 骨架，换成小程序的蓝底 + 红价） */
  .prev-card.mpcard {
    border-color: #EAF0F8; border-radius: 12px; align-items: center;
    box-shadow: 0 1px 8px rgba(30, 60, 110, .05);
  }
  .prev-card.mpcard .ico-sq { width: 38px; height: 38px; border-radius: 11px; background: #E8F1FD; border-color: #D8E6FA; color: #1E6BD6; }
  .prev-card.mpcard .pc-nm { font-size: 12.5px; color: #1B2530; }
  .prev-card.mpcard .pc-sub { font-size: 10px; color: #8A97A8; margin-top: 3px; }
  .prev-card.mpcard .pc-p { font-size: 13px; color: #D2482E; margin-top: 0; white-space: nowrap; }
  .prev-card.mpcard .pc-p small { font-size: 9.5px; color: #8A97A8; }

  /* ---------- D107 表单通用件（11 页 / 11a / 11b 共用） ---------- */
  .nin {
    width: 100%; border: 1px solid var(--line); border-radius: 8px; padding: 7px 9px;
    font-family: inherit; font-size: 12px; background: #fff; color: var(--ink);
  }
  .nin:focus { outline: none; border-color: var(--act); }
  select.nin { cursor: pointer; }
  /* 规格档一行：档位名 + 客户价 + 结算价 + 下限 + 上限 + 删 */
  .nspec {
    display: grid; grid-template-columns: 1fr 96px 96px 96px 96px 50px; gap: 7px;
    margin-top: 6px; align-items: center;
  }
  .nspec .btn { padding: 6px 0; }
  .spec-hd {
    display: grid; grid-template-columns: 1fr 96px 96px 96px 96px 50px; gap: 7px;
    font-size: 10px; color: var(--mut); margin-top: 4px;
  }

  /* ---------- D108 详情页内容编辑（11a / 11b 共用） ---------- */
  /* 表单里的大分节：基础信息 / 小程序详情页内容 */
  .fsec {
    display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
    margin: 20px 0 4px; padding: 14px 0 8px; border-top: 1px solid var(--line);
  }
  .fsec b { font-size: 13px; color: var(--ink); }
  .fsec .sub { font-size: 11px; color: var(--mut); }
  .fsec .sp { flex: 1; }

  /* 每段的说明条（段名 + 一句话口径 + 右侧加行按钮） */
  .dt-hd {
    display: flex; align-items: center; gap: 8px; font-size: 11px; color: var(--mut);
    line-height: 1.65; margin-bottom: 7px;
  }

  /* 服务内容一行：自动序号 + 文本 + 删 */
  .dline {
    display: grid; grid-template-columns: 26px 1fr 42px; gap: 7px;
    align-items: center; margin-bottom: 6px;
  }
  .dline .dn {
    width: 26px; height: 26px; border-radius: 50%; background: #EEF3EE; color: #4A5A54;
    font-size: 11px; font-weight: 700; display: flex; align-items: center; justify-content: center;
  }
  .dline .btn { padding: 6px 0; }
  /* 服务说明一行：1 字标签 + 文本 + 删 */
  .dline.inf { grid-template-columns: 44px 1fr 42px; }
  .dline.inf .nin { text-align: center; padding: 7px 4px; }
  /* 服务保障一行：只改文案，固定三格 */
  .dline.saf { grid-template-columns: 104px 1fr; }
  .dline.saf .nn { font-size: 11.5px; color: var(--ink2); padding-left: 2px; }

  /* 亮点标签 chip 预览 */
  .tagprev { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 7px; }
  .tagprev span {
    font-size: 10.5px; color: #4A5A54; background: #F1F5F1; border: 1px solid #E3EAE3;
    border-radius: 20px; padding: 2px 9px;
  }
  .tagprev .none { color: var(--mut); background: none; border: 0; padding-left: 0; }

  /* ---------- 小程序详情页预览（D110 高保真：真机壳 + 小程序默认蓝 + 段序 1:1） ----------
     尺码按小程序 390×826 等比压到 344 宽，字号和间距都是按比例缩的，
     不是「意思一下」的示意图 —— 左边改一个字，这里就是用户手机上看到的样子。 */
  .dphone {
    width: 100%; max-width: 344px; margin: 0 auto;
    background: #F4F7FB; border: 8px solid #1B2530; border-radius: 30px;
    overflow: hidden; box-shadow: 0 10px 26px rgba(20, 40, 80, .16);
    font-family: -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
  }
  .dp-status {
    height: 29px; background: #2B7BE4; color: #fff; display: flex; align-items: center;
    justify-content: space-between; padding: 0 13px; font-size: 10.5px; font-weight: 600;
  }
  .dp-status .dp-r { display: flex; align-items: center; gap: 4px; }
  .dp-status .dp-r i { display: block; background: rgba(255, 255, 255, .92); border-radius: 1px; }
  .dp-status .dp-sg { width: 12px; height: 7px; clip-path: polygon(0 100%, 100% 0, 100% 100%); }
  .dp-status .dp-wf { width: 9px; height: 7px; border-radius: 50% 50% 0 0; }
  .dp-status .dp-bt { width: 15px; height: 7px; background: transparent !important; border: 1px solid rgba(255, 255, 255, .92); border-radius: 2px; position: relative; }
  .dp-status .dp-bt::after { content: ""; position: absolute; inset: 1px; left: 1px; right: 4px; background: rgba(255, 255, 255, .92); border-radius: 1px; }

  .dp-scr { height: 486px; overflow-y: auto; overflow-x: hidden; position: relative; scroll-behavior: smooth; }
  .dp-scr::-webkit-scrollbar { width: 3px; }
  .dp-scr::-webkit-scrollbar-thumb { background: #D8E2EF; border-radius: 2px; }

  .dp-hero { position: relative; height: 152px; background: linear-gradient(150deg, #2B7BE4, #12408F 78%); overflow: hidden; }
  .dp-wm { position: absolute; right: 8px; bottom: 2px; font-size: 54px; font-weight: 700; color: rgba(255, 255, 255, .14); line-height: 1; letter-spacing: 3px; white-space: nowrap; }
  .dp-nav { position: relative; z-index: 2; display: flex; align-items: center; height: 32px; padding: 0 10px; color: #fff; }
  .dp-back {
    width: 21px; height: 21px; border-radius: 50%; background: rgba(255, 255, 255, .94); color: #12408F;
    display: flex; align-items: center; justify-content: center; font-size: 14px; line-height: 1; padding-bottom: 2px;
  }
  .dp-share { margin-left: auto; font-size: 9.5px; padding: 3px 8px; border-radius: 9px; background: rgba(255, 255, 255, .22); }
  .dp-hic { position: absolute; left: 12px; top: 54px; color: #fff; }
  .dp-hfig { position: absolute; left: 12px; right: 12px; top: 84px; color: #fff; }
  .dp-hfig .h1 { font-size: 16px; font-weight: 600; letter-spacing: .4px; line-height: 1.3; }
  .dp-hfig .h2 { font-size: 9.5px; opacity: .86; margin-top: 5px; line-height: 1.5; }

  .dp-price {
    background: #fff; border-radius: 13px; margin: -16px 11px 0; padding: 11px 12px;
    position: relative; z-index: 3; box-shadow: 0 3px 12px rgba(30, 60, 110, .08);
  }
  .dp-price .pt { font-size: 12.5px; font-weight: 600; color: #1B2530; }
  .dp-price .ps { font-size: 9.5px; color: #8A97A8; margin-top: 4px; line-height: 1.55; }
  .dp-price .pr { display: flex; align-items: baseline; margin-top: 8px; color: #D2482E; }
  .dp-price .pr .c { font-size: 10px; }
  .dp-price .pr b { font-size: 21px; font-weight: 600; line-height: 1; font-variant-numeric: tabular-nums; }
  .dp-price .pr .u { font-size: 9.5px; color: #8A97A8; margin-left: 4px; }
  .dp-score {
    display: flex; align-items: center; gap: 4px; margin-top: 9px; padding-top: 8px;
    border-top: 1px dashed #EDF0F5; font-size: 9px; color: #8A97A8;
  }
  .dp-score .sv { color: #E8A33D; font-size: 11.5px; font-weight: 600; }
  .dp-score .sv.new { color: #1E6BD6; background: #E8F1FD; border-radius: 6px; padding: 1px 6px; font-size: 8.5px; font-weight: 600; }
  .dp-score .st { color: #E8A33D; letter-spacing: .5px; font-size: 8px; }
  .dp-score .sp { margin-left: auto; }

  .dp-tags { display: flex; flex-wrap: wrap; gap: 4px; margin: 8px 12px 0; }
  .dp-tags span { font-size: 8.5px; color: #1E6BD6; background: #E8F1FD; border-radius: 5px; padding: 2px 6px; }

  .dp-card { background: #fff; border-radius: 12px; margin: 8px 11px 0; padding: 11px 12px; box-shadow: 0 1px 8px rgba(30, 60, 110, .05); }
  .dp-ch { display: flex; align-items: center; gap: 6px; margin-bottom: 8px; }
  .dp-ch .t { font-size: 11.5px; font-weight: 600; color: #1B2530; }
  .dp-ch .x { margin-left: auto; font-size: 8px; color: #A9B4C2; }
  .dp-i { display: flex; gap: 7px; font-size: 10px; color: #4A5C72; line-height: 1.6; margin-bottom: 4px; }
  .dp-i i {
    flex: none; width: 15px; height: 15px; border-radius: 50%; background: #E8F1FD; color: #1E6BD6;
    font-style: normal; font-size: 8px; line-height: 15px; text-align: center; margin-top: 1px;
  }
  .dp-i.empty { color: #C0563F; }
  .dp-i.empty i { background: #FCEDE8; color: #BE3A26; }
  .dp-i .dim { color: #8A97A8; }
  .dp-safe { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; }
  .dp-safe .sf { background: #F4F7FB; border-radius: 8px; padding: 7px 3px; text-align: center; }
  .dp-safe .sf svg { width: 14px; height: 14px; stroke: #7A93B8; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
  .dp-safe .sf .t { font-size: 8.5px; font-weight: 600; color: #3D4A5C; margin-top: 3px; }
  .dp-safe .sf .s { font-size: 7.5px; color: #A9B4C2; margin-top: 1px; }
  .dp-rule { font-size: 9.5px; color: #5A6B80; line-height: 1.75; margin-bottom: 3px; }
  .dp-rule.empty { color: #C0563F; }

  .dp-bar {
    position: sticky; bottom: 0; display: flex; align-items: center; gap: 8px;
    background: #fff; margin-top: 10px; padding: 8px 10px; border-top: 1px solid #EEF2F7;
  }
  .dp-bar .bic { width: 34px; text-align: center; font-size: 8px; color: #8A97A8; }
  .dp-bar .bgo {
    flex: 1; text-align: center; padding: 9px; border-radius: 10px; color: #fff;
    font-size: 12px; font-weight: 600; background: linear-gradient(135deg, #2B7BE4, #12408F);
  }
  .dp-bar .bgo.free { background: linear-gradient(135deg, #0F7B5C, #07533C); }
  .dp-home { height: 15px; background: #fff; display: flex; align-items: center; justify-content: center; }
  .dp-home i { width: 92px; height: 4px; border-radius: 2px; background: #D6E7FA; }

  /* 左右联动：滚到 / 点到某一项，右侧这一块亮起来，颜色与左侧行一致 */
  .dphone [data-fld] { transition: box-shadow .16s, background .16s; }
  .dphone .dp-hl { box-shadow: 0 0 0 2px #2B7BE4, 0 4px 14px rgba(43, 123, 228, .22); }
  .dphone .dp-hero.dp-hl { box-shadow: inset 0 0 0 2px #fff, inset 0 0 0 3px #2B7BE4; }

  /* 右侧栏粘住：左边表单拉到哪，手机壳都还在视野里 */
  .pvstick { position: sticky; top: 10px; }

  /* ---------- D111：小程序详情页浮层 ----------
     原来贴在右栏里，页面一往下翻手机就跟着滚出视野（右栏比表单短，sticky 的行程走完就没了）。
     现在改成 fixed 浮层：左栏填多久都能看见效果；标题条可拖、可收起、可关掉，位置与状态记在 localStorage。 */
  .pfloat {
    position: fixed; right: 18px; top: 72px; z-index: 70; width: 386px;
    max-height: calc(100vh - 90px);
    background: #fff; border: 1px solid #DCE6F2; border-radius: 15px;
    box-shadow: 0 18px 48px rgba(20, 45, 90, .18), 0 2px 8px rgba(20, 45, 90, .07);
    display: flex; flex-direction: column; overflow: hidden;
    transition: width .16s, box-shadow .16s;
  }
  .pfloat.dragging { box-shadow: 0 26px 62px rgba(20, 45, 90, .28); }
  .pfloat.min { width: 246px; }
  .pfloat.min .pf-bd { display: none; }
  .pf-hd {
    display: flex; align-items: center; gap: 7px; padding: 8px 9px 8px 11px;
    cursor: move; user-select: none;
    background: linear-gradient(180deg, #F6FAFF, #ECF3FD); border-bottom: 1px solid #E1EBF7;
  }
  .pfloat.min .pf-hd { border-bottom: 0; }
  .pf-hd b { font-size: 12px; font-weight: 600; color: #14315C; white-space: nowrap; }
  .pf-dot { flex: none; width: 7px; height: 7px; border-radius: 50%; background: #2B7BE4; box-shadow: 0 0 0 3px rgba(43, 123, 228, .15); }
  .pf-sync { display: flex; align-items: center; gap: 4px; font-size: 10.5px; color: #5A6B80; cursor: pointer; white-space: nowrap; }
  .pf-sync input { width: 12px; height: 12px; accent-color: #2B7BE4; }
  .pf-btn {
    flex: none; min-width: 20px; padding: 1px 6px; border-radius: 6px; cursor: pointer;
    border: 1px solid #D5E2F3; background: #fff; color: #2C4A72;
    font-size: 11.5px; line-height: 1.55; font-family: inherit;
  }
  .pf-btn:hover { background: #E9F2FD; border-color: #B7D0EF; color: #12408F; }
  .pf-bd { padding: 9px 9px 5px; overflow: hidden; }
  .pfloat .dphone { margin: 0 auto; }
  .pfloat .dp-scr { height: calc(100vh - 228px); min-height: 300px; max-height: 520px; }
  .pf-fab {
    position: fixed; right: 18px; bottom: 22px; z-index: 70; display: none;
    align-items: center; gap: 6px; padding: 8px 14px 8px 10px;
    border: 1px solid #D5E2F3; border-radius: 22px; background: #fff; cursor: pointer;
    color: #14315C; font-size: 12px; font-family: inherit;
    box-shadow: 0 8px 22px rgba(20, 45, 90, .18);
  }
  .pf-fab:hover { border-color: #B7D0EF; background: #F4F9FF; }
  .pf-fab svg { width: 15px; height: 15px; stroke: #2B7BE4; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
  @media (max-width: 1180px) {
    .pfloat { width: 358px; }
    .pfloat .dp-scr { height: calc(100vh - 240px); }
  }
  .pvnote { font-size: 10.5px; color: var(--mut); line-height: 1.7; margin-top: 8px; }
  .pvnote b { color: var(--ink2); }
  /* 左侧被联动到的那一行 */
  .frow { border-radius: 8px; transition: background .15s; }
  .frow.fldon { background: #F2F7FE; box-shadow: inset 3px 0 0 #2B7BE4; padding-left: 8px; padding-right: 8px; margin: 0 -8px; }
  .frow.fldon .flab { color: #1E6BD6; }

  /* ---------- D109 图标下拉（替掉原来 28 格平铺，省一大块地方） ---------- */
  .icsel { display: flex; align-items: center; gap: 9px; }
  .icsel-pv {
    flex: none; width: 40px; height: 40px; border-radius: 10px;
    border: 1px solid var(--line); background: #F3F7F3; color: #2E6B58;
    display: flex; align-items: center; justify-content: center;
    transition: background .12s, border-color .12s;
  }
  .icsel-pv.auto { background: #FBFAF6; color: #8B948D; border-style: dashed; }
  .icsel-pv.up { background: #fff; border-color: #BFD8F6; }
  .icsel-pv img { width: 100%; height: 100%; object-fit: contain; padding: 3px; }
  .icsel-sel { flex: 1; min-width: 0; }

  /* ---------- D110 图标上传（能选内置，也能传自己的图） ---------- */
  .upline { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
  .upfile {
    display: flex; align-items: center; gap: 7px; font-size: 11px; color: var(--ink2);
    background: #F5F9FD; border: 1px solid #DDE9F8; border-radius: 8px; padding: 4px 9px;
  }
  .upfile img { width: 20px; height: 20px; border-radius: 5px; background: #fff; border: 1px solid var(--line); object-fit: contain; }
  .upfile .sz { color: var(--mut); font-size: 10.5px; }
  .uphint { font-size: 10.5px; color: var(--mut); line-height: 1.75; margin-top: 6px; }
  .uphint b { color: var(--ink2); }
  .uphint .bad { color: var(--dan); }
  /* 图标小方块的统一出口：内置 SVG 与上传图占同样位置 */
  .ico-up { display: block; }

  /* ---------- D109 区间输入（客户价 / 结算价都是「下限 — 上限」） ---------- */
  .rngin { display: flex; align-items: center; gap: 7px; }
  .rngin input { flex: 1; min-width: 0; }
  .rngin .dash { flex: none; color: #8B948D; font-size: 12px; }
  .rngin .u { flex: none; font-size: 11px; color: var(--mut); }
  /* 区间自动算出来的差价条 */
  .difbar {
    display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
    margin-top: 7px; padding: 7px 10px; border-radius: 8px;
    background: #F7F9F6; border: 1px solid #E6EDE6; font-size: 11.5px; color: #4A5A54;
  }
  .difbar b { color: #12896A; }
  .difbar.warn { background: #FDF6EC; border-color: #F0E0C6; }
  .difbar.warn b { color: #B0472F; }
