.idea-methods-flow { display: grid; grid-template-columns: minmax(0, 1.45fr) 5.25rem minmax(0, 1fr); gap: .55rem; align-items: start; }
.idea-methods-figure :is(h4, h5, p) { margin: 0; }
.idea-method-stage { display: inline-block; font-weight: 800; padding: .05rem .45rem; border-radius: .3rem; background: #ffe777; color: #294742; }
.idea-method-lane { margin-top: .55rem; padding: .5rem .65rem; border: 1px solid #b9b09d; border-left: 4px solid #23605c; background: #fffaf0; }
.idea-method-lane h4, .idea-method-groups h4 { margin-block: .3rem; }
.idea-method-operation, .idea-method-passage { display: grid; gap: .45rem; align-items: center; }
.idea-method-operation { grid-template-columns: 5rem minmax(0, 1fr); }
.idea-method-passage { grid-template-columns: minmax(0, 1fr) 4rem minmax(0, 1.1fr); }
.idea-method-operation img { display: block; max-width: 100%; height: auto; }
.idea-method-speech { display: grid; gap: .25rem; justify-items: start; }
.idea-method-speech b { --speech-fill: #d8eef3; position: relative; margin-left: .35rem; border: 1px solid #23605c; border-radius: .9rem; padding: .1rem .55rem; background: var(--speech-fill); }
.idea-method-speech b::before { content: ""; position: absolute; top: .5em; left: -.25rem; width: .4rem; height: .4rem; background: var(--speech-fill); border: solid #23605c; border-width: 0 0 1px 1px; transform: rotate(45deg); }
.idea-method-speech b + b { --speech-fill: #dceee2; margin-left: 1.25rem; }
.idea-method-sheet { padding: .25rem .4rem; border: 1px solid #817660; border-top: 4px solid #e0be4a; background: #fff6cd; }
.idea-method-sheet span, .idea-method-sheet b { display: block; }
.idea-method-sheet span, .idea-method-pass, .idea-method-transition { font-size: .86em; }
.idea-method-sheet b + b { border-top: 1px dashed #95815e; margin-top: .12rem; padding-top: .12rem; }
.idea-method-lane p, .idea-method-groups > p:last-child { margin-top: .3rem; }
.idea-method-example { color: #504537; font-size: .88em; }
.idea-method-pass, .idea-method-transition { display: grid; gap: .15rem; justify-items: center; text-align: center; color: #23605c; font-weight: 700; line-height: 1.3; }
.idea-method-transition { align-self: center; }
.idea-method-pass [data-diagram-arrow], .idea-method-transition [data-diagram-arrow] { display: block; width: 100%; height: .95rem; }
.idea-method-pass [data-diagram-arrow]::before, .idea-method-transition [data-diagram-arrow]::before { display: block; width: 100%; height: 100%; }
.idea-method-cluster { display: grid; grid-template-columns: 3.5rem minmax(0, 1fr); align-items: start; row-gap: .24rem; padding: .4rem .65rem; margin-top: .45rem; border: 1px solid #23605c; border-radius: 1.2rem .9rem 1.5rem .75rem; background: #dceee2; }
.idea-method-cluster + .idea-method-cluster { background: #f6e4ec; border-color: #835064; }
.idea-method-cluster img { grid-row: span 3; align-self: center; width: 3.1rem; height: auto; }
.idea-method-cluster h5 { grid-column: 2; font-size: 1em; }
.idea-method-cluster span { grid-column: 2; justify-self: start; border: 1px solid #a29b8a; padding: 0 .3rem; background: #fffaf0; border-radius: .15rem; }
.idea-methods-figure figcaption { margin-top: .8rem; }

.decision-sequence-table { --sequence-columns: minmax(0, 1fr) 2.2rem minmax(0, .8fr) 2.2rem minmax(0, 1.65fr); }
.decision-sequence-head, .decision-sequence-track { display: grid; grid-template-columns: var(--sequence-columns); gap: .35rem; align-items: center; text-align: center; }
.decision-sequence-head { font-weight: 700; margin-top: .55rem; }
.decision-sequence-head span:nth-child(2) { grid-column: 3; }
.decision-sequence-head span:last-child { grid-column: 5; }
.decision-sequence-track { margin-block: .35rem; }
.decision-sequence-track :is(ul, .decision-sequence-min, .decision-sequence-location) { margin: 0; border: 1px solid #9c937f; border-radius: .55rem; padding: .25rem .4rem; }
.decision-sequence-track ul { list-style: none; text-align: start; background: #fffaf0; }
.decision-sequence-track li { display: flex; justify-content: space-between; gap: .2rem; }
.decision-sequence-track li:first-child { background: #dceee2; }
.decision-sequence-location { display: flex; align-items: center; justify-content: center; gap: .35rem; background: #fffaf0; }
.decision-sequence-location img { max-width: 33%; height: auto; }
.decision-sequence-min { background: #dceee2; }
.decision-sequence-min strong { display: block; font-size: 1.15em; }
.decision-sequence-win { background: #ffe777; }
.decision-sequence-flow { display: flex; align-items: center; gap: .35rem .6rem; margin-block: .3rem; color: #23605c; }
.decision-sequence-flow b { padding-inline: .4rem; background: #d8eef3; border-radius: .25rem; }
.decision-sequence-reverse b { background: #dceee2; }
.decision-sequence-flow [data-diagram-arrow], .decision-sequence-track [data-diagram-arrow] { display: block; width: 2.2rem; height: .92rem; flex: none; }
.decision-sequence-table [data-diagram-arrow]::before { display: block; width: 100%; height: 100%; }

@media (max-width: 700px) {
  .idea-methods-flow { display: block; }
  .idea-method-transition { display: block; margin-block: .65rem; }
  .idea-method-transition [data-diagram-arrow] { width: 1.1rem; margin: .25rem auto; transform: rotate(90deg); }
}
