/* order-mgmt.css —— 原 HTML 行 3097-3545 + 4343-4997 */

/* ── 导出订单弹窗 (原 3097-3545) ── */
  /* ─── 导出订单弹窗 ─── */
  .modal.export-modal{ width:600px; }
  .export-modal-toolbar{
    display:flex;align-items:center;justify-content:space-between;
    padding:10px 14px;background:var(--bg-2);border-radius:8px;
    margin-bottom:12px;font-size:13px;
  }
  .export-toolbar-left{display:flex;align-items:center;gap:10px;color:var(--text-2)}
  .export-select-all{
    display:flex;align-items:center;gap:6px;cursor:pointer;
    color:var(--text);font-weight:500;user-select:none;
  }
  .export-select-all input{cursor:pointer;accent-color:var(--primary)}
  .export-count{color:var(--text-3);font-size:12.5px}
  .export-count b{color:var(--primary);font-weight:600;font-feature-settings:"tnum"}
  .export-field-grid{
    display:grid;grid-template-columns:repeat(3, 1fr);gap:6px 12px;
    max-height:340px;overflow-y:auto;
    border:1px solid var(--border);border-radius:8px;padding:12px 14px;
  }
  .export-field-item{
    display:flex;align-items:center;gap:7px;
    padding:5px 6px;border-radius:5px;cursor:pointer;
    font-size:13px;color:var(--text);
    transition:background .12s;user-select:none;
  }
  .export-field-item:hover{background:var(--bg-2)}
  .export-field-item input{cursor:pointer;accent-color:var(--primary);flex-shrink:0}
  .export-field-item span{
    white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
  }
  .export-field-item.locked{color:var(--text-3);cursor:not-allowed}
  .export-field-item.locked input{cursor:not-allowed}
  .modal-footer{
    display:flex;justify-content:flex-end;gap:8px;
    padding:14px 22px 18px;border-top:1px solid var(--border);
    margin-top:4px;
  }
  .modal-btn{
    height:32px;padding:0 16px;border-radius:6px;
    font-size:13px;cursor:pointer;transition:all .15s;
    border:1px solid var(--border);background:var(--panel);color:var(--text);
  }
  .modal-btn:hover{background:var(--bg-2)}
  .modal-btn.primary{
    background:var(--primary);border-color:var(--primary);color:#fff;
  }
  .modal-btn.primary:hover{filter:brightness(1.06)}

  .owner-list{
    display:flex;flex-direction:column;gap:8px;margin-bottom:12px;
  }
  .owner-item{
    display:flex;align-items:center;gap:10px;
    background:var(--bg-2);border:1px solid transparent;
    border-radius:7px;padding:10px 12px;
    transition:all .15s;
  }
  .owner-item:hover{border-color:var(--line-mid);background:var(--panel)}
  .owner-item.is-left{opacity:.65}
  .owner-item.unassigned{
    background:var(--bg-3);border-style:dashed;border-color:var(--line-mid);
  }

  .owner-color-picker{
    width:22px;height:22px;border-radius:5px;flex:none;
    cursor:pointer;border:2px solid transparent;
    transition:all .15s;
    box-shadow:0 0 0 1px var(--line-mid) inset;
    position:relative;
  }
  .owner-color-picker:hover{border-color:rgba(0,0,0,0.1)}
  .owner-color-picker.unassigned-fixed{cursor:default;pointer-events:none}

  /* 颜色调色板下拉 */
  .color-palette-pop{
    position:absolute;top:calc(100% + 6px);left:0;z-index:10;
    background:var(--panel);border:1px solid var(--line-mid);border-radius:6px;
    box-shadow:0 4px 12px rgba(31,35,41,0.1);
    padding:8px;display:none;
    grid-template-columns:repeat(6, 22px);gap:6px;
  }
  .color-palette-pop.open{display:grid}
  .color-palette-pop .swatch{
    width:22px;height:22px;border-radius:5px;cursor:pointer;
    border:2px solid transparent;
    transition:transform .12s;
  }
  .color-palette-pop .swatch:hover{transform:scale(1.12)}
  .color-palette-pop .swatch.selected{border-color:var(--text)}

  .owner-name-input{
    flex:1;background:var(--panel);border:1px solid transparent;
    padding:5px 8px;border-radius:5px;
    font-family:inherit;font-size:13px;color:var(--text);
    outline:none;transition:all .15s;min-width:0;
  }
  .owner-name-input:hover{border-color:var(--line-mid)}
  .owner-name-input:focus{border-color:var(--primary);background:var(--panel)}
  .owner-item.unassigned .owner-name-input{
    color:var(--text-3);cursor:default;pointer-events:none;background:transparent;
  }

  /* 状态切换 */
  .owner-status-toggle{
    display:flex;gap:0;background:var(--panel);
    border:1px solid var(--line-mid);border-radius:5px;
    overflow:hidden;flex:none;
  }
  .owner-status-toggle button{
    background:transparent;border:none;cursor:pointer;
    padding:4px 10px;font-family:inherit;font-size:12px;
    color:var(--text-3);transition:all .15s;
    border-right:1px solid var(--line);
  }
  .owner-status-toggle button:last-child{border-right:none}
  .owner-status-toggle button.active{
    background:var(--primary-soft);color:var(--primary);font-weight:500;
  }
  .owner-status-toggle button.active[data-status="left"]{
    background:var(--up-soft);color:var(--up);
  }

  .owner-acct-count{
    font-size:11.5px;color:var(--text-3);flex:none;
    padding:0 4px;font-family:"Inter";
  }
  .owner-acct-count b{color:var(--text);font-weight:500}

  .owner-del-btn{
    background:transparent;border:none;cursor:pointer;
    color:var(--text-4);padding:4px;border-radius:4px;flex:none;
    display:flex;align-items:center;justify-content:center;
    transition:all .15s;
  }
  .owner-del-btn:hover{background:var(--up-soft);color:var(--up)}
  .owner-del-btn:disabled{opacity:.3;cursor:not-allowed}
  .owner-del-btn:disabled:hover{background:transparent;color:var(--text-4)}

  .owner-add-btn{
    display:flex;align-items:center;justify-content:center;gap:6px;
    background:var(--primary-soft);color:var(--primary);
    border:1px dashed var(--primary);border-radius:6px;
    padding:9px 12px;width:100%;cursor:pointer;
    font-family:inherit;font-size:13px;font-weight:500;
    transition:all .15s;
  }
  .owner-add-btn:hover{background:var(--primary);color:#fff;border-style:solid}

  .acct-table-card{
    background:var(--panel);border:1px solid var(--line);border-radius:var(--radius);
    overflow:hidden;
  }

  /* 表格上方工具栏 */
  .acct-table-toolbar{
    display:flex;justify-content:space-between;align-items:center;gap:12px;
    padding:10px 14px;border-bottom:1px solid var(--line);
    background:var(--panel);
  }
  .acct-table-info{
    font-size:13px;color:var(--text-3);font-weight:400;
  }
  .acct-table-info #acct-result-count{
    color:var(--text);font-weight:500;font-family:"Inter";
  }
  .acct-active-sort{color:var(--primary);font-weight:500}
  .acct-divider{margin:0 4px;color:var(--text-4)}

  .acct-table-tools{position:relative;display:flex;align-items:center;gap:8px}
  .col-toggle-btn{
    display:inline-flex;align-items:center;gap:6px;
    background:var(--panel);color:var(--text-2);
    border:1px solid var(--line-mid);
    padding:5px 10px;border-radius:5px;cursor:pointer;
    font-family:inherit;font-size:12.5px;font-weight:400;
    transition:all .15s;
  }
  .col-toggle-btn:hover{border-color:var(--primary);color:var(--primary)}
  .col-toggle-btn svg{color:var(--text-3);transition:color .15s}
  .col-toggle-btn:hover svg{color:var(--primary)}
  .col-toggle-btn .col-count-badge{
    font-family:"Inter";font-size:10.5px;font-weight:500;
    background:var(--bg-3);color:var(--text-3);
    padding:1px 6px;border-radius:8px;line-height:1.4;
  }
  .col-toggle-btn:hover .col-count-badge{
    background:var(--primary-soft);color:var(--primary);
  }

  .col-toggle-pop{
    position:absolute;top:calc(100% + 6px);right:0;z-index:30;
    background:var(--panel);border:1px solid var(--line-mid);border-radius:var(--radius);
    box-shadow:0 4px 12px rgba(31,35,41,0.08), 0 12px 24px rgba(31,35,41,0.06);
    min-width:220px;
    display:none;
  }
  .col-toggle-pop.open{display:block}
  .col-toggle-pop .filter-pop-list{padding:4px 0;max-height:320px}
  .col-toggle-pop .filter-pop-item .check-box{margin-right:0}
  .col-toggle-pop .filter-pop-item .locked-icon{
    margin-left:auto;color:var(--text-4);
  }
  .col-toggle-pop .filter-pop-item.locked{
    cursor:not-allowed;color:var(--text-3);
  }
  .col-toggle-pop .filter-pop-item.locked:hover{background:transparent}
  .col-toggle-tip{
    padding:8px 14px 10px;border-top:1px solid var(--line-soft);
    font-size:11.5px;color:var(--text-4);
    display:flex;align-items:center;gap:6px;
  }
  .col-toggle-tip svg{flex:none;opacity:.7}
  .acct-table-wrap{overflow-x:auto}
  .acct-table{
    width:100%;border-collapse:separate;border-spacing:0;
    font-size:13px;min-width:1700px;table-layout:fixed;
  }
  .acct-table thead th{
    background:var(--bg-2);font-weight:400;font-size:12.5px;
    color:var(--text-3);text-align:center;
    padding:11px 12px;border-bottom:1px solid var(--line);
    white-space:nowrap;
  }
  .acct-table thead th.col-action{width:48px;min-width:48px}
  .acct-table tbody td{
    padding:11px 12px;font-size:13px;color:var(--text);
    border-bottom:1px solid var(--line-soft);
    text-align:center;
    transition:background .12s;
  }
  /* 昵称列与备注列保持左对齐 */
  .acct-table tbody td.col-nick,
  .acct-table tbody td.col-note{text-align:left}
  .acct-table tbody tr:hover td{background:var(--bg-2)}
  .acct-table tbody tr:last-child td{border-bottom:none}
  .acct-table .uid-cell{
    font-family:"Inter",sans-serif;font-size:12.5px;color:var(--text-3);
    font-weight:400;letter-spacing:-0.005em;
  }
  .acct-table .uid-cell.empty{color:var(--text-4)}
  .acct-table .nick-cell{
    color:var(--text);font-weight:500;cursor:pointer;
    transition:color .15s;
    display:inline-flex;align-items:center;gap:6px;
  }
  .acct-table .nick-cell:hover{color:var(--primary)}
  .acct-table .nick-cell .hist-badge{
    font-family:"Inter";font-size:10px;font-weight:500;
    color:var(--text-3);background:var(--bg-3);
    padding:1px 5px;border-radius:3px;
  }
  .acct-table .nick-cell:hover .hist-badge{background:var(--primary-soft);color:var(--primary)}

  /* 列隐藏控制 — 通过 .hide-col-xxx 同时隐藏 th 和 td */
  .acct-table.hide-col-fans .col-fans{display:none}
  .acct-table.hide-col-search .col-search{display:none}
  .acct-table.hide-col-realname .col-realname{display:none}
  .acct-table.hide-col-phone .col-phone{display:none}
  .acct-table.hide-col-imei .col-imei{display:none}
  .acct-table.hide-col-price .col-price{display:none}
  .acct-table.hide-col-guild .col-guild{display:none}
  .acct-table.hide-col-contract .col-contract{display:none}
  .acct-table.hide-col-id-photo .col-id-photo{display:none}
  .acct-table.hide-col-buy-date .col-buy-date{display:none}
  .acct-table.hide-col-note .col-note{display:none}

  /* 状态 pill */
  .acct-table .col-seq{width:60px;min-width:50px}
  .acct-table .col-status{width:80px;min-width:60px}
  .acct-table .col-uid{width:120px;min-width:80px}
  .acct-table .col-nick{width:160px;min-width:100px}
  .acct-table .col-fans{width:90px;min-width:60px}
  .acct-table .col-search{width:70px;min-width:50px}
  .acct-table .col-owner{width:110px;min-width:70px}
  .acct-table .status-pill{
    display:inline-flex;align-items:center;gap:5px;
    padding:3px 9px;border-radius:99px;
    font-size:12px;font-weight:500;
    line-height:1.5;white-space:nowrap;cursor:default;
  }
  .acct-table .status-pill .status-dot{
    width:5px;height:5px;border-radius:50%;
    background:currentColor;
    box-shadow:0 0 0 3px rgba(245,63,63,0.15);
    animation:pulse 1.8s ease-in-out infinite;
  }
  @keyframes pulse{
    0%, 100%{box-shadow:0 0 0 0 rgba(245,63,63,0.4)}
    50%{box-shadow:0 0 0 4px rgba(245,63,63,0)}
  }

  /* 顶部状态筛选 tabs */
  .acct-status-filter{
    display:flex;gap:0;background:var(--panel);
    border:1px solid var(--line-mid);border-radius:var(--radius-sm);
    overflow:hidden;
  }
  .acct-status-filter button{
    background:transparent;border:none;border-right:1px solid var(--line);
    color:var(--text-2);font-size:13px;font-weight:400;
    padding:7px 12px;cursor:pointer;font-family:inherit;
    transition:all .15s;white-space:nowrap;
    display:inline-flex;align-items:center;gap:6px;
  }
  .acct-status-filter button:last-child{border-right:none}
  .acct-status-filter button:hover:not(.active){background:var(--bg-2);color:var(--text)}
  .acct-status-filter button.active{background:var(--primary-soft);color:var(--primary);font-weight:500}
  .acct-status-filter button .st-dot{
    width:6px;height:6px;border-radius:50%;
  }

  /* 可排序列头 */
  .acct-table .col-sortable{
    cursor:pointer;user-select:none;
    transition:color .12s;
  }
  .acct-table .col-sortable:hover{color:var(--text)}
  .acct-table .col-sortable .sort-icon{
    display:inline-block;margin-left:4px;color:var(--text-4);
    transition:all .15s;
  }
  .acct-table .col-sortable .sort-icon.inactive{opacity:.5}
  .acct-table .col-sortable .sort-icon.asc{
    color:var(--primary);transform:rotate(180deg);
  }
  .acct-table .col-sortable .sort-icon.desc{
    color:var(--primary);
  }
  .acct-table .col-sortable:has(.sort-icon.asc),
  .acct-table .col-sortable:has(.sort-icon.desc){
    color:var(--primary);
  }

  /* 新列宽度（默认值，可通过拖拽自定义） */
  .acct-table .col-realname{width:80px;min-width:60px}
  .acct-table .col-phone{width:110px;min-width:80px}
  .acct-table .col-imei{width:160px;min-width:100px}
  .acct-table .col-price{width:90px;min-width:60px}
  .acct-table .col-guild{width:110px;min-width:70px}
  .acct-table .col-contract{width:130px;min-width:80px}
  .acct-table .col-id-photo{width:80px;min-width:60px}
  .acct-table .col-note{width:140px;min-width:80px}
  .acct-table .col-buy-date{width:110px;min-width:90px}

  /* 列宽拖拽手柄（默认显示短竖线） */
  .acct-table thead th{position:relative;}
  .acct-table thead th .col-resizer{
    position:absolute;top:0;right:0;width:8px;height:100%;
    cursor:col-resize;user-select:none;z-index:5;
    display:flex;align-items:center;justify-content:flex-end;
  }
  .acct-table thead th .col-resizer::after{
    content:'';width:1px;height:50%;
    background:var(--text-4);
    margin-right:1px;border-radius:1px;
    transition:background .15s, width .15s, height .15s;
  }
  .acct-table thead th .col-resizer:hover::after{
    background:var(--primary);width:2px;height:65%;
  }
  .acct-table thead th .col-resizer.resizing::after{
    background:var(--primary);width:2px;height:80%;
  }
  .acct-table.is-resizing{cursor:col-resize;user-select:none;}
  .acct-table.is-resizing thead th{user-select:none;}
  /* 拖拽过程中允许列内容裁剪而非撑开列 */
  .acct-table td .text-cell,
  .acct-table td .phone-cell,
  .acct-table td .imei-cell,
  .acct-table td .contract-cell,
  .acct-table td .uid-cell{
    overflow:hidden;text-overflow:ellipsis;display:inline-block;
    max-width:100%;vertical-align:middle;
  }
  .acct-table td{overflow:hidden;}
  .acct-table td .text-cell,
  .acct-table td .phone-cell,
  .acct-table td .imei-cell,
  .acct-table td .contract-cell{
    font-family:"Inter",inherit;font-size:12.5px;color:var(--text-2);
    white-space:nowrap;
  }
  .acct-table td .imei-cell{font-size:12px;color:var(--text-3)}
  .acct-table td em{font-style:normal;color:var(--text-4)}
  .acct-table td .seq-cell{
    font-family:"Inter";font-size:12.5px;color:var(--text-3);font-weight:500;
  }
  .acct-table td .buy-date-cell{
    font-family:"Inter";font-size:12.5px;color:var(--text-2);
    white-space:nowrap;
  }
  .acct-table td .price-cell{
    font-family:"Inter";font-size:12.5px;color:var(--text);font-weight:500;
  }
  .acct-table td .guild-tag{
    display:inline-block;font-size:12px;font-weight:400;
    background:rgba(114,46,209,0.08);color:#722ed1;
    padding:2px 8px;border-radius:99px;white-space:nowrap;
    max-width:100px;overflow:hidden;text-overflow:ellipsis;vertical-align:middle;
  }
  .acct-table td .no-guild{font-size:12px;color:var(--text-4)}
  .acct-table td .note-cell{
    color:var(--text-2);font-size:12.5px;
    display:inline-block;max-width:180px;
    overflow:hidden;text-overflow:ellipsis;white-space:nowrap;vertical-align:middle;
  }
  /* 身份证照片缩略迷你点 */
  .acct-table td .id-photos-mini{
    display:inline-flex;align-items:center;gap:5px;
  }
  .acct-table td .id-mini{
    width:14px;height:9px;border-radius:2px;
    border:1.5px solid var(--text-4);background:var(--bg-3);
  }
  .acct-table td .id-mini.has{
    border-color:#00b42a;background:rgba(0,180,42,0.15);
  }
  .acct-table td .id-mini.previewable{
    cursor: zoom-in;
    position: relative;
  }
  .acct-id-photo-preview{
    position: fixed;
    z-index: 20000;
    width: 224px;
    pointer-events: none;
    opacity: 0;
    transform: translateY(4px) scale(.98);
    transition: opacity .12s ease, transform .12s ease;
  }
  .acct-id-photo-preview.show{
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  .acct-id-photo-preview-card{
    overflow: hidden;
    border: 1px solid rgba(226,232,240,.95);
    border-radius: 12px;
    background: rgba(255,255,255,.98);
    box-shadow: 0 16px 40px rgba(15,23,42,.18);
  }
  .acct-id-photo-preview img{
    display: block;
    width: 224px;
    height: 136px;
    object-fit: cover;
    background: #f8fafc;
  }
  .acct-id-photo-preview-label{
    height: 32px;
    padding: 0 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-top: 1px solid #edf0f5;
    color: #4e5969;
    font-size: 12px;
    font-weight: 500;
  }
  .acct-table .fans-cell{
    font-family:"Inter";font-size:12.5px;font-weight:500;color:var(--text-2);
  }
  .acct-table .search-cell .pill{
    display:inline-flex;align-items:center;justify-content:center;
    width:22px;height:22px;border-radius:50%;
    line-height:1;
  }
  .acct-table .search-cell .pill svg{
    width:12px;height:12px;display:block;
  }
  .acct-table .search-cell.yes .pill{background:var(--down-soft);color:var(--down)}
  .acct-table .search-cell.no .pill{background:var(--up-soft);color:var(--up)}
  .acct-table .owner-cell{display:inline-flex;align-items:center;gap:8px}
  .acct-table .owner-cell .owner-dot{
    width:7px;height:7px;border-radius:50%;flex:none;
  }
  .acct-table .action-btn{
    background:transparent;border:none;cursor:pointer;
    padding:4px;border-radius:4px;color:var(--text-3);
    transition:all .15s;
    display:inline-flex;align-items:center;justify-content:center;
  }
  .acct-table .action-btn:hover{background:var(--bg-3);color:var(--primary)}

  .acct-empty{
    padding:60px 20px;text-align:center;color:var(--text-4);
    font-size:13px;
  }
  .acct-empty svg{margin-bottom:12px;opacity:.5}


/* ── 订单管理 + 状态 tabs + 快捷筛选 + 筛选区 (原 4343-4997) ── */
  /* ─────────── 订单管理页 ─────────── */
  .order-page{padding:4px 2px 32px}
  .order-header{
    display:flex;justify-content:space-between;align-items:flex-end;
    gap:16px;flex-wrap:wrap;
    padding:10px 0 18px;
  }
  .order-title{
    margin:0;font-size:20px;font-weight:600;color:var(--text);
    letter-spacing:-0.01em;line-height:1.3;
    display:flex;align-items:center;gap:10px;
  }
  .order-title::before{
    content:"";display:inline-block;
    width:3px;height:16px;border-radius:2px;
    background:linear-gradient(180deg, var(--primary) 0%, #5d8fff 100%);
  }

  /* 主表卡片 */
  .order-table-card{
    --order-list-font:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",Arial,sans-serif;
    --order-list-text:#1a1c1f;
    --order-list-sub:#3f454d;
    --order-list-muted:#858b95;
    --order-list-faint:#a0a7b2;
    --order-list-line:#edf0f4;
    --order-list-accent:#339cff;
    background:#fff;
    border:1px solid #e8ebf0;
    border-radius:14px;
    overflow:hidden;
    box-shadow:0 1px 2px rgba(15,23,42,.02);
    color:var(--order-list-text);
    font-family:var(--order-list-font);
  }
  .order-table-card button,
  .order-table-card select,
  .order-table-card table{
    font-family:var(--order-list-font);
    letter-spacing:0;
  }
  .order-table-toolbar{
    display:flex;justify-content:space-between;align-items:center;gap:12px;
    min-height:54px;
    padding:0 16px 0 18px;
    border-bottom:1px solid #edf0f4;
    background:#fff;
  }
  .order-table-info{
    font-size:13.5px;color:var(--order-list-muted);font-weight:400;
    display:flex;align-items:center;gap:6px;
  }
  .order-table-info #order-result-count{
    color:var(--order-list-text);font-weight:600;
    font-feature-settings:"tnum";
    min-width:26px;
    padding:1px 8px;background:#f3f5f8;
    border:1px solid #edf0f4;
    border-radius:999px;margin:0 2px;
    text-align:center;
  }
  .order-table-info .filter-chip{
    display:inline-flex;align-items:center;gap:4px;
    background:#eef6ff;color:var(--order-list-accent);
    border:1px solid #d7eaff;
    padding:2px 9px;border-radius:999px;font-size:11.5px;font-weight:400;
    margin-left:4px;
  }
  .order-table-info .filter-chip .x{
    cursor:pointer;font-size:13px;line-height:1;opacity:.7;
  }
  .order-table-info .filter-chip .x:hover{opacity:1}

  .order-table-tools{position:relative;display:flex;align-items:center;gap:8px}
  .order-export-btn{
    display:inline-flex;align-items:center;gap:6px;
    height:34px;
    background:#f5f6f8;color:var(--order-list-sub);
    border:1px solid transparent;
    padding:0 12px;border-radius:999px;cursor:pointer;
    font-family:inherit;font-size:12.5px;font-weight:400;
    transition:all .15s;
  }
  .order-export-btn:hover{
    border-color:#cfe2ff;color:var(--order-list-accent);
    background:#eef6ff;
  }
  .order-export-btn svg{color:#7b8491;transition:color .15s}
  .order-export-btn:hover svg{color:var(--order-list-accent)}
  .order-export-btn .col-count-badge{
    font-size:10.5px;font-weight:400;
    background:#fff;color:var(--order-list-muted);
    padding:1px 7px;border-radius:999px;line-height:1.4;
    border:1px solid #e8ebf0;
    transition:all .15s;
  }
  .order-export-btn:hover .col-count-badge{
    background:#fff;color:var(--order-list-accent);border-color:#cfe2ff;
  }

  .order-col-toggle-pop{
    position:absolute;top:calc(100% + 6px);right:0;z-index:30;
    background:#fff;border:1px solid #e8ebf0;border-radius:12px;
    box-shadow:0 8px 24px rgba(15,23,42,0.08);
    width:460px;
    max-width:min(92vw, 520px);
    display:none;
  }
  .order-col-toggle-pop.open{display:block}
  .order-col-toggle-pop .filter-pop-head{
    padding:12px 14px;
  }
  .order-col-toggle-pop .filter-pop-list{
    padding:8px;
    max-height:min(68vh, 560px);
    overflow-y:auto;
    display:grid;
    grid-template-columns:repeat(2, minmax(0, 1fr));
    gap:4px 8px;
  }
  .order-col-toggle-pop .filter-pop-item{
    min-width:0;
  }
  .order-col-toggle-pop .filter-pop-item span:not(.check-box){
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
  }

  .order-table-wrap{overflow:auto;max-width:100%;background:#fff}
  .order-table-wrap::-webkit-scrollbar{height:8px;width:8px}
  .order-table-wrap::-webkit-scrollbar-track{background:#fff}
  .order-table-wrap::-webkit-scrollbar-thumb{
    background:#dfe4ea;border-radius:999px;border:2px solid #fff;
  }
  .order-table-wrap::-webkit-scrollbar-thumb:hover{background:#cfd6df}
  .order-table{
    width:100%;border-collapse:separate;border-spacing:0;
    font-size:13px;min-width:2400px;
  }
  .order-table thead th{
    background:#fbfcfe;font-weight:400;font-size:13px;
    color:var(--order-list-muted);text-align:left;
    height:44px;padding:0 12px;border-bottom:1px solid var(--order-list-line);
    white-space:nowrap;position:sticky;top:0;z-index:5;
    letter-spacing:0;
  }
  .order-table tbody td{
    height:56px;padding:0 12px;font-size:13px;color:var(--order-list-text);
    font-weight:400;
    border-bottom:1px solid var(--order-list-line);
    transition:background .12s,color .12s;white-space:nowrap;
    background:#fff;
    vertical-align:middle;
  }
  .order-table tbody tr{transition:background .12s}
  .order-table tbody tr:hover td{background:#f8fbff}
  .order-table tbody tr:last-child td{border-bottom:none}
  .order-table tbody tr.tr-selected td{background:#eef6ff}

  /* 列宽控制 */
  .order-table .c-idx{
    width:48px;color:var(--order-list-faint);
    font-size:13px;
    text-align:center;font-feature-settings:"tnum";
  }
  .order-table .c-order-no{
    font-size:13px;
    color:var(--order-list-text);font-weight:400;letter-spacing:0;font-feature-settings:"tnum";
  }
  .order-table .c-order-no .copy{
    margin-left:4px;color:var(--order-list-faint);cursor:pointer;opacity:0;transition:opacity .15s,color .15s;
  }
  .order-table tr:hover .c-order-no .copy{opacity:1}
  .order-table .c-order-no .copy:hover{color:var(--order-list-accent)}
  .order-table .c-prod{
    font-weight:400;color:var(--order-list-text);
    max-width:220px;overflow:hidden;text-overflow:ellipsis;
  }
  .order-table .c-rule{color:var(--order-list-sub);font-size:13px}
  .order-table .c-time{font-size:13px;color:var(--order-list-muted);font-feature-settings:"tnum"}
  .order-table .c-ip{font-size:13px;color:var(--order-list-muted);font-feature-settings:"tnum"}
  .order-table .c-recharge-amount{
    font-size:13px;color:var(--order-list-text);font-feature-settings:"tnum";
    text-align:right;white-space:nowrap;
  }
  .order-table .c-uid{font-size:13px;color:var(--order-list-muted);font-feature-settings:"tnum"}
  .order-table .c-video-no{font-size:13px;color:var(--order-list-muted);font-feature-settings:"tnum"}
  .order-table .c-phone{font-size:13px;color:var(--order-list-text);font-feature-settings:"tnum"}
  .order-table .c-name{color:var(--order-list-text);font-weight:400}
  .order-table .c-age{color:var(--order-list-sub);text-align:right;font-feature-settings:"tnum"}
  .order-table .c-idcard{
    font-size:13px;
    color:var(--order-list-muted);letter-spacing:0;font-feature-settings:"tnum";
  }
  .order-table .c-region{color:var(--order-list-sub);font-size:13px}
  .order-table .c-address{
    color:var(--order-list-sub);font-size:13px;
    max-width:240px;overflow:hidden;text-overflow:ellipsis;
  }
  .order-table .c-courier{font-size:13px;color:var(--order-list-muted)}
  .order-table .c-note{
    color:var(--order-list-muted);font-size:13px;
    max-width:160px;overflow:hidden;text-overflow:ellipsis;
    cursor:text;
  }
  .order-table .c-note.is-empty{color:var(--order-list-faint)}
  .order-table .c-note.is-saving{opacity:.65}
  .order-table .c-note .note-placeholder{color:var(--order-list-faint)}
  .order-note-input{
    width:150px;max-width:100%;height:26px;
    border:1px solid var(--order-list-line);border-radius:6px;
    padding:0 8px;background:#fff;color:var(--order-list-text);
    font-family:var(--order-list-font);font-size:13px;outline:none;
  }
  .order-note-input:focus{
    border-color:var(--order-list-accent);
    box-shadow:0 0 0 2px rgba(51,156,255,.12);
  }

  .order-table thead th[class^="c-"],
  .order-table thead th[class*=" c-"]{
    color:var(--order-list-muted);
    font-family:var(--order-list-font);
    font-size:13px;
    font-weight:400;
  }
  .order-table tbody td[class^="c-"],
  .order-table tbody td[class*=" c-"]{
    color:var(--order-list-text);
    font-family:var(--order-list-font);
    font-size:13px;
    font-weight:400;
  }

  /* 运营商 chip - 更精致的双色版 */
  .telecom-chip{
    display:inline-flex;align-items:center;gap:5px;
    padding:3px 10px 3px 9px;border-radius:999px;
    font-size:13px;font-weight:400;line-height:1.5;
    font-family:var(--order-list-font);
    white-space:nowrap;
    border:1px solid transparent;
  }
  .telecom-chip::before{
    content:"";width:5px;height:5px;border-radius:50%;
    background:currentColor;flex:none;
  }
  .telecom-chip.t-mobile{background:#eaf2ff;color:#0a5cd6;border-color:#d5e4ff}
  .telecom-chip.t-unicom{background:#ffeeeb;color:#d83a30;border-color:#ffd6cf}
  .telecom-chip.t-telecom{background:#e8f8ec;color:#00872b;border-color:#c5ebcc}
  .telecom-chip.t-broadcast{background:#fff4e8;color:#d96a00;border-color:#ffd9b3}

  /* 状态徽章 - 圆点+文字 */
  .stat-pill{
    display:inline-flex;align-items:center;gap:5px;
    padding:3px 10px 3px 9px;border-radius:999px;
    font-size:13px;font-weight:400;
    font-family:var(--order-list-font);
    line-height:1.5;white-space:nowrap;
    border:1px solid transparent;
  }
  .stat-pill .dot{
    width:5px;height:5px;border-radius:50%;
    background:currentColor;flex:none;
    position:relative;
  }
  .stat-pill.s-pending{background:#fff5ea;color:#d96a00;border-color:#ffd9b3}
  .stat-pill.s-pending .dot{box-shadow:0 0 0 2px rgba(217,106,0,0.15)}
  .stat-pill.s-passed{background:#e8f8ec;color:#00872b;border-color:#c5ebcc}
  .stat-pill.s-rejected{background:#ffeeeb;color:#d83a30;border-color:#ffd6cf}
  .stat-pill.s-rejected .dot{box-shadow:0 0 0 2px rgba(216,58,48,0.18)}
  .stat-pill.s-shipped{background:#eaf2ff;color:#0a5cd6;border-color:#d5e4ff}
  .stat-pill.s-shipped .dot{box-shadow:0 0 0 2px rgba(10,92,214,0.15)}
  .stat-pill.s-delivered{background:#e8f8ec;color:#00872b;border-color:#c5ebcc}
  .stat-pill.s-active{background:#e8f8ec;color:#00872b;border-color:#c5ebcc}
  .stat-pill.s-inactive{background:#f3f4f6;color:#8a93a0;border-color:#e6e8ec}
  .stat-pill.s-charged{background:#e8f8ec;color:#00872b;border-color:#c5ebcc}
  .stat-pill.s-uncharged{background:#f3f4f6;color:#8a93a0;border-color:#e6e8ec}
  .stat-pill.s-canceled{background:#f3f4f6;color:#8a93a0;border-color:#e6e8ec}
  .stat-pill.s-prepare{background:#f0f4ff;color:#5d8fff;border-color:#d9e3ff}
  .stat-pill.s-prepare .dot{box-shadow:0 0 0 2px rgba(93,143,255,0.18)}
  .stat-pill.s-info{background:#eaf2ff;color:#0a5cd6;border-color:#d5e4ff}

  /* 可选号小标记 */
  .opt-flag{
    display:inline-block;font-size:13px;font-weight:400;
    font-family:var(--order-list-font);
    padding:3px 9px;border-radius:999px;letter-spacing:0;
    line-height:1.5;
    border:1px solid transparent;
  }
  .opt-flag.yes{background:#eaf2ff;color:#0a5cd6;border-color:#d5e4ff}
  .opt-flag.no{background:#f3f4f6;color:#8a93a0;border-color:#e6e8ec}

  /* 失败描述带 ! 图标 */
  .fail-desc{
    display:inline-flex;align-items:center;gap:5px;
    color:#d83a30;font-size:13px;font-weight:400;
    font-family:var(--order-list-font);
    max-width:180px;overflow:hidden;text-overflow:ellipsis;
    cursor:help;
  }
  .fail-desc .ico{
    width:14px;height:14px;border-radius:50%;background:#ffeeeb;
    color:#d83a30;font-size:10px;font-weight:700;
    display:inline-flex;align-items:center;justify-content:center;flex:none;
  }
  .fail-desc.empty{color:var(--order-list-faint);cursor:default}
  .fail-desc.empty .ico{display:none}

  /* 列隐藏控制 */
  .order-table.hide-c-idx .c-idx{display:none}
  .order-table.hide-c-order-no .c-order-no{display:none}
  .order-table.hide-c-telecom .c-telecom{display:none}
  .order-table.hide-c-prod .c-prod{display:none}
  .order-table.hide-c-rule .c-rule{display:none}
  .order-table.hide-c-time .c-time{display:none}
  .order-table.hide-c-ip .c-ip{display:none}
  .order-table.hide-c-uid .c-uid{display:none}
  .order-table.hide-c-video-no .c-video-no{display:none}
  .order-table.hide-c-pid .c-pid{display:none}
  .order-table.hide-c-orig-pid .c-orig-pid{display:none}
  .order-table.hide-c-optional .c-optional{display:none}
  .order-table.hide-c-audit .c-audit{display:none}
  .order-table.hide-c-audit-fail .c-audit-fail{display:none}
  .order-table.hide-c-tel-fail .c-tel-fail{display:none}
  .order-table.hide-c-tel-order .c-tel-order{display:none}
  .order-table.hide-c-phone .c-phone{display:none}
  .order-table.hide-c-name .c-name{display:none}
  .order-table.hide-c-age .c-age{display:none}
  .order-table.hide-c-recv-phone .c-recv-phone{display:none}
  .order-table.hide-c-idcard .c-idcard{display:none}
  .order-table.hide-c-prov .c-prov{display:none}
  .order-table.hide-c-city .c-city{display:none}
  .order-table.hide-c-dist .c-dist{display:none}
  .order-table.hide-c-address .c-address{display:none}
  .order-table.hide-c-ship .c-ship{display:none}
  .order-table.hide-c-activate .c-activate{display:none}
  .order-table.hide-c-act-time .c-act-time{display:none}
  .order-table.hide-c-courier .c-courier{display:none}
  .order-table.hide-c-track .c-track{display:none}
  .order-table.hide-c-express .c-express{display:none}
  .order-table.hide-c-charge-time .c-charge-time{display:none}
  .order-table.hide-c-recharge-amount .c-recharge-amount{display:none}
  .order-table.hide-c-tag .c-tag{display:none}
  .order-table.hide-c-note .c-note{display:none}

  /* 标识/标签 */
  .order-tag{
    display:inline-block;padding:3px 9px;border-radius:999px;
    font-size:13px;font-weight:400;
    font-family:var(--order-list-font);
    border:1px solid transparent;
  }
  .order-tag.t-new{background:#eaf2ff;color:#0a5cd6;border-color:#d5e4ff}
  .order-tag.t-repeat{background:#fff3e8;color:#d96a00;border-color:#ffd9b3}
  .order-tag.t-vip{background:#f3eaff;color:#722ed1;border-color:#e5d2ff}

  /* 分页 */
  .order-pagination{
    display:flex;justify-content:space-between;align-items:center;gap:12px;
    min-height:56px;
    padding:0 16px;border-top:1px solid #edf0f4;
    background:#fff;
  }
  .order-pagination .pg-info{font-size:12.5px;color:var(--order-list-muted)}
  .order-pagination .pg-info b{color:var(--order-list-text);font-weight:500;font-feature-settings:"tnum"}
  .order-pagination .pg-ctrl{display:flex;align-items:center;gap:4px}
  .order-pagination .pg-ctrl button{
    background:#f6f7f9;border:1px solid transparent;
    color:var(--order-list-sub);min-width:30px;height:30px;padding:0 9px;
    border-radius:999px;cursor:pointer;font-size:12.5px;
    transition:all .15s;font-feature-settings:"tnum";
  }
  .order-pagination .pg-ctrl button:hover:not(:disabled):not(.active){
    border-color:#cfe2ff;color:var(--order-list-accent);
    background:#eef6ff;
  }
  .order-pagination .pg-ctrl button.active{
    background:var(--order-list-accent);border-color:var(--order-list-accent);color:#fff;font-weight:500;
    box-shadow:none;
  }
  .order-pagination .pg-ctrl button:disabled{opacity:.4;cursor:not-allowed}
  .order-pagination .pg-ctrl .ellipsis{color:var(--order-list-faint);padding:0 4px}
  .order-pagination .pg-size{
    display:inline-flex;align-items:center;gap:6px;font-size:12.5px;color:var(--order-list-muted);
  }
  .order-pagination .pg-size select{
    height:32px;background:#fff;border:1px solid #e8ebf0;
    border-radius:999px;padding:0 26px 0 12px;font-size:12.5px;
    color:var(--order-list-text);cursor:pointer;outline:none;
    background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='none' stroke='%2386909c' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round' d='M1 1l4 4 4-4'/%3E%3C/svg%3E");
    background-repeat:no-repeat;background-position:right 8px center;
    appearance:none;transition:border-color .15s;
  }
  .order-pagination .pg-size select:hover{border-color:var(--order-list-accent)}

  .order-empty{
    padding:56px 20px;text-align:center;color:var(--order-list-muted);font-size:14px;
    display:flex;flex-direction:column;align-items:center;gap:12px;
    background:#fff;
  }
  .order-empty svg{color:var(--order-list-faint);opacity:.75}

  /* 订单详情抽屉 */
  .order-drawer{width:560px}
  .order-drawer .drawer-head{padding:18px 22px 14px;border-bottom:1px solid var(--line)}
  .order-drawer-sub{
    font-size:12.5px;color:var(--text-3);margin-top:4px;font-weight:400;
    display:flex;align-items:center;gap:8px;font-family:"Inter";
  }
  .order-drawer-sub .copy-btn{
    background:none;border:none;color:var(--text-4);cursor:pointer;padding:0;
    display:inline-flex;align-items:center;font-size:12px;
  }
  .order-drawer-sub .copy-btn:hover{color:var(--primary)}
  .order-drawer .drawer-body{padding:18px 22px;flex:1;overflow-y:auto}

  .od-section{margin-bottom:20px}
  .od-section:last-child{margin-bottom:0}
  .od-sec-head{
    font-size:12px;color:var(--text-3);font-weight:400;
    margin-bottom:10px;padding-bottom:6px;border-bottom:1px dashed var(--line);
    display:flex;align-items:center;gap:6px;
    letter-spacing:0.02em;
  }
  .od-sec-head .dot{width:5px;height:5px;border-radius:50%}
  .od-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px 18px}
  .od-grid.cols-1{grid-template-columns:1fr}
  .od-cell .lbl{font-size:11.5px;color:var(--text-3);margin-bottom:3px;font-weight:400}
  .od-cell .val{font-size:13px;color:var(--text);font-weight:400;word-break:break-all}
  .od-cell .val.mono{font-family:"Inter";font-size:12.5px;color:var(--text-2)}
  .od-cell .val.empty{color:var(--text-4)}

  /* 时间轴 */
  .od-timeline{
    position:relative;padding-left:18px;
  }
  .od-timeline::before{
    content:"";position:absolute;left:5px;top:8px;bottom:8px;
    width:1.5px;background:var(--line-mid);
  }
  .od-tl-step{position:relative;padding-bottom:14px}
  .od-tl-step:last-child{padding-bottom:0}
  .od-tl-step::before{
    content:"";position:absolute;left:-18px;top:4px;
    width:11px;height:11px;border-radius:50%;
    background:var(--panel);border:2px solid var(--text-4);
  }
  .od-tl-step.done::before{background:var(--primary);border-color:var(--primary)}
  .od-tl-step.fail::before{background:var(--up);border-color:var(--up)}
  .od-tl-step.current::before{background:var(--primary);border-color:var(--primary);box-shadow:0 0 0 3px var(--primary-soft)}
  .od-tl-name{font-size:12.5px;color:var(--text);font-weight:400;margin-bottom:2px}
  .od-tl-time{font-family:"Inter";font-size:11.5px;color:var(--text-3)}
  .od-tl-desc{font-size:12px;color:var(--text-3);margin-top:3px;line-height:1.5}

  /* ─────────── 订单状态 Tabs（精致标签栏） ─────────── */
  .order-stat-tabs{
    display:flex;align-items:stretch;gap:6px;
    margin-bottom:14px;
    padding:2px 0 0;
    position:relative;
    flex-wrap:nowrap;
  }
  /* 贯穿底线：用伪元素而非 border，避免被 tab 覆盖 */
  .order-stat-tabs::after{
    content:"";
    position:absolute;left:0;right:0;bottom:0;
    height:1px;background:#e4e7ed;
    z-index:0;
  }
  .order-stat-tab{
    flex:none;
    width:130px;
    background:linear-gradient(180deg, #fafbfc 0%, #ffffff 30%, #ffffff 100%);
    border:1px solid #ebeef5;
    border-bottom:1px solid #e4e7ed;
    border-radius:6px 6px 0 0;
    padding:10px 12px 11px;
    cursor:pointer;
    display:inline-flex;align-items:baseline;gap:3px;justify-content:center;
    font-family:"Noto Sans SC","Source Han Sans SC",-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;
    color:#1f2329;font-size:13px;font-weight:400;
    letter-spacing:0.01em;
    white-space:nowrap;
    transition:color .15s, background .15s, border-color .15s;
    position:relative;
    z-index:1;
    box-shadow:inset 0 1px 0 rgba(0,0,0,0.015);
  }
  .order-stat-tab .lb{color:inherit;transition:color .15s}
  .order-stat-tab .nm{
    font-family:"Inter","Noto Sans SC",-apple-system,BlinkMacSystemFont,sans-serif;
    font-size:13px;font-weight:400;
    color:inherit;transition:color .15s;
    margin-left:1px;
    font-feature-settings:"tnum";
    letter-spacing:-0.005em;
  }
  .order-stat-tab:hover:not(.active){
    color:#1664ff;
    background:linear-gradient(180deg, #f0f6ff 0%, #ffffff 100%);
  }
  .order-stat-tab:hover:not(.active) .nm{color:#1664ff}
  .order-stat-tab.active{
    color:#1664ff;
    background:#fff;
    border-color:#e4e7ed;
  }
  .order-stat-tab.active .lb,
  .order-stat-tab.active .nm{color:#1664ff;font-weight:400}
  /* 激活 tab 顶部一条蓝色 indicator */
  .order-stat-tab.active::before{
    content:"";position:absolute;
    left:-1px;right:-1px;top:-1px;height:2px;
    background:#1664ff;
    border-radius:2px 2px 0 0;
  }
  /* 窄屏下允许换行而非横滚 */
  @media (max-width:1280px){
    .order-stat-tabs{flex-wrap:wrap}
    .order-stat-tab{flex:0 0 auto;min-width:120px}
  }

  /* ─────────── 快捷筛选行 ─────────── */
  .order-quick-filter{
    display:flex;align-items:center;gap:10px;flex-wrap:wrap;
    padding:2px 0 14px;
    margin-top:-4px;
    margin-bottom:4px;
    font-family:"Noto Sans SC",-apple-system,BlinkMacSystemFont,"PingFang SC",sans-serif;
  }
  .order-quick-filter .qf-head{
    color:#86909c;font-size:13px;font-weight:400;
    flex:none;
  }
  .quick-chip{
    background:#f4f6fa;border:none;cursor:pointer;
    color:#0f1419;font-size:13px;font-weight:300;
    font-family:inherit;
    padding:5px 12px;border-radius:4px;
    display:inline-flex;align-items:center;gap:4px;
    transition:background .15s, color .15s;
    position:relative;
  }
  .quick-chip:hover{background:#e8f0ff;color:#1664ff}
  .quick-chip.active{background:#e8f0ff;color:#1664ff}
  .quick-chip .qc-num{
    font-family:"Inter","Noto Sans SC",sans-serif;
    color:#4e5969;font-size:12px;font-weight:300;
    margin-left:2px;
  }
  .quick-chip:hover .qc-num,
  .quick-chip.active .qc-num{color:#1664ff}
  .quick-chip .qc-help{
    display:inline-flex;align-items:center;justify-content:center;
    width:14px;height:14px;border-radius:50%;
    background:#e4e7ed;color:#86909c;
    font-size:10px;font-weight:400;
    cursor:help;
    margin-left:2px;
  }
  .quick-chip .qc-urgent{
    background:#ff4d4f;color:#fff;
    font-size:11px;font-weight:400;
    padding:1px 5px;border-radius:3px;
    margin-left:3px;line-height:1.3;
    font-family:"Noto Sans SC",sans-serif;
  }
  .quick-chip .qc-new{
    background:#ff4d4f;color:#fff;
    font-size:9px;font-weight:400;
    padding:1px 4px;border-radius:7px;
    position:absolute;top:-8px;right:-14px;
    font-family:"Inter",sans-serif;letter-spacing:0.02em;
    line-height:1.4;
  }

  /* ─────────── 筛选区（内嵌标签式） ─────────── */
  .order-query-form{
    background:transparent;
    border:none;
    border-radius:0;
    padding:0;
    margin-bottom:14px;
    box-shadow:none;
  }
  .order-qf-grid{
    display:grid;grid-template-columns:repeat(3,1fr);
    gap:14px 16px;
    margin-bottom:0;
  }
  .order-qf-row{
    display:flex;align-items:stretch;min-width:0;
    background:#fff;
    border:1px solid #e4e7ed;
    border-radius:6px;
    height:38px;
    transition:border-color .15s, box-shadow .15s;
    position:relative;
  }
  .order-qf-row:hover{border-color:#c0c4cc}
  .order-qf-row:focus-within{
    border-color:#1664ff;
    box-shadow:0 0 0 3px rgba(22,100,255,0.08);
  }
  .order-qf-row .qf-label{
    flex:none;
    display:inline-flex;align-items:center;gap:3px;
    padding:0 12px 0 14px;
    font-size:13px;color:#0f1419;font-weight:300;
    font-family:"Noto Sans SC",-apple-system,BlinkMacSystemFont,"PingFang SC",sans-serif;
    white-space:nowrap;
    width:auto;text-align:left;justify-content:flex-start;
    border-right:1px solid #ebeef5;
    height:100%;
    background:#fafbfc;
    border-radius:6px 0 0 6px;
  }
  .order-qf-row .qf-label .qf-help{
    display:inline-flex;align-items:center;justify-content:center;
    width:13px;height:13px;border-radius:50%;
    background:#e4e7ed;color:#86909c;
    font-size:9px;font-weight:400;cursor:help;
  }
  .order-qf-row .qf-input,
  .order-qf-row .qf-select{
    flex:1;min-width:0;
    background:transparent;
    border:none;
    border-radius:0;
    padding:0 14px;
    font-family:"Noto Sans SC",inherit;font-size:13px;font-weight:300;color:#0f1419;
    outline:none;
    height:36px;
  }
  .order-qf-row .qf-input::placeholder{color:#a8b1bd;font-weight:300}
  .order-qf-row .qf-input:hover,
  .order-qf-row .qf-select:hover{border-color:transparent}
  .order-qf-row .qf-input:focus,
  .order-qf-row .qf-select:focus{
    border-color:transparent;
    box-shadow:none;
  }
  .order-qf-row .qf-select{cursor:pointer;
    background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='none' stroke='%2386909c' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round' d='M1 1l4 4 4-4'/%3E%3C/svg%3E");
    background-repeat:no-repeat;background-position:right 12px center;
    padding-right:30px;appearance:none;
    color:#0f1419;
  }
  .order-qf-row .qf-select option{color:#0f1419}

  /* 常用查询：带搜索图标 */
  .order-qf-row.qf-row-primary .qf-label{color:#0f1419}
  .order-qf-row .qf-input-wrap{
    flex:1;min-width:0;position:relative;
    display:flex;align-items:center;
    padding:0 14px;
  }
  .order-qf-row .qf-input-wrap .qf-input-icon{
    position:absolute;left:14px;top:50%;transform:translateY(-50%);
    color:#a8b1bd;pointer-events:none;
    transition:color .15s;
  }
  .order-qf-row:focus-within .qf-input-wrap .qf-input-icon{color:#1664ff}
  .order-qf-row .qf-input-wrap .qf-input{
    width:100%;padding:0 0 0 20px;
  }

  /* 日期范围：内嵌式 */
  .order-qf-row .qf-daterange{
    flex:1;min-width:0;
    display:flex;align-items:center;
    background:transparent;border:none;
    border-radius:0;padding:0 14px;height:36px;gap:6px;
  }
  .order-qf-row .qf-daterange:hover,
  .order-qf-row .qf-daterange:focus-within{border-color:transparent;box-shadow:none}
  .order-qf-row .qf-daterange input{
    flex:1;border:none;outline:none;background:transparent;
    font-family:"Noto Sans SC",inherit;font-size:13px;font-weight:300;color:#0f1419;
    padding:0;min-width:0;
  }
  .order-qf-row .qf-daterange input::placeholder{color:#a8b1bd;font-weight:300}
  .order-qf-row .qf-daterange .arrow{color:#a8b1bd;flex:none;font-size:13px}
  .order-qf-row .qf-daterange .cal-ico{color:#86909c;flex:none}

  /* 表单底部按钮区 */
  .order-qf-actions{
    display:flex;justify-content:flex-start;align-items:center;gap:10px;
    margin-top:14px;
    border-top:none;
  }
  .qf-btn{
    background:#fff;border:1px solid #e4e7ed;
    color:#0f1419;font-family:"Noto Sans SC",inherit;font-size:13px;font-weight:300;
    padding:7px 20px;border-radius:6px;cursor:pointer;
    transition:all .15s;display:inline-flex;align-items:center;gap:6px;
    line-height:1.4;
  }
  .qf-btn:hover{
    border-color:#1664ff;color:#1664ff;
    background:#f5f9ff;
  }
  .qf-btn:active{transform:translateY(0.5px)}
  .qf-btn.primary{
    background:#1664ff;color:#fff;border-color:#1664ff;
    padding:7px 24px;font-weight:400;
    box-shadow:0 2px 4px rgba(22,100,255,0.18);
  }
  .qf-btn.primary:hover{
    background:#0e51d1;color:#fff;
    border-color:#0e51d1;
    box-shadow:0 4px 10px rgba(22,100,255,0.28);
  }
  .qf-btn svg{color:currentColor}

  /* 文字链接按钮（导出记录 / 更多筛选） */
  .qf-link-btn{
    background:transparent;border:none;cursor:pointer;
    color:#1664ff;font-family:"Noto Sans SC",inherit;font-size:13px;font-weight:300;
    padding:7px 6px;
    display:inline-flex;align-items:center;gap:3px;
    transition:color .15s;
    margin-left:4px;
  }
  .qf-link-btn:hover{color:#0e51d1}
  .qf-link-btn svg{color:currentColor;transition:transform .2s}
  .qf-link-btn.collapsed svg{transform:rotate(180deg)}
  .qf-text-btn{
    background:transparent;border:none;cursor:pointer;
    color:var(--text-3);font-family:inherit;font-size:13px;
    padding:7px 10px;margin-left:auto;
    display:inline-flex;align-items:center;gap:3px;
    transition:color .15s;
  }
  .qf-text-btn:hover{color:var(--primary)}
  .qf-text-btn svg{transition:transform .2s}
  .qf-text-btn.collapsed svg{transform:rotate(180deg)}

  /* 折叠态：隐藏第 4 行及之后 */
  .order-query-form.collapsed .order-qf-grid > .order-qf-row:nth-child(n+7){display:none}

  @media (max-width:1280px){
    .order-qf-grid{grid-template-columns:repeat(2,1fr)}
    .order-query-form.collapsed .order-qf-grid > .order-qf-row:nth-child(n+7){display:flex}
    .order-query-form.collapsed .order-qf-grid > .order-qf-row:nth-child(n+5){display:none}
  }
