.demo-main { max-width: 1160px; margin: 0 auto; padding: 36px 20px 72px; }
.demo-h1 { font-size: clamp(30px, 5vw, 46px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; margin: 0 0 12px; }
.demo-disclaimer { border: 1px solid #2b3a2a; background: rgba(126,204,73,0.07); border-radius: 12px; padding: 12px 14px; color: #c9d3c0; font-size: 14px; max-width: 80ch; }
.demo-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.3fr); gap: 20px; align-items: start; margin-top: 22px; }
.demo-grid-even { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
@media (max-width: 900px) { .demo-grid, .demo-grid-even { grid-template-columns: 1fr; } }
.demo-grid .panel { margin: 0; padding: 20px; min-width: 0; }
.panel h2 { font-size: 19px; margin: 0 0 8px; }
textarea.field-input { resize: vertical; min-height: 70px; }
select.field-input { appearance: auto; }
.toggles { border: 1px solid var(--bdr); border-radius: 12px; padding: 10px 14px 14px; margin: 18px 0 6px; }
.toggles legend { color: var(--ok); font-size: 12px; text-transform: uppercase; letter-spacing: .04em; font-weight: 600; padding: 0 6px; }
.seg { display: grid; gap: 6px; margin-bottom: 8px; }
.seg label, .check { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; color: #d5dae6; cursor: pointer; padding: 6px 8px; border-radius: 8px; }
.seg label:hover, .check:hover { background: #161b26; }
.seg small, .check small { color: var(--muted); }
.seg input, .check input { margin-top: 3px; accent-color: #9AE64A; }
.form-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.btn.small { padding: 6px 12px; font-size: 13px; }
.btn[disabled] { opacity: .55; cursor: wait; }
.run-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.run-status, .dlq-count { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--bdr); color: var(--muted); white-space: nowrap; }
.s-ok { color: #9AE64A !important; border-color: rgba(154,230,74,.45) !important; }
.s-warn { color: #f5c451 !important; border-color: rgba(245,196,81,.45) !important; }
.s-error { color: #ff7a7a !important; border-color: rgba(255,122,122,.45) !important; }
.s-skipped { color: #7d8597 !important; }
.timeline { margin-top: 12px; position: relative; }
.timeline .empty { margin: 8px 0; }
.tl-step { position: relative; padding: 0 0 12px 26px; }
.tl-step::before { content: ""; position: absolute; left: 7px; top: 18px; bottom: 0; width: 2px; background: #232836; }
.tl-step:last-child::before { display: none; }
.tl-dot { position: absolute; left: 0; top: 4px; width: 16px; height: 16px; border-radius: 50%; border: 2px solid #3a4258; background: #0b0e17; }
.tl-step.ok .tl-dot { border-color: #9AE64A; background: rgba(154,230,74,.25); }
.tl-step.warn .tl-dot { border-color: #f5c451; background: rgba(245,196,81,.25); }
.tl-step.error .tl-dot { border-color: #ff7a7a; background: rgba(255,122,122,.25); }
.tl-step.skipped { opacity: .6; }
.tl-card { background: #0e121a; border: 1px solid #222a3a; border-radius: 10px; padding: 10px 12px; }
.tl-step.error .tl-card { border-color: rgba(255,122,122,.35); }
.tl-step.warn .tl-card { border-color: rgba(245,196,81,.3); }
.tl-title { display: flex; justify-content: space-between; gap: 8px; font-weight: 600; font-size: 14.5px; }
.tl-meta { color: var(--muted); font-size: 12px; font-weight: 500; white-space: nowrap; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.tl-log { list-style: none; margin: 6px 0 0; padding: 0; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12.5px; color: #c5cad6; }
.tl-log li { padding: 2px 0; overflow-wrap: anywhere; }
.tl-log li::before { content: "› "; color: #4b5570; }
.attempts { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.attempt { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 11.5px; padding: 3px 8px; border-radius: 6px; border: 1px solid #2a3142; }
.attempt.fail { color: #ff9a9a; border-color: rgba(255,122,122,.35); }
.attempt.pass { color: #9AE64A; border-color: rgba(154,230,74,.35); }
.attempt.wait { color: var(--muted); border-style: dashed; }
.mail-preview { margin-top: 8px; background: #f6f7f9; color: #1b1f27; border-radius: 8px; padding: 10px 12px; font-size: 13px; white-space: pre-wrap; font-family: var(--font); }
.mail-preview .mh { color: #555d6e; font-size: 12px; border-bottom: 1px solid #dde1e8; padding-bottom: 6px; margin-bottom: 6px; }
.mail-preview .tag { display: inline-block; background: #ffe7a3; color: #5a4300; font-size: 11px; font-weight: 700; border-radius: 4px; padding: 1px 6px; margin-left: 6px; }
.slack-preview { margin-top: 8px; border-left: 3px solid #9AE64A; background: #12161f; padding: 8px 10px; font-size: 13px; color: #d5dae6; border-radius: 0 8px 8px 0; overflow-wrap: anywhere; }
details.raw { margin-top: 6px; }
details.raw summary { cursor: pointer; color: var(--muted); font-size: 12px; }
details.raw pre { max-height: 240px; overflow: auto; font-size: 11.5px; background: #0a0d14; padding: 8px; border-radius: 8px; color: #b9c0cf; }
.summary-box { margin-top: 4px; padding: 12px 14px; border-radius: 10px; background: #131a26; border: 1px solid #2a3344; font-size: 14px; }
.summary-box table { width: 100%; border-collapse: collapse; margin-top: 8px; font-size: 12.5px; }
.summary-box td { padding: 3px 4px; border-bottom: 1px solid #1f2533; }
.summary-box td:last-child { text-align: right; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.run-list { list-style: none; padding: 0; margin: 10px 0 0; }
.run-list li { border: 1px solid var(--bdr); border-radius: 10px; padding: 10px 12px; margin-bottom: 8px; font-size: 13.5px; background: #0e121a; }
.run-list li.muted { border-style: dashed; background: transparent; }
.run-list button.linkish { all: unset; cursor: pointer; display: block; width: 100%; }
.run-list button.linkish:focus-visible { outline: 2px solid var(--blue); border-radius: 6px; }
.rl-top { display: flex; justify-content: space-between; gap: 8px; align-items: center; }
.rl-sub { color: var(--muted); font-size: 12px; margin-top: 3px; overflow-wrap: anywhere; }
.pill { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; padding: 2px 8px; border-radius: 999px; border: 1px solid var(--bdr); white-space: nowrap; }
.dlq-actions { display: flex; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
.walk { margin: 40px 0 10px; }
.walk h2 { font-size: 24px; margin-bottom: 4px; }
.walk-steps { list-style: none; counter-reset: w; padding: 0; margin: 18px 0 0; }
.walk-steps > li { counter-increment: w; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 22px; align-items: start; padding: 18px 0; border-top: 1px solid var(--bdr); }
.walk-steps > li:not(:has(figure)) { grid-template-columns: 1fr; }
@media (max-width: 820px) { .walk-steps > li { grid-template-columns: 1fr; } }
.walk-steps h3 { margin: 0 0 6px; font-size: 18px; }
.walk-steps h3::before { content: counter(w) ". "; color: #9AE64A; }
.walk-steps p { color: #c5cad6; margin: 0 0 8px; }
.walk-steps .why { color: #aeb6c7; font-size: 14.5px; }
.walk-steps figure { margin: 0; background: #0e121a; border: 1px solid #2a3344; border-radius: 12px; overflow: hidden; }
.walk-steps img { display: block; width: 100%; height: auto; }
.walk-steps figcaption { padding: 8px 12px; color: var(--muted); font-size: 13px; }
.flow { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 14px 0 8px; font-size: 13px; }
.flow span { background: #0e121a; border: 1px solid #2a3344; border-radius: 8px; padding: 5px 9px; color: #dfe4ee; }
.flow small { color: var(--muted); }
.flow i { font-style: normal; color: #4b5570; }
.flow-err span { border-color: rgba(255,122,122,.35); }
.cta-panel { border-color: rgba(154,230,74,.35); }
.cta-panel .sig { font-weight: 600; color: #fff; margin-bottom: 4px; }
