/* Social media health check (social-media-health-check.html). Builds on the calculator's .cst-* styles. */
.sc-intro { display: grid; gap: 14px; padding-bottom: 18px; margin-bottom: 8px; border-bottom: 1px solid rgba(18, 19, 22, .1); }
.sc-field > span { display: block; font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; opacity: .7; margin-bottom: 8px; }
.sc-field input, .sc-er input { width: 100%; box-sizing: border-box; padding: 12px 14px; border: 1px solid rgba(18, 19, 22, .18); border-radius: 12px; background: #fff; color: #121316; font: inherit; }
.sc-area { padding-top: 18px; }
.sc-area > .eyebrow { margin: 0 0 4px; }
.sc-er { margin-top: 22px; border: 1px solid rgba(18, 19, 22, .12); border-radius: 14px; padding: 0 16px; color: #121316; }
.sc-er summary { cursor: pointer; list-style: none; padding: 14px 0; font-weight: 600; display: flex; justify-content: space-between; gap: 10px; }
.sc-er summary::-webkit-details-marker { display: none; }
.sc-er summary span::after { content: "+"; } .sc-er[open] summary span::after { content: "–"; }
.sc-er p { margin: 0 0 12px; font-size: .9rem; }
.sc-er__row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 12px; }
.sc-er__row span { display: block; font-size: .75rem; opacity: .7; margin-bottom: 4px; }
.sc-er__out b { font-size: 1.1rem; }
.sc-score small { font-size: .45em; opacity: .55; margin-left: 2px; }
.sc-score--good, .sc-score--good + .sc-grade { color: #3ddc84; }
.sc-score--mid, .sc-score--mid + .sc-grade { color: #f5b942; }
.sc-score--bad, .sc-score--bad + .sc-grade { color: #ff7a6b; }
.sc-grade { opacity: 1; }
.sc-grade { margin: -4px 0 12px; font-weight: 600; }
.sc-bars { list-style: none; margin: 8px 0 16px; padding: 0; display: grid; gap: 10px; }
.sc-bars li { display: grid; grid-template-columns: 1fr 1.2fr auto; gap: 10px; align-items: center; font-size: .88rem; }
.sc-bar { height: 8px; border-radius: 99px; background: rgba(18, 19, 22, .1); overflow: hidden; }
.sc-bar i { display: block; height: 100%; border-radius: 99px; background: #07C3FA; transition: width .3s; }
.sc-fixes { margin: 6px 0 16px; padding-left: 20px; display: grid; gap: 12px; }
.sc-fixes li b { display: block; font-size: .9rem; }
.sc-fixes li span { display: block; font-size: .88rem; opacity: .8; margin-top: 2px; }
.sc-fixes li a { display: inline-block; margin-top: 4px; font-size: .85rem; color: #0596C3; font-weight: 600; }
.sc-great { font-weight: 600; color: #157a43; }
.sc-help { flex-basis: 100%; margin: 0 0 6px; font-size: .9rem; }
@media (max-width: 600px) { .sc-er__row { grid-template-columns: 1fr; } }
/* result panel is dark: force readable state colours */
.cst-sum .sc-score.sc-score--good, .cst-sum .sc-score--good + .sc-grade { color: #3ddc84 !important; }
.cst-sum .sc-score.sc-score--mid, .cst-sum .sc-score--mid + .sc-grade { color: #f5b942 !important; }
.cst-sum .sc-score.sc-score--bad, .cst-sum .sc-score--bad + .sc-grade { color: #ff7a6b !important; }
.cst-sum .sc-score small { color: rgba(255, 255, 255, .55) !important; }
