.section-top{display:flex;justify-content:space-between;align-items:start;gap:24px;margin:24px 0 16px}.section-top h2{margin:0}.section-top p{margin:8px 0 0;max-width:72ch}.microcopy{color:var(--muted);font-size:16px}.steps-scroll{overflow-x:auto;overscroll-behavior-x:contain;border-block:1px solid var(--line);padding:20px 0}.mechanism-canvas{display:flex;gap:16px;width:max-content;min-width:100%}.mechanism-step{width:260px;flex:none;display:flex;flex-direction:column;border:1px solid var(--line);background:var(--card);padding:20px}.step-title,.relationship-title,.option-title{font:inherit;text-align:left;border:0;background:transparent;color:var(--ink);padding:0;overflow-wrap:anywhere;cursor:pointer}.step-title{display:grid;gap:12px;margin:12px 0 20px}.step-title strong,.relationship-title{font-family:var(--display);font-size:22px;line-height:1.25}.step-title span{line-height:1.45}.step-actions{display:flex;gap:12px;align-items:center;margin-top:auto}.step-actions .drag-handle{flex:1;text-align:left;touch-action:none;min-height:44px}.relationship-heading{align-items:center}.relationships{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.relationship{min-width:0;border:1px solid var(--line);background:var(--surface);padding:22px;display:flex;flex-direction:column;gap:16px}.relationship>p{margin:0;white-space:pre-wrap;overflow-wrap:anywhere}.relationship>.text-button{align-self:start;margin-top:auto}.relationship-title{font-size:24px}.relationship-options{display:grid;gap:12px}.intervention-chip{border:1px solid var(--line);background:var(--card);padding:15px;display:flex;gap:10px;min-width:0}.intervention-chip>div{flex:1;min-width:0}.intervention-chip.selected{border-color:var(--accent);box-shadow:inset 3px 0 var(--accent)}.option-title{font-size:19px;font-weight:600}.anchor-label{font-size:14px;color:var(--muted);margin:8px 0}.review-tag{font-family:var(--mono);font-size:12px;line-height:1.5;color:var(--muted);display:block;overflow-wrap:anywhere}.drag-handle{background:transparent;border:0;color:var(--accent);cursor:grab;touch-action:none;min-width:32px;min-height:44px;align-self:start}.drop-hint{font-size:16px;color:var(--muted);margin:0}.unattached{margin:30px 0}.unattached-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.option-notebook,.comparison-panel{margin:30px 0;border:1px solid var(--line);background:var(--card);padding:30px}.option-notebook>.section-top{margin-top:0}.notebook-actions,.choose-row{display:flex;flex-wrap:wrap;gap:12px;align-items:center}.option-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 24px}.option-fields>.field{min-width:0}.working-details{border-top:1px solid var(--line);padding:20px 0;margin-top:20px}.working-details>summary{cursor:pointer;font-size:20px;color:var(--ink);padding:5px 0}.working-details[open]>summary{margin-bottom:20px}.choose-row{margin-top:20px}.comparison-scroll{max-width:100%;overflow:auto;overscroll-behavior-x:contain}.comparison-scroll table{border-collapse:collapse;table-layout:fixed;min-width:100%;width:max-content}.comparison-scroll th,.comparison-scroll td{padding:16px;border:1px solid var(--line);vertical-align:top;text-align:left;min-width:230px;width:230px;max-width:230px;white-space:pre-wrap;overflow-wrap:anywhere;font-size:18px}.comparison-scroll th:first-child{min-width:165px;width:165px;max-width:165px;font-size:16px}.comparison-scroll th{background:var(--surface)}.comparison-scroll thead th .text-button{display:block;text-align:left;font-size:18px}.comparison-scroll thead th .text-button+button{font-size:16px;margin-top:10px}.prompt-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.prompt{border:1px solid var(--line);padding:20px;background:var(--surface)}.prompt h3{margin-top:0}.prompt .microcopy{display:block;margin-top:12px}.is-drop-target{outline:2px solid var(--accent);outline-offset:2px}.field select{max-width:100%;width:100%}#chosen-test{overflow-wrap:anywhere}.dialog-description{overflow-wrap:anywhere}
@media(max-width:1000px){.relationships,.prompt-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.unattached-list{grid-template-columns:1fr 1fr}}
@media(max-width:600px){.section-top{flex-direction:column;gap:14px}.relationships,.prompt-grid,.unattached-list,.option-fields{grid-template-columns:1fr}.mechanism-step{width:245px}.option-notebook,.comparison-panel{padding:20px 16px}.relationship{padding:20px}.notebook-actions,.choose-row{align-items:stretch;gap:10px}.choose-row .button{flex:1 1 100%}.comparison-scroll th:first-child{min-width:120px;width:120px;max-width:120px}.comparison-scroll th,.comparison-scroll td{min-width:205px;width:205px;max-width:205px}.step-actions .drag-handle{font-size:16px}}

.attached-context{font-size:16px;color:var(--muted);overflow-wrap:anywhere;margin:-4px 0 22px}
.test-attempts{margin:32px 0;border-block:1px solid var(--line);padding:8px 0 24px}.test-attempt{padding:24px 0;border-top:1px solid var(--line)}.attempt-heading{display:flex;justify-content:space-between;align-items:start;gap:20px}.attempt-heading>div{min-width:0}.attempt-heading h3{margin:0;overflow-wrap:anywhere}.attempt-heading .button{flex:none;min-height:44px}.attempt-dates{font-size:16px;color:var(--muted);margin:8px 0 0}.attempt-record{margin:20px 0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 28px}.attempt-record>div{min-width:0}.attempt-record dt{font-size:16px;color:var(--muted);margin-bottom:6px}.attempt-record dd{margin:0;white-space:pre-wrap;overflow-wrap:anywhere;color:var(--ink)}.attempt-results{border-top:1px solid var(--line);padding-top:20px}.test-attempt .working-details{padding:12px 0}.field input[type=date]{display:block;width:100%;max-width:100%;min-width:0;min-height:48px;padding:10px 12px;font:inherit;font-size:18px;line-height:1.4;color:var(--ink);border:1px solid var(--line);background:var(--card);border-radius:4px}.field input[type=date]:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.test-attempts .button{font-size:16px;min-height:44px}
@media(max-width:600px){.attempt-heading{flex-direction:column;gap:14px}.attempt-record{grid-template-columns:1fr;gap:18px}.test-attempts>.section-top>.button{align-self:stretch}.attempt-heading .button{align-self:start}}
