.wx-cache-shade { position:fixed; inset:0; background:#0007; z-index:1400; }
.wx-cache-panel { position:fixed; z-index:1401; inset:6vh max(24px,calc((100vw - 760px)/2)); background:#f8f9f7; color:#253429; border:1px solid #dde4da; border-radius:16px; box-shadow:0 20px 80px #0003; display:flex; flex-direction:column; overflow:hidden; }
.wx-cache-shade[hidden],.wx-cache-panel[hidden] { display:none; }
.wx-cache-header { display:flex; align-items:center; justify-content:space-between; padding:20px 26px 16px; background:white; border-bottom:1px solid #e4e9e1; }
.wx-cache-eyebrow { color:#8c9b8a; font-size:10px; letter-spacing:2px; }
.wx-cache-header h2 { font-size:21px; margin:4px 0 0; font-weight:600; }
.wx-cache-close { width:34px; height:34px; font-size:26px; border:0; background:#f1f4ef; border-radius:50%; color:#60705b; cursor:pointer; }
.wx-cache-body { overflow:auto; padding:18px 26px; flex:1; min-height:0; overscroll-behavior:contain; }
.wx-cache-device-bar { display:flex; align-items:center; gap:10px; }
.wx-cache-device { flex:1; min-width:0; border:1px solid #d4ddcf; padding:10px 12px; border-radius:8px; background:white; font:inherit; font-size:13px; }
.wx-cache-text { background:none; border:0; color:#627e55; font:inherit; font-size:12px; padding:7px 0; cursor:pointer; }
.wx-cache-disk { margin:16px 0 9px; font-size:18px; font-weight:600; }
.wx-cache-disk.is-full { color:#b66d3c; }
.wx-cache-hint,.wx-cache-feedback { font-size:12px; line-height:1.7; color:#7a8773; margin:8px 0 14px; }
.wx-cache-feedback.is-error { color:#b65541; }
.wx-cache-types { display:flex; flex-wrap:wrap; gap:8px; margin:16px 0; }
.wx-cache-types label { border:1px solid #dce4d7; background:#fff; border-radius:6px; padding:8px 12px; display:flex; align-items:center; gap:6px; font-size:12px; cursor:pointer; }
.wx-cache-panel input[type=checkbox] { accent-color:#07a94f; width:16px; height:16px; flex-shrink:0; }
.wx-cache-search { box-sizing:border-box; width:100%; border:0; border-radius:7px; background:#eaf0e7; padding:11px 13px; font:inherit; font-size:12px; }
.wx-cache-selection-bar { display:flex; align-items:center; justify-content:space-between; padding:12px 0 8px; gap:12px; }
.wx-cache-select-all { display:flex; align-items:center; gap:8px; font-size:12px; color:#66765d; cursor:pointer; }
.wx-cache-list { border:1px solid #e3e8df; background:#fff; border-radius:9px; overflow:hidden; }
.wx-cache-row { display:flex; align-items:center; gap:12px; padding:13px 14px; cursor:pointer; border-bottom:1px solid #edf0e9; }
.wx-cache-row:last-child { border-bottom:0; }
.wx-cache-row.is-selected { background:#f1f8ed; }
.wx-cache-avatar { display:flex; align-items:center; justify-content:center; width:40px; height:40px; background:#e5ecdf; border-radius:8px; color:#678059; position:relative; overflow:hidden; flex-shrink:0; }
.wx-cache-avatar img { width:100%; height:100%; object-fit:cover; position:absolute; inset:0; }
.wx-cache-row-copy { flex:1; min-width:0; display:flex; flex-direction:column; gap:5px; }
.wx-cache-row-copy strong { font-size:13px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-weight:500; }
.wx-cache-row-copy > span { color:#8b9784; font-size:11px; }
.wx-cache-row-size { font-size:12px; color:#63735b; white-space:nowrap; }
.wx-cache-empty { padding:25px 14px; color:#929d8d; font-size:12px; text-align:center; }
.wx-cache-footer { flex-shrink:0; display:flex; align-items:center; justify-content:space-between; gap:14px; padding:16px 26px; padding-bottom:max(16px,env(safe-area-inset-bottom)); background:white; border-top:1px solid #e3e8df; }
.wx-cache-selected { font-size:12px; line-height:1.7; color:#65775e; }
.wx-cache-primary,.wx-cache-cancel,.wx-cache-danger { font:inherit; font-size:13px; padding:10px 16px; border-radius:7px; border:0; cursor:pointer; white-space:nowrap; }
.wx-cache-primary { background:#0cab55; color:#fff; }
.wx-cache-cancel { background:#e9eee5; color:#607654; }
.wx-cache-danger { background:#d06d47; color:#fff; }
.wx-cache-panel button:disabled,.wx-cache-panel input:disabled { opacity:.5; cursor:default; }
.wx-cache-confirmation { background:#fff9f0; border:1px solid #eadbc3; border-radius:9px; padding:16px; margin:12px 0 2px; }
.wx-cache-confirmation[hidden] { display:none; }
.wx-cache-confirmation h3 { margin:0 0 12px; font-size:15px; }
.wx-cache-confirmation p { font-size:12px; line-height:1.7; overflow-wrap:anywhere; }
.wx-cache-confirm-names { max-height:100px; overflow:auto; color:#63705c; }
.wx-cache-confirm-warning { color:#9e774c; }
.wx-cache-confirm-actions { display:flex; justify-content:flex-end; flex-wrap:wrap; gap:9px; margin-top:14px; }
@media (max-width:720px), (max-width:950px) and (max-height:500px) {
  .wx-cache-panel { inset:0; border-radius:0; border:0; }
  .wx-cache-header { padding:calc(14px + env(safe-area-inset-top)) 17px 13px; }
  .wx-cache-header h2 { font-size:20px; }
  .wx-cache-body { padding:15px; }
  .wx-cache-device { max-width:calc(100vw - 113px); }
  .wx-cache-disk { font-size:15px; }
  .wx-cache-row { gap:10px; padding:12px 10px; }
  .wx-cache-avatar { width:36px; height:36px; }
  .wx-cache-row-copy strong { font-size:13px; }
  .wx-cache-footer { padding:13px 15px max(13px,env(safe-area-inset-bottom)); align-items:flex-start; }
  .wx-cache-primary { font-size:12px; padding:11px 12px; }
  .wx-cache-selected { font-size:11px; }
  .wx-cache-types { gap:7px; }
  .wx-cache-types label { padding:8px 10px; }
}
