.qux-shell #view{min-width:0}.qux-crumb{margin-bottom:13px;flex-wrap:wrap}.qux-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}.qux-heading p{font-size:12px;margin:5px 0 0;color:#7189ac}.qux-kpis{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin-bottom:14px}.qux-kpi{display:flex;align-items:center;text-align:left;gap:12px;padding:16px;background:white;border:1px solid #e0ebfb;border-radius:9px;min-height:90px;color:#142d58}.qux-kpi small{display:block;color:#637da3;font-size:12px}.qux-kpi strong{display:block;font-size:28px;line-height:1.5}.qux-kpi em{font-size:11px;font-style:normal;font-weight:400}.qux-icon{display:grid;place-items:center;background:#e8f3ff;border-radius:50%;width:44px;height:44px;font-size:24px;color:#0874ff;flex-shrink:0}.qux-icon.color-1{background:#fff3e4;color:#fa9100}.qux-icon.color-2{background:#e4faf3;color:#00b995}.qux-icon.color-3{background:#fff0f0;color:#ff465a}.qux-icon.color-4{background:#f1eaff;color:#8e53ed}.qux-card{padding:16px;background:#fff;border:1px solid #e0ebfb;border-radius:var(--card-radius);min-width:0}.qux-card h2{font-size:16px;margin:0 0 12px;color:#102b58}.qux-card h2 small{font-size:12px;font-weight:400;color:#6b85aa}.qux-query{margin-bottom:14px}.qux-filter-main{display:grid;grid-template-columns:minmax(250px,1fr) 200px auto auto;gap:12px;align-items:end}.qux-filter-extra{display:grid;grid-template-columns:2fr 1fr 1fr;gap:12px;margin-top:12px}.qux-query summary{font-size:12px;color:#6b85aa;cursor:pointer;margin-top:10px}.qux-list table{width:100%;font-size:12px}.qux-list th,.qux-list td{padding:11px 8px;border-bottom:1px solid #e7eef9;white-space:normal;overflow-wrap:anywhere}.qux-list th{background:#f0f6ff;color:#4c6c99;font-weight:500}.qux-list td:nth-child(3){max-width:210px}.qux-list td small{display:block;color:#8398b5;font-size:11px;margin-top:4px}.qux-code{border:0;background:none;padding:0!important;color:#086ef0;text-align:left;font-size:12px;overflow-wrap:anywhere}.qux-list .table-wrap{overflow:visible}.qux-row-actions{display:flex;gap:6px;align-items:center;white-space:nowrap}.qux-row-actions button,.qux-row-actions summary{font-size:11px;min-height:30px;padding:5px 8px}.qux-more{position:relative}.qux-more summary{cursor:pointer;color:#326cb0}.qux-more>div{position:absolute;right:0;top:100%;background:white;border:1px solid #d8e6f7;border-radius:6px;box-shadow:0 5px 20px #183b6320;z-index:15;min-width:150px;padding:8px;display:grid;gap:6px}.qux-more a,.qux-version a{font-size:12px;color:#0872f4;padding:5px;display:inline-block}.qux-badge{font-size:11px;display:inline-block;padding:4px 7px;border-radius:5px;background:#f0f3f7;color:#65718a}.qux-badge.confirmed{background:#e8f3ff;color:#0876f6}.qux-badge.accepted{background:#e1f8ee;color:#00a479}.qux-badge.void,.qux-badge.lost{background:#fff0ee;color:#e45754}.qux-pagination{display:flex;gap:10px;justify-content:flex-end;align-items:center;font-size:12px;color:#6280a7;margin-top:14px}.qux-pagination button{font-size:12px;padding:6px 10px}.qux-empty{padding:28px;color:#7a90ad;text-align:center}.qux-identity{display:grid;grid-template-columns:1.4fr .8fr 1.4fr 1.3fr .7fr .8fr;margin-bottom:16px;gap:14px}.qux-identity div{min-width:0;border-right:1px solid #edf2fa;padding-right:10px;overflow-wrap:anywhere}.qux-identity strong{font-size:13px}.qux-identity small{display:block;margin-top:6px;color:#7b91b0;font-size:11px}.qux-two-column{display:grid;grid-template-columns:minmax(0,7fr) minmax(260px,3fr);gap:16px;align-items:start}.qux-main,.qux-side{display:grid;gap:14px;min-width:0}.qux-facts{display:grid;grid-template-columns:110px minmax(0,1fr) 110px minmax(0,1fr);margin:0;font-size:12px;line-height:1.8;gap:9px 12px}.qux-facts dt{color:#6983a7}.qux-facts dd{margin:0;color:#15345f;overflow-wrap:anywhere}.qux-main table{font-size:12px}.qux-main th,.qux-main td{padding:9px 7px;border-color:#e7effa}.qux-main th{background:#f1f7ff;color:#5678a5}.qux-money-line{display:flex;justify-content:space-between;gap:10px;font-size:13px}.qux-grand{background:#ecf4ff;padding:14px 12px;border-radius:6px;color:#0867ee;font-size:12px;margin:14px 0}.qux-grand strong{display:block;text-align:right;font-size:25px;margin-top:10px}.qux-note{color:#7c91af;font-size:11px;line-height:1.8}.qux-detail-actions{display:flex;flex-wrap:wrap;gap:8px}.qux-detail-actions a{font-size:12px;padding:8px;border:1px solid #d9e6f8;border-radius:5px;color:#0872f5}.qux-version{border-top:1px solid #edf2fa;padding:12px 0}.qux-version>strong{font-size:12px}.qux-version small{display:block;font-size:10px;color:#7a90ad;overflow-wrap:anywhere;line-height:1.8}.qux-version p{margin:6px 0;font-size:12px}.qux-clause-view{margin:9px 0;padding:10px;background:#f6f9fe;border-radius:5px;font-size:12px}.qux-clause-view summary{color:#284b7d;cursor:pointer}.qux-clause-view p{white-space:pre-wrap;line-height:1.8}.qux-shell #qux-form-source{display:grid;gap:14px;min-width:0}.qux-shell #qux-edit-form .grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.qux-shell #qux-edit-form textarea{min-height:90px;font-size:13px;line-height:1.7;border:1px solid #dbe6f7;border-radius:5px;width:100%;padding:8px}.qux-shell #qux-edit-form .item-row{display:grid;grid-template-columns:minmax(160px,2fr) 1fr 1fr .7fr auto;align-items:end;gap:8px;padding:10px 0;border-bottom:1px solid #e8f0fb;margin:0}.qux-shell #qux-edit-form .qux-subtotal{grid-column:1/-1;text-align:right;color:#4774a7;font-size:11px}.qux-shell #qux-edit-form .quote-clause{display:flex;align-items:start;gap:10px;border-bottom:1px solid #eaf0fa;padding:9px 0}.qux-shell #qux-edit-form .quote-clause>details{flex:1;min-width:0;font-size:12px;cursor:pointer}.qux-shell #qux-edit-form .quote-clause label{margin:10px 0}.qux-shell #qux-edit-form .quote-clause .button-row{display:flex;gap:5px;flex-wrap:wrap}.qux-shell #qux-edit-form .quote-clause button{font-size:11px;padding:4px 6px}.qux-shell #qux-settings input[type=checkbox]{width:auto;min-height:0}.qux-form-footer{display:flex;justify-content:flex-end;gap:10px;background:#ffffffed;border:1px solid #dce8f9;padding:12px;margin-top:16px;border-radius:6px;position:sticky;bottom:0;z-index:20}.qux-shell #form-error{font-size:13px}.qux-shell .combo-list{z-index:30}
@media(max-width:1100px){.qux-kpi{padding:12px 8px;gap:7px}.qux-icon{width:32px;height:32px;font-size:19px}.qux-kpi small{font-size:10px}.qux-kpi strong{font-size:24px}.qux-facts{grid-template-columns:100px minmax(0,1fr)}.qux-identity{grid-template-columns:1fr 1fr 1fr}.qux-two-column{grid-template-columns:minmax(0,2fr) minmax(220px,1fr)}.qux-shell #qux-edit-form .item-row{grid-template-columns:1fr 1fr}.qux-shell #qux-edit-form .item-row>label:first-child{grid-column:1/-1}}
@media(max-width:700px){.qux-shell{display:block!important}.qux-heading{align-items:start;flex-wrap:wrap}.qux-kpis{grid-template-columns:1fr 1fr;gap:8px}.qux-kpi{min-height:76px;padding:10px}.qux-kpi:last-child{grid-column:1/-1}.qux-filter-main{grid-template-columns:1fr 1fr;gap:9px}.qux-filter-main .qux-search{grid-column:1/-1}.qux-filter-main>label:nth-child(2){grid-column:1/-1}.qux-filter-extra{grid-template-columns:1fr}.qux-card{padding:12px}.qux-list table,.qux-list tbody,.qux-list td{display:block;width:auto!important}.qux-list thead{display:none}.qux-list tr{display:grid;grid-template-columns:1fr 1fr;gap:5px;border-bottom:1px solid #dbe8fa;padding:12px 0}.qux-list td{padding:3px 0;border:0;min-width:0;font-size:12px;max-width:none!important}.qux-list td:nth-child(1),.qux-list td:nth-child(2),.qux-list td:nth-child(3),.qux-list td:nth-child(10){grid-column:1/-1}.qux-list td:nth-child(6):before{content:'有效期：';color:#7e95b4}.qux-list td:nth-child(7):before{content:'票种：';color:#7e95b4}.qux-code{font-size:13px}.qux-row-actions{justify-content:flex-end}.qux-row-actions button,.qux-row-actions summary{min-height:36px;font-size:12px}.qux-pagination{flex-wrap:wrap;justify-content:center}.qux-two-column{grid-template-columns:1fr}.qux-identity{grid-template-columns:1fr 1fr;gap:12px}.qux-identity>div:first-child{grid-column:1/-1}.qux-facts{grid-template-columns:90px minmax(0,1fr);gap:8px}.qux-shell #qux-edit-form .grid{grid-template-columns:1fr}.qux-shell #qux-edit-form .item-row{grid-template-columns:1fr 1fr}.qux-shell #qux-edit-form .item-row label:first-child{grid-column:1/-1}.qux-shell #qux-edit-form .quote-clause{flex-direction:column}.qux-form-footer{flex-wrap:wrap;justify-content:stretch}.qux-form-footer button{flex:1 1 40%;font-size:12px;min-height:39px}.qux-detail-actions button,.qux-detail-actions a{min-height:36px}.qux-main .table-wrap{overflow-x:auto}.qux-shell input,.qux-shell select{font-size:14px;min-height:40px}.qux-shell .combo-list{max-width:100%}}
@media screen and (max-width:700px){.qux-shell #qux-edit-form input:not([type=hidden]):not([type=checkbox]),.qux-shell #qux-edit-form select,.qux-shell #qux-edit-form textarea{font-size:16px}}

/* ===== WB42 报价首页：三模块统一规范（数值取自 style.css 的 --ux-* 变量） ===== */
/* ⚠️ 本文件末尾原本就有 @media 段。浏览器只认先后、不认媒体查询优先级，
   所以把窄屏要点在本段末尾再声明一次，否则 390/768 会被上面的基准值反覆盖。 */
.qux-shell .qux-heading h1{font-size:var(--ux-list-h1);line-height:1.3}
/* 统计卡：高度/字号/圆角与合同、订单一致 */
.qux-shell .qux-kpis{gap:12px}
.qux-shell .qux-kpi{min-height:var(--ux-stat-h);padding:14px 16px;border-radius:var(--ux-radius-lg)}
.qux-shell .qux-kpi strong{font-size:24px;line-height:1.3}
.qux-shell .qux-kpi small{font-size:12.5px}
/* 列表：表头 12.5 / 正文 13 / 行高对齐（单元格上下 11px） */
.qux-shell .qux-list th{
  font-size:var(--ux-th);background:var(--ux-th-bg);height:var(--ux-row-h);
  padding:0 8px;line-height:1.4;vertical-align:middle
}
.qux-shell .qux-list td{font-size:var(--ux-td);padding:11px 8px;line-height:1.5}
/* 只有「客户 / 联系人」列把副行放同行（原来两行块级把行高撑到 66px）；
   其他列的 small 必须保持块级，否则操作列的「继续编辑（新版本）」会横向溢出卡片 */
.qux-shell .qux-list td small{font-size:11.5px;line-height:1.4}
/* 客户名独立一行 + 联系人另起小字一行：客户名不再和联系人在同一行抢宽度（实测同排时 12 字医院名被裁 57px） */
.qux-shell .qux-list td:nth-child(3) small{display:block;margin:2px 0 0;font-size:11px}
/* 筛选控件 */
.qux-shell .qux-filter-main :is(input,select),
.qux-shell .qux-filter-extra :is(input,select){font-size:var(--ux-label);min-height:var(--ux-ctl-h);padding:0 10px}

@media(max-width:700px){
  .qux-shell .qux-kpi{min-height:76px;padding:10px}
  .qux-shell .qux-filter-main :is(input,select){min-height:40px;font-size:14px}
  .qux-shell .qux-list td{font-size:12px;padding:3px 0}
  .qux-shell .qux-list th{font-size:12px;height:auto;padding:8px 6px}
  .qux-shell .qux-filter-extra :is(input,select){min-height:40px;font-size:14px}
}

/* ===== WB44 报价首页：列表 + 右侧选中详情 ===== */
.qux-shell .qux-home-columns{grid-template-columns:minmax(0,3.05fr) minmax(292px,1fr);align-items:start}
.qux-shell .qux-side{gap:var(--ux-card-gap)}
.qux-shell .qux-side-card h2{font-size:14px;margin:0 0 10px}
.qux-shell .qux-side-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:6px}
.qux-shell .qux-side-head strong{font-size:15px;color:#0f2f5c;font-variant-numeric:tabular-nums}
.qux-shell .qux-side-name{margin:0 0 10px;font-size:13px;color:#25425f;overflow-wrap:anywhere}
.qux-shell .qux-side-facts{display:grid;grid-template-columns:72px minmax(0,1fr);gap:7px 10px;margin:0;font-size:13px}
.qux-shell .qux-side-facts dt{color:#6b85aa}
.qux-shell .qux-side-facts dd{margin:0;color:#15345f;overflow-wrap:anywhere}
.qux-shell .qux-side-money{font-weight:600;font-variant-numeric:tabular-nums}
.qux-shell .qux-side-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
.qux-shell .qux-side-actions .qux-btn{font-size:13px;min-height:32px;padding:0 10px;border:1px solid #d9e6f8;border-radius:6px;color:#0872f5;display:inline-flex;align-items:center;text-decoration:none}
.qux-shell .qux-side-actions .qux-btn:hover{background:#f2f8ff}
.qux-shell .qux-side-ops{flex-wrap:wrap}
.qux-shell .qux-list tbody tr{cursor:pointer}
.qux-shell .qux-list tbody tr.active{background:#eef6ff;box-shadow:inset 3px 0 0 #0876ff}
/* 两栏保持到 1280（原 1440 就堆叠，导致点左侧报价、右侧预览跑到下方看不见）。
   1280 内容区 1023 − 右栏 268 − gap 16 = 列表 739；9 列会被压到读不出来，
   因此窄桌面把「公司主体 / 有效期 / 发票类型」让给右栏（右栏 facts 本来就有），列表留 7 列。 */
@media(max-width:1439px){.qux-shell .qux-home-columns{grid-template-columns:minmax(0,3.05fr) minmax(268px,1fr)}}
@media(max-width:1499px){
  .qux-shell .qux-home-columns .qux-list th:nth-child(4),
  .qux-shell .qux-home-columns .qux-list td:nth-child(4),
  .qux-shell .qux-home-columns .qux-list th:nth-child(6),
  .qux-shell .qux-home-columns .qux-list td:nth-child(6),
  .qux-shell .qux-home-columns .qux-list th:nth-child(7),
  .qux-shell .qux-home-columns .qux-list td:nth-child(7){display:none}
}
@media(max-width:1279px){.qux-shell .qux-home-columns{grid-template-columns:minmax(0,1fr)}}
/* 768 平板：筛选区是 minmax(250px,1fr)+200px+auto+auto，实需约 566px，而 768 内容区只有 539，
   「重置」按钮被顶出 35px（实测 docW 803 > winW 768）。原来的两列断点设在 700 太晚，
   这里提前到 900：搜索框整行、其余两列一档，768 不再出横向滚动条。 */
@media(min-width:701px) and (max-width:900px){
  .qux-filter-main{grid-template-columns:1fr 1fr;gap:9px}
  .qux-filter-main .qux-search{grid-column:1/-1}
}
/* 定宽 + 单行省略：不做横向滑动，也不再让编号/公司名/日期折成两三行 */
.qux-shell .qux-home-columns .qux-list table{table-layout:fixed}
/* 列宽按「内容实际需要」分配（1600 宽实测 need：编号 149 / 客户 158 / 公司 146 / 有效期 88 / PDF 112）。
   2026-11-02 首列插入「选择」圆形单选后总列数 9→10，原 9 档百分比整体后移一位，
   并按 3% 让给单选列重算（其余各档 ×0.97），保证 table-layout:fixed 下总和仍为 100%。 */
.qux-shell .qux-home-columns .qux-list th:nth-child(1){width:3%}
.qux-shell .qux-home-columns .qux-list th:nth-child(2){width:15.6%}
.qux-shell .qux-home-columns .qux-list th:nth-child(3){width:16.6%}
.qux-shell .qux-home-columns .qux-list th:nth-child(4){width:11.3%}
.qux-shell .qux-home-columns .qux-list th:nth-child(5){width:7.6%}
.qux-shell .qux-home-columns .qux-list th:nth-child(6){width:9.2%}
.qux-shell .qux-home-columns .qux-list th:nth-child(7){width:4.5%}
.qux-shell .qux-home-columns .qux-list th:nth-child(8){width:5.8%}
.qux-shell .qux-home-columns .qux-list th:nth-child(9){width:11.3%}
.qux-shell .qux-home-columns .qux-list th:nth-child(10){width:15.2%}
/* 单选列：与合同 .cm-ck、订单 .oui-pick 同一口径（原生 radio + accent-color：#0876ff） */
.qux-shell .qux-home-columns .qux-list th:first-child,
.qux-shell .qux-home-columns .qux-list td:first-child{text-align:center;padding-left:8px;padding-right:0}
.qux-radio{width:13px;height:13px;margin:0;cursor:pointer;accent-color:#0876ff;vertical-align:middle}
.qux-radio:focus-visible{outline:2px solid #0876ff;outline-offset:2px}
/* 选中行：浅蓝底 + 左侧蓝色强调边线（与合同 .cm-tb tr.active 一致） */
.qux-shell .qux-home-columns .qux-list tbody tr.active{background:#eef6ff;box-shadow:inset 3px 0 0 #0876ff}
.qux-shell .qux-home-columns .qux-list td{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
/* 客户列改成两行后，行高会跟着长；把单元格上下内边距收到 6px，两行内容的行高回到 48px 左右，
   与订单列表（48）基本齐平，同时不给操作列额外加高。 */
.qux-shell .qux-home-columns .qux-list td{padding-top:6px;padding-bottom:6px;vertical-align:middle}
/* 报价编号本身是个 button：不给它 ellipsis，改在连字符处两行显示（BJ-20261029- / BC0439FC），
   这样 9 列挤在 965px 里也不必把编号截成 BJ-20261029-BC043…；客户列本来就是两行，行高不会再涨。 */
.qux-shell .qux-home-columns .qux-list .qux-code{display:block;max-width:100%;white-space:normal;overflow-wrap:anywhere;line-height:1.35;font-variant-numeric:tabular-nums}
/* 操作列有下拉浮层 / PDF 列有版本链接，必须允许溢出，否则「更多」菜单被裁掉 */
.qux-shell .qux-home-columns .qux-list td:last-child,
.qux-shell .qux-home-columns .qux-list td:nth-child(9){overflow:visible}
/* 操作列允许换行，否则收起在 9% 宽度里会溢出到卡片外（实测溢出 84px） */
.qux-shell .qux-home-columns .qux-list td:last-child{white-space:normal}
.qux-shell .qux-home-columns .qux-list .qux-row-actions{flex-wrap:wrap;row-gap:4px;white-space:normal}
.qux-shell .qux-home-columns .qux-list .qux-row-actions button,
.qux-shell .qux-home-columns .qux-list .qux-row-actions summary{white-space:nowrap;padding:3px 6px;min-height:26px;font-size:12px}
.qux-shell .qux-home-columns .qux-list .qux-row-actions button,
.qux-shell .qux-home-columns .qux-list .qux-row-actions summary{font-size:12px;min-height:28px;padding:4px 7px}

/* ===== WB45 报价详情：右侧版本信息与商务说明精简（2026-11-03 第六轮） =====
   取值沿用 --ux-*；本段不用 !important、不用负边距，靠选择器权重覆盖上方基础值。
   ⚠️ 注意 .qux-version p / .qux-version a 在文件第 1 行已有定义（权重 0,1,1），
   所以本段凡是「.qux-version 的后代」一律写满两级类名，否则压不住。 */
.qux-shell .qux-current h2{margin-bottom:10px}
.qux-amount{display:flex;align-items:baseline;justify-content:space-between;gap:8px;background:#f4f8ff;border:1px solid #e3eefc;border-radius:var(--ux-radius);padding:10px 12px}
.qux-amount small{font-size:11.5px;color:#6b85aa}
.qux-amount strong{font-size:20px;line-height:1.2;color:#0b57c9;font-variant-numeric:tabular-nums}
.qux-cv{display:grid;grid-template-columns:64px minmax(0,1fr);gap:7px 10px;margin:12px 0 0;font-size:13px}
.qux-cv dt{color:#6b85aa}
.qux-cv dd{margin:0;display:flex;align-items:center;gap:6px;flex-wrap:wrap;color:#15345f;font-variant-numeric:tabular-nums}
.qux-expired{font-style:normal;color:#c02a1a;font-size:11.5px}
/* 状态芯片：报价状态与订单状态共用一套色，未知状态回落中性灰蓝 */
.qux-vstatus{display:inline-flex;align-items:center;height:20px;padding:0 7px;border-radius:10px;font-size:11.5px;line-height:1;background:#eef3fb;color:#3d5c85;white-space:nowrap}
.qux-vstatus.draft{background:#eef2f8;color:#5a7290}
.qux-vstatus.confirmed,.qux-vstatus.pending{background:#e8f2ff;color:#0b62d0}
.qux-vstatus.accepted,.qux-vstatus.approved,.qux-vstatus.paid,.qux-vstatus.verified,.qux-vstatus.issued{background:#e6f6ec;color:#187a43}
.qux-vstatus.lost,.qux-vstatus.rejected{background:#fdecea;color:#b4231a}
.qux-vstatus.void,.qux-vstatus.cancelled,.qux-vstatus.reversed,.qux-vstatus.withdrawn{background:#f1f1f4;color:#6a6a78}
/* 版本差异：必须一眼看出「当前查看的」与「最新正式/最新保存」不是同一个 */
.qux-diff{display:flex;flex-direction:column;gap:4px;margin-top:10px;padding:9px 11px;border:1px solid #f0dfc0;border-left:3px solid #d99a2b;border-radius:6px;background:#fff9ee;font-size:12px;color:#7a5a1d}
.qux-diff>span{display:flex;justify-content:space-between;gap:8px}
.qux-diff b{font-weight:600;color:#5d4310}
.qux-diff button{align-self:flex-start;margin-top:2px}
.qux-cv-ops{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:12px;padding-top:12px;border-top:1px solid #edf2fa}
.qux-cv-ops .qux-btn{display:inline-flex;align-items:center;height:32px;padding:0 12px;border:1px solid #d9e6f8;border-radius:6px;background:#fff;color:#0872f5;font-size:13px;text-decoration:none;cursor:pointer}
.qux-cv-ops .qux-btn:hover{background:#f2f8ff}
.qux-cv-ops .qux-btn.primary{background:#0876ff;border-color:#0876ff;color:#fff}
.qux-cv-ops .qux-btn.primary:hover{background:#0a63d6}
.qux-cv-none{font-size:12px;color:#8b9cb5}
/* 折叠区：历史版本 / 审计与文件校验 / 商务条款 / 审批记录共用 */
.qux-fold{margin-top:10px;border:1px solid #e8eef8;border-radius:7px;background:#fbfdff;overflow:hidden}
.qux-fold>summary{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:9px 12px;font-size:12.5px;font-weight:600;color:#1f4573;cursor:pointer;list-style:none}
.qux-fold>summary::-webkit-details-marker{display:none}
.qux-fold>summary::after{content:'⌄';font-size:11px;color:#7f96b5}
.qux-fold[open]>summary{border-bottom:1px solid #e8eef8;background:#f5f9ff}
.qux-fold[open]>summary::after{transform:rotate(180deg)}
.qux-fold>summary>span{font-weight:400;font-size:11.5px;color:#7f96b5}
.qux-fold>*:not(summary){padding:0 12px}
.qux-fold>*:last-child{padding-bottom:10px}
.qux-versions{display:flex;flex-direction:column;padding-top:2px}
.qux-version{border-top:1px solid #eef3fa;padding:9px 0}
.qux-version:first-child{border-top:0;padding-top:10px}
.qux-version.current{background:#f4f9ff}
.qux-version-head{display:flex;align-items:center;gap:7px}
.qux-version-head strong{font-size:12.5px;color:#123a68}
.qux-version-head em{font-style:normal;font-size:11px;color:#0872f5}
.qux-version .qux-version-meta{display:flex;justify-content:space-between;gap:8px;margin:5px 0 0;font-size:12px;color:#45658c}
.qux-version .qux-version-meta b{font-weight:600;color:#15345f;font-variant-numeric:tabular-nums}
.qux-version-ops{display:flex;align-items:center;gap:10px;margin-top:5px}
.qux-version-ops button,.qux-version-ops a{font-size:12px;line-height:1.4;padding:0;height:auto;background:none;border:0;color:#0872f5;cursor:pointer;text-decoration:none}
.qux-audit{display:flex;flex-direction:column;gap:10px;padding-top:10px}
.qux-audit h3{margin:0 0 5px;font-size:12px;font-weight:600;color:#3d5c85}
.qux-audit-facts{display:grid;grid-template-columns:78px minmax(0,1fr);gap:4px 10px;margin:0;font-size:12px}
.qux-audit-facts dt{color:#7f96b5}
.qux-audit-facts dd{margin:0;color:#25425f;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
.qux-rel{display:grid;grid-template-columns:64px minmax(0,1fr);gap:7px 10px;margin:0 0 10px;font-size:13px}
.qux-rel dt{color:#6b85aa}
.qux-rel dd{margin:0;display:flex;align-items:center;gap:7px;flex-wrap:wrap;color:#15345f}
.qux-rel-none{margin:0;font-size:13px;color:#5c7699}
.qux-price-ok,.qux-price-state,.qux-price-wait{display:flex;flex-direction:column;gap:3px;margin:0;font-size:13px}
.qux-price-ok{color:#187a43}
.qux-price-state{padding:9px 11px;border:1px solid #e8eef8;border-radius:6px;background:#f8fbff;margin-bottom:8px}
.qux-price-state.warn{border-color:#f0dfc0;background:#fff9ee;color:#7a5a1d}
.qux-price-state.wait{border-color:#cfe0f7;background:#f2f8ff;color:#0b57c9}
.qux-price-state.pass{border-color:#cfe8d8;background:#f2fbf5;color:#187a43}
.qux-price-state.stop{border-color:#f3d2cd;background:#fdf4f3;color:#b4231a}
.qux-price-ok span,.qux-price-state span,.qux-price-wait{font-size:11.5px;font-weight:400;line-height:1.6;color:#7f96b5}
.qux-price-wait{font-size:12.5px}
.qux-clause-alert{display:flex;flex-direction:column;gap:2px;margin:0 0 10px;padding:9px 11px;border:1px solid #f0dfc0;border-left:3px solid #d99a2b;border-radius:6px;background:#fff9ee;font-size:12.5px;color:#7a5a1d}
.qux-clause-alert span{font-size:11.5px;color:#96733a;overflow-wrap:anywhere}
.qux-shell .qux-card h2 small{font-size:11.5px;font-weight:400;color:#7f96b5;margin-left:6px}
.qux-clauses{display:flex;flex-direction:column;gap:6px}
.qux-clause-none{margin:0;font-size:12.5px;color:#8b9cb5}
.qux-help{margin-top:10px;font-size:12px;color:#7f96b5}
.qux-help>summary{cursor:pointer;font-size:12px;color:#5c7699}
.qux-help p{margin:6px 0 0;line-height:1.7}

/* 价格与例外审批：审批人原有批准/拒绝按钮；折叠标题右侧计数统一靠右 */
.qux-price-review{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 8px}
.qux-price-review .qux-btn{display:inline-flex;align-items:center;height:32px;padding:0 12px;border:1px solid #d9e6f8;border-radius:6px;background:#fff;color:#0872f5;font-size:13px;cursor:pointer}
.qux-price-review .qux-btn:hover{background:#f2f8ff}
.qux-price-review .qux-btn.primary{background:#0876ff;border-color:#0876ff;color:#fff}
.qux-price-review .qux-btn.primary:hover{background:#0a63d6}
.qux-fold>summary>span{margin-left:auto;text-align:right}
.qux-diff>span{flex-wrap:nowrap}
.qux-diff b{white-space:nowrap}

/* ==========================================================================
   WB56 · 报价首页：筛选并入左栏（右栏与筛选区同顶）+ 双栏 64 / 36（2026-11-03 第九轮）
   结构与订单首页一致：.qux-home-columns 两列 = .qux-main（筛选卡 + 列表卡）/ .qux-side。
   右栏是独立栅格项且 align-items:start → 顶部与左栏第一块（筛选卡）齐平；展开「更多筛选」
   只把左栏推下去，右栏不动。不用负边距/绝对定位/悬浮覆盖。
   ========================================================================== */
.qux-shell .qux-home-columns {
  grid-template-columns: minmax(655px, 1.78fr) minmax(320px, 1fr);
  align-items: start;
}
.qux-shell .qux-main { align-content: start; }
/* 间距交给 .qux-main 的 gap，筛选卡不再自带 margin-bottom（否则与 gap 叠加成 28px） */
.qux-shell .qux-main > .qux-query { margin-bottom: 0; }

/* 十列在 1600 及以下也读不出来：公司主体 / 有效期 / 发票类型让给右栏（右栏 facts 本来就有），
   列表固定 7 列 —— 编号、客户、总额、状态、PDF、操作 + 单选。 */
@media (max-width: 1699px) {
  .qux-shell .qux-home-columns .qux-list th:nth-child(4),
  .qux-shell .qux-home-columns .qux-list td:nth-child(4),
  .qux-shell .qux-home-columns .qux-list th:nth-child(6),
  .qux-shell .qux-home-columns .qux-list td:nth-child(6),
  .qux-shell .qux-home-columns .qux-list th:nth-child(7),
  .qux-shell .qux-home-columns .qux-list td:nth-child(7) { display: none; }
}

/* 真正放不下才单栏：筛选 → 选中预览 → 列表 */
@media (max-width: 1245px) {
  .qux-shell .qux-home-columns { grid-template-columns: minmax(0, 1fr); }
  .qux-shell .qux-main { display: contents; }
  .qux-shell .qux-main > .qux-query { order: 1; }
  .qux-shell .qux-side { order: 2; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
  .qux-shell .qux-main > .qux-list { order: 3; }
}

/* 收成 7 列后，固定列一律改「像素」定宽：
   百分比会让每一列跟着左栏等比缩水，缩到某一列连表头都放不下 —— 曾经出现
   「选/择」「报价总额（含 / 税）」竖排、操作列「编辑 / 更多」折成两行。
   像素定宽把「选择 / 编号 / 金额 / 状态 / 版本 / 操作」六列锁住，
   全部弹性空间只留给客户列（客户全名在右栏始终完整可见，列表允许省略号）。
   合计 508px：1280 视口左栏 655 时客户列仍有 113px，1440 时 205px。 */
@media (max-width: 1699px) {
  .qux-shell .qux-home-columns .qux-list th:nth-child(1) { width: 48px; }
  .qux-shell .qux-home-columns .qux-list th:nth-child(2) { width: 118px; }
  /* 客户列是唯一的弹性列 —— 必须显式 auto，否则它自带的 16.6% 会让 fixed 布局
     把剩余宽度按比例摊回所有列，六列像素定宽集体被放大 1.27 倍、客户列反而更窄。 */
  .qux-shell .qux-home-columns .qux-list th:nth-child(3) { width: auto; }
  .qux-shell .qux-home-columns .qux-list th:nth-child(5) { width: 94px; }
  .qux-shell .qux-home-columns .qux-list th:nth-child(8) { width: 58px; }
  .qux-shell .qux-home-columns .qux-list th:nth-child(9) { width: 50px; }
  .qux-shell .qux-home-columns .qux-list th:nth-child(10) { width: 140px; }
}

/* 表头一律不折行：表头折成「选/择」「报价总额（含 / 税」会把整张表的行高压高，
   视觉上比列窄更难受。文案已收短（总额（含税）、版本），各列宽度都容得下。 */
.qux-shell .qux-home-columns .qux-list thead th { white-space: nowrap; }
/* 操作列同理：按钮宁可整列宽一点，也不许折成两行 */
.qux-shell .qux-home-columns .qux-list .qux-row-actions { flex-wrap: nowrap; }

/* 「版本」列只剩 V1 徽标，信息量最低 —— 左栏不够宽时先让位（右栏「当前版本」始终显示版本号） */
@media (max-width: 1399px) {
  .qux-shell .qux-home-columns .qux-list th:nth-child(9),
  .qux-shell .qux-home-columns .qux-list td:nth-child(9) { display: none; }
}

/* 版本徽标：列表里的轻量标记，完整说明（草稿预览 / 授权带章PDF）走 title */
.qux-shell .qux-home-columns .qux-list .qux-ver {
  display: inline-block;
  padding: 2px 6px;
  border-radius: 4px;
  background: #eef4ff;
  color: #4a70a8;
  font-size: 11px;
  line-height: 1.5;
}

/* ==========================================================================
   WB58 · 报价首页右栏 sticky（2026-11-03 第十轮）
   只作用于首页双栏（.qux-home-columns > .qux-side）；报价详情页的两栏不受影响。
   ========================================================================== */
@media (min-width: 1246px) {
  .qux-shell .qux-home-columns > .qux-side {
    position: sticky;
    top: var(--ux-sticky-top, 12px);
    max-height: calc(100vh - var(--ux-sticky-top, 12px) - 16px);
    overflow: auto;
    overscroll-behavior: contain;
  }
  .qux-shell .qux-home-columns > .qux-side .qux-side-head {
    position: sticky;
    top: 0;
    z-index: 2;
    background: #fff;
  }
}
