/* Free character strengths test (views/seo/strengths*.ejs, issue #803); builds on personalityTest.css */
.st-top { list-style: none; padding: 0; counter-reset: st; display: grid; gap: .75rem; }
.st-top li { counter-increment: st; position: relative; background: #fff; border: 1px solid #e2e8f0; border-left: 5px solid #16a34a; border-radius: 12px; padding: .85rem 1rem .85rem 3.2rem; }
.st-top li::before { content: counter(st); position: absolute; left: .9rem; top: .85rem; width: 1.7rem; height: 1.7rem; border-radius: 50%; background: #16a34a; color: #fff; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.st-top h4 { font-size: 1.1rem; margin: 0 0 .2rem; }
.st-top .st-line { color: #475569; margin-bottom: .35rem; }
.st-top .st-idea { background: #f0fdf4; border-radius: 8px; padding: .4rem .6rem; font-size: .92rem; margin: 0; }
.st-less { padding-left: 1.2rem; }
.st-all { padding-left: 1.6rem; }
.st-all li { margin-bottom: .45rem; }
.st-all .st-row { display: grid; grid-template-columns: 11rem 1fr 2.2rem; gap: .6rem; align-items: center; }
.st-all .st-val { font-weight: 700; color: #1e3a8a; text-align: right; font-variant-numeric: tabular-nums; }
.st-virtues { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.st-virtue { border: 1px solid #e2e8f0; border-radius: 12px; padding: 1rem; background: #f8fafc; }
.st-virtue dt { margin-top: .5rem; }
.st-virtue dd { margin-bottom: 0; color: #475569; font-size: .92rem; }
/* Friends pick 5 */
.st-pick-grid { display: grid; gap: .5rem; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.st-pick-card { display: block; height: 100%; border: 2px solid #cbd5e1; border-radius: 10px; padding: .55rem .7rem; background: #fff; cursor: pointer; user-select: none; }
.st-pick-card strong { display: block; }
.st-pick-card span { display: block; font-size: .85rem; color: #475569; }
.btn-check:checked + .st-pick-card { border-color: #16a34a; background: #f0fdf4; }
.btn-check:checked + .st-pick-card strong::before { content: "\2713  "; color: #16a34a; }
.btn-check:disabled + .st-pick-card { opacity: .5; cursor: not-allowed; }
.btn-check:focus-visible + .st-pick-card { outline: 2px solid #1d4ed8; outline-offset: 2px; }
/* The owner's comparison */
.st-cmp { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.st-cmp-box { border-radius: 12px; padding: 1rem; border: 1px solid #e2e8f0; background: #fff; }
.st-cmp-box ul { padding-left: 1.1rem; margin-bottom: 0; }
.st-cmp-confirmed { border-top: 5px solid #16a34a; }
.st-cmp-hidden { border-top: 5px solid #f59e0b; }
.st-cmp-self { border-top: 5px solid #2563eb; }
@media (max-width: 576px) { .st-all .st-row { grid-template-columns: 7.5rem 1fr 2rem; } }
