/* Module 5 — Outreach & Engagement */
.m05 { position: fixed; inset: 0; z-index: 100; background: linear-gradient(180deg, #07060f, #0a0a1a); color: var(--text, #f5f4ef); display: flex; flex-direction: column; overflow: hidden; }
.m05-header { display: flex; justify-content: space-between; padding: 1.4rem 2rem 1rem; border-bottom: 0.5px solid rgba(255,255,255,0.06); }
.m05-eyebrow { font-family: 'Inter', sans-serif; font-size: 0.72rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.18em; color: var(--gold-bright, #c9b46f); margin: 0 0 0.4rem; }
.m05-title { font-family: 'Newsreader', serif; font-size: 1.5rem; margin: 0; letter-spacing: -0.02em; }

/* Triage */
.m05-triage-stage { flex: 1; display: grid; grid-template-columns: 320px 1fr; gap: 1.5rem; padding: 1.5rem 2rem; }
.m05-triage-side { display: flex; flex-direction: column; gap: 1rem; }
.m05-objective { background: rgba(255,255,255,0.03); border: 0.5px solid rgba(255,255,255,0.08); border-radius: 8px; padding: 1rem 1.2rem; }
.m05-objective p { margin: 0; font-size: 0.92rem; line-height: 1.55; color: rgba(255,255,255,0.78); }
.m05-triage-slots { display: flex; flex-direction: column; gap: 0.5rem; }
.m05-triage-slot { background: rgba(255,255,255,0.03); border: 1px dashed rgba(255,255,255,0.18); border-radius: 6px; padding: 1rem 1.2rem; display: flex; gap: 0.6rem; align-items: center; min-height: 56px; }
.m05-triage-slot.is-filled { border-style: solid; border-color: rgba(201,180,111,0.4); background: rgba(201,180,111,0.08); }
.m05-triage-num { font-family: 'Newsreader', serif; font-size: 1.4rem; color: var(--gold-bright, #c9b46f); }
.m05-triage-pool { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; align-content: start; }
.m05-triage-tile { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.12); border-radius: 8px; padding: 1.2rem; cursor: pointer; text-align: left; color: inherit; font-family: inherit; }
.m05-triage-tile:hover:not(:disabled) { border-color: var(--gold-bright, #c9b46f); }
.m05-triage-tile.is-placed { opacity: 0.4; }
.m05-triage-tag { font-size: 0.6rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--gold-bright, #c9b46f); background: rgba(201,180,111,0.12); padding: 0.15rem 0.5rem; border-radius: 4px; }
.m05-triage-name { font-family: 'Newsreader', serif; font-size: 1.15rem; margin: 0.5rem 0 0.3rem; letter-spacing: -0.01em; }
.m05-triage-meta { font-size: 0.85rem; color: rgba(255,255,255,0.6); margin: 0; }

/* Beats with 360 scenes */
.m05-stage { flex: 1; display: grid; grid-template-columns: 1fr 380px; gap: 1.5rem; padding: 1.5rem 2rem; overflow: hidden; }
.m05-pano { width: 100%; height: 100%; border-radius: 8px; overflow: hidden; }
.m05-side { display: flex; flex-direction: column; gap: 1rem; overflow-y: auto; padding-right: 0.4rem; }
.m05-choices { display: flex; flex-direction: column; gap: 0.5rem; }
.m05-choice { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.12); border-radius: 6px; padding: 0.8rem 1rem; cursor: pointer; text-align: left; color: inherit; font-family: inherit; font-size: 0.88rem; line-height: 1.45; }
.m05-choice:hover { border-color: var(--gold-bright, #c9b46f); }
.m05-choice.is-selected { background: rgba(201,180,111,0.12); border-color: var(--gold-bright, #c9b46f); }
.m05-state-result { background: rgba(255,255,255,0.03); border: 0.5px solid rgba(255,255,255,0.1); border-radius: 6px; padding: 1rem 1.2rem; }
.m05-state-result p { font-size: 0.92rem; line-height: 1.55; color: rgba(255,255,255,0.85); margin: 0; }

/* Tariq portal */
.m05-tariq-stage { flex: 1; display: flex; align-items: center; justify-content: center; padding: 2rem; }
.m05-portal-card { max-width: 640px; width: 100%; background: rgba(255,255,255,0.03); border: 0.5px solid rgba(255,255,255,0.1); border-radius: 12px; padding: 2rem; }
.m05-portal-card dl { display: grid; grid-template-columns: 160px 1fr; gap: 0.4rem 1rem; font-size: 0.9rem; margin: 1rem 0; }
.m05-portal-card dt { color: rgba(255,255,255,0.55); text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.7rem; padding-top: 0.15rem; }
.m05-portal-card dd { margin: 0; color: rgba(255,255,255,0.85); }
.m05-portal-card dd.warn { color: #f5bf4f; font-weight: 600; }
.m05-tariq-prompt { margin-top: 1rem; }
.m05-tariq-result { background: rgba(255,255,255,0.03); border-radius: 6px; padding: 0.8rem 1rem; margin-top: 0.6rem; }
.m05-tariq-result .warn { color: #ed6a5e; }

/* Drive (placeholder visual) */
.m05-drive-stage { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 2rem; }
.m05-drive-canvas { width: 280px; height: 320px; border-radius: 12px; background: linear-gradient(180deg, #1a1d2e 0%, #0a0a1a 100%); position: relative; overflow: hidden; border: 1px solid rgba(255,255,255,0.1); }
.m05-drive-road { position: absolute; inset: 0; background: repeating-linear-gradient(180deg, transparent, transparent 30px, rgba(255,255,255,0.2) 30px, rgba(255,255,255,0.2) 50px); animation: m05-drive 0.6s linear infinite; }
@keyframes m05-drive { from { transform: translateY(-50px); } to { transform: translateY(0); } }
.m05-drive-car { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); width: 48px; height: 64px; background: var(--gold-bright, #c9b46f); border-radius: 8px; }
.m05-drive-hint { color: rgba(255,255,255,0.6); margin-top: 1rem; font-size: 0.88rem; }

/* DeShawn warm handoff */
.m05-deshawn-stage { background: rgba(255,255,255,0.03); border: 0.5px solid rgba(255,255,255,0.1); border-radius: 6px; padding: 1rem 1.2rem; }
.m05-opener { display: flex; flex-direction: column; gap: 0.5rem; }
.m05-opener-hint { color: rgba(255,255,255,0.55); font-size: 0.82rem; margin: 0 0 0.4rem; }

/* Debrief */
.m05-debrief-stage { flex: 1; display: flex; align-items: center; justify-content: center; padding: 2rem; }
.m05-debrief-card { display: grid; grid-template-columns: 100px 1fr; gap: 1.4rem; max-width: 640px; padding: 2rem; background: rgba(255,255,255,0.03); border: 0.5px solid rgba(255,255,255,0.1); border-radius: 12px; }
.m05-debrief-portrait { width: 100px; height: 100px; border-radius: 50%; object-fit: cover; }
.m05-debrief-quote { font-family: 'Newsreader', serif; font-size: 1.05rem; line-height: 1.55; color: rgba(255,255,255,0.85); margin: 0.4rem 0 1rem; }

/* Marisol pop */
.m05-marisol-pop { position: fixed; bottom: 24px; right: 24px; width: 360px; display: grid; grid-template-columns: 56px 1fr; gap: 0.8rem; padding: 1rem 1.2rem; background: rgba(15,15,28,0.97); border: 0.5px solid rgba(201,180,111,0.4); border-radius: 12px; box-shadow: 0 24px 60px rgba(0,0,0,0.55); z-index: 2000; animation: m05-pop-in 0.4s cubic-bezier(0.25,1,0.5,1); }
@keyframes m05-pop-in { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.m05-marisol-pop.is-leaving { opacity: 0; transition: opacity 0.4s; }
.m05-marisol-pop img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.m05-marisol-pop p { font-family: 'Newsreader', serif; font-size: 0.92rem; line-height: 1.5; margin: 0.2rem 0 0; color: rgba(255,255,255,0.9); }

.hidden { display: none !important; }

@media (max-width: 1100px) { .m05-stage { grid-template-columns: 1fr; } .m05-triage-stage { grid-template-columns: 1fr; } }
