/* NCR V27: a single-viewport chat workspace. Route-scoped to avoid any effect on drawers or other pages. */
html:has(body.ncr-chat-viewport-v27){height:100%;overflow:hidden!important;}
body.ncr-public.ncr-chat-viewport-v27{box-sizing:border-box;height:100vh!important;height:100dvh!important;max-height:100dvh!important;min-height:0!important;display:flex!important;flex-direction:column!important;overflow:hidden!important;overscroll-behavior:none;}
body.ncr-chat-viewport-v27 *,body.ncr-chat-viewport-v27 *::before,body.ncr-chat-viewport-v27 *::after{box-sizing:border-box;}
body.ncr-public.ncr-chat-viewport-v27>.ncr-crisis,body.ncr-public.ncr-chat-viewport-v27>.site-header{position:relative!important;inset:auto!important;flex:0 0 auto!important;}
body.ncr-public.ncr-chat-viewport-v27>.site-footer{display:none!important;}
body.ncr-public.ncr-chat-viewport-v27>main#main{flex:1 1 0!important;min-height:0!important;height:auto!important;max-height:none!important;display:flex!important;overflow:hidden!important;position:relative!important;}
body.ncr-public.ncr-chat-viewport-v27 .ncr-chat-v27-shell{flex:1 1 0!important;min-height:0!important;width:100%!important;max-height:100%!important;padding:clamp(.35rem,1vh,.7rem) clamp(.45rem,1.2vw,1rem) .55rem!important;margin:0!important;background:var(--color-bg,#f5f1ec)!important;overflow:hidden!important;}
body.ncr-public.ncr-chat-viewport-v27 .ncr-chat-v27-layout{height:100%!important;min-height:0!important;max-width:1160px!important;width:100%!important;margin-inline:auto!important;display:grid!important;grid-template-rows:auto minmax(0,1fr)!important;gap:clamp(.3rem,.8vh,.6rem)!important;}
body.ncr-public.ncr-chat-viewport-v27 .ncr-chat-v27-heading{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:.75rem!important;min-height:0!important;margin:0!important;padding:0 .2rem!important;}
body.ncr-public.ncr-chat-viewport-v27 .ncr-chat-v27-heading h1{font:700 clamp(1.02rem,1.7vw,1.42rem)/1.2 var(--font-display,Georgia,serif)!important;letter-spacing:-.01em!important;color:var(--color-text,#243338)!important;margin:0!important;}
body.ncr-public.ncr-chat-viewport-v27 .ncr-chat-v27-heading p{font-size:.7rem!important;line-height:1.3!important;margin:.12rem 0 0!important;color:var(--color-text-muted,#627277)!important;}
body.ncr-public.ncr-chat-viewport-v27 .ncr-chat-v27-links{display:flex;gap:.45rem;align-items:center;flex-wrap:wrap;}
body.ncr-public.ncr-chat-viewport-v27 .ncr-chat-v27-links a{font-size:.72rem;font-weight:750;white-space:nowrap;text-decoration:none;color:var(--color-text,#20333a);border:1px solid var(--color-divider,#c3cfd0);border-radius:8px;padding:.38rem .58rem;}
body.ncr-public.ncr-chat-viewport-v27 .ncr-chat-v27-mount{min-width:0!important;min-height:0!important;max-height:100%!important;height:100%!important;overflow:hidden!important;}
body.ncr-public.ncr-chat-viewport-v27 #ncrStandaloneChat>.ncr-chat-panel.ncr-chat-standalone{position:relative!important;inset:auto!important;display:grid!important;grid-template-rows:auto auto minmax(0,1fr) auto!important;height:100%!important;min-height:0!important;max-height:100%!important;width:100%!important;max-width:100%!important;margin:0!important;border-radius:15px!important;overflow:hidden!important;transform:none!important;animation:none!important;}
body.ncr-public.ncr-chat-viewport-v27 #ncrStandaloneChat .ncr-chat-top{min-height:0!important;padding:clamp(.45rem,1vh,.8rem) .9rem!important;}
body.ncr-public.ncr-chat-viewport-v27 #ncrStandaloneChat .ncr-chat-notice{padding:.35rem .9rem!important;line-height:1.3!important;font-size:.68rem!important;}
body.ncr-public.ncr-chat-viewport-v27 #ncrStandaloneChat .ncr-chat-workspace{display:flex!important;flex-direction:column!important;flex:1 1 0!important;min-height:0!important;max-height:100%!important;overflow:hidden!important;overscroll-behavior:contain;padding:clamp(.45rem,1vh,.8rem)!important;gap:0!important;scrollbar-gutter:auto!important;}
body.ncr-public.ncr-chat-viewport-v27 #ncrStandaloneChat .ncr-chat-internal{display:flex!important;flex-direction:column!important;flex:1 1 0!important;min-height:0!important;overflow:hidden!important;}
body.ncr-public.ncr-chat-viewport-v27 #ncrStandaloneChat .ncr-chat-start:not([hidden]){display:grid!important;min-height:0!important;align-content:center!important;gap:clamp(3px,.65vh,7px)!important;overflow:hidden!important;padding:0 clamp(.15rem,1vw,.7rem)!important;}
body.ncr-public.ncr-chat-viewport-v27 #ncrStandaloneChat .ncr-chat-start p{font-size:.74rem!important;line-height:1.35!important;margin:0!important;}
body.ncr-public.ncr-chat-viewport-v27 #ncrStandaloneChat .ncr-chat-topics{gap:5px!important;margin:0!important;}
body.ncr-public.ncr-chat-viewport-v27 #ncrStandaloneChat .ncr-chat-topics legend{margin:0 0 3px!important;}
body.ncr-public.ncr-chat-viewport-v27 #ncrStandaloneChat .ncr-chat-topics label{min-height:30px!important;padding:5px 8px!important;}
body.ncr-public.ncr-chat-viewport-v27 #ncrStandaloneChat .ncr-chat-start>label{margin:0!important;}
body.ncr-public.ncr-chat-viewport-v27 #ncrStandaloneChat .ncr-chat-start>input{min-height:34px!important;height:clamp(34px,4.4vh,43px)!important;padding:.35rem .6rem!important;}
body.ncr-public.ncr-chat-viewport-v27 #ncrStandaloneChat .ncr-ai-consent{padding:.45rem .6rem!important;line-height:1.25!important;font-size:.72rem!important;}
body.ncr-public.ncr-chat-viewport-v27 #ncrStandaloneChat .ncr-chat-primary{min-height:36px!important;margin:2px 0 0!important;padding:.45rem!important;}
body.ncr-public.ncr-chat-viewport-v27 #ncrStandaloneChat .ncr-chat-conversation:not([hidden]){display:flex!important;flex:1 1 0!important;flex-direction:column!important;min-height:0!important;max-height:100%!important;overflow:hidden!important;gap:.35rem!important;}
body.ncr-public.ncr-chat-viewport-v27 #ncrStandaloneChat .ncr-chat-conversation-meta{padding:.35rem .55rem!important;font-size:.67rem!important;line-height:1.3!important;flex:0 0 auto!important;}
body.ncr-public.ncr-chat-viewport-v27 #ncrStandaloneChat .ncr-chat-modebar{flex:0 0 auto!important;min-height:0!important;}
body.ncr-public.ncr-chat-viewport-v27 #ncrStandaloneChat .ncr-chat-thread{display:flex!important;flex:1 1 0!important;min-height:0!important;max-height:none!important;height:auto!important;overflow-y:auto!important;overflow-x:hidden!important;overscroll-behavior:contain;scrollbar-gutter:stable;padding:.65rem!important;border:1px solid var(--color-divider,#d3d6d6)!important;border-radius:10px!important;}
body.ncr-public.ncr-chat-viewport-v27 #ncrStandaloneChat .ncr-chat-compose{flex:0 0 auto!important;max-height:210px!important;margin:0!important;padding:.35rem .5rem!important;}
body.ncr-public.ncr-chat-viewport-v27 #ncrStandaloneChat .ncr-chat-compose textarea{max-height:100px!important;min-height:38px!important;resize:none!important;}
body.ncr-public.ncr-chat-viewport-v27 #ncrStandaloneChat .ncr-chat-foot{flex:0 0 auto!important;min-height:24px!important;padding:.2rem .7rem!important;}
body.ncr-public.ncr-chat-viewport-v27 #ncrStandaloneChat .ncr-chat-quicklinks,body.ncr-public.ncr-chat-viewport-v27 #ncrStandaloneChat .ncr-chat-contact{display:none!important;}
body.ncr-public.ncr-chat-viewport-v27 #ncrStandaloneChat [hidden]{display:none!important;}
body.ncr-public.ncr-chat-viewport-v27 .ncr-chat-launcher,body.ncr-public.ncr-chat-viewport-v27 .ncr-chat-backdrop{display:none!important;}
/* Allow staff follow-up options to use the transcript region without moving the whole page. */
body.ncr-public.ncr-chat-viewport-v27 #ncrStandaloneChat .ncr-chat-handoff:not([hidden]){flex:0 1 auto;max-height:38%;min-height:0;overflow-y:auto;overscroll-behavior:contain;}
html[data-theme="dark"] body.ncr-public.ncr-chat-viewport-v27 .ncr-chat-v27-heading h1{color:#e9f4f4!important;}
html[data-theme="dark"] body.ncr-public.ncr-chat-viewport-v27 .ncr-chat-v27-links a{color:#dcefee!important;}
@media(max-width:620px){body.ncr-public.ncr-chat-viewport-v27>.ncr-crisis{display:none!important;}body.ncr-public.ncr-chat-viewport-v27 .ncr-chat-v27-links{display:none!important;}body.ncr-public.ncr-chat-viewport-v27 .ncr-chat-v27-heading p{display:none!important;}body.ncr-public.ncr-chat-viewport-v27 .ncr-chat-v27-shell{padding:.25rem!important;}body.ncr-public.ncr-chat-viewport-v27 #ncrStandaloneChat>.ncr-chat-panel.ncr-chat-standalone{border-radius:8px!important;}body.ncr-public.ncr-chat-viewport-v27 #ncrStandaloneChat .ncr-chat-notice{font-size:.64rem!important;}}
@media(max-height:680px){body.ncr-public.ncr-chat-viewport-v27 .ncr-chat-v27-heading{display:none!important;}body.ncr-public.ncr-chat-viewport-v27 #ncrStandaloneChat .ncr-chat-start:not([hidden]){overflow-y:auto!important;overscroll-behavior:contain;align-content:start!important;scrollbar-gutter:stable;}body.ncr-public.ncr-chat-viewport-v27 #ncrStandaloneChat .ncr-chat-top{padding:.35rem .75rem!important;}body.ncr-public.ncr-chat-viewport-v27 #ncrStandaloneChat .ncr-chat-notice{padding:.2rem .75rem!important;}}
@media(prefers-reduced-motion:reduce){body.ncr-public.ncr-chat-viewport-v27 #ncrStandaloneChat *{scroll-behavior:auto!important;}}
