/* ============================================================================
 *  style.css —— 移动优先样式（浅色主题）
 * ==========================================================================*/

:root {
  --c-primary:   #1F4E79;
  --c-primary-2: #2E75B6;
  --c-bg:        #F5F7FA;
  --c-card:      #FFFFFF;
  --c-border:    #E4E8EE;
  --c-text:      #1F2937;
  --c-text-2:    #6B7280;
  --c-text-3:    #9CA3AF;
  --c-red:       #C00000;
  --c-green:     #006100;
  --c-orange:    #C55A11;
  --c-jx:        #2E75B6;
  --c-jg:        #C55A11;
  --radius:      12px;
  --shadow:      0 1px 3px rgba(16,24,40,.08), 0 1px 2px rgba(16,24,40,.04);
  --shadow-lg:   0 8px 24px rgba(16,24,40,.12);
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

html, body {
  margin: 0; padding: 0;
  background: var(--c-bg);
  color: var(--c-text);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei",
               "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

body { padding-bottom: env(safe-area-inset-bottom); }

/* ===================== 顶栏 ===================== */
.topbar {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  height: 52px; padding: 0 14px;
  padding-top: env(safe-area-inset-top);
  background: var(--c-primary);
  color: #fff;
  box-shadow: 0 2px 8px rgba(31,78,121,.2);
}
.topbar-left { display: flex; align-items: center; gap: 8px; }
.logo { font-size: 20px; }
.app-title { font-size: 16px; font-weight: 600; letter-spacing: .5px; }
.topbar-right { display: flex; align-items: center; gap: 10px; }

.user-chip {
  font-size: 12px; padding: 3px 10px; border-radius: 20px;
  background: rgba(255,255,255,.18);
}
.user-chip.role-write { background: rgba(255,214,102,.28); }
.user-chip.role-read  { background: rgba(255,255,255,.15); }
.topbar .btn-link { color: rgba(255,255,255,.85); }
.topbar .btn-link:hover { color: #fff; }

/* ===================== 通用按钮 ===================== */
.btn {
  border: none; border-radius: 8px; cursor: pointer;
  font-size: 15px; font-family: inherit;
  padding: 10px 18px; transition: all .15s;
}
.btn-primary { background: var(--c-primary-2); color: #fff; font-weight: 500; }
.btn-primary:active { background: var(--c-primary); transform: scale(.98); }
.btn-primary:disabled { background: #C7D2DB; cursor: not-allowed; }
.btn-danger { background: #fff; color: var(--c-red); border: 1px solid #F3C9C9; }
.btn-danger:active { background: #FDF2F2; }
.btn-sm { padding: 6px 14px; font-size: 14px; }
.btn-block { width: 100%; }
.btn-link {
  background: none; border: none; color: var(--c-primary-2);
  font-size: 14px; cursor: pointer; font-family: inherit; padding: 4px 6px;
}
.btn-link:active { opacity: .6; }

/* ===================== 列表页 ===================== */
.view { max-width: 720px; margin: 0 auto; padding: 12px 12px 40px; }

.search-wrap { position: relative; margin-bottom: 10px; }
.search-wrap input {
  width: 100%; height: 42px; padding: 0 40px 0 14px;
  border: 1px solid var(--c-border); border-radius: 10px;
  background: var(--c-card); font-size: 15px; font-family: inherit;
  outline: none; transition: border-color .15s;
}
.search-wrap input:focus { border-color: var(--c-primary-2); }
.btn-clear {
  position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  width: 30px; height: 30px; border: none; background: none;
  color: var(--c-text-3); font-size: 15px; cursor: pointer; border-radius: 50%;
}
.btn-clear:active { background: #F0F2F5; }

.filter-bar {
  display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px;
  margin-bottom: 10px; scrollbar-width: none;
}
.filter-bar::-webkit-scrollbar { display: none; }
.filter-item { flex: 0 0 auto; }
.filter-item label {
  display: block; font-size: 11px; color: var(--c-text-3); margin-bottom: 3px; padding-left: 2px;
}
.filter-item select {
  height: 34px; padding: 0 26px 0 10px; font-size: 13px; font-family: inherit;
  border: 1px solid var(--c-border); border-radius: 8px;
  background: var(--c-card) url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%239CA3AF'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E") no-repeat right 4px center;
  background-size: 18px; appearance: none; -webkit-appearance: none;
  color: var(--c-text); outline: none;
}
.filter-item select:focus { border-color: var(--c-primary-2); }

.list-head {
  display: flex; align-items: center; justify-content: space-between;
  margin: 4px 2px 10px;
}
.list-count { font-size: 13px; color: var(--c-text-2); }
.list-actions { display: flex; align-items: center; gap: 8px; }

/* ---- 卡片 ---- */
.list-body { display: flex; flex-direction: column; gap: 10px; }

.card {
  background: var(--c-card); border-radius: var(--radius);
  padding: 13px 14px; box-shadow: var(--shadow);
  cursor: pointer; transition: transform .1s, box-shadow .15s;
  border: 1px solid transparent;
  display: flex; gap: 12px; align-items: flex-start;
}
.card:active { transform: scale(.985); box-shadow: var(--shadow-lg); border-color: #D8E3EE; }

/* 卡片左侧主图 */
.card-thumb {
  width: 72px; height: 72px; flex-shrink: 0;
  border-radius: 9px; overflow: hidden;
  background: #F0F3F7; border: 1px solid var(--c-border);
  display: flex; align-items: center; justify-content: center;
}
.card-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.card-thumb.empty-photo {
  color: #C3CBD6; font-size: 22px;
  background: repeating-linear-gradient(45deg, #F7F9FB, #F7F9FB 6px, #EFF3F7 6px, #EFF3F7 12px);
}
.card-main { flex: 1; min-width: 0; }

.card-head {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 8px; margin-bottom: 3px;
}
.card-title { font-size: 16px; font-weight: 600; line-height: 1.35; flex: 1; }
.card-code {
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 12px; color: var(--c-text-3); margin-bottom: 6px; letter-spacing: .3px;
}
.card-cat { font-size: 13px; color: var(--c-text-2); margin-bottom: 9px; }
.card-meta { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.meta-chip {
  font-size: 11.5px; color: var(--c-text-2); background: #F3F5F8;
  padding: 3px 8px; border-radius: 6px; white-space: nowrap;
}

.badge {
  font-size: 11.5px; padding: 2px 9px; border-radius: 20px;
  color: #fff; font-weight: 500; white-space: nowrap; flex-shrink: 0;
}
.bg-jx { background: var(--c-jx); }
.bg-jg { background: var(--c-jg); }

.badge-status { font-size: 11.5px; padding: 3px 9px; border-radius: 6px; white-space: nowrap; }
.st-on     { background: #E7F4E9; color: #2E7D32; }
.st-dev    { background: #FFF4E5; color: #B26A00; }
.st-off    { background: #F0F1F3; color: #6B7280; }
.st-sample { background: #E8F0FB; color: #1F4E79; }

/* ---- 分页 ---- */
.pager {
  display: flex; align-items: center; justify-content: center; gap: 14px;
  margin-top: 18px; font-size: 13px; color: var(--c-text-2);
}
.pager button {
  border: 1px solid var(--c-border); background: var(--c-card);
  padding: 7px 15px; border-radius: 8px; font-size: 13px;
  color: var(--c-text); cursor: pointer; font-family: inherit;
}
.pager button:disabled { color: #C7CDD4; cursor: not-allowed; background: #FAFBFC; }
.pager button:not(:disabled):active { background: #F0F2F5; }

/* ---- 空状态 ---- */
.empty { text-align: center; padding: 60px 20px; }
.empty-icon { font-size: 44px; margin-bottom: 12px; opacity: .5; }
.empty-text { font-size: 15px; color: var(--c-text-2); margin-bottom: 6px; }
.empty-hint { font-size: 13px; color: var(--c-text-3); }

/* ===================== 详情页 ===================== */
.view-bar {
  display: flex; align-items: center; gap: 10px;
  padding: 4px 0 12px;
}
.btn-back {
  border: none; background: none; color: var(--c-primary-2);
  font-size: 16px; cursor: pointer; font-family: inherit;
  padding: 6px 8px 6px 0; font-weight: 500;
}
.btn-back:active { opacity: .6; }
.view-title { font-size: 15px; font-weight: 600; color: var(--c-text-2); }

.detail-hero {
  background: linear-gradient(135deg, #1F4E79, #2E75B6);
  color: #fff; border-radius: var(--radius);
  padding: 18px 16px; margin-bottom: 12px;
  box-shadow: 0 4px 14px rgba(31,78,121,.22);
}
.hero-name { font-size: 20px; font-weight: 700; margin-bottom: 7px; line-height: 1.3; }
.hero-code {
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 12.5px; opacity: .9; display: flex; align-items: center; gap: 8px;
}
.hero-code .badge { background: rgba(255,255,255,.24); }

.dgroup {
  background: var(--c-card); border-radius: var(--radius);
  margin-bottom: 10px; overflow: hidden; box-shadow: var(--shadow);
}
.dgroup-title {
  font-size: 14px; font-weight: 600; padding: 12px 14px;
  border-left: 3px solid var(--c-primary-2);
  background: #FAFBFD; display: flex; align-items: center; gap: 7px;
}
.drow {
  display: flex; padding: 10px 14px; gap: 12px;
  border-top: 1px solid #F2F4F7; font-size: 14px;
}
.drow:first-of-type { border-top: none; }
.dlabel { flex: 0 0 116px; color: var(--c-text-2); font-size: 13.5px; }
.dunit { font-size: 11.5px; color: var(--c-text-3); margin-left: 3px; }
.dvalue { flex: 1; word-break: break-word; white-space: pre-wrap; }

.detail-actions {
  display: flex; gap: 10px; padding: 6px 0 20px;
}
.detail-actions .btn { flex: 1; }
.readonly-tip {
  flex: 1; text-align: center; font-size: 13px; color: var(--c-text-3);
  padding: 11px; background: #F7F8FA; border-radius: 8px;
}

/* ===================== 表单页 ===================== */
.form-hero { display: none; }
.form-body { padding-bottom: 80px; }

.form-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px 10px;
  padding: 12px 14px 14px;
}
.fitem { display: flex; flex-direction: column; min-width: 0; }
.fitem.full { grid-column: 1 / -1; }

.fitem label {
  font-size: 12.5px; color: var(--c-text-2); margin-bottom: 5px;
  display: flex; align-items: center; gap: 3px;
}
.req { color: var(--c-red); font-weight: 700; }
.funit { font-size: 11px; color: var(--c-text-3); }

.fitem input, .fitem select, .fitem textarea {
  width: 100%; border: 1px solid var(--c-border); border-radius: 8px;
  padding: 9px 11px; font-size: 14px; font-family: inherit;
  background: #fff; color: var(--c-text); outline: none;
  transition: border-color .15s, background .15s;
  min-width: 0;
}
.fitem textarea { resize: vertical; line-height: 1.45; }
.fitem select {
  appearance: none; -webkit-appearance: none;
  background: #fff url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%239CA3AF'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E") no-repeat right 6px center;
  background-size: 18px;
  padding-right: 28px;
}
.fitem input:focus, .fitem select:focus, .fitem textarea:focus {
  border-color: var(--c-primary-2); background: #FCFDFE;
}
.fitem.has-error input, .fitem.has-error select, .fitem.has-error textarea {
  border-color: #E8A5A5; background: #FFFBFB;
}
.fhint { font-size: 11.5px; color: var(--c-text-3); margin-top: 3px; }
.ferror { font-size: 11.5px; color: var(--c-red); margin-top: 3px; min-height: 0; }
.fitem.has-error .ferror { min-height: 16px; }

.err-count { font-size: 12px; margin-left: auto; padding: 3px 9px; border-radius: 6px; }
.err-count.ok  { color: var(--c-green); background: #E9F5EA; }
.err-count.has { color: var(--c-red);   background: #FDEEEE; }

.form-footer {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255,255,255,.96); backdrop-filter: blur(8px);
  border-top: 1px solid var(--c-border);
}
.form-footer .btn { max-width: 692px; margin: 0 auto; display: block; }

/* ===================== 登录弹层 ===================== */
.modal {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(15,30,50,.5); backdrop-filter: blur(3px);
  display: none; align-items: center; justify-content: center; padding: 20px;
}
.modal.show { display: flex; }

.modal-box {
  background: #fff; border-radius: 16px; padding: 28px 22px 22px;
  width: 100%; max-width: 360px; box-shadow: 0 20px 50px rgba(0,0,0,.25);
  animation: pop .22s ease-out;
}
@keyframes pop {
  from { transform: scale(.94) translateY(8px); opacity: 0; }
  to   { transform: scale(1) translateY(0); opacity: 1; }
}

.modal-logo { text-align: center; font-size: 40px; margin-bottom: 8px; }
.modal-title { text-align: center; font-size: 19px; margin: 0 0 4px; color: var(--c-primary); }
.modal-sub { text-align: center; font-size: 13px; color: var(--c-text-3); margin: 0 0 20px; }

.login-field { margin-bottom: 13px; }
.login-field label { display: block; font-size: 13px; color: var(--c-text-2); margin-bottom: 5px; }
.login-field input {
  width: 100%; height: 42px; padding: 0 13px;
  border: 1px solid var(--c-border); border-radius: 9px;
  font-size: 15px; font-family: inherit; outline: none;
}
.login-field input:focus { border-color: var(--c-primary-2); }

.login-error {
  font-size: 13px; color: var(--c-red); background: #FDEEEE;
  padding: 8px 12px; border-radius: 7px; margin-bottom: 12px;
}

.login-hint {
  margin-top: 20px; padding-top: 16px; border-top: 1px dashed var(--c-border);
}
.hint-title { font-size: 12px; color: var(--c-text-3); margin-bottom: 8px; }
.hint-row {
  font-size: 12.5px; color: var(--c-text-2); margin-bottom: 6px;
  display: flex; align-items: center; gap: 8px;
}
.hint-row code {
  background: #F3F5F8; padding: 2px 7px; border-radius: 5px;
  font-family: ui-monospace, Consolas, monospace; font-size: 12px;
}
.tag-write { font-size: 11px; color: var(--c-orange); background: #FFF2E5; padding: 2px 7px; border-radius: 5px; }
.tag-read  { font-size: 11px; color: var(--c-text-2); background: #F0F1F3; padding: 2px 7px; border-radius: 5px; }

/* ===================== Toast ===================== */
.toast {
  position: fixed; left: 50%; bottom: 84px; transform: translateX(-50%) translateY(10px);
  background: rgba(31,41,55,.94); color: #fff;
  padding: 11px 20px; border-radius: 10px; font-size: 14px;
  z-index: 200; opacity: 0; transition: all .25s; pointer-events: none;
  max-width: 84vw; text-align: center; box-shadow: 0 6px 20px rgba(0,0,0,.2);
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast-success { background: rgba(0,97,0,.94); }
.toast-error   { background: rgba(192,0,0,.94); }

/* ===================== 大屏适配 ===================== */
@media (min-width: 600px) {
  .form-grid { grid-template-columns: 1fr 1fr 1fr; }
  .fitem.full { grid-column: 1 / -1; }
}

/* ============================================================================
 *  二维码弹层
 * ==========================================================================*/
.btn-ghost {
  background: #fff; color: var(--c-primary);
  border: 1px solid var(--c-border); font-weight: 500;
}
.btn-ghost:active { background: #F5F7FA; }

.qr-box { max-width: 340px; text-align: center; }

.qr-head { margin-bottom: 14px; }
.qr-title {
  font-size: 18px; font-weight: 700; color: var(--c-primary);
  letter-spacing: .4px; word-break: break-all;
}
.qr-sub { font-size: 13px; color: var(--c-text-2); margin-top: 3px; }

.qr-canvas {
  background: #fff; padding: 10px; border-radius: 12px;
  border: 1px solid var(--c-border); display: inline-block; line-height: 0;
}
.qr-img { width: 220px; height: 220px; display: block; }

.qr-url {
  margin: 12px 4px 0; padding: 7px 10px;
  background: #F3F5F8; border-radius: 7px;
  font-family: ui-monospace, Consolas, monospace;
  font-size: 11px; color: var(--c-text-2);
  word-break: break-all; line-height: 1.4;
}
.qr-tip { font-size: 12px; color: var(--c-text-3); margin: 9px 0 18px; }

.qr-actions { display: flex; flex-direction: column; gap: 9px; }
.qr-actions .btn { height: 42px; display: flex; align-items: center; justify-content: center; text-decoration: none; font-size: 15px; }

/* ============================================================================
 *  产品照片：详情页画廊 / 上传区 / 大图预览
 * ==========================================================================*/

/* ---- 详情页照片区 ---- */
.photo-section {
  background: var(--c-card); border-radius: var(--radius);
  padding: 13px 14px; box-shadow: var(--shadow); margin-bottom: 10px;
}
.photo-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 10px;
}
.photo-title {
  font-size: 14px; font-weight: 600; color: var(--c-text);
  display: flex; align-items: center; gap: 6px;
}
.photo-count {
  font-size: 11.5px; color: var(--c-text-3); font-weight: 400;
}
.photo-add {
  font-size: 12.5px; color: var(--c-primary-2); cursor: pointer;
  padding: 4px 10px; border: 1px solid #CFE0F2; border-radius: 20px;
  background: #F4F8FD; white-space: nowrap;
}
.photo-add:active { background: #E6F0FA; }

/* 主图大图 */
.photo-main {
  width: 100%; aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden;
  background: #F0F3F7; border: 1px solid var(--c-border);
  display: flex; align-items: center; justify-content: center;
  cursor: zoom-in; position: relative;
}
.photo-main img { width: 100%; height: 100%; object-fit: contain; display: block; background: #F8FAFC; }
.photo-main.empty {
  color: var(--c-text-3); font-size: 13px; flex-direction: column; gap: 8px;
  cursor: default; aspect-ratio: 16 / 7;
}
.photo-main.empty .ph-icon { font-size: 30px; opacity: .5; }
.photo-main .ph-flag {
  position: absolute; left: 8px; top: 8px;
  font-size: 11px; padding: 2px 8px; border-radius: 20px;
  background: rgba(31,78,121,.85); color: #fff;
}

/* 缩略图条 */
.photo-strip {
  display: flex; gap: 8px; margin-top: 10px;
  overflow-x: auto; padding-bottom: 4px;
  -webkit-overflow-scrolling: touch;
}
.photo-strip::-webkit-scrollbar { height: 4px; }
.photo-strip::-webkit-scrollbar-thumb { background: #D5DCE5; border-radius: 3px; }

.photo-item {
  position: relative; flex-shrink: 0;
  width: 70px; height: 70px; border-radius: 8px;
  overflow: hidden; border: 2px solid transparent;
  background: #F0F3F7; cursor: pointer;
}
.photo-item.active { border-color: var(--c-primary-2); }
.photo-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo-item .ph-badge {
  position: absolute; left: 0; bottom: 0; right: 0;
  font-size: 10px; text-align: center; padding: 1px 0;
  background: rgba(31,78,121,.8); color: #fff;
}
.photo-item .ph-del {
  position: absolute; right: 2px; top: 2px;
  width: 18px; height: 18px; border-radius: 50%;
  background: rgba(0,0,0,.55); color: #fff;
  font-size: 12px; line-height: 18px; text-align: center;
  border: none; cursor: pointer; padding: 0;
}
.photo-item .ph-setmain {
  position: absolute; left: 0; right: 0; top: 0;
  font-size: 9.5px; text-align: center; padding: 1px 0;
  background: rgba(196,90,17,.85); color: #fff;
  border: none; cursor: pointer; width: 100%;
  display: none;
}
.photo-item:hover .ph-setmain { display: block; }

/* ---- 上传区 ---- */
.upload-hint {
  font-size: 12px; color: var(--c-text-3); margin-top: 8px; line-height: 1.5;
}
.upload-bar {
  display: flex; gap: 8px; margin-top: 10px;
}
.upload-bar .btn { flex: 1; height: 40px; font-size: 14px; }
.upload-box {
  margin-top: 10px; padding: 10px 12px;
  background: #F7FAFD; border: 1px dashed #C6D8EA; border-radius: 9px;
  font-size: 12.5px; color: var(--c-text-2); line-height: 1.65;
}
.upload-box b { color: var(--c-btn-primary, #1F4E79); }
.progress-wrap {
  margin-top: 10px; height: 6px; background: #E8EDF3;
  border-radius: 4px; overflow: hidden; display: none;
}
.progress-wrap.show { display: block; }
.progress-bar {
  height: 100%; width: 0; background: var(--c-primary-2);
  transition: width .2s;
}

/* ---- 大图预览 ---- */
.lightbox {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(10,15,22,.94);
  display: none; align-items: center; justify-content: center;
  flex-direction: column;
}
.lightbox.show { display: flex; }
.lightbox img {
  max-width: 94vw; max-height: 82vh; object-fit: contain;
  border-radius: 4px;
}
.lightbox-bar {
  position: absolute; top: 0; left: 0; right: 0;
  padding: calc(12px + env(safe-area-inset-top)) 16px 12px;
  display: flex; align-items: center; justify-content: space-between;
  color: #fff; font-size: 14px;
}
.lightbox-bar button {
  background: rgba(255,255,255,.16); border: none; color: #fff;
  padding: 6px 14px; border-radius: 18px; font-size: 13.5px; cursor: pointer;
}
.lightbox-nav {
  position: absolute; bottom: calc(22px + env(safe-area-inset-bottom));
  display: flex; gap: 14px;
}
.lightbox-nav button {
  background: rgba(255,255,255,.16); border: none; color: #fff;
  width: 46px; height: 46px; border-radius: 50%; font-size: 18px; cursor: pointer;
}
.lightbox-nav button:disabled { opacity: .28; }

/* ---- 批量传图弹层 ---- */
.bulk-box { max-height: 88vh; display: flex; flex-direction: column; }
.bulk-list { flex: 1; overflow-y: auto; margin: 12px 0; min-height: 60px; }
.bulk-summary {
  font-size: 12.5px; color: var(--c-text-2); padding: 8px 10px;
  background: #F4F8FD; border-radius: 7px; margin-bottom: 8px; line-height: 1.6;
}
.bulk-summary b { color: var(--c-primary); }
.bulk-rows { display: flex; flex-direction: column; gap: 5px; }
.bulk-row {
  display: flex; align-items: center; gap: 8px;
  padding: 7px 10px; border-radius: 7px; background: #FAFBFC;
  border: 1px solid #EDF1F5; font-size: 12.5px;
}
.bulk-row.unmatched { background: #FFF9F0; border-color: #F5E2C4; }
.bulk-fname {
  flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis;
  white-space: nowrap; color: var(--c-text-2);
}
.bulk-code {
  font-family: ui-monospace, Consolas, monospace; font-size: 11.5px;
  color: var(--c-primary); background: #E8F1FA; padding: 2px 8px; border-radius: 5px;
  white-space: nowrap;
}
.bulk-sel {
  font-size: 12px; padding: 4px 6px; border-radius: 6px;
  border: 1px solid #D9E2EC; background: #fff; max-width: 130px;
}
.bulk-tip { font-size: 12px; color: var(--c-text-3); text-align: center; min-height: 18px; }
#bulkProgressWrap { margin: 8px 0; }
