.codex-intake { font-size: 18px; line-height: 1.55; }
.codex-intake .intake-thread span { white-space: pre-wrap; overflow-wrap: anywhere; }
.codex-intake .intake-form input { width: 100%; box-sizing: border-box; font: inherit; padding: 12px; margin-bottom: 18px; border: 1px solid #aeb9b2; }
.codex-intake .intake-form textarea { font: inherit; }
.codex-intake button { min-height: 44px; cursor: pointer; padding: 10px 16px; }
.codex-intake button:disabled { opacity: .55; cursor: wait; }
.codex-intake button:focus-visible, .codex-intake a:focus-visible { outline: 3px solid #d5a84a; outline-offset: 3px; }
.codex-intake .intake-context dd { font-weight: 500; white-space: pre-wrap; overflow-wrap: anywhere; }
.codex-connection { border-top: 1px solid #ccd4cf; padding-top: 24px; margin-top: 30px; }
.codex-connection strong { font-size: 21px; }
.codex-connection p { font-size: 16px; }
.codex-tools { padding: 18px; background: #e7f0ec; margin-bottom: 20px; }
.codex-intake .intake-error { white-space: normal; overflow-wrap: anywhere; }
.acervo-references { border-top: 1px solid #708895; margin-top: 24px; padding-top: 16px; }
.acervo-references ul { list-style: none; padding: 0; }
.acervo-references li { display: grid; gap: 8px; padding: 16px 0; border-bottom: 1px solid #708895; }
.acervo-references span, .acervo-references small { font-size: 14px; overflow-wrap: anywhere; }
.acervo-reading { margin-top: 20px; padding: 16px; background: #eef1ed; color: #17334b; }
.acervo-reading pre { white-space: pre-wrap; font-family: inherit; font-size: 15px; line-height: 1.55; max-height: 500px; overflow: auto; overflow-wrap: anywhere; }
@media (max-width: 1100px) { .codex-intake { grid-template-columns: 1fr; padding: 20px; } .codex-intake .intake-context { order: 3; } }

.interview-progress { margin: 1.5rem 0; padding: 1.25rem; border: 1px solid #b9c9c4; border-left: 4px solid #498977; background: #f2f6f3; }
.interview-progress h3 { font-size: 1.3rem; margin-top: 0; }
.interview-progress p { font-size: 1rem; line-height: 1.6; white-space: pre-wrap; overflow-wrap: anywhere; }
.interview-progress button { padding: .7rem 1rem; cursor: pointer; }
.interview-progress button:disabled { cursor: default; opacity: .6; }
.interview-progress details { margin-top: 1.2rem; }
.interview-progress summary { cursor: pointer; font-weight: 700; line-height: 1.5; }
.interview-brief h4 { margin: 1rem 0 .25rem; font-size: 1.1rem; }
.interview-extension form { display: grid; gap: .65rem; margin-top: 1rem; }
.interview-extension select, .interview-extension textarea { width: 100%; box-sizing: border-box; font: inherit; padding: .7rem; }
