/* AI conversation typography: scoped to the book recommendation screen. */
#ai-view{font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI","Apple SD Gothic Neo","Noto Sans KR","Malgun Gothic",sans-serif;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
#ai-view .chat-messages{gap:28px;padding-top:10px;padding-bottom:28px;min-width:0}
#ai-view .message{font-family:inherit;font-weight:400;font-size:16.5px;line-height:1.9;letter-spacing:-.025em;text-align:left;text-indent:0;word-break:keep-all;overflow-wrap:anywhere;white-space:pre-wrap;min-width:0;max-width:100%;margin:0}
#ai-view .message.assistant{align-self:flex-start;width:100%;padding:5px 0;color:#403947}
#ai-view .message.user{align-self:flex-end;width:auto;max-width:88%;padding:12px 17px;border-radius:20px 20px 6px 20px;background:#f0ebf7;color:#4c3b5b;font-size:15.5px;line-height:1.75;letter-spacing:-.02em}
#ai-view .question{font-family:inherit;font-weight:500;letter-spacing:-.035em}
#ai-view .prompt textarea{font-family:inherit;font-size:16.5px;font-weight:400;line-height:1.75;letter-spacing:-.02em;text-align:left;color:#403947;caret-color:#9270af;word-break:keep-all;overflow-wrap:anywhere}
#ai-view .prompt textarea::placeholder{color:#aaa1b3;font-weight:400;letter-spacing:-.02em}
@media(max-width:380px){#ai-view .message{font-size:16px;line-height:1.85}#ai-view .message.user{font-size:15px;padding:11px 15px;max-width:90%}#ai-view .prompt textarea{font-size:16px}#ai-view .chat-messages{gap:24px}}

#ai-view .message.assistant strong{font-weight:650;color:#352b3f}

#ai-view .ai-book-link{color:inherit;text-decoration:underline;text-decoration-color:#b9a1cd;text-decoration-thickness:1px;text-underline-offset:4px;border-radius:2px}#ai-view .ai-book-link::after{content:" ↗";font-size:.75em;color:#9375aa;white-space:nowrap}#ai-view .ai-book-link:hover{text-decoration-color:#76508f}#ai-view .ai-book-link:focus-visible{outline:2px solid #b899cd;outline-offset:4px}
