/* Genesis S+16 Program 3 — Engineering Story Engine 2.0 | true16.12-p3 */
.g01-p3-stage{display:grid;gap:18px}.g01-story-context{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:14px}.g01-story-context>div{display:grid;gap:3px}.g01-story-context em{font-style:normal;font-size:10px;font-weight:900;letter-spacing:.11em;padding:7px 10px;border-radius:999px;background:rgba(15,117,106,.1);color:#0f756a;border:1px solid rgba(15,117,106,.2)}
.g01-p3-commandbar{display:grid;grid-template-columns:1fr 1fr auto;align-items:center;gap:12px;padding:13px;border:1px solid rgba(44,62,80,.12);border-radius:18px;background:rgba(248,250,252,.9)}.g01-p3-commandbar>div{display:grid;gap:2px;padding-inline:8px}.g01-p3-commandbar small,.g01-p3-outcome small,.g01-p3-decision small{font-size:9px;font-weight:900;letter-spacing:.12em;color:#64748b}.g01-p3-commandbar b{font-size:12px;color:#1e293b}.g01-p3-commandbar button{border:0;border-radius:12px;padding:11px 14px;background:#0f756a;color:white;font-weight:800;font-size:11px;display:flex;gap:8px;align-items:center;justify-content:center;cursor:pointer}.g01-p3-commandbar button.is-running i{animation:p3pulse .8s infinite alternate}@keyframes p3pulse{to{transform:scale(1.25)}}
.g01-p3-timeline{display:grid;grid-template-columns:1fr auto 1fr auto 1fr auto 1fr auto 1fr;align-items:center;gap:8px}.g01-p3-timeline>i{height:1px;width:18px;background:rgba(44,62,80,.18)}.g01-p3-timeline button{min-width:0;border:1px solid rgba(44,62,80,.12);border-radius:14px;padding:11px;background:#fff;text-align:start;display:grid;grid-template-columns:auto 1fr;column-gap:8px;cursor:pointer}.g01-p3-timeline button span{grid-row:1/3;font-size:10px;font-weight:900;color:#94a3b8}.g01-p3-timeline button b{font-size:11px;color:#334155}.g01-p3-timeline button small{font-size:9px;color:#94a3b8}.g01-p3-timeline button.is-active{border-color:rgba(15,117,106,.45);box-shadow:0 10px 30px rgba(15,117,106,.1);background:linear-gradient(145deg,#fff,#f0fdfa)}.g01-p3-timeline button.is-active span,.g01-p3-timeline button.is-complete span{color:#0f756a}.g01-p3-timeline button.is-complete{background:rgba(15,117,106,.04)}
.g01-p3-grid{display:grid;grid-template-columns:.82fr 1.35fr;gap:14px}.g01-p3-evidence,.g01-p3-inspector{border:1px solid rgba(44,62,80,.12);border-radius:20px;background:#fff;overflow:hidden}.g01-p3-evidence header,.g01-p3-inspector header{display:grid;gap:3px;padding:14px 16px;border-bottom:1px solid rgba(44,62,80,.1);background:rgba(248,250,252,.8)}.g01-p3-evidence header span,.g01-p3-inspector header span{font-size:9px;font-weight:900;letter-spacing:.12em;color:#0f756a}.g01-p3-evidence header b,.g01-p3-inspector header b{font-size:13px;color:#1e293b}.g01-p3-evidence>div{display:grid;padding:12px}.g01-p3-evidence article{display:grid;grid-template-columns:auto 1fr auto;gap:10px;align-items:center;padding:10px;border-radius:12px}.g01-p3-evidence article+article{border-top:1px solid rgba(44,62,80,.08)}.g01-p3-evidence article i{width:28px;height:28px;display:grid;place-items:center;border-radius:9px;background:rgba(15,117,106,.08);color:#0f756a}.g01-p3-evidence article div{display:grid}.g01-p3-evidence article b{font-size:11px;color:#334155}.g01-p3-evidence article small{font-size:9px;color:#94a3b8}.g01-p3-evidence article em{font-style:normal;font-size:9px;font-weight:900;color:#0f756a}.g01-p3-inspector>p{padding:16px 16px 0;margin:0;color:#64748b;font-size:12px;line-height:1.7}.g01-p3-equation{margin:14px 16px;padding:15px;border-radius:15px;background:#0b1720;color:white;display:grid;gap:5px}.g01-p3-equation small{color:#94a3b8;font-size:9px;font-weight:900;letter-spacing:.12em}.g01-p3-equation strong{font-size:13px}.g01-p3-equation em{font-style:normal;font-size:10px;color:#f2c233}.g01-p3-decision{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:0 16px 16px}.g01-p3-decision>div{padding:12px;border-radius:13px;background:#f8fafc;display:grid;gap:4px}.g01-p3-decision b{font-size:11px;color:#334155}
.g01-p3-outcome{display:grid;grid-template-columns:auto auto auto 1fr;gap:10px;align-items:stretch}.g01-p3-outcome>div{padding:11px 13px;border-radius:13px;background:#f8fafc;border:1px solid rgba(44,62,80,.1);display:grid;gap:2px}.g01-p3-outcome b{font-size:10px;color:#334155}.g01-p3-outcome>strong{display:flex;align-items:center;padding:12px 15px;border-radius:13px;background:rgba(15,117,106,.09);color:#0f756a;font-size:11px}.g01-p3-stage.is-changing .g01-p3-grid{opacity:.55;transform:translateY(3px)}.g01-p3-grid{transition:.18s ease}
.dark .g01-p3-commandbar,.dark .g01-p3-evidence header,.dark .g01-p3-inspector header{background:rgba(15,23,42,.76);border-color:rgba(255,255,255,.1)}.dark .g01-p3-commandbar b,.dark .g01-p3-timeline button b,.dark .g01-p3-evidence header b,.dark .g01-p3-inspector header b,.dark .g01-p3-evidence article b,.dark .g01-p3-decision b,.dark .g01-p3-outcome b{color:#e2e8f0}.dark .g01-p3-timeline button,.dark .g01-p3-evidence,.dark .g01-p3-inspector{background:#0f172a;border-color:rgba(255,255,255,.1)}.dark .g01-p3-timeline button.is-active{background:linear-gradient(145deg,#132138,#102a2a)}.dark .g01-p3-decision>div,.dark .g01-p3-outcome>div{background:rgba(30,41,59,.78);border-color:rgba(255,255,255,.08)}
[dir="rtl"] .g01-p3-timeline button{text-align:right}[dir="rtl"] .g01-p3-evidence article{grid-template-columns:auto 1fr auto}
@media(max-width:900px){.g01-p3-commandbar{grid-template-columns:1fr 1fr}.g01-p3-commandbar button{grid-column:1/-1}.g01-p3-timeline{display:flex;overflow-x:auto;padding-bottom:4px}.g01-p3-timeline>i{flex:0 0 14px}.g01-p3-timeline button{flex:0 0 132px}.g01-p3-grid{grid-template-columns:1fr}.g01-p3-outcome{grid-template-columns:repeat(3,1fr)}.g01-p3-outcome>strong{grid-column:1/-1}}
@media(max-width:620px){.g01-story-context{grid-template-columns:auto 1fr}.g01-story-context em{grid-column:1/-1;width:max-content}.g01-p3-commandbar{grid-template-columns:1fr}.g01-p3-commandbar button{grid-column:auto}.g01-p3-decision{grid-template-columns:1fr}.g01-p3-outcome{grid-template-columns:1fr}.g01-p3-outcome>strong{grid-column:auto}}
@media(prefers-reduced-motion:reduce){.g01-p3-commandbar button.is-running i{animation:none}.g01-p3-grid{transition:none}}
