/* Admin › Challenges and Admin › Badges (mcadmin.js). Theme tokens only. */
.ca-back { border: 0; background: none; padding: 0 0 10px; font: inherit; font-size: 15px; font-weight: 600; color: var(--accent); cursor: pointer; }
.ca-h2 { margin: 4px 0 6px; font-size: 22px; font-weight: 900; }
.ca-row { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 56px; padding: 8px 0; border: 0; background: none; font: inherit; color: var(--text); text-align: left; cursor: pointer; }
.ca-row + .ca-row { border-top: 1px solid var(--border); }
.ca-row-t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.ca-row-t b { font-size: 14.5px; }
.ca-row-t small { font-size: 12px; color: var(--text2); line-height: 1.3; }
.ca-noart { width: 36px; height: 36px; border-radius: 8px; background: var(--bg3); flex-shrink: 0; }
.ca-tag { flex-shrink: 0; font-style: normal; font-size: 10.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 3px 7px; border-radius: 99px; background: var(--bg3); color: var(--text2); }
.ca-tag.scheduled { background: var(--accent-soft); color: var(--accent); }
.ca-form .card-hd { margin-bottom: 8px; }
.ca-f { display: flex; flex-direction: column; gap: 5px; margin: 8px 0; font-size: 12.5px; font-weight: 600; color: var(--text2); }
.ca-f input, .ca-f select { min-height: 40px; box-sizing: border-box; border: 1px solid var(--border); border-radius: 10px; background: var(--bg); color: var(--text); padding: 0 10px; font: inherit; font-size: 15px; font-weight: 500; }
.ca-inline { flex-direction: row; align-items: center; justify-content: space-between; }
.ca-inline input { width: 110px; text-align: right; }
.ca-two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ca-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0; }
.ca-note { margin: 6px 0 0; font-size: 12px; color: var(--text2); line-height: 1.4; }
.ca-photos { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.ca-photos .hm-img { height: 56px; border-radius: 10px; border: 2px solid transparent; cursor: pointer; padding: 0; }
.ca-photos .hm-img::after { display: none; }
.ca-photos .hm-img.on { border-color: var(--accent); }
.ca-art { display: flex; gap: 14px; align-items: flex-start; }
.ca-art-f { flex: 1; min-width: 0; }
.ca-shape { padding: 4px; border-radius: 10px; border: 2px solid transparent; background: none; cursor: pointer; }
.ca-shape.on { border-color: var(--accent); }
.ca-enamel { width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--border); cursor: pointer; padding: 0; }
.ca-enamel.on { border-color: var(--accent); box-shadow: 0 0 0 2px var(--bg2) inset; }
.ca-upload { display: inline-block; margin-top: 4px; font-size: 13px; font-weight: 700; color: var(--accent); cursor: pointer; }
.ca-link { border: 0; background: none; padding: 0; font: inherit; color: var(--accent); font-weight: 700; cursor: pointer; }
.ca-bars { display: flex; align-items: flex-end; gap: 3px; height: 70px; padding-top: 6px; }
.ca-bars i { flex: 1; min-width: 3px; border-radius: 3px 3px 0 0; background: var(--accent); }
.ca-acts { display: flex; flex-direction: column; gap: 8px; margin: 4px 0 8px; }
.ca-red { color: var(--red); }
.ca-preview { margin: 0 0 12px; padding: 12px 14px; border-radius: var(--radius); background: var(--accent-soft); font-size: 13.5px; color: var(--text); line-height: 1.4; }
.ca-form .at-row { gap: 10px; }
.ca-form > .at-row:first-child { border-top: 0; }
/* steppers: round buttons, the sign centered */
.ca-step { display: inline-flex; align-items: center; gap: 10px; }
.ca-step button { width: 36px; height: 36px; border-radius: 50%; border: 0; display: grid; place-items: center; padding: 0; background: var(--bg3); color: var(--text); cursor: pointer; }
.ca-step b { min-width: 64px; text-align: center; font-variant-numeric: tabular-nums; }
.ca-chips .mc-chip { display: inline-flex; align-items: center; line-height: 1; }
.ca-chips .mc-chip:disabled { opacity: 1; cursor: default; }

/* Share card (v105) */
.ca-sw { display: flex; flex-wrap: wrap; gap: 10px; }
.ca-sw button, .ca-sw-any { width: 34px; height: 34px; border-radius: 50%; border: 0; padding: 0; cursor: pointer; position: relative; }
.ca-sw button.on, .ca-sw-any.on { box-shadow: 0 0 0 3px var(--bg2), 0 0 0 5px var(--text); }
.ca-sw-any { background: conic-gradient(#ff4d5e, #f5c542, #3ddc84, #4da3ff, #a86bff, #ff4d5e); overflow: hidden; }
.ca-sw-any input { position: absolute; inset: 0; opacity: 0; width: 100%; height: 100%; cursor: pointer; }
.ca-sh-art { display: flex; gap: 12px; align-items: flex-start; }
.ca-sh-art img, .ca-sh-art .hm-img { width: 54px; height: 96px; border-radius: 8px; object-fit: cover; flex-shrink: 0; }
.ca-sh-art .hm-img::after { display: none; }
.ca-sh-art b { font-size: 14px; }
.ca-sh-prev { display: flex; gap: 12px; align-items: flex-end; margin-top: 10px; }
.ca-sh-prev > div { display: flex; flex-direction: column; gap: 4px; }
.ca-sh-prev .sh-fx { border-radius: 8px; overflow: hidden; }
.ca-sh-prev small { font-size: 11px; color: var(--text2); }
