/* lore-field-editor.css — a workspace's own lead fields (public/lore-field-editor.js, 28 Nov 2026).
   The lead page's More details and Settings → Pipeline → Lead fields → Your fields. Lore's tokens only. */
/* The lead page's section: it is one of the page's own .ov-section blocks (their padding and rule), with these words inside. */
.lfe-sec { min-width: 0; }
.lfe-head { display: flex; align-items: center; justify-content: space-between; gap: var(--space-2, 8px); margin-bottom: var(--space-3, 12px); }
.lfe-title { margin: 0; font-size: var(--fs-base, 14px); font-weight: 700; color: var(--text-1); }
.lfe-sec > .lfe-title { margin-bottom: var(--space-2, 8px); }
.lfe-sub { margin: 2px 0 var(--space-3, 12px); font-size: var(--fs-sm, 12px); line-height: 1.45; color: var(--text-3); }
.lfe-empty { margin: 0 0 var(--space-3, 12px); font-size: var(--fs-md, 13px); line-height: 1.5; color: var(--text-2); }
.lfe-field { margin-bottom: var(--space-3, 12px); min-width: 0; }
.lfe-labelrow { display: flex; align-items: baseline; justify-content: space-between; gap: var(--space-2, 8px); margin-bottom: var(--space-1, 4px); }
.lfe-label { display: block; font-size: var(--fs-sm, 12px); font-weight: 600; color: var(--text-2); }
.lfe-form .lfe-label { margin: var(--space-3, 12px) 0 var(--space-1, 4px); }
.lfe-form .lfe-label:first-child { margin-top: 0; }
.lfe-state { font-size: var(--fs-xs, 11px); color: var(--text-3); text-align: right; }
.lfe-state.is-bad, .lfe-err { color: var(--red, #d23a3a); font-size: var(--fs-sm, 12px); }
.lfe-err:empty { display: none; }
.lfe-help { margin-top: var(--space-1, 4px); font-size: var(--fs-sm, 12px); line-height: 1.4; color: var(--text-3); }
.lfe-input { width: 100%; box-sizing: border-box; min-height: 40px; padding: 8px 10px; border: 1px solid var(--border-2); border-radius: var(--radius-sm, 6px);
  background: var(--bg); color: var(--text-1); font: inherit; font-size: var(--fs-base, 14px); transition: border-color var(--t-fast, .12s); }
.lfe-input:hover:not(:disabled) { border-color: var(--text-4); }
.lfe-input:disabled { color: var(--text-3); background: var(--bg-2); }
.lfe-long { min-height: 76px; resize: vertical; line-height: 1.45; }
.lfe-money { position: relative; }
.lfe-money > span { position: absolute; left: 10px; top: 50%; transform: translateY(-50%); color: var(--text-3); font-size: var(--fs-base, 14px); pointer-events: none; }
.lfe-money > .lfe-input { padding-left: 22px; }
.lfe-yesno { display: inline-flex; border: 1px solid var(--border-2); border-radius: var(--radius-sm, 6px); overflow: hidden; }
.lfe-yn { min-width: 64px; min-height: 40px; padding: 0 14px; border: none; background: var(--bg); color: var(--text-2); font: inherit; font-size: var(--fs-md, 13px); font-weight: 600; cursor: pointer; }
.lfe-yn + .lfe-yn { border-left: 1px solid var(--border-2); }
.lfe-yn[aria-pressed="true"] { background: var(--accent-fill, var(--accent)); color: var(--accent-on, #fff); }
.lfe-edit, .lfe-link { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 6px; background: none; border: none; color: var(--accent); font: inherit; font-size: var(--fs-md, 13px); font-weight: 600; text-decoration: none; cursor: pointer; }
.lfe-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 40px; padding: 0 16px; border-radius: var(--radius, 8px);
  border: 1px solid var(--lore-primary, var(--accent)); background: var(--lore-primary, var(--accent)); color: var(--lore-primary-on, #fff); font: inherit; font-size: var(--fs-md, 13px); font-weight: 700; text-decoration: none; cursor: pointer; white-space: nowrap; }
.lfe-btn.is-quiet { background: none; border-color: var(--border-2); color: var(--text-1); font-weight: 600; }
.lfe-btn:disabled { opacity: .45; cursor: default; }
.lfe-list { list-style: none; margin: 0 0 var(--space-3, 12px); padding: 0; display: grid; gap: var(--space-2, 8px); min-width: 0; }
.lfe-row { display: flex; align-items: center; gap: var(--space-2, 8px); padding: var(--space-2, 8px) 10px; border: 1px solid var(--border-2); border-radius: var(--radius-sm, 6px); min-width: 0; }
.lfe-row.is-archived { border-style: dashed; background: var(--bg-2); }
.lfe-rowtext { flex: 1 1 auto; min-width: 0; display: grid; gap: 2px; }
.lfe-rowname { font-size: var(--fs-base, 14px); font-weight: 600; color: var(--text-1); overflow-wrap: anywhere; }
.lfe-rowmeta { font-size: var(--fs-sm, 12px); color: var(--text-3); overflow-wrap: anywhere; }
.lfe-move { display: inline-flex; flex: 0 0 auto; border: 1px solid var(--border-2); border-radius: var(--radius-sm, 6px); overflow: hidden; }
.lfe-ic { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; padding: 0; background: var(--bg); border: none; color: var(--text-2); cursor: pointer; }
.lfe-ic + .lfe-ic { border-left: 1px solid var(--border-2); }
.lfe-ic:disabled { opacity: .3; cursor: default; }
.lfe-form { padding: var(--space-3, 12px); border: 1px solid var(--accent); border-radius: var(--radius-sm, 6px); min-width: 0; }
.lfe-more { margin-top: var(--space-3, 12px); }
.lfe-more > summary { cursor: pointer; padding: 9px 0; font-size: var(--fs-md, 13px); font-weight: 600; color: var(--text-2); }
.lfe-check { display: flex; align-items: flex-start; gap: 10px; margin-top: var(--space-3, 12px); font-size: var(--fs-md, 13px); line-height: 1.4; color: var(--text-1); cursor: pointer; }
.lfe-check input { flex: 0 0 auto; width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--accent); }
.lfe-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2, 8px); margin-top: var(--space-4, 16px); }
.lfe-actions .is-end { margin-left: auto; color: var(--red, #d23a3a); }
.lfe-add { margin-bottom: var(--space-2, 8px); }
@media (max-width: 600px) {
  .lfe-input, .lfe-yn, .lfe-btn { min-height: 44px; }
  .lfe-ic { width: 44px; height: 44px; }
  .lfe-row { gap: 6px; padding: 6px 6px 6px 10px; }
  .lfe-row .lfe-btn { padding: 0 12px; }
}
