/* NCR V29 Smart Links: scoped chat-only enhancements. No global themes/routes. */
.ncr-chat-bubble{overflow-wrap:anywhere;word-break:normal;white-space:pre-wrap}
.ncr-chat-message-link{display:inline;overflow-wrap:anywhere;color:#0b6671!important;text-decoration-line:underline;text-decoration-thickness:1.4px;text-underline-offset:3px;font-weight:750;transition:color .18s ease,text-decoration-thickness .18s ease}
.ncr-chat-message-link:hover,.ncr-chat-message-link:focus-visible{color:#094d56!important;text-decoration-thickness:2.5px;outline-offset:3px}
.ncr-chat-resource-links{display:grid;gap:.45rem;margin:.55rem 0 .35rem;max-width:min(100%,700px)}
.ncr-chat-resource-heading{font-size:.68rem;letter-spacing:.09em;text-transform:uppercase;font-weight:800;color:var(--ncr-muted,#63747b)}
.ncr-chat-resource-card{display:flex;align-items:center;gap:.65rem;padding:.65rem .8rem;border:1px solid #bedad6;background:#eef9f6;border-radius:12px;min-width:0;transition:border-color .2s,box-shadow .2s,transform .2s}
.ncr-chat-resource-card:hover{border-color:#68b2a9;box-shadow:0 5px 15px rgba(7,55,56,.07);transform:translateY(-1px)}
.ncr-chat-resource-info{display:grid;gap:.05rem;flex:1;min-width:0}
.ncr-chat-resource-info>a{color:#0b5059!important;text-decoration:none!important;font-weight:800;font-size:.84rem}
.ncr-chat-resource-info>a:hover{text-decoration:underline!important}
.ncr-chat-resource-info>span{font-size:.71rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#516b6d}
.ncr-chat-copy-url{flex:none;border:1px solid #99c6c4;background:white;color:#12555d;border-radius:8px;font-weight:750;padding:.42rem .65rem;cursor:pointer;font-size:.74rem;white-space:nowrap}
.ncr-chat-copy-url:hover{background:#d8eee9}
.ncr-chat-url-correction{border-left:3px solid #ce8a27;padding:.5rem .7rem;margin:.5rem 0;font-size:.76rem;color:#694a1b;background:#fff7e8;border-radius:5px;max-width:700px}
[data-theme="dark"] .ncr-chat-message-link{color:#85e0e4!important}
[data-theme="dark"] .ncr-chat-message-link:hover{color:#c2fdff!important}
[data-theme="dark"] .ncr-chat-resource-card{background:#16343b;border-color:#385b62;box-shadow:none}
[data-theme="dark"] .ncr-chat-resource-info>a{color:#b5f4f1!important}
[data-theme="dark"] .ncr-chat-resource-info>span{color:#bdd0d2}
[data-theme="dark"] .ncr-chat-resource-heading{color:#becfd0}
[data-theme="dark"] .ncr-chat-copy-url{background:#203f45;border-color:#52777a;color:#ebffff}
[data-theme="dark"] .ncr-chat-url-correction{background:#392f23;color:#ffe4bb}
@media(max-width:560px){.ncr-chat-resource-card{padding:.55rem .6rem}.ncr-chat-copy-url{padding:.35rem .48rem}.ncr-chat-resource-links{max-width:100%}}
@media(prefers-reduced-motion:reduce){.ncr-chat-resource-card,.ncr-chat-message-link{transition:none!important}.ncr-chat-resource-card:hover{transform:none}}
