.study-page{width:min(720px, calc(100% - 2 * var(--page-gutter)));padding-block:var(--section-space);margin-inline:auto}.study-intro{border-bottom:3px solid var(--accent);padding-bottom:var(--space-8)}.study-intro h1{max-width:18ch}.study-actions{align-items:center;gap:var(--space-4);margin-block:var(--space-6);flex-wrap:wrap;display:flex}.study-button{min-height:48px;padding:var(--space-3) var(--space-6);border-radius:var(--radius-sm);background:var(--accent-dark);color:var(--color-surface);font-family:var(--font-display);cursor:pointer;border:0;justify-content:center;align-items:center;font-weight:700;text-decoration:none;display:inline-flex}.study-button:hover{background:var(--color-juniper);color:var(--color-surface)}.study-button:disabled{opacity:.6;cursor:wait}.study-page [hidden]{display:none!important}.study-survey{padding-block:var(--space-8);scroll-margin-top:var(--space-8)}.study-survey h2{font-size:2rem}.study-survey fieldset{margin:0 0 var(--space-8);border:0;min-width:0;padding:0}.study-survey legend,.study-text-question>label{margin-bottom:var(--space-3);font-weight:700;display:block}.study-rating{gap:var(--space-2);grid-template-columns:repeat(5,minmax(0,1fr));display:grid}.study-rating label,.study-choices label{justify-content:center;align-items:center;gap:var(--space-2);min-height:48px;padding:var(--space-2);border:1px solid var(--color-line);border-radius:var(--radius-sm);background:var(--color-surface);cursor:pointer;display:flex}.study-rating label:has(:checked),.study-choices label:has(:checked){border-color:var(--accent-dark);background:var(--color-accent-tint)}.study-scale{justify-content:space-between;gap:var(--space-4);margin-top:var(--space-2);font-size:.9rem;display:flex}.study-choices{gap:var(--space-2);flex-wrap:wrap;display:flex}.study-choices label{flex:1}.study-choices-stacked{flex-direction:column}.study-choices-stacked label{padding-inline:var(--space-4);justify-content:flex-start}.study-text-question{margin-bottom:var(--space-8)}.study-text-question textarea{padding:var(--space-3);border:1px solid var(--color-line);border-radius:var(--radius-sm);resize:vertical;background:var(--color-surface);color:var(--color-ink)}.study-note{font-size:.9rem}.study-leave{color:var(--accent-dark);padding:var(--space-3) 0;cursor:pointer;background:0 0;border:0;min-height:44px;text-decoration:underline}.study-page :is(a,button,input,textarea,select):focus-visible{outline:3px solid var(--accent);outline-offset:3px}.study-results{width:min(960px, calc(100% - 2 * var(--page-gutter)))}.study-results-controls{align-items:center;gap:var(--space-4);margin-block:var(--space-6);flex-wrap:wrap;display:flex}.study-results-controls select{min-height:44px}.study-summary{gap:var(--space-5);margin-block:var(--space-8);grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.study-summary div{border-bottom:1px solid var(--color-line);padding-bottom:var(--space-3)}.study-summary dt{font-size:.95rem}.study-summary dd{font-family:var(--font-display);margin:0;font-size:2rem;font-weight:700}.study-response{border-top:1px solid var(--color-line);padding-block:var(--space-6)}.study-response h3{font-size:1.1rem}.study-response dd{white-space:pre-wrap;overflow-wrap:anywhere;margin-left:0}.study-response dt{margin-top:var(--space-4);font-weight:700}@media (width<=400px){.study-rating{gap:var(--space-1)}.study-rating label{padding:var(--space-2) var(--space-1);flex-direction:column}}
