/* 승인된 A 시안. 기존 회색 그림 상자의 크기·배치는 유지한다. */
.sdm { width: 100%; height: 100%; display: grid; place-items: center; padding: 22px; color: #111; }
.sdm-card { width: 100%; max-width: 300px; display: grid; gap: 14px; padding: 18px 18px 16px; background: #fff; border-radius: 18px; box-shadow: 0 10px 28px rgba(0,0,0,.08); }
.sdm-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.sdm-title { font-size: 13px; line-height: 1.5; font-weight: 800; }
.sdm-switch { width: 36px; height: 21px; flex: 0 0 36px; border-radius: 999px; background: #c4ff00; position: relative; }
.sdm-switch::after { content: ''; position: absolute; top: 2px; left: 2px; width: 17px; height: 17px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.2); transform: translateX(15px); }
.sdm[data-switch="off"] .sdm-switch { background: #d9d9d9; }
.sdm[data-switch="off"] .sdm-switch::after { transform: none; }
.sdm-value { display: flex; align-items: baseline; gap: 6px; }
.sdm-num { font-size: 30px; line-height: 1.15; font-weight: 900; font-variant-numeric: tabular-nums; }
.sdm-unit { font-size: 12px; color: #8a8a8a; font-weight: 700; white-space: nowrap; }
.sdm-bar { position: relative; height: 8px; border-radius: 999px; background: linear-gradient(90deg,#c4ff00 0 26%,#f2b705 26% 56%,#ef4444 56% 100%); }
.sdm-thumb { position: absolute; top: 50%; left: var(--sdm-thumb,18%); width: 20px; height: 20px; margin: -10px 0 0 -10px; border-radius: 50%; background: #fff; border: 3px solid #111; box-shadow: 0 2px 6px rgba(0,0,0,.2); }
.sdm-scale { display: flex; justify-content: space-between; margin-top: -6px; font-size: 10px; line-height: 1.5; color: #8a8a8a; font-weight: 700; }
.sdm-risk { justify-self: start; border-radius: 999px; padding: 3px 9px; font-size: 11px; line-height: 1.5; font-weight: 800; background: #f2ffcc; color: #5d7a00; }
.sdm[data-risk="high"] .sdm-risk { background: #fdecec; color: #ef4444; }
.sdm-feed { display: grid; grid-template-columns: repeat(12,minmax(0,1fr)); gap: 5px; align-items: center; border-top: 1px solid #e6e6e6; padding-top: 12px; }
.sdm-feed i { aspect-ratio: 1; max-width: 18px; border-radius: 50%; background: #f1f1f1; display: grid; place-items: center; }
.sdm-feed i::after { content: ''; width: 45%; aspect-ratio: 1; border-radius: 50%; background: #cfcfcf; }
.sdm-feed i.on { background: #f2ffcc; }
.sdm-feed i.on::after { background: #5d7a00; }
@media (prefers-reduced-motion: reduce) { .sdm *, .sdm *::after { animation: none !important; transition: none !important; } }
