/* =============================================================
   组件库样式：按钮 / 卡片 / 标签 / 表格 / 弹窗 / 表单 / 图表
   ============================================================= */

/* ---------------- 按钮 ---------------- */
.btn {
  display: inline-flex; align-items: center; gap: 6px;
  height: 34px; padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--text-2);
  font-size: 13px; font-family: inherit;
  cursor: pointer;
  transition: all .18s ease;
  white-space: nowrap;
  line-height: 1;
}
.btn i { font-size: 15px; }
.btn:hover { border-color: #CFD8D2; color: var(--tea); background: #FCFDFC; transform: translateY(-1px); box-shadow: var(--sh-1); }
.btn:active { transform: none; }
.btn[disabled], .btn.is-disabled { opacity: .5; cursor: not-allowed; transform: none !important; }

.btn-primary {
  background: linear-gradient(135deg, var(--tea-2), var(--tea));
  border-color: transparent; color: #fff;
  box-shadow: 0 6px 16px -8px rgba(31, 78, 74, .6);
}
.btn-primary:hover { color: #fff; background: linear-gradient(135deg, #35917C, #1B4642); }

.btn-amber {
  background: linear-gradient(135deg, var(--amber-2), var(--amber));
  border-color: transparent; color: #4A3208; font-weight: 600;
  box-shadow: 0 6px 16px -8px rgba(232, 163, 61, .75);
}
.btn-amber:hover { color: #3A2606; }

.btn-ghost { background: transparent; border-color: transparent; color: var(--text-2); }
.btn-ghost:hover { background: rgba(31, 78, 74, .06); color: var(--tea); box-shadow: none; }

.btn-danger { color: var(--danger); border-color: #F0D3CF; background: #fff; }
.btn-danger:hover { background: var(--danger-soft); color: var(--danger); border-color: #E7BEB8; }

.btn-sm { height: 28px; padding: 0 10px; font-size: 12.5px; border-radius: 8px; }
.btn-sm i { font-size: 13px; }
.btn-lg { height: 42px; padding: 0 22px; font-size: 14px; border-radius: 12px; }
.btn-icon { width: 34px; padding: 0; justify-content: center; }
.btn-block { width: 100%; justify-content: center; }

.btn-group { display: inline-flex; gap: 8px; flex-wrap: wrap; }

/* 文本操作按钮 */
.btn-link {
  display: inline-flex; align-items: center; gap: 3px;
  background: none; border: none; padding: 0 2px;
  color: var(--tea-2); font-size: 12.5px; cursor: pointer; font-family: inherit;
}
.btn-link:hover { color: var(--amber); text-decoration: underline; }
.btn-link.is-danger { color: var(--danger); }

/* ---------------- 卡片 ---------------- */
.card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-l);
  box-shadow: var(--sh-1);
  overflow: hidden;
}
.card-pad { padding: 18px 20px; }
.card-hd {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 15px 20px; border-bottom: 1px solid var(--line-2);
}
.card-hd h3 { font-size: 14.5px; display: flex; align-items: center; gap: 8px; }
.card-hd h3 i { color: var(--tea-2); font-size: 17px; }
.card-bd { padding: 16px 20px; }
.card-ft { padding: 12px 20px; border-top: 1px solid var(--line-2); background: var(--paper-2); }

.card-hover { transition: all .22s cubic-bezier(.22, .8, .3, 1); }
.card-hover:hover { transform: translateY(-3px); box-shadow: var(--sh-3); border-color: #DCE4DE; }

.grid { display: grid; gap: 16px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.grid-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
@media (max-width: 1560px) { .grid-6 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 1360px) { .grid-5, .grid-6 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .grid-4 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 1120px) { .grid-3, .grid-4, .grid-5, .grid-6 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .grid-2, .grid-3, .grid-4, .grid-5, .grid-6 { grid-template-columns: 1fr; } }

/* ---------------- 徽标 / 标签 ---------------- */
.badge {
  display: inline-flex; align-items: center; gap: 4px;
  height: 21px; padding: 0 8px; border-radius: 6px;
  font-size: 11.5px; line-height: 1; white-space: nowrap;
  background: var(--tea-soft); color: var(--tea);
  border: 1px solid transparent;
}
.badge.ok { background: var(--green-soft); color: var(--green); }
.badge.warn { background: var(--amber-soft); color: #9A6A12; }
.badge.danger { background: var(--danger-soft); color: var(--danger); }
.badge.info { background: var(--blue-soft); color: var(--blue); }
.badge.muted { background: #F0F1EF; color: var(--muted); }
.badge.violet { background: var(--violet-soft); color: var(--violet); }
.badge.clay { background: var(--clay-soft); color: var(--clay); }
.badge.teal { background: var(--tea-soft); color: var(--tea); }
.badge-line { background: #fff; border-color: var(--line); color: var(--text-2); }
.badge-dot::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

.chip {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 9px; border-radius: 20px; font-size: 11.5px;
  background: var(--paper); color: var(--text-2); border: 1px solid var(--line-2);
}
.chip i { font-size: 12px; color: var(--muted); }

/* ---------------- 头像 ---------------- */
.avatar {
  width: 34px; height: 34px; border-radius: 50%;
  object-fit: cover; background: var(--tea-soft);
  border: 2px solid #fff; box-shadow: var(--sh-1); flex-shrink: 0;
}
.avatar-sm { width: 26px; height: 26px; }
.avatar-lg { width: 56px; height: 56px; border-radius: 16px; }
.avatar-xl { width: 76px; height: 76px; border-radius: 20px; }
.avatar-round-lg { width: 56px; height: 56px; }
.avatar-group { display: flex; }
.avatar-group .avatar { margin-left: -9px; }
.avatar-group .avatar:first-child { margin-left: 0; }

/* ---------------- 表单 ---------------- */
.form-item { margin-bottom: 15px; }
.form-item:last-child { margin-bottom: 0; }
.form-label {
  display: block; margin-bottom: 6px;
  font-size: 12.5px; color: var(--text-2); font-weight: 500;
}
.form-label .req { color: var(--clay); margin-left: 3px; }
.form-tip { margin-top: 5px; font-size: 11.5px; color: var(--muted); }

.input, .select, .textarea {
  width: 100%; height: 36px; padding: 0 12px;
  border: 1px solid var(--line); border-radius: 10px;
  background: #fff; color: var(--text); font-size: 13px; font-family: inherit;
  transition: all .18s ease; outline: none;
}
.textarea { height: auto; min-height: 88px; padding: 9px 12px; line-height: 1.65; resize: vertical; }
.input:focus, .select:focus, .textarea:focus {
  border-color: var(--tea-2); box-shadow: 0 0 0 3px rgba(46, 125, 107, .12);
}
.input::placeholder, .textarea::placeholder { color: var(--muted-2); }
.input[readonly] { background: var(--paper-2); color: var(--text-2); }
.select { appearance: none; padding-right: 30px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%238A9490'%3E%3Cpath d='M12 14.6l-5-5 1.1-1.1L12 12.4l3.9-3.9L17 9.6z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 9px center; background-size: 17px;
}
.input-group { display: flex; align-items: center; gap: 8px; }
.input-group .input { flex: 1; }

.switch { position: relative; display: inline-block; width: 40px; height: 22px; cursor: pointer; }
.switch input { display: none; }
.switch span {
  position: absolute; inset: 0; border-radius: 22px; background: #D8DDD9;
  transition: .22s; 
}
.switch span::after {
  content: ''; position: absolute; left: 3px; top: 3px;
  width: 16px; height: 16px; border-radius: 50%; background: #fff;
  transition: .22s; box-shadow: var(--sh-1);
}
.switch input:checked + span { background: linear-gradient(135deg, var(--tea-2), var(--tea)); }
.switch input:checked + span::after { transform: translateX(18px); }

.checkbox, .radio { display: inline-flex; align-items: center; gap: 7px; cursor: pointer; font-size: 13px; }
.checkbox input, .radio input { width: 15px; height: 15px; accent-color: var(--tea-2); cursor: pointer; }

/* ---------------- 筛选栏 ---------------- */
.toolbar {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  padding: 12px 16px; background: #fff;
  border: 1px solid var(--line-2); border-radius: var(--radius-l);
  box-shadow: var(--sh-1); margin-bottom: 14px;
}
.toolbar .search-box { position: relative; width: 236px; }
.toolbar .search-box i {
  position: absolute; left: 11px; top: 50%; transform: translateY(-50%);
  color: var(--muted-2); font-size: 15px;
}
.toolbar .search-box .input { padding-left: 33px; }
.toolbar .spacer { flex: 1; }
.toolbar .filter-item { display: flex; align-items: center; gap: 6px; }
.toolbar .filter-item > span { font-size: 12.5px; color: var(--muted); white-space: nowrap; }
.toolbar .select { width: auto; min-width: 118px; height: 34px; }
.toolbar .input-date { width: 132px; height: 34px; }
.toolbar-divider { width: 1px; height: 20px; background: var(--line-2); }

/* ---------------- 表格 ---------------- */
.table-wrap {
  background: #fff; border: 1px solid var(--line-2);
  border-radius: var(--radius-l); box-shadow: var(--sh-1); overflow: hidden;
}
.table-scroll { overflow-x: auto; }
table.dt { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 13px; }
table.dt thead th {
  position: sticky; top: 0; z-index: 2;
  background: var(--paper-2); color: var(--text-2);
  font-weight: 600; font-size: 12.5px; text-align: left;
  padding: 11px 14px; white-space: nowrap;
  border-bottom: 1px solid var(--line-2);
}
table.dt thead th.sortable { cursor: pointer; user-select: none; }
table.dt thead th.sortable:hover { color: var(--tea); }
table.dt thead th .sort-ico { margin-left: 3px; font-size: 12px; color: var(--muted-2); }
table.dt tbody td {
  padding: 11px 14px; border-bottom: 1px solid var(--line-2);
  vertical-align: middle; color: var(--text-2);
}
table.dt tbody tr { transition: background .15s; }
table.dt tbody tr:hover { background: #FAFBF9; }
table.dt tbody tr.is-selected { background: var(--tea-soft); }
table.dt tbody tr:last-child td { border-bottom: none; }
table.dt .col-idx { width: 42px; color: var(--muted-2); }
table.dt .col-check { width: 40px; }
table.dt .col-act { white-space: nowrap; width: 1%; }
table.dt .cell-strong { color: var(--text); font-weight: 600; }
table.dt .link-name {
  color: var(--tea); font-weight: 600; cursor: pointer;
  border-bottom: 1px dashed rgba(31, 78, 74, .35); transition: all .16s;
}
table.dt .link-name:hover { color: var(--amber); border-bottom-color: rgba(232, 163, 61, .6); }
table.dt th.sticky-act, table.dt td.sticky-act {
  position: sticky; right: 0; background: #fff; box-shadow: -8px 0 12px -10px rgba(0, 0, 0, .25);
}
table.dt tbody tr:hover td.sticky-act { background: #FAFBF9; }

/* ---------------- 分页 ---------------- */
.pager {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 16px; border-top: 1px solid var(--line-2); flex-wrap: wrap;
}
.pager .info { font-size: 12.5px; color: var(--muted); }
.pager .pages { display: flex; align-items: center; gap: 5px; }
.pager .pg {
  min-width: 30px; height: 30px; padding: 0 8px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line); border-radius: 8px; background: #fff;
  color: var(--text-2); font-size: 12.5px; cursor: pointer; transition: all .16s;
}
.pager .pg:hover { border-color: var(--tea-2); color: var(--tea); }
.pager .pg.active { background: var(--tea); border-color: var(--tea); color: #fff; font-weight: 600; }
.pager .pg[disabled] { opacity: .45; cursor: not-allowed; }
.pager .size-select { height: 30px; border-radius: 8px; font-size: 12.5px; width: 92px; }

/* ---------------- 空态 / 加载 ---------------- */
.empty { padding: 52px 20px; text-align: center; color: var(--muted); }
.empty i { font-size: 46px; color: #D6DCD8; display: block; margin-bottom: 10px; }
.empty .t { font-size: 13.5px; color: var(--text-2); margin-bottom: 4px; }
.loading-mask {
  position: absolute; inset: 0; background: rgba(255, 255, 255, .72);
  display: flex; align-items: center; justify-content: center; z-index: 5;
  backdrop-filter: blur(2px);
}
.spinner {
  width: 26px; height: 26px; border-radius: 50%;
  border: 2.5px solid rgba(46, 125, 107, .18); border-top-color: var(--tea-2);
  animation: spin .7s linear infinite;
}
.skeleton-block { padding: 18px; display: grid; gap: 12px; }

/* ---------------- 弹窗（层次感） ---------------- */
.overlay {
  position: fixed; inset: 0; background: rgba(14, 24, 22, .42);
  backdrop-filter: blur(3px); z-index: var(--z-modal);
  display: flex; align-items: flex-start; justify-content: center;
  padding: 46px 20px; overflow-y: auto;
  animation: fadeIn .22s both;
}
.overlay.is-drawer { z-index: var(--z-drawer); justify-content: flex-end; padding: 0; align-items: stretch; }
.overlay.is-popup { z-index: var(--z-popup); padding-top: 12vh; }

.modal {
  width: 640px; max-width: 100%;
  background: #fff; border-radius: var(--radius-xl);
  box-shadow: var(--sh-4); overflow: hidden;
  animation: popIn .3s cubic-bezier(.22, .8, .3, 1) both;
  margin: 0 auto;
}
.modal.modal-sm { width: 448px; }
.modal.modal-lg { width: 880px; }
.modal.modal-xl { width: 1120px; }
.modal-hd {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 18px 22px; border-bottom: 1px solid var(--line-2);
  background: linear-gradient(180deg, #FCFDFC, #fff);
}
.modal-hd .ttl { display: flex; align-items: center; gap: 10px; font-size: 15.5px; font-weight: 600; }
.modal-hd .ttl .ico {
  width: 32px; height: 32px; border-radius: 10px; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--tea-2), var(--tea)); color: #fff; font-size: 17px;
}
.modal-hd .ttl .sub { font-size: 12px; color: var(--muted); font-weight: 400; margin-left: 2px; }
.modal-close {
  width: 30px; height: 30px; border: none; border-radius: 9px; background: transparent;
  color: var(--muted); font-size: 18px; cursor: pointer; display: inline-flex;
  align-items: center; justify-content: center; transition: all .16s;
}
.modal-close:hover { background: var(--paper); color: var(--danger); }
.modal-bd { padding: 20px 22px; max-height: 66vh; overflow-y: auto; }
.modal-ft {
  display: flex; align-items: center; justify-content: flex-end; gap: 10px;
  padding: 14px 22px; border-top: 1px solid var(--line-2); background: var(--paper-2);
}
.modal-ft .left { margin-right: auto; display: flex; gap: 8px; flex-wrap: wrap; }

/* 抽屉 */
.drawer {
  width: 620px; max-width: 100%; background: #fff; height: 100%;
  box-shadow: var(--sh-4); display: flex; flex-direction: column;
  animation: slideRight .3s cubic-bezier(.22, .8, .3, 1) both;
}
.drawer.drawer-lg { width: 860px; }
.drawer-bd { flex: 1; overflow-y: auto; padding: 20px 22px; }

/* ---------------- TAB ---------------- */
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line-2); margin-bottom: 16px; overflow-x: auto; }
.tabs .tab {
  position: relative; padding: 9px 14px; font-size: 13px; color: var(--text-2);
  background: none; border: none; cursor: pointer; font-family: inherit; white-space: nowrap;
  display: inline-flex; align-items: center; gap: 6px; transition: color .16s;
}
.tabs .tab i { font-size: 14px; }
.tabs .tab:hover { color: var(--tea); }
.tabs .tab.active { color: var(--tea); font-weight: 600; }
.tabs .tab.active::after {
  content: ''; position: absolute; left: 12px; right: 12px; bottom: -1px;
  height: 2.5px; border-radius: 3px; background: linear-gradient(90deg, var(--tea-2), var(--amber));
}
.tabs .tab .cnt {
  font-size: 11px; background: var(--paper); color: var(--muted);
  padding: 0 6px; border-radius: 8px; line-height: 17px;
}
.tabs .tab.active .cnt { background: var(--tea-soft); color: var(--tea); }

/* ---------------- 详情描述 ---------------- */
.desc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line-2); border: 1px solid var(--line-2); border-radius: var(--radius); overflow: hidden; }
.desc-grid.cols-1 { grid-template-columns: 1fr; }
.desc-grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.desc-item { background: #fff; padding: 11px 14px; }
.desc-item .k { font-size: 11.5px; color: var(--muted); margin-bottom: 3px; }
.desc-item .v { font-size: 13px; color: var(--text); word-break: break-all; }
.desc-item.full { grid-column: 1 / -1; }

/* ---------------- 进度条 ---------------- */
.bar { height: 7px; border-radius: 6px; background: #EEF1EF; overflow: hidden; }
.bar > i { display: block; height: 100%; border-radius: 6px; background: linear-gradient(90deg, var(--tea-2), var(--amber)); transition: width .6s cubic-bezier(.22, .8, .3, 1); }
.bar.is-thin { height: 4px; }

/* ---------------- Toast ---------------- */
.toast-wrap { position: fixed; top: 20px; left: 50%; transform: translateX(-50%); z-index: var(--z-toast); display: grid; gap: 10px; pointer-events: none; }
.toast {
  min-width: 240px; max-width: 460px; padding: 11px 16px;
  background: #fff; border-radius: 12px; box-shadow: var(--sh-3);
  display: flex; align-items: center; gap: 9px; font-size: 13px;
  border-left: 3px solid var(--tea-2); animation: fadeUp .26s both; pointer-events: auto;
}
.toast i { font-size: 17px; }
.toast.ok { border-left-color: var(--green); } .toast.ok i { color: var(--green); }
.toast.err { border-left-color: var(--danger); } .toast.err i { color: var(--danger); }
.toast.warn { border-left-color: var(--amber); } .toast.warn i { color: var(--amber); }
.toast.info { border-left-color: var(--blue); } .toast.info i { color: var(--blue); }
.toast .txt { flex: 1; color: var(--text); }

/* ---------------- 图表（纯 SVG） ---------------- */
.chart-box { position: relative; }
.chart-legend { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 12px; }
.chart-legend .li { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--text-2); }
.chart-legend .dot { width: 9px; height: 9px; border-radius: 3px; }
.chart-tip {
  position: absolute; padding: 7px 10px; background: rgba(18, 32, 30, .92); color: #fff;
  border-radius: 8px; font-size: 12px; pointer-events: none; z-index: 10;
  box-shadow: var(--sh-2); white-space: nowrap; transform: translate(-50%, -130%);
}
.ring-wrap { position: relative; display: inline-flex; align-items: center; justify-content: center; }
.ring-center { position: absolute; text-align: center; }
.ring-center .big { font-size: 22px; font-weight: 700; color: var(--text); font-family: var(--font-num); }
.ring-center .small { font-size: 11.5px; color: var(--muted); }

/* ---------------- 时间轴 ---------------- */
.timeline { position: relative; padding-left: 22px; }
.timeline::before { content: ''; position: absolute; left: 6px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(180deg, var(--tea-2), var(--line-2)); border-radius: 2px; }
.timeline .tl-item { position: relative; padding-bottom: 18px; }
.timeline .tl-item::before {
  content: ''; position: absolute; left: -21px; top: 5px; width: 10px; height: 10px;
  border-radius: 50%; background: #fff; border: 2.5px solid var(--tea-2); z-index: 1;
}
.timeline .tl-item.is-done::before { background: var(--tea-2); }
.timeline .tl-item.is-warn::before { border-color: var(--amber); background: var(--amber-soft); }
.timeline .tl-time { font-size: 11.5px; color: var(--muted); font-family: var(--font-num); }
.timeline .tl-title { font-size: 13.5px; font-weight: 600; color: var(--text); margin: 2px 0 3px; }
.timeline .tl-desc { font-size: 12.5px; color: var(--text-2); line-height: 1.7; }

/* ---------------- 提示条 ---------------- */
.notice {
  display: flex; align-items: flex-start; gap: 9px;
  padding: 11px 14px; border-radius: var(--radius); font-size: 12.5px;
  background: var(--tea-soft); color: var(--tea); line-height: 1.7;
}
.notice i { font-size: 16px; margin-top: 1px; }
.notice.warn { background: var(--amber-soft); color: #8E6111; }
.notice.danger { background: var(--danger-soft); color: var(--danger); }
.notice.info { background: var(--blue-soft); color: var(--blue); }

/* ---------------- 统计小卡 ---------------- */
.stat-inline { display: flex; gap: 22px; flex-wrap: wrap; }
.stat-inline .si .k { font-size: 11.5px; color: var(--muted); }
.stat-inline .si .v { font-size: 19px; font-weight: 700; color: var(--text); font-family: var(--font-num); letter-spacing: .4px; }
.stat-inline .si .v small { font-size: 11.5px; color: var(--muted); font-weight: 400; margin-left: 2px; }

/* ---------------- 图片 / 封面 ---------------- */
.cover-img { width: 100%; height: 100%; object-fit: cover; display: block; background: var(--paper); }
.thumb { width: 46px; height: 34px; border-radius: 8px; object-fit: cover; background: var(--paper); border: 1px solid var(--line-2); }

/* ---------------- 分割 ---------------- */
.divider { height: 1px; background: var(--line-2); margin: 16px 0; }
.divider-txt { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 12px; margin: 16px 0; }
.divider-txt::before, .divider-txt::after { content: ''; flex: 1; height: 1px; background: var(--line-2); }

/* ---------------- 代码 / 内容预览 ---------------- */
.code-block {
  background: #F7F8F6; border: 1px solid var(--line-2); border-radius: var(--radius);
  padding: 13px 15px; font-size: 12.5px; line-height: 1.85; color: var(--text-2);
  white-space: pre-wrap; word-break: break-word; font-family: var(--font);
  max-height: 320px; overflow-y: auto;
}
.kv-list { display: grid; gap: 9px; }
.kv-list .kv { display: flex; gap: 10px; font-size: 12.5px; }
.kv-list .kv .k { color: var(--muted); min-width: 76px; }
.kv-list .kv .v { color: var(--text); flex: 1; word-break: break-all; }

/* ---------------- 拖拽 / 排序列表 ---------------- */
.pick-list { display: grid; gap: 8px; }
.pick-item {
  display: flex; align-items: center; gap: 10px; padding: 10px 12px;
  border: 1px solid var(--line-2); border-radius: var(--radius); background: #fff;
  transition: all .18s;
}
.pick-item:hover { border-color: var(--tea-2); box-shadow: var(--sh-1); }
.pick-item.is-on { background: var(--tea-soft); border-color: var(--tea-2); }
.pick-item .pi-ico {
  width: 30px; height: 30px; border-radius: 9px; display: inline-flex;
  align-items: center; justify-content: center; background: var(--paper); color: var(--tea); font-size: 16px;
}
.pick-item .pi-main { flex: 1; min-width: 0; }
.pick-item .pi-main .t { font-size: 13px; font-weight: 600; }
.pick-item .pi-main .d { font-size: 11.5px; color: var(--muted); }

/* ---------------- 业务流转条 ---------------- */
.flow-bar { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.flow-step {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 12px; border-radius: 20px; font-size: 12px;
  background: var(--paper); color: var(--muted); border: 1px solid var(--line-2);
}
.flow-step.is-done { background: var(--tea-soft); color: var(--tea); border-color: transparent; font-weight: 600; }
.flow-step.is-cur { background: linear-gradient(135deg, var(--tea-2), var(--tea)); color: #fff; border-color: transparent; font-weight: 600; box-shadow: 0 6px 14px -8px rgba(31, 78, 74, .8); }
.flow-arrow { color: var(--muted-2); font-size: 14px; }
