* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; line-height: 1.6; color: #1a1a1a; max-width: 1060px; margin: 0 auto; padding: 40px 24px; }
h1 { font-size: 1.75rem; margin-bottom: 8px; }
h2 { font-size: 1.3rem; margin-top: 40px; margin-bottom: 16px; color: #333; text-transform: uppercase; letter-spacing: 0.5px; }
h3 { font-size: 1.05rem; margin-top: 24px; margin-bottom: 8px; color: #444; }
p { margin-bottom: 12px; }
.subtitle { color: #666; margin-bottom: 32px; }

/* Scenario box */
.scenario-box { background: #f7f7f7; border-left: 4px solid #2563eb; padding: 16px 20px; margin: 16px 0; border-radius: 4px; }
.scenario-box strong { display: block; margin-bottom: 4px; }

/* Flowchart */
.flowchart { display: flex; flex-direction: column; gap: 0; margin: 24px 0; padding-left: 20px; }
.flow-step { display: flex; align-items: flex-start; gap: 16px; position: relative; }
.flow-connector { display: flex; flex-direction: column; align-items: center; min-width: 32px; }
.flow-node { width: 32px; height: 32px; border-radius: 50%; background: #2563eb; display: flex; align-items: center; justify-content: center; color: white; font-size: 0.75rem; font-weight: 600; flex-shrink: 0; }
.flow-line { width: 2px; height: 32px; background: #bfdbfe; }
.flow-content { padding: 4px 0 12px 0; }
.flow-content .flow-label { font-weight: 600; font-size: 0.9rem; color: #1e40af; }
.flow-content .flow-detail { font-size: 0.85rem; color: #555; margin-top: 2px; }

/* Tables */
table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 0.85rem; }
th { text-align: left; padding: 8px 10px; background: #f0f0f0; border-bottom: 2px solid #ddd; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.3px; color: #555; }
td { padding: 8px 10px; border-bottom: 1px solid #eee; vertical-align: top; }
tr.separator td { border-bottom: 2px solid #ddd; }

/* Status pills */
.status { font-weight: 600; font-size: 0.78rem; padding: 2px 6px; border-radius: 3px; white-space: nowrap; }
.status.finished { background: #dcfce7; color: #166534; }
.status.inprogress { background: #fff7ed; color: #c2410c; }
.status.cancelled { background: #fef2f2; color: #991b1b; }
.status.skipped { background: #f5f5f5; color: #666; }
.status.lapsed { background: #fef2f2; color: #991b1b; }

/* Callouts */
.callout { border: 2px solid #dc2626; border-radius: 8px; padding: 12px 16px; margin: 24px 0; font-size: 0.85rem; color: #dc2626; font-weight: 500; text-align: center; }
.callout.amber { border-color: #d97706; color: #92400e; }
.callout.blue { border-color: #2563eb; color: #1e40af; }

/* Components used */
.components-used { margin-top: 28px; padding: 12px 16px; background: #f9fafb; border: 1px solid #e5e7eb; border-radius: 4px; font-size: 0.85rem; }
.components-used span { display: inline-block; background: #e0e7ff; color: #3730a3; padding: 2px 8px; border-radius: 3px; margin: 2px 4px 2px 0; font-size: 0.8rem; }

/* Lists */
ul { margin: 12px 0; padding-left: 24px; }
li { margin-bottom: 6px; }
