:root{--gray-980:#e3def0;--violet-260:#211a2a;--gray-020:#ffffff;--blue-210:#6a4fde;--gray-060:#efeaff;--gray-400:#fdecea;--violet-200:#6e637f;}
/* template-select.css —— 模板选择弹窗专属样式（pf-mask/pf-card 对话框骨架复用 profile.css） */
.tplsel-card { width: 440px; }
.tplsel-search {
  height: 42px; padding: 0 14px; width: 100%; box-sizing: border-box;
  border: 1.5px solid var(--gray-980); border-radius: 12px;
  font-size: 14px; color: var(--violet-260); background: var(--gray-020); outline: none;
}
.tplsel-search:focus { border-color: var(--blue-210); box-shadow: 0 0 0 3px rgba(106, 79, 222, .16); }
.tplsel-list { display: flex; flex-direction: column; gap: 8px; max-height: 320px; overflow-y: auto; overscroll-behavior: contain; }
.tplsel-row {
  display: flex; align-items: center; gap: 10px; width: 100%;
  padding: 11px 14px; background: var(--gray-020); border: 1.5px solid var(--gray-980); border-radius: 12px;
  cursor: pointer; text-align: left; font-family: inherit; transition: border-color .15s, background .15s;
}
.tplsel-row:hover:not(:disabled) { border-color: var(--blue-210); background: var(--gray-060); }
.tplsel-row:disabled { opacity: .6; cursor: wait; }
.tplsel-school { flex: 0 0 auto; white-space: nowrap; font-size: 14px; font-weight: 800; color: var(--violet-260); }
.tplsel-school em {
  font-style: normal; font-size: 11px; color: var(--blue-210); background: var(--gray-400);
  border-radius: 8px; padding: 2px 8px; margin-left: 8px; white-space: nowrap;
}
.tplsel-row.preset { border-color: var(--blue-210); background: var(--gray-060); }
.tplsel-school em.preset-em { background: var(--blue-210); color: var(--gray-020); }
.tplsel-meta { font-size: 12px; color: var(--violet-200); flex: 1 1 auto; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-align: right; }
.tplsel-go { font-size: 13px; font-weight: 800; color: var(--blue-210); flex-shrink: 0; }
.tplsel-state { text-align: center; font-size: 13px; color: var(--violet-200); padding: 18px 0; }
.tplsel-state button { border: none; background: none; color: var(--blue-210); font-weight: 800; cursor: pointer; font-size: 13px; }
