/* Module 12 */
.m12 { position: fixed; inset: 0; z-index: 100; background: linear-gradient(180deg, #07060f, #0a0a1a); color: var(--text, #f5f4ef); display: flex; flex-direction: column; overflow: hidden; }
.m12-header { display: flex; justify-content: space-between; padding: 1.4rem 2rem 1rem; border-bottom: 0.5px solid rgba(255,255,255,0.06); }
.m12-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; }
.m12-title { font-family: 'Newsreader', serif; font-size: 1.3rem; margin: 0; letter-spacing: -0.02em; }
.m12-prebrief { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 2rem; text-align: center; }
.m12-portrait { width: 96px; height: 96px; border-radius: 50%; margin-bottom: 0.8rem; }
.m12-quote { font-family: 'Newsreader', serif; font-size: 1.05rem; line-height: 1.55; max-width: 480px; color: rgba(255,255,255,0.85); margin: 0.6rem 0 1.5rem; }
.m12-dap-stage { flex: 1; padding: 1.5rem 2rem; overflow-y: auto; display: flex; flex-direction: column; gap: 1rem; }
.m12-dap-cols { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 0.8rem; }
.m12-dap-col { background: rgba(255,255,255,0.03); border: 0.5px solid rgba(255,255,255,0.1); border-radius: 8px; padding: 0.8rem 1rem; min-height: 200px; cursor: pointer; }
.m12-dap-col:hover { border-color: var(--gold-bright, #c9b46f); }
.m12-dap-bucket { display: flex; flex-direction: column; gap: 0.4rem; margin-top: 0.5rem; }
.m12-dap-pool { display: flex; flex-wrap: wrap; gap: 0.4rem; padding: 1rem; background: rgba(255,255,255,0.03); border-radius: 8px; }
.m12-frag { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.15); border-radius: 6px; padding: 0.5rem 0.8rem; cursor: pointer; color: inherit; font-family: inherit; font-size: 0.82rem; max-width: 320px; text-align: left; }
.m12-frag:hover:not(.is-placed) { border-color: var(--gold-bright, #c9b46f); }
.m12-frag.is-selected { background: rgba(201,180,111,0.18); border-color: var(--gold-bright, #c9b46f); }
.m12-frag.is-correct { border-color: rgba(98,197,84,0.5); background: rgba(98,197,84,0.08); }
.m12-frag.is-off { border-color: rgba(237,106,94,0.5); background: rgba(237,106,94,0.06); }
.m12-redact-stage { flex: 1; padding: 1.5rem 2rem; overflow-y: auto; display: flex; flex-direction: column; gap: 1rem; }
.m12-redact-note { background: white; color: #1a1a1a; padding: 1.5rem 2rem; border-radius: 8px; line-height: 2; font-family: 'SF Mono', Menlo, monospace; font-size: 0.92rem; }
.m12-token { background: transparent; border: 0; color: #1a1a1a; cursor: pointer; padding: 0.1rem 0.3rem; border-radius: 3px; font-family: inherit; font-size: inherit; }
.m12-token:hover { background: rgba(0,0,0,0.08); }
.m12-token.is-redacted { background: #1a1a1a; color: #1a1a1a; }
.m12-token.is-redacted::after { content: ' [REDACTED]'; color: #ed6a5e; font-weight: 600; }
.m12-redact-result { background: rgba(255,255,255,0.03); border-radius: 6px; padding: 0.8rem 1rem; }
.m12-redact-result .good { color: #a0e090; }
.m12-redact-result .warn { color: #f5bf4f; }
.m12-redact-result .bad  { color: #ed6a5e; }
.hidden { display: none !important; }
@media (max-width: 1000px) { .m12-dap-cols { grid-template-columns: 1fr; } }
