:root { color-scheme: light; font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif; background: #f5f7fb; color: #18202f; }
body { margin: 0; min-height: 100vh; display: grid; place-items: center; }
main { width: min(760px, calc(100% - 32px)); padding: 32px 0; }
h1 { margin: 0 0 24px; font-size: 28px; text-align: center; }
.status-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.status-grid article { background: white; border: 1px solid #dce3f0; border-radius: 12px; padding: 20px; }
.status-grid h2 { margin: 0 0 10px; font-size: 16px; }
.status-grid p { margin: 0; font-size: 18px; font-weight: 600; }
.actions { display: flex; justify-content: center; gap: 12px; margin: 24px 0; }
button { border: 0; border-radius: 8px; padding: 10px 18px; font-size: 15px; cursor: pointer; background: #2563eb; color: white; }
button:hover { background: #1d4ed8; }
button:disabled { opacity: .6; cursor: not-allowed; }
.result { background: white; border: 1px solid #dce3f0; border-radius: 12px; padding: 16px; }
.result pre { margin: 0; white-space: pre-wrap; word-break: break-word; font-family: ui-monospace, monospace; font-size: 13px; }
.chain { margin-top: 20px; background: white; border: 1px solid #b7e4c7; border-radius: 12px; padding: 20px; }
.chain h2 { margin: 0 0 16px; font-size: 18px; color: #166534; }
.flow { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; }
.arrow { color: #2563eb; }
.hidden { display: none; }