.sq-psychology { max-width: 1050px; }
.sq-psychology [hidden] { display: none; }
.sq-psychology [data-intro] { max-width: 67ch; }
.sq-psychology-intro h1 { margin-bottom: .8rem; }
.sq-psychology-subtitle { font-size: clamp(1.15rem, 3vw, 1.4rem); line-height: 1.4; font-weight: 720; }
.sq-psychology-instructions, .sq-psychology-secondary {
    padding: .8rem 1rem;
    border-left: 4px solid #f9d400;
    background: #faf6df;
}
.sq-psychology [data-stage]:not([hidden]) > h2 { margin: .55rem 0 1.1rem; line-height: 1.22; text-wrap: balance; }
.sq-psychology button { min-height: 44px; cursor: pointer; }
.sq-psychology button:disabled { opacity: .63; cursor: default; }
.sq-psychology-progress { margin: 0 0 .4rem; font-weight: 700; }
.sq-psychology progress, .sq-psychology meter { display: block; width: 100%; accent-color: #9c8000; }
.sq-psychology progress { height: .8rem; margin-bottom: 1.5rem; }
.sq-psychology-options { display: grid; gap: .55rem; margin-bottom: 1.25rem; }
.sq-psychology-option {
    min-height: 48px;
    display: flex;
    align-items: center;
    gap: .7rem;
    padding: .75rem 1rem;
    border: 1px solid #8e8a7f;
    border-radius: .6rem;
    cursor: pointer;
    transition: background-color .18s, border-color .18s;
}
.sq-psychology-option:hover, .sq-psychology-option:has(input:checked) { background: #fff7c5; border-color: #806600; }
.sq-psychology-option:focus-within { outline: 2px solid #806600; outline-offset: 2px; }
.sq-psychology-option input { margin: 0; flex: 0 0 auto; accent-color: #806600; }
.sq-psychology-actions { display: flex; flex-wrap: wrap; gap: .65rem; }
.sq-psychology-result h3 { margin: 0 0 .8rem; font-size: clamp(1.5rem, 4vw, 2.4rem); }
.sq-psychology-character {
    display: grid;
    place-items: center;
    aspect-ratio: 4 / 3;
    margin: 0;
    width: 100%;
    max-width: 520px;
    overflow: hidden;
    background: #f9f6ec;
    border-radius: .7rem;
}
.sq-psychology-character img { width: 100%; height: 100%; min-height: 0; object-fit: contain; }
.sq-psychology-motto { font-size: clamp(1.1rem, 3vw, 1.3rem); font-weight: 800; }
.sq-psychology-sketch { margin: .55rem 0 1rem; padding-left: 1rem; border-left: 2px solid #d5d3cf; }
.sq-psychology-sketch p:first-child { margin-top: 0; }
.sq-psychology-sketch p:last-child { margin-bottom: 0; }
.sq-psychology-section { margin: 1.75rem 0; }
.sq-psychology-section h3 { margin: 0 0 .6rem; }
.sq-psychology-section p, .sq-psychology-section ul { margin: .35rem 0; }
.sq-psychology-metrics { display: grid; gap: 1rem; }
.sq-psychology-metrics svg { width: 100%; max-width: 510px; height: auto; margin: auto; }
.sq-psychology-radar-grid { stroke: #b7b2a1; stroke-width: 1.25; fill: none; }
.sq-psychology-radar-data { stroke: #725a00; stroke-width: 2.5; fill: #f9d68090; }
.sq-psychology-radar-point { fill: #725a00; }
.sq-psychology-radar-label { fill: #181716; font-size: 15px; font-weight: 700; }
.sq-psychology-scale-heading { display: flex; justify-content: space-between; gap: .5rem; align-items: baseline; }
.sq-psychology-scale meter { height: .9rem; }
.sq-psychology-scale meter::-webkit-meter-bar { background: #eeebe1; border: 0; }
.sq-psychology-scale meter::-webkit-meter-optimum-value { background: #a48300; }
.sq-psychology-scale meter::-moz-meter-bar { background: #a48300; }
.sq-psychology-export { display: grid; gap: .55rem; justify-items: start; }
.sq-psychology-export select { max-width: 100%; min-height: 44px; margin-bottom: .4rem; padding: 0 .55rem; font: inherit; }
.sq-psychology-status { overflow-wrap: anywhere; }
.sq-psychology-status:empty { display: none; }
.sq-psychology-note { margin: 2rem 0 0; padding-top: 1rem; border-top: 1px solid #d5d3cf; color: #48443c; font-size: .92rem; }
@media (prefers-reduced-motion: reduce) {
    .sq-psychology-option { transition: none; }
}
