.view-controls{display:flex;justify-content:space-between;gap:1rem;flex-wrap:wrap;margin:1.4rem 0}.view-choice{display:flex;gap:.5rem;flex-wrap:wrap}.view-choice button{padding:.5rem .9rem;font-size:.9rem}.view-controls label{display:flex;gap:.7rem;align-items:center;color:var(--muted);font-size:.82rem}.view-controls select{font-size:.85rem;padding:.4rem .7rem}.matrix-note,.matrix-legend{color:var(--muted);font-size:.83rem;margin:1rem 0}.matrix-legend{max-width:105ch}.matrix-table{width:100%;table-layout:fixed;border-collapse:collapse;margin-top:1rem}.matrix-table caption{text-align:left;color:var(--muted);font-size:.8rem;padding-bottom:1rem}.matrix-table thead th{font-size:.75rem;color:var(--muted);font-weight:600;padding:.7rem .25rem;vertical-align:bottom}.matrix-table th:first-child{width:23%;text-align:left}.matrix-table td{padding:.35rem;vertical-align:top}.matrix-table tbody th{font-size:.84rem;font-weight:400;padding:.7rem .7rem .7rem 0;overflow-wrap:anywhere}.matrix-group{border-top:1px solid var(--line)}.matrix-expand{padding:.4rem .6rem;text-align:left;font-size:.9rem;font-weight:600;max-width:100%}.matrix-expand:before{content:'+ ';color:var(--accent)}.matrix-expand[aria-expanded=true]:before{content:'− '}.matrix-row-note{display:block;margin-top:.35rem;color:var(--muted);font-size:.75rem}.matrix-child th{padding-left:.6rem!important;border-left:2px solid var(--line)}.matrix-child td{border-bottom:1px solid var(--line)}.matrix-child th span{display:block;padding-right:.4rem}.matrix-cell{display:flex;align-items:center;justify-content:center;text-align:center;width:100%;padding:.55rem .3rem;min-height:4.2rem;font-size:.75rem;line-height:1.4;background:var(--panel);border-color:var(--line);border-radius:4px}.matrix-cell.none{background:transparent;border-style:dashed;color:var(--muted)}.matrix-cell.decision,.matrix-cell.evidence,.matrix-cell.recorded{background:color-mix(in srgb,var(--matrix-a) 17%,var(--bg))}.matrix-cell.open,.matrix-cell.draft{background:color-mix(in srgb,var(--matrix-b) 18%,var(--bg))}.matrix-cell.mixed{background:linear-gradient(135deg,color-mix(in srgb,var(--matrix-a) 17%,var(--bg)) 0 50%,color-mix(in srgb,var(--matrix-b) 19%,var(--bg)) 50%)}.matrix-cell.unassessed{background-image:repeating-linear-gradient(135deg,transparent 0 7px,color-mix(in srgb,var(--muted) 10%,transparent) 7px 9px)}.matrix-cell[aria-pressed=true]{outline:2px solid var(--accent);outline-offset:1px;color:var(--ink);border-color:var(--line)}.mobile-stage{display:none}#matrix-panel{--matrix-a:#64cfcb;--matrix-b:#bea1ed}#matrix-panel[data-palette=blue-orange]{--matrix-a:#8abfff;--matrix-b:#e6b079}#matrix-panel[data-palette=blue-rose]{--matrix-a:#8abfff;--matrix-b:#e6a4bf}
#matrix-scroll{max-width:100%;overflow:auto;max-height:70vh;position:relative;border:1px solid var(--line)}
#matrix-scroll:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
.matrix-table{min-width:1000px;margin:0}.matrix-table th:first-child{width:210px;position:sticky;left:0;background:var(--bg);z-index:1;padding-left:.5rem}.matrix-table thead th{position:sticky;top:0;background:var(--bg);z-index:2}.matrix-table thead th:first-child{z-index:3}.matrix-expand{min-height:44px}.matrix-child th span{font-size:.875rem}.matrix-note,.matrix-legend{font-size:.875rem}#return-cell{padding:.6rem;margin-top:1rem;min-height:44px}
