.aa-work { color: var(--ink); }
.aa-brief { max-width: 66ch; line-height: 1.55; }
.aa-layout {
  display: grid;
  grid-template-columns: minmax(13rem, .85fr) minmax(0, 1.45fr);
  align-items: start;
  gap: 1rem;
}
.aa-plan, .aa-step, .aa-protocol {
  margin: 0;
  padding: clamp(.9rem, 2.2vw, 1.4rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}
.aa-plan { background: #f1f4ec; }
.aa-plan figcaption, .aa-field, .aa-choices legend { font-weight: 680; }
.aa-plan svg { display: block; width: 100%; height: 20rem; margin: .45rem 0; }
.aa-caption { display: block; color: #495b49; font-size: .9rem; line-height: 1.45; }
.aa-floor { fill: #fffaf0; stroke: #394e40; stroke-width: 2.3; }
.aa-measure, .aa-marker text, .aa-p { text-anchor: middle; fill: #233e32; font: 700 12px system-ui,sans-serif; }
.aa-measure { font-size: 15px; }
.aa-dim, .aa-door { stroke: #617665; fill: none; stroke-width: 1; }
.aa-opening { stroke: #fffaf0; stroke-width: 4; }
.aa-point { fill: #a35928; }
.aa-start { fill: #23583c; }
.aa-axis { fill: none; stroke: #1f6941; stroke-width: 3; stroke-dasharray: 6 4; }
.aa-marker circle { fill: #fffdf5; stroke: #365444; stroke-width: 1.8; }
.aa-marker { cursor: pointer; }
.aa-marker.aa-selected circle { fill: #365b43; }
.aa-marker.aa-selected text { fill: white; }
.aa-step h2, .aa-work h2 { margin: .3rem 0 1rem; }
.aa-count { font-weight: 680; color: var(--green); font-variant-numeric: tabular-nums; }
.aa-step p, .aa-work blockquote, .aa-work li, .aa-protocol dd { line-height: 1.5; }
.aa-number { display: flex; gap: .6rem; align-items: center; margin: .5rem 0 1rem; }
.aa-number input, .aa-work textarea { padding: .55rem .7rem; color: var(--ink); font: inherit; border-radius: .5rem; border: 1px solid #899688; background: white; }
.aa-number input { width: 8rem; max-width: 70%; min-height: 44px; }
.aa-work textarea { width: 100%; box-sizing: border-box; margin-top: .4rem; resize: vertical; }
.aa-choices { padding: 0; margin: .6rem 0 1rem; border: 0; min-width: 0; }
.aa-choices label { display: flex; align-items: center; gap: .6rem; min-height: 44px; cursor: pointer; padding-block: .25rem; }
.aa-choices input { flex: 0 0 auto; accent-color: var(--green); }
.aa-response, .aa-good, .aa-summary { border-inline-start: 3px solid #5a8362; padding-inline-start: .75rem; }
.aa-response { border-color: #a36932; }
.aa-response:empty, .aa-work [data-aa-storage]:empty { display: none; }
.aa-protocol { margin-block: 1rem; }
.aa-protocol summary { cursor: pointer; font-weight: 650; }
.aa-protocol dt { font-weight: 650; margin-top: .65rem; }
.aa-protocol dd { margin: .2rem 0; }
.aa-work blockquote { white-space: pre-wrap; overflow-wrap: anywhere; margin-inline: 0; padding-inline-start: 1rem; border-inline-start: 3px solid var(--green); }
@media(max-width: 650px) {
  .aa-layout { grid-template-columns: minmax(0,1fr); }
  .aa-plan svg { height: 18rem; }
}
