/* [2026-11-05 buy-approve-card] 购物审批卡（chill-purchase.js）。跟外卖付款卡一家人：配方抄 worksite/checkout-card-20261028/stage/chill-checkout.css
   （雾面近白底 + 右上藕粉、左下浅水蓝两朵光晕；带蓝的石板灰字；小号拉开字距的大写抬头；状态胶囊；虚线；带铅笔的粉白留言框）。卡宽 298（402 宽屏）。
   多出来的：商品小图、平台小签、两颗钮（不买 / 批准，批准要点两下）。 */
.pc-wrap { width: 298px; max-width: 100%; flex: 0 1 auto; position: relative; z-index: 1; }
.pc-card {
  --pc-ink: #4d5d67; --pc-ink2: #667984; --pc-mute: #8d9aa2; --pc-faint: #93a5ad; --pc-eyebrow: #86a1a5;
  position: relative; box-sizing: border-box; width: 100%;
  padding: 17px 15px 13px 16px;
  border-radius: 22px;
  color: var(--pc-ink);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Helvetica Neue", "Microsoft YaHei", sans-serif;
  font-size: 11px; line-height: 1.45; text-align: left; white-space: normal; word-break: break-word;
  -webkit-font-smoothing: antialiased;
  background:
    radial-gradient(60% 62% at 102% -2%, rgba(238, 210, 226, .95) 0%, rgba(241, 222, 233, .72) 32%, rgba(244, 233, 242, .40) 64%, rgba(246, 244, 249, 0) 100%),
    radial-gradient(78% 58% at -6% 106%, rgba(198, 225, 237, 1) 0%, rgba(209, 231, 242, .86) 30%, rgba(228, 239, 248, .46) 62%, rgba(246, 248, 252, 0) 100%),
    linear-gradient(172deg, #fbfcfe 0%, #f6f8fb 42%, #f2f5f9 74%, #f3f3f8 100%);
  border: 1px solid rgba(214, 222, 233, .95);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .95), inset 0 0 0 1px rgba(255, 255, 255, .35), 0 1px 2px rgba(110, 132, 150, .10), 0 8px 22px -6px rgba(110, 135, 158, .22);
  -webkit-backdrop-filter: blur(14px) saturate(1.15); backdrop-filter: blur(14px) saturate(1.15);
  overflow: hidden;
}
.pc-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.pc-head-l { min-width: 0; }
.pc-eyebrow { font-size: 7.9px; line-height: 1.2; font-weight: 700; letter-spacing: .23em; color: var(--pc-eyebrow); font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif; }
.pc-title { margin-top: 3px; font-size: 11.8px; line-height: 1.3; font-weight: 700; color: var(--pc-ink); letter-spacing: .03em; }
.pc-pill { flex: none; align-self: center; margin-top: 1px; padding: 0 9px; height: 21px; line-height: 21px; border-radius: 999px; font-size: 8.8px; font-weight: 700; letter-spacing: .02em; white-space: nowrap; }
.pc-card[data-st="pending"] .pc-pill { background: rgba(233, 226, 244, .95); color: #776693; }   /* 雾紫，同外卖卡待付款 */
.pc-card[data-st="approve"] .pc-pill { background: rgba(226, 239, 233, .95); color: #587a6b; }   /* 薄荷，同已支付 */
.pc-card[data-st="deny"]    .pc-pill { background: rgba(233, 236, 240, .95); color: #87919a; }   /* 灰，同已取消 */
/* 平台 · 单号 */
.pc-shop { display: flex; align-items: center; gap: 7px; margin-top: 12px; min-height: 14px; font-size: 9.4px; line-height: 1.3; color: var(--pc-mute); letter-spacing: .02em; }
.pc-plat { flex: none; padding: 0 6px; height: 15px; line-height: 15px; border-radius: 5px; font-size: 8.6px; font-weight: 700; color: #6c7e88; background: rgba(226, 233, 240, .9); letter-spacing: .04em; }
.pc-id { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-variant-numeric: tabular-nums; }
/* 东西一行：小图 + 名 / 规格 + 单价 ×数量 */
.pc-item { display: flex; align-items: flex-start; gap: 10px; margin-top: 8px; }
.pc-img { flex: none; width: 44px; height: 44px; border-radius: 11px; overflow: hidden; background: rgba(232, 238, 244, .9); border: 1px solid rgba(214, 222, 233, .9); }
.pc-img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.pc-img.pc-img-bad { display: none; }
.pc-item-main { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; padding-top: 1px; }
.pc-item-name { font-size: 11.4px; line-height: 1.35; font-weight: 500; color: #6c7e88; }
.pc-item-spec { font-size: 9.2px; line-height: 1.35; color: var(--pc-mute); margin-top: 2px; }
.pc-item-side { flex: none; display: flex; flex-direction: column; align-items: flex-end; padding-top: 1px; font-variant-numeric: tabular-nums; }
.pc-item-price { font-size: 10.2px; line-height: 1.4; color: var(--pc-ink2); }
.pc-item-qty { font-size: 9.6px; line-height: 1.4; color: var(--pc-mute); }
.pc-total { display: flex; align-items: baseline; justify-content: space-between; margin-top: 10px; }
.pc-total-k { font-size: 9.8px; color: #939aa0; }
.pc-total-v { font-size: 19px; line-height: 1.1; font-weight: 700; color: var(--pc-ink); letter-spacing: .01em; font-variant-numeric: tabular-nums; }
.pc-total-v i { font-style: normal; font-size: 11px; font-weight: 600; margin-right: 2px; color: var(--pc-ink2); }
.pc-dash { height: 1px; margin: 12px 0 0; background-image: linear-gradient(90deg, rgba(212, 218, 226, .95) 0 4px, transparent 4px 6.2px); background-size: 6.2px 1px; background-repeat: repeat-x; }
/* 他的话：粉白底 + 极细粉边 + 铅笔 */
.pc-note { display: flex; align-items: flex-start; gap: 11px; margin-top: 12px; padding: 10px 12px 11px 12px; border-radius: 12px; background: rgba(250, 243, 249, .9); border: 1px solid rgba(245, 228, 238, .95); }
.pc-pencil { flex: none; width: 14px; height: 17px; display: flex; align-items: center; justify-content: center; color: #ab9fae; }
.pc-pencil svg { width: 11px; height: 11px; display: block; }
.pc-note-t { min-width: 0; font-size: 10.9px; line-height: 1.55; color: #7a7880; }
/* 底行状态小字 + 两颗钮 */
.pc-foot { margin-top: 12px; }
.pc-state { font-size: 9px; line-height: 1.45; color: var(--pc-faint); letter-spacing: .02em; }
.pc-acts { display: flex; gap: 8px; margin-top: 9px; }
.pc-btn { position: relative; flex: 1 1 0; height: 30px; padding: 0 10px; border-radius: 999px; border: 0; box-shadow: none; font-family: inherit; font-size: 10.6px; font-weight: 700; letter-spacing: .08em; cursor: pointer; -webkit-tap-highlight-color: transparent; -webkit-appearance: none; appearance: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pc-btn::after { content: ''; position: absolute; inset: -6px -4px; }
.pc-btn:active { transform: translateY(.5px); filter: brightness(.97); }
.pc-no { flex: 1 1 0; color: #8a96a0; background: rgba(255, 255, 255, .55); box-shadow: inset 0 0 0 1px rgba(214, 222, 233, .95); }
.pc-yes { flex: 1.5 1 0; color: #4f6270; background: rgba(219, 229, 238, .95); }   /* 同外卖卡「去支付」：平底，比送到条深一级 */
.pc-yes.armed { color: #fff; background: linear-gradient(120deg, #8aa6b8, #b893ab); letter-spacing: .03em; }   /* 第一下：蓝粉两朵光晕的颜色压深，等第二下 */
.pc-yes[disabled] { opacity: .45; cursor: default; }
.pc-card.busy .pc-acts { opacity: .5; pointer-events: none; }
.pc-card:not([data-st="pending"]) .pc-acts { display: none; }
.pc-card:not([data-st="pending"]) .pc-total-v { color: var(--pc-ink2); }
.pc-card[data-st="deny"] .pc-total-v { text-decoration: line-through; text-decoration-color: rgba(120, 130, 140, .45); }
.pc-card[data-st="deny"] .pc-img { filter: grayscale(.6); opacity: .8; }
/* 暗色主题：照外卖卡那版压暗（没渲染验过，同外卖卡） */
[data-theme="dark"] .pc-card {
  --pc-ink: #e2e7eb; --pc-ink2: #c3ccd3; --pc-mute: #8e9aa3; --pc-faint: #8897a1; --pc-eyebrow: #8eaeb2;
  background:
    radial-gradient(58% 46% at 102% -2%, rgba(150, 96, 128, .40) 0%, rgba(120, 84, 110, .20) 40%, rgba(40, 44, 52, 0) 100%),
    radial-gradient(78% 58% at -6% 106%, rgba(70, 120, 150, .42) 0%, rgba(60, 100, 128, .20) 40%, rgba(40, 44, 52, 0) 100%),
    linear-gradient(168deg, #2b3038 0%, #272b33 60%, #262830 100%);
  border-color: rgba(255, 255, 255, .10);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07), 0 8px 24px -6px rgba(0, 0, 0, .5);
}
[data-theme="dark"] .pc-plat { color: #c3ccd3; background: rgba(255, 255, 255, .08); }
[data-theme="dark"] .pc-item-name { color: #d3dade; }
[data-theme="dark"] .pc-note { background: rgba(214, 170, 196, .08); border-color: rgba(214, 170, 196, .18); }
[data-theme="dark"] .pc-note-t { color: #c8c2cb; }
[data-theme="dark"] .pc-dash { background-image: linear-gradient(90deg, rgba(255, 255, 255, .16) 0 4px, transparent 4px 6.2px); }
[data-theme="dark"] .pc-no { color: #aab4bb; background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); }
[data-theme="dark"] .pc-yes { color: #e8edf1; background: rgba(120, 150, 170, .35); }
[data-theme="dark"] .pc-card[data-st="pending"] .pc-pill { background: rgba(170, 150, 210, .18); color: #c7b8e6; }
[data-theme="dark"] .pc-card[data-st="approve"] .pc-pill { background: rgba(120, 180, 150, .16); color: #a5d1bc; }
[data-theme="dark"] .pc-card[data-st="deny"] .pc-pill { background: rgba(255, 255, 255, .08); color: #99a2aa; }
/* [buy-card-skins 11-05] 穿皮的卡：外层不画任何东西，纸、边、阴影、钮全由皮自己画（皮的 CSS 都以 .pcs-<id> 开头，合同 worksite/buy-card-skins-20261105/contract.md）。宽 298 同蓝粉卡。 */
.pc-wrap.pc-skinned { width: 298px; max-width: 100%; }
.pc-card.pc-skin { padding: 0; background: none; border: 0; border-radius: 0; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; overflow: visible; }
[data-theme="dark"] .pc-card.pc-skin { background: none; border: 0; box-shadow: none; }
