/* /tools/attractiveness-test, scoped to the existing cream, ink and gold free-tool shell. */
.pgt-tool-sa { max-width: 760px; margin-inline: auto; }
.pgt-tool-sa *, .pgt-tool-sa *::before { box-sizing: border-box; }
.pgt-tool-sa [hidden] { display: none !important; }
.pgt-sa-pickers { display: flex; flex-wrap: wrap; gap: 0 12px; justify-content: center; }
.pgt-sa-pickers .pgt-cta { flex: 1 1 220px; max-width: 320px; border: 0; font: inherit; font-weight: 700; }
.pgt-sa-pick { cursor: pointer; }
.pgt-tool-sa .pgt-sa-pick { background: #fff; color: var(--pgt-ink); border: 2px solid var(--pgt-gold); box-shadow: none; }
.pgt-sa-cam { position: relative; margin: 16px auto 0; max-width: 560px; border-radius: 16px; overflow: hidden; background: #111; }
.pgt-sa-cam canvas { display: block; width: 100%; height: auto; min-height: 200px; }
.pgt-sa-cam-actions { display: flex; flex-wrap: wrap; gap: 8px; padding: 10px; justify-content: center; background: #111; }
.pgt-sa-cam-actions .pgt-btn { width: auto; flex: 1 1 140px; margin-top: 0; padding: 12px 14px; }
.pgt-sa-cam-actions .pgt-btn:disabled { opacity: .5; cursor: not-allowed; }
.pgt-sa-cam-actions .is-recording { background: #c0281f; color: #fff; }
.pgt-sa-file { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.pgt-tool-sa .pgt-status[data-tone="warn"] { color: #8a3b12; font-weight: 600; }
.pgt-sa-stage { position: relative; margin: 16px auto 0; max-width: 520px; border-radius: 16px; overflow: hidden; background: #111; }
.pgt-sa-stage canvas { display: block; width: 100%; height: auto; }
.pgt-sa-video { position: absolute; left: 0; top: 0; width: 2px; height: 2px; opacity: 0; pointer-events: none; }
.pgt-sa-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 8px; }
.pgt-sa-actions .pgt-btn { width: auto; flex: 1 1 200px; margin-top: 8px; }
.pgt-sa-result { margin-top: 20px; text-align: left; }
.pgt-sa-reading { padding: 18px 20px; border-radius: 14px; background: #1f1a12; color: #fff; }
.pgt-sa-reading h3 { margin: 0 0 6px; font-size: 21px; color: #f1d27a; }
.pgt-tool-sa .pgt-sa-reading p { margin: 0; line-height: 1.6; color: #f7f1e3; }
.pgt-tool-sa .pgt-sa-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.pgt-tool-sa .pgt-sa-chips span { padding: 5px 11px; border-radius: 999px; background: rgba(241, 210, 122, .16); border: 1px solid rgba(241, 210, 122, .5); font-size: 13.5px; color: #fff; }
.pgt-sa-card { margin-top: 16px; padding: 20px; border-radius: 14px; background: #fffaf0; border: 1px solid var(--pgt-line); }
.pgt-sa-who { margin: 0 0 6px; font-size: 13px; color: var(--pgt-soft); font-weight: 600; }
.pgt-sa-score { display: flex; align-items: baseline; gap: 12px; margin: 0; }
.pgt-sa-score b { font-size: 46px; line-height: 1; color: #70550e; }
.pgt-sa-score span { font-size: 15px; color: var(--pgt-soft); }
.pgt-sa-type { margin: 8px 0 14px; font-size: 16px; }
.pgt-sa-bars { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.pgt-sa-bars li { display: grid; grid-template-columns: 110px 1fr 34px; align-items: center; gap: 10px; font-size: 14px; }
.pgt-sa-bars meter { width: 100%; height: 10px; }
.pgt-sa-bars b { text-align: right; }
.pgt-sa-fact { margin: 14px 0 6px; font-size: 14px; }
.pgt-sa-golden summary { cursor: pointer; font-weight: 600; font-size: 14px; min-height: 40px; padding-block: 8px; }
.pgt-sa-golden ul, .pgt-sa-tips { margin: 6px 0 0; padding-left: 20px; font-size: 14px; line-height: 1.6; }
.pgt-sa-golden span { color: var(--pgt-soft); }
.pgt-sa-card h3 { margin: 16px 0 4px; font-size: 16px; }
.pgt-sa-ideas { margin-top: 18px; text-align: center; }
.pgt-sa-ideas .pgt-btn { margin-top: 8px; }
@media (max-width: 540px) {
  .pgt-sa-bars li { grid-template-columns: 92px 1fr 30px; font-size: 13px; }
  .pgt-sa-score b { font-size: 40px; }
  .pgt-sa-card { padding: 14px; }
}
