.toa-sim-page { max-width: 1280px; margin: 0 auto; padding: 20px; color: #1f2937; }
.toa-sim-notice { border-left: 4px solid #2563eb; background: #eff6ff; color: #1e3a8a; padding: 11px 13px; margin: 14px 0; border-radius: 4px; font-size: 13px; }
.toa-sim-controls, .toa-sim-grid { display: grid; gap: 12px; }
.toa-sim-controls { grid-template-columns: minmax(240px, 1fr) auto auto auto; align-items: end; margin: 14px 0; }
.toa-sim-controls label { display: grid; gap: 5px; font-size: 13px; color: #475569; font-weight: 600; }
.toa-sim-controls select { min-height: 38px; border: 1px solid #cbd5e1; border-radius: 6px; background: #fff; padding: 0 10px; color: #0f172a; }
.toa-sim-grid { grid-template-columns: minmax(0, 1.3fr) minmax(280px, .7fr); }
.toa-sim-card { border: 1px solid #dbe3ee; border-radius: 8px; background: #fff; padding: 14px; }
.toa-sim-card h3 { margin: 0 0 10px; font-size: 15px; color: #0f172a; }
.toa-sim-flow { display: grid; gap: 8px; }
.toa-sim-step { display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; gap: 9px; align-items: center; border: 1px solid #e2e8f0; border-radius: 6px; padding: 9px; color: #64748b; font-size: 13px; }
.toa-sim-step.active { border-color: #60a5fa; background: #eff6ff; color: #1d4ed8; }
.toa-sim-step.success { border-color: #86efac; background: #f0fdf4; color: #166534; }
.toa-sim-step.failed { border-color: #fca5a5; background: #fef2f2; color: #b91c1c; }
.toa-sim-step.pending { border-color: #fcd34d; background: #fffbeb; color: #92400e; }
.toa-sim-dot { width: 22px; height: 22px; border-radius: 50%; background: #e2e8f0; color: #475569; display: grid; place-items: center; font-size: 11px; font-weight: 700; }
.toa-sim-step.active .toa-sim-dot { background: #2563eb; color: #fff; }.toa-sim-step.success .toa-sim-dot { background: #16a34a; color: #fff; }.toa-sim-step.failed .toa-sim-dot { background: #dc2626; color: #fff; }.toa-sim-step.pending .toa-sim-dot { background: #d97706; color: #fff; }
.toa-sim-tag { font-size: 11px; white-space: nowrap; }.toa-sim-log { margin: 0; max-height: 330px; overflow: auto; border-radius: 6px; background: #0f172a; color: #dbeafe; padding: 11px; font: 12px/1.55 ui-monospace, SFMono-Regular, Menlo, monospace; white-space: pre-wrap; }
.toa-sim-diagnosis { margin-top: 12px; border-radius: 6px; padding: 11px; background: #f8fafc; font-size: 13px; line-height: 1.65; }.toa-sim-diagnosis strong { color: #0f172a; }
@media (max-width: 820px) { .toa-sim-controls, .toa-sim-grid { grid-template-columns: 1fr; }.toa-sim-controls .btn { width: 100%; } }
