/* A Deploy, Step by Step - layout: flow on the left, details and questions on the right */
* { box-sizing: border-box; }
body { margin: 0; padding: 0; font-family: Arial, Helvetica, sans-serif; }
main { display: block; width: 100%; }
.sim { width: 100%; height: 640px; border: 1px solid silver; display: flex; flex-direction: column; background: white; }
.sim-header { background: aliceblue; padding: 8px 12px 4px; border-bottom: 1px solid #dde5ee; }
.sim-header h1 { font-size: 20px; margin: 0 0 4px; text-align: center; }
.sim-header p { font-size: 16px; margin: 0; text-align: center; }
.sim-body { flex: 1; display: flex; min-height: 0; }
.diagram-panel { width: 55%; background: aliceblue; padding: 6px; display: flex; justify-content: center; align-items: flex-start; overflow: hidden; }
.diagram-panel svg { height: 560px; width: auto; max-width: 100%; }
.side-panel { width: 45%; border-left: 1px solid #dee2e6; background: #f8f9fa; padding: 10px 12px; display: flex; flex-direction: column; gap: 10px; }
.info-box { background: white; border: 1px solid #c8d6e5; border-radius: 6px; padding: 8px 10px; min-height: 120px; font-size: 15px; line-height: 1.35; }
.info-box .info-title { font-weight: bold; font-size: 16px; margin-bottom: 4px; }
.info-box .placeholder { color: #666; font-style: italic; }
.quiz-box { background: white; border: 1px solid #c8d6e5; border-radius: 6px; padding: 8px 10px; font-size: 15px; line-height: 1.35; flex: 1; }
.quiz-box .q-text { font-weight: bold; margin-bottom: 6px; }
.quiz-box .q-tag { color: #666; font-size: 13px; font-weight: normal; }
.quiz-box select { font-size: 15px; max-width: 100%; margin: 4px 0; }
.quiz-box button, .start-btn { font-size: 15px; margin: 4px 6px 4px 0; }
.feedback { margin-top: 6px; }
.feedback.right { color: #1e7a3a; }
.feedback.wrong { color: #b03a2e; }
.score { margin-top: 8px; font-weight: bold; }
.node { cursor: pointer; }
#diagram .node:hover > rect { filter: brightness(0.95); stroke-width: 2.5px !important; }
#diagram .node.selected > rect { fill: #fff3c4 !important; stroke: #b8860b !important; stroke-width: 3px !important; }
#diagram .node.chosen-wrong > rect { stroke: #b03a2e !important; stroke-width: 4px !important; stroke-dasharray: 6 3; }
#diagram .node.correct > rect { stroke: #1e7a3a !important; stroke-width: 4px !important; }
.legend { font-size: 13px; color: #444; }
.legend span { display: inline-block; margin-right: 10px; }
