.test-matrix,.test-matrix-editor{--matrix-stroke:color-mix(in srgb, var(--text) 32%, var(--surface));--matrix-gap:22px;--matrix-columns:minmax(0, 1fr) minmax(0, 1fr);--matrix-name-width:44px;border:2px solid var(--matrix-stroke);background:var(--surface);border-radius:32px;padding:28px}[data-tone=blue]{--participant-color:#3975b4}[data-tone=pink]{--participant-color:#b54872}[data-tone=green]{--participant-color:#307861}[data-tone=amber]{--participant-color:#966416}[data-tone=violet]{--participant-color:#7e56ad}:root[data-resolved-theme=dark] [data-tone=blue]{--participant-color:#85b8ed}:root[data-resolved-theme=dark] [data-tone=pink]{--participant-color:#f19eb9}:root[data-resolved-theme=dark] [data-tone=green]{--participant-color:#8acbb2}:root[data-resolved-theme=dark] [data-tone=amber]{--participant-color:#e2be7d}:root[data-resolved-theme=dark] [data-tone=violet]{--participant-color:#c7a6ed}.test-matrix-masthead{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:24px;display:flex}.test-matrix-title{margin:0;font-size:18px;font-weight:600}.test-matrix-help{color:var(--muted);margin:6px 0 0;font-size:12px}.test-matrix-legend{flex-direction:column;gap:8px;margin:0;padding:0;list-style:none;display:flex}.test-matrix-person{color:var(--participant-color);overflow-wrap:anywhere;align-items:center;gap:9px;font-size:15px;display:flex}.test-matrix-person strong{font-weight:650}.test-matrix-swatch{background:currentColor;border-radius:50%;flex:0 0 9px;width:9px;height:9px}.test-matrix-progress{color:var(--muted);white-space:nowrap;margin-left:5px;font-size:11px}.test-matrix-columns,.test-matrix .test-matrix-question,.test-matrix-editor-heading{grid-template-columns:var(--matrix-columns);gap:var(--matrix-gap);display:grid}.test-matrix-columns{z-index:2;background:var(--surface);align-items:end;margin:0 0 14px;padding:12px 0;position:sticky;top:8px}.test-matrix-question-label{padding-left:20px;font-size:15px;font-weight:600}.test-matrix-option-headings,.test-matrix-mobile-headings,.test-matrix-answer{grid-template-columns:var(--matrix-name-width) repeat(var(--option-count,3), minmax(0, 1fr));text-align:center;align-items:center;gap:4px;display:grid}.test-matrix-option-headings{color:var(--muted);padding:0 16px;font-size:12px;line-height:1.6}.test-matrix-group+.test-matrix-group{margin-top:28px}.test-matrix .test-matrix-question{break-inside:avoid;align-items:stretch;row-gap:8px;margin-bottom:16px}.test-matrix-prompt,.test-matrix-answers,.boundary-editor .question-head,.boundary-editor .answer-options{border:1.5px solid var(--matrix-stroke);border-radius:20px}.test-matrix-prompt{overflow-wrap:anywhere;align-items:center;gap:14px;min-height:110px;margin:0;padding:20px;font-size:16px;font-weight:500;line-height:1.8;display:flex}.test-matrix-number{color:var(--muted);font-variant-numeric:tabular-nums;white-space:nowrap;flex:none;align-self:flex-start;margin-top:3px;font-size:12px}.test-matrix-answers{flex-direction:column;justify-content:center;gap:2px;padding:12px 16px;display:flex}.test-matrix-answer{min-height:38px}.test-matrix-row-name{text-align:left;color:var(--participant-color);overflow-wrap:anywhere;font-size:12px;font-weight:600}.test-matrix-cell{place-items:center;display:grid}.test-matrix-dot{border:2px solid var(--matrix-stroke);border-radius:50%;place-items:center;width:26px;height:26px;display:grid}.test-matrix-dot.is-selected{color:var(--participant-color);background:color-mix(in srgb, currentColor 24%, var(--surface));border-color:currentColor}.test-matrix-dot.is-selected:after{content:"";background:currentColor;border-radius:50%;width:9px;height:9px}.test-matrix-unanswered{padding-left:calc(var(--matrix-name-width) + 4px);text-align:center;color:var(--muted);margin:-1px 0 2px;font-size:11px}.test-matrix-mobile-headings{display:none}.test-matrix-notes{grid-column:1/-1;padding:0 20px 4px;font-size:13px}.test-matrix-notes summary{cursor:pointer;color:var(--muted)}.test-matrix-note{padding:12px 0 4px}.test-matrix-note strong{color:var(--participant-color);font-size:12px}.test-matrix-note p{white-space:pre-wrap;overflow-wrap:anywhere;margin:4px 0}.boundary-editor .quiz-main{min-width:0;container-type:inline-size}.boundary-editor .quiz-layout{grid-template-columns:minmax(0,1fr) 230px;gap:20px}.boundary-editor .quiz-side{padding:20px}.boundary-editor .test-matrix-editor{--matrix-gap:16px;padding:22px}.test-matrix-editor-heading{align-items:center;margin-bottom:16px}.test-matrix-editor-person{color:var(--participant-color);text-align:right;font-weight:600}.boundary-editor .test-matrix-question{grid-template-columns:var(--matrix-columns);align-items:stretch;gap:8px var(--matrix-gap);box-shadow:none;background:0 0;border:0;border-radius:0;margin:0 0 22px;padding:0;display:grid}.boundary-editor .question-head{align-items:center;gap:10px;padding:16px}.boundary-editor .question-head h2{font-size:15px;font-weight:500;line-height:1.8}.boundary-editor .question-number{color:var(--muted);white-space:nowrap;flex:none;align-self:flex-start;min-width:16px;padding-top:7px}.boundary-editor .question-clear{white-space:nowrap;flex:none;align-self:flex-end;min-height:32px;padding:4px;font-size:11px}.boundary-editor .answer-options{grid-template-columns:repeat(var(--option-count,3), minmax(0, 1fr));gap:2px;min-width:0;margin:0;padding:10px 6px;display:grid}.boundary-editor .test-matrix-choice{min-height:92px;color:var(--muted);text-align:center;background:0 0;border:0;border-radius:12px;flex-direction:column;justify-content:space-between;align-items:center;gap:12px;padding:8px 3px;font-size:11px;line-height:1.6;display:flex}.boundary-editor .test-matrix-choice:has(input:checked){color:var(--participant-color);background:0 0}.boundary-editor .test-matrix-choice:hover{background:var(--surface-low)}.boundary-editor .test-matrix-choice input{appearance:none;border:2px solid var(--matrix-stroke);background:var(--surface);cursor:pointer;border-radius:50%;width:26px;height:26px}.boundary-editor .test-matrix-choice input:checked{border-color:var(--participant-color);background:var(--participant-color);box-shadow:inset 0 0 0 5px var(--surface)}.boundary-editor .test-matrix-choice input:focus-visible{outline:2px solid var(--participant-color);outline-offset:4px}.boundary-editor .question-note{grid-column:1/-1;margin:0;padding:0 16px}.boundary-editor .question-note textarea{background:var(--surface-low)}@container (width<=650px){.boundary-editor .test-matrix-question{grid-template-columns:1fr}.boundary-editor .question-head{min-height:86px}.boundary-editor .test-matrix-choice{min-height:100px;font-size:12px}}@media (width<=760px){.test-matrix{--matrix-gap:12px;border-radius:26px;padding:20px}.test-matrix-columns{display:none}.test-matrix .test-matrix-question{grid-template-columns:1fr;gap:8px;margin-bottom:26px}.test-matrix-prompt{border-radius:18px;min-height:84px;padding:16px;font-size:15px}.test-matrix-answers{border-radius:18px;padding:12px}.test-matrix-mobile-headings{color:var(--muted);margin:0 0 6px;font-size:11px;line-height:1.6;display:grid}.test-matrix-masthead{gap:16px;margin-bottom:24px}.test-matrix-legend{flex-flow:wrap;gap:10px 20px}.test-matrix-person{font-size:14px}.test-matrix-group+.test-matrix-group{margin-top:0}.test-matrix-notes{padding:0 8px}.boundary-editor .quiz-layout{display:flex}.boundary-editor .test-matrix-editor{border-radius:26px;padding:16px}.boundary-editor .test-matrix-choice{min-height:100px;font-size:12px}}@media (width<=360px){.test-matrix{--matrix-name-width:30px;padding:14px}.test-matrix-progress{display:none}.test-matrix-prompt{gap:10px;padding:14px}.test-matrix-answers{padding:12px 8px}.test-matrix-dot{width:24px;height:24px}.boundary-editor .test-matrix-editor{padding:12px}}
