/* Configuration (86): custom fields, objects, layouts, versions, flags. Prefix cfg-. */
.cfg-formula { background: var(--panel2, #f5f8fb); color: #22517a; font-weight: 700; }
.cfg-chips { display: flex; flex-wrap: wrap; gap: 4px 14px; padding: 4px 0; }
.cfg-chips.cfg-col { flex-direction: column; max-height: 260px; overflow-y: auto; position: relative; }
.cfg-num { width: 74px; min-height: 34px; }
.cfg-diff td.cfg-before { color: #8a2a1e; }
.cfg-diff td.cfg-after { color: #0d6b45; }
.cfg-diff tr.cfg-added td.cfg-after, .cfg-diff tr.cfg-removed td.cfg-before { font-weight: 600; }
.cfg-diff td { font-size: 12px; }
.cfg-objtabs { display: flex; flex-wrap: wrap; gap: 6px; }
.cfg-objtabs a { display: inline-flex; gap: 6px; align-items: center; padding: 7px 11px; border: 1px solid #cbd7e2; border-radius: 16px; background: #fff; font-size: 12px; font-weight: 700; color: #22517a; min-height: 34px; }
.cfg-objtabs a b { background: #e8f0f8; border-radius: 10px; padding: 0 7px; font-size: 11px; }
.cfg-objtabs a.on { background: var(--brand-primary); border-color: var(--brand-primary); color: #fff; }
.cfg-objtabs a.on b { background: rgba(255, 255, 255, .25); }
.cfg-objgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; }
.cfg-objcard { display: flex; flex-direction: column; gap: 6px; background: #fff; border: 1px solid #d6e0ea; border-radius: 6px; padding: 14px; color: inherit; min-width: 0; transition: box-shadow .15s, border-color .15s; }
.cfg-objcard:hover { border-color: var(--brand-primary); box-shadow: 0 4px 14px rgba(15, 50, 90, .08); }
.cfg-objcard .ic { width: 38px; height: 38px; border-radius: 9px; display: grid; place-items: center; background: #eaf3ff; color: var(--brand-primary); font-size: 19px; }
.cfg-objcard b { font-size: 15px; }
.cfg-objstats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; margin-top: 4px; font-size: 11.5px; color: var(--muted); }
.cfg-objstats b { display: block; font-size: 16px; color: #16324f; }
.cfg-objrow { display: flex; flex-direction: column; gap: 6px; }
.cfg-objhead { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; font-size: 12.5px; }
.cfg-tools { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.cfg-tools a { display: flex; flex-direction: column; gap: 2px; padding: 10px; border: 1px solid #dde5ed; border-radius: 5px; background: var(--panel2, #f7fafc); color: inherit; min-width: 0; min-height: 40px; }
.cfg-tools a:hover { border-color: var(--brand-primary); }
.cfg-tools a i { font-size: 18px; color: var(--brand-primary); }
.cfg-tools a b { font-size: 14px; overflow-wrap: anywhere; }
.cfg-tools a span { font-size: 11.5px; color: var(--muted); overflow-wrap: anywhere; }
.cfg-feed { padding: 10px 12px; max-height: 420px; overflow-y: auto; position: relative; }
.cfg-notes { font-size: 12.5px; line-height: 1.55; margin-bottom: 10px; }
.cfg-flagform { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.cfg-flagform select[multiple] { min-width: 150px; max-width: 220px; }
.cfg-sel td { background: #eef6ff; }
.erp-chip.cfg-opt { background: #fff; border-style: dashed; }
.cfg-list { margin: 8px 0; padding-left: 18px; font-size: 12.5px; line-height: 1.55; }
.cfg-list li { margin-bottom: 4px; }
@media (max-width: 560px) {
    .cfg-objstats { grid-template-columns: repeat(2, 1fr); }
    .cfg-flagform select[multiple] { max-width: 100%; }
}
