.pgsi {background:#f1e9f7;border:2px solid #513662;border-radius:22px;padding:clamp(18px,4vw,36px);margin:42px 0;color:#302138;scroll-margin-top:24px}
.pgsi [hidden] {display:none!important}
.pgsi h2 {margin:0 0 18px}
.pgsi .pgsi-note {font-size:.92rem;line-height:1.6}
.pgsi button {font:inherit;min-height:48px;padding:12px 22px;border:2px solid #513662;border-radius:9px;background:#513662;color:white;font-weight:700;cursor:pointer}
.pgsi button:disabled {opacity:.7;cursor:wait}
.pgsi button[data-reset] {background:white;color:#513662}
.pgsi button:hover {filter:brightness(.93)}
.pgsi :focus-visible {outline:3px solid #007e7b;outline-offset:4px}
.pgsi fieldset {border:0;border-top:1px solid #b2a1bc;min-width:0;padding:22px 0 10px;margin:28px 0 0}
.pgsi legend {font-size:1.05rem;font-weight:700;padding:0 8px 0 0;line-height:1.5}
.pgsi .pgsi-number {color:#61446e;display:block;font-size:.8rem;letter-spacing:.06em;margin-bottom:5px}
.pgsi .pgsi-options {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.pgsi label {display:flex;align-items:center;gap:10px;border:1px solid #a895b5;border-radius:8px;padding:10px 12px;min-height:50px;background:#fff;cursor:pointer;line-height:1.35}
.pgsi label:has(input:checked) {background:#e1f4ef;border:2px solid #08685e;padding:9px 11px}
.pgsi label:has(input:focus-visible) {outline:3px solid #007e7b;outline-offset:3px}
.pgsi input {width:19px;height:19px;flex:0 0 auto;accent-color:#513662;margin:0}
.pgsi [data-error] {color:#8c173a;font-weight:700}
.pgsi .pgsi-missing {border-top:2px solid #8c173a}
.pgsi .pgsi-actions {display:flex;gap:12px;flex-wrap:wrap;margin-top:22px}
.pgsi [data-result] {background:#fff;border:2px solid #513662;border-radius:12px;padding:24px;margin-top:24px}
.pgsi [data-result] h3 {margin-top:0;font-size:1.55rem}
.pgsi [data-result] a {font-weight:700}
.pgsi details {margin-top:24px}
.pgsi summary {min-height:48px;cursor:pointer;font-weight:700;padding:12px 0}
.pgsi .pgsi-ranges {padding-left:20px}
@media(max-width:480px) {.pgsi .pgsi-options {grid-template-columns:1fr}.pgsi [data-result] {padding:18px}.pgsi .pgsi-actions button {width:100%}}
