/* Interactive (on-demand) run screen, loaded by simulation-engine.html. */
.ix{max-width:72rem;margin:0 auto;font-size:15px;color:#1f2937}
.ix-card{background:#fff;border-radius:14px;box-shadow:0 8px 28px rgba(0,0,0,.12);margin-bottom:1rem}
.ix-head{border-radius:14px 14px 0 0}
.ix-head{color:#fff;padding:1.2rem 1.5rem;text-align:center}
.ix-head h1{margin:0 0 .3rem;font-size:1.5rem}
.ix-head p{margin:0;opacity:.95}
.ix-body{padding:1rem 1.5rem}
.ix-bar{padding:.6rem 1.5rem;background:#f3f4f6;border-bottom:1px solid #e5e7eb;position:sticky;top:0;z-index:5;box-shadow:0 2px 6px rgba(0,0,0,.08)}
.ix-bar-row{display:flex;flex-wrap:wrap;gap:.6rem 1.2rem;align-items:center}
.ix-latest{margin-top:.5rem;font-size:.9rem;max-height:5.5em;overflow-y:auto}
.ix-latest div{padding:.15rem 0}
.ix-latest div:first-child{font-weight:600}
.ix-clock{font:700 1.4rem/1 ui-monospace,Consolas,monospace}
.ix-clock.late{color:#b91c1c}
.ix-pill{font-size:.85rem;background:#fff;border:1px solid #d1d5db;border-radius:999px;padding:.2rem .7rem}
.ix-btn{border:0;border-radius:8px;padding:.5rem .9rem;font-weight:600;cursor:pointer;background:#374151;color:#fff}
.ix-btn:disabled{opacity:.5;cursor:default}
.ix-btn.alt{background:#fff;color:#1f2937;border:1px solid #9ca3af}
.ix-grid{display:grid;grid-template-columns:1fr;gap:1rem}
@media(min-width:900px){.ix-grid{grid-template-columns:minmax(0,5fr) minmax(0,6fr)}}
.ix-menu details{border:1px solid #e5e7eb;border-radius:10px;margin-bottom:.5rem;background:#fafafa}
.ix-menu summary{padding:.6rem .8rem;font-weight:700;cursor:pointer}
.ix-menu .ix-acts{display:flex;flex-direction:column;gap:.3rem;padding:0 .6rem .6rem}
.ix-act{text-align:left;background:#fff;border:1px solid #d1d5db;border-radius:8px;padding:.45rem .7rem;cursor:pointer;font-size:.92rem;color:#1f2937}
.ix-act:hover:not(:disabled){background:#eef2ff;border-color:#6366f1}
.ix-act:disabled{opacity:.5;cursor:default}
.ix-act.used{border-left:4px solid #9ca3af}
.ix-panel{border:1px solid #e5e7eb;border-radius:10px;padding:.8rem;background:#fff}
.ix-log{max-height:calc(100vh - 16rem);overflow-y:auto}
@media(min-width:900px){.ix-menu-scroll{max-height:calc(100vh - 14rem);overflow-y:auto;padding-right:.3rem}}
.ix-find{border-bottom:1px solid #f1f1f1;padding:.5rem 0}
.ix-find .t{font-size:.78rem;color:#6b7280}
.ix-find .a{font-weight:700}
.ix-opening{background:#f9fafb;border-left:4px solid #6b7280;padding:.8rem 1rem;border-radius:6px;margin-bottom:1rem}
.ix-choice{border:2px solid #6366f1;border-radius:10px;padding:.8rem;margin-bottom:.8rem;background:#eef2ff}
.ix-choice label{display:block;margin:.25rem 0}
.ix-choice select{width:100%;padding:.4rem;margin:.4rem 0}
.ix-paused{text-align:center;padding:3rem 1rem;font-size:1.2rem;color:#374151}
.ix-result{padding:1rem;border-radius:10px;margin-bottom:1rem;font-weight:700}
.ix-result.pass{background:#dcfce7;color:#14532d}
.ix-result.fail{background:#fee2e2;color:#7f1d1d}
.ix table{width:100%;border-collapse:collapse;font-size:.9rem}
.ix td,.ix th{border-bottom:1px solid #e5e7eb;padding:.35rem .4rem;text-align:left;vertical-align:top}
.ix td.n{text-align:right;white-space:nowrap}
.ix h2{font-size:1.15rem;margin:1.2rem 0 .5rem}
.ix .miss{color:#b91c1c}
.ix .ok{color:#15803d}
.ix-q{border:1px solid #e5e7eb;border-radius:10px;padding:.8rem;margin-bottom:.7rem}
.ix-q label{display:block;margin:.2rem 0}
.ix-q .exp{margin-top:.4rem;padding:.5rem;background:#f3f4f6;border-radius:6px}
.ix-sheet{margin-top:1rem;border-color:#2563eb;background:#f8fafc}
.ix-sheet td.n{width:5.5rem}
.ix-fold{padding:0}
.ix-fold>summary{padding:.8rem 1.5rem;font-weight:700;cursor:pointer;font-size:1.05rem}
.ix-fold .ix-body{padding-top:0;overflow-x:auto}
.ix-fold table{font-size:.82rem}
.ix-fold td{max-width:22rem}
.ix-checks{display:grid;grid-template-columns:repeat(auto-fill,minmax(14rem,1fr));gap:.3rem .8rem}
.ix-row{display:flex;flex-wrap:wrap;gap:.5rem;align-items:center}
.ix-fold h3{margin:1rem 0 .4rem;font-size:1rem}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
@media print{.top,footer,.ix-bar,.no-print{display:none!important}}
