.hermes-chat-panel { max-width: 960px; margin: 24px auto; padding: 0 20px 24px; }
.hermes-chat-panel .external-sources summary{cursor:pointer;color:#647a8c;padding:4px 0}.hermes-chat-panel .external-sources[open]{max-height:320px;overflow-y:auto}.hermes-chat-panel .external-sources p{font-size:12px;line-height:1.5}
.hermes-chat-header { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.hermes-chat-header h2 { margin-top: 0; }
.hermes-chat-messages { min-height: 240px; max-height: 48vh; overflow-y: auto; padding: 16px; border: 1px solid #d9dfe5; border-radius: 6px; background: #f8fafb; }
.hermes-chat-message { max-width: 86%; margin-bottom: 14px; padding: 12px; border: 1px solid #dfe4e8; border-radius: 10px; background: #fff; }
.hermes-chat-message-user { margin-left: auto; background: #eaf4ff; }
.hermes-chat-message-label { font-size: 12px; font-weight: 600; color: #52606d; }
.hermes-chat-message-text { white-space: pre-wrap; overflow-wrap: anywhere; }
.hermes-chat-message-note { font-size: 12px; color: #52606d; margin-top: 6px; }
.hermes-analytics-chart { margin: 12px 0; overflow: auto; max-height: 420px; white-space: normal; }
.hermes-analytics-chart svg { display: block; width: 100%; min-width: 560px; }
.hermes-analytics-chart text { font-size: 14px; fill: #34495e; }
.hermes-analytics-chart figcaption { font-size: 12px; color: #52606d; margin-bottom: 6px; }
.hermes-chart-bar { fill: #2b96cc; }
.hermes-chart-line { stroke: #2b96cc; stroke-width: 2; }
.hermes-chart-axis { stroke: #a9b7c4; stroke-width: 1; }
.hermes-chat-panel textarea { resize: vertical; }
.hermes-chat-actions { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; }
#hermesChatProgress, #hermesChatError { min-height: 20px; margin: 6px 0; }
@media (max-width: 640px) {
    .hermes-chat-panel { padding: 0 10px 16px; }
    .hermes-chat-header { align-items: flex-start; flex-direction: column; }
    .hermes-chat-message { max-width: 96%; }
    .hermes-chat-actions button { flex: 1 1 auto; }
}

.hermes-chat-panel{height:calc(100vh - 120px);height:calc(100dvh - 120px);min-height:0;display:flex;flex-direction:column;margin:32px auto 12px;padding-bottom:8px}.hermes-chat-header,.hermes-chat-actions,#hermesChatContext,#hermesChatStatus,#hermesChatSafety,#hermesChatInputHelp,#hermesChatInput,#hermesChatProgress,#hermesChatError{flex-shrink:0}.hermes-chat-messages{flex:1;min-height:100px;max-height:none;overscroll-behavior:contain;scrollbar-gutter:stable}.hermes-chat-panel textarea{height:72px;min-height:72px;max-height:72px;resize:none}.hermes-chat-panel #hermesChatSafety{font-size:12px;padding:6px 10px;margin:4px 0}.hermes-chat-panel #hermesChatContext,.hermes-chat-panel #hermesChatStatus,.hermes-chat-panel #hermesChatInputHelp{font-size:12px;margin:3px 0}.hermes-chat-sources{font-size:11px;color:#66788a;border-top:1px solid #edf0f2;padding-top:4px}.hermes-chat-sources p{margin:2px 0}.hermes-chat-sources a{color:#66788a}.hermes-chat-message p{white-space:pre-wrap;line-height:1.6}.hermes-chat-panel button.btn{min-width:52px}@media(max-height:650px){.hermes-chat-panel{min-height:0}.hermes-chat-panel #hermesChatContext{display:none}.hermes-chat-panel textarea{height:54px;min-height:54px;max-height:54px}}

/* Fit the existing multi-row Painsight navigation, including narrow windows. */
.hermes-chat-header{flex-direction:row;align-items:center;gap:6px}.hermes-chat-header h2{font-size:22px;line-height:1.2;margin:0}.hermes-chat-messages{min-height:40px;padding:10px}.hermes-chat-panel #hermesChatProgress,.hermes-chat-panel #hermesChatError{min-height:16px;font-size:12px;line-height:16px;margin:2px 0}.hermes-chat-panel #hermesChatError:empty{display:none}
@media(max-width:640px),(max-height:750px){.hermes-chat-panel textarea{height:54px;min-height:54px;max-height:54px}.hermes-chat-panel #hermesChatSafety{font-size:10px;line-height:1.25;padding:4px 6px}.hermes-chat-header button{font-size:12px;padding:6px}.hermes-chat-panel #hermesChatContext,.hermes-chat-panel #hermesChatStatus,.hermes-chat-panel #hermesChatInputHelp{margin:1px 0}}

body.hermes-chat-active{overflow:hidden}

.hermes-chat-notice{flex-shrink:0;font-size:11px;color:#607080;margin:4px 0}.hermes-chat-notice summary{cursor:pointer}.hermes-chat-notice #hermesChatSafety{background:none;border:0}

/* Assistant workspace; deliberately scoped away from the legacy patient UI. */
.hermes-chat-panel{max-width:1100px;background:#fff;border:1px solid #e0e7ed;border-radius:18px;box-shadow:0 8px 32px #1b405b06;padding:20px 26px 14px;margin:20px auto 12px;color:#243c51}
.hermes-chat-header{padding-bottom:12px;border-bottom:1px solid #e9eef3;gap:12px;flex-shrink:0}.hermes-chat-eyebrow{display:block;font-size:10px;font-weight:700;letter-spacing:1.6px;color:#1383b3;margin-bottom:4px}.hermes-chat-header h2{font-size:24px;font-weight:600}.hermes-chat-header-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.hermes-chat-panel button.btn{border-radius:9px;font-size:12px;padding:9px 12px}.hermes-chat-header #hermesChatRetry{color:#63798c;background:#f8fafc}
.hermes-chat-panel #hermesChatStatus{font-size:11px;color:#568072;margin-top:9px}.hermes-chat-panel #hermesChatContext{font-size:12px;color:#728598;margin:3px 0 10px}
.hermes-chat-history{flex:1;min-height:0;display:flex;flex-direction:column;background:linear-gradient(180deg,#fcfdff,#fff);overflow:hidden}.hermes-chat-messages{flex:1;min-height:0;border:0;border-radius:0;background:transparent;padding:12px 8px 8px 0}.hermes-chat-message{max-width:92%;padding:16px 20px;border-color:#e2eaf0;border-radius:15px;margin-bottom:15px;line-height:1.65;box-shadow:0 2px 5px #183b5603;font-size:14px}.hermes-chat-message-user{max-width:82%;background:#eaf4fb;border-color:#dcecf6;border-bottom-right-radius:5px}.hermes-chat-message-assistant{border-bottom-left-radius:5px}.hermes-chat-message-label{font-size:10px;letter-spacing:.5px;color:#678298;margin-bottom:6px}.hermes-chat-message p{margin-bottom:10px}.hermes-chat-message-note:empty{display:none}.hermes-chat-message-note{color:#69849a;font-size:12px}.hermes-chat-messages[aria-busy=true] .hermes-chat-message-assistant:last-child .hermes-chat-message-note:not(:empty):before{content:'';display:inline-block;width:10px;height:10px;border:2px solid #d8e9f3;border-top-color:#1388ba;border-radius:50%;margin-right:7px;animation:hermes-chat-spin 1s linear infinite}
.hermes-chat-welcome{text-align:center;flex-shrink:0;padding:clamp(12px,4vh,44px) 12px 18px}.hermes-chat-symbol{display:grid;place-items:center;width:44px;height:44px;margin:auto;background:#e6f3fa;color:#0877ab;border-radius:14px;font-size:24px;font-weight:700}.hermes-chat-welcome h3{font-size:23px;font-weight:600;margin:16px 0 8px}.hermes-chat-welcome p{color:#74899a;font-size:13px;margin-bottom:18px}.hermes-chat-welcome small{display:block;color:#8194a3;font-size:10px;margin-top:10px}.hermes-chat-suggestions{display:flex;justify-content:center;gap:9px;flex-wrap:wrap}.hermes-chat-suggestion{border:1px solid #dce7ee;border-radius:11px;background:#fff;color:#355770;font-size:12px;padding:12px 16px;cursor:pointer}.hermes-chat-suggestion:hover:not(:disabled){border-color:#72b5d0;background:#f2f9fd}.hermes-chat-suggestion:disabled{opacity:.5;cursor:default}.hermes-chat-panel [hidden]{display:none!important}
.hermes-chat-composer{flex-shrink:0;border-top:1px solid #e9eff4;padding-top:10px}.hermes-chat-composer label{font-size:11px;color:#607b90;margin-bottom:5px}.hermes-chat-notice{float:right;margin:0;font-size:10px}.hermes-chat-notice[open]{float:none}.hermes-chat-compose-row{display:flex;gap:10px;align-items:flex-end;border:1px solid #cbdce8;border-radius:14px;padding:8px;background:#fff;box-shadow:0 4px 18px #183b5608}.hermes-chat-compose-row:focus-within{border-color:#258cbc;box-shadow:0 0 0 3px #1687ba12}.hermes-chat-panel .hermes-chat-compose-row textarea{flex:1;min-width:0;width:auto;box-shadow:none;border:0;outline:none;background:transparent;height:62px;min-height:62px;max-height:62px;font-size:14px;padding:6px;line-height:1.5}.hermes-chat-actions{flex-shrink:0;gap:7px}.hermes-chat-panel #hermesChatInputHelp{font-size:10px;color:#8194a3;margin:7px 0 0}.hermes-chat-panel #hermesChatError:not(:empty){background:#fff4ee;border:1px solid #f3ddcd;color:#8a492a;padding:10px 12px;line-height:1.5;border-radius:10px;max-height:100px;overflow:auto}.hermes-chat-panel :focus-visible{outline:3px solid #269cd0;outline-offset:2px}.hermes-chat-panel textarea:focus-visible{outline:none}
@keyframes hermes-chat-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.hermes-chat-messages[aria-busy=true] .hermes-chat-message-note:before{animation:none}}
@media(max-width:640px){.hermes-chat-panel{margin:8px auto;padding:12px;border-radius:12px}.hermes-chat-header h2{font-size:20px}.hermes-chat-header-actions{gap:5px}.hermes-chat-header #hermesChatRetry{font-size:10px;padding:6px}.hermes-chat-panel button.btn{padding:8px;font-size:11px}.hermes-chat-welcome{padding:15px 4px}.hermes-chat-welcome h3{font-size:21px}.hermes-chat-message{max-width:100%;padding:12px;font-size:14px}.hermes-chat-message-user{max-width:90%}.hermes-chat-suggestion{padding:10px}.hermes-chat-compose-row{gap:5px;padding:5px}.hermes-chat-panel .hermes-chat-compose-row textarea{height:52px;min-height:52px;max-height:52px;font-size:16px}.hermes-chat-actions{flex-direction:column;gap:4px}.hermes-chat-panel #hermesChatContext{font-size:11px;line-height:1.4}}
@media(max-height:700px){.hermes-chat-panel{padding-top:10px;margin-top:10px}.hermes-chat-welcome{padding:6px}.hermes-chat-symbol,.hermes-chat-welcome small{display:none}.hermes-chat-welcome h3{font-size:19px;margin:6px 0}.hermes-chat-welcome p{margin-bottom:8px}.hermes-chat-panel .hermes-chat-compose-row textarea{height:48px;min-height:48px;max-height:48px}}

.hermes-chat-welcome{flex:1;min-height:0;overflow-y:auto;padding:16px 12px}.hermes-chat-welcome:not([hidden])+.hermes-chat-messages{display:none}.hermes-chat-symbol{width:36px;height:36px;font-size:21px}.hermes-chat-welcome h3{margin:10px 0 6px}.hermes-chat-welcome p{margin-bottom:12px}
/* Use available panel height, not just the layout viewport, when a keyboard opens. */
.hermes-chat-panel.hermes-chat-compact{padding:8px 12px}.hermes-chat-compact .hermes-chat-header{padding-bottom:6px;gap:6px}.hermes-chat-compact .hermes-chat-eyebrow,.hermes-chat-compact .hermes-chat-symbol,.hermes-chat-compact .hermes-chat-welcome small{display:none}.hermes-chat-compact .hermes-chat-header h2{font-size:18px}.hermes-chat-compact .hermes-chat-header button.btn{padding:5px 7px;font-size:10px}.hermes-chat-compact .hermes-chat-welcome{padding:6px}.hermes-chat-compact .hermes-chat-welcome h3{font-size:18px;margin:4px 0}.hermes-chat-compact .hermes-chat-welcome p{margin-bottom:6px}.hermes-chat-compact .hermes-chat-composer{padding-top:6px}.hermes-chat-panel.hermes-chat-compact .hermes-chat-compose-row textarea{height:42px;min-height:42px;max-height:42px}.hermes-chat-panel.hermes-chat-compact #hermesChatInputHelp{margin-top:4px;line-height:1.3}
/* A very short viewport cannot fit the header, errors and input at once. Keep all reachable. */
.hermes-chat-panel.hermes-chat-tight{overflow-y:auto}.hermes-chat-tight .hermes-chat-history{flex:1 0 48px}
.hermes-chat-panel .follow-up-suggestions{justify-content:flex-start;margin-top:14px;padding-top:12px;border-top:1px solid #e9eff4}.hermes-chat-panel .follow-up-suggestions button{font-size:12px;text-align:left;padding:9px 12px}

/* One workspace and one patient selector, instead of an empty legacy toolbar. */
body.hermes-chat-active header .top-search{display:none!important}
body.hermes-chat-active .content.element{padding-top:var(--hermes-navigation-height,120px)!important}
body.hermes-chat-active .hermes-chat-panel{max-width:1200px;margin:16px auto 8px;border:0;border-radius:16px;box-shadow:0 8px 36px #183b5608;padding:22px 28px 14px}
.hermes-chat-context-bar{display:flex;align-items:center;justify-content:space-between;gap:20px;flex-shrink:0;padding:12px 0 16px;border-bottom:1px solid #edf2f6}
.hermes-chat-context-label{min-width:0;flex:1}.hermes-chat-context-caption{font-size:10px;text-transform:uppercase;letter-spacing:.08em;color:#7d8fa0}
.hermes-chat-panel #hermesChatContext{display:block;font-size:13px;line-height:1.5;color:#314e64;margin:3px 0;overflow-wrap:anywhere}
.hermes-chat-patient-search{display:flex;align-items:center;gap:8px;max-width:460px;flex:1;margin:0}
.hermes-chat-patient-search input.form-control{min-width:0;height:38px;border:1px solid #dce6ed;border-radius:9px;background:#f8fafc;box-shadow:none}
.hermes-chat-patient-search button{white-space:nowrap}
.hermes-chat-panel #hermesChatStatus{font-size:11px;color:#678494;margin:8px 0 0}
.hermes-chat-panel .hermes-chat-message-assistant{border:0;background:transparent;max-width:94%;padding:20px 8px;margin-bottom:12px;box-shadow:none;font-size:15px;line-height:1.7}
.hermes-chat-panel .hermes-chat-message-user{max-width:80%;border:0;border-radius:16px 16px 4px 16px;padding:14px 18px;background:#eef5fa}
.hermes-chat-panel .hermes-chat-message-label{font-size:10px;color:#7d91a2;margin-bottom:8px}
.hermes-chat-panel .hermes-chat-messages{padding:20px 8px;background:#fff}
.hermes-chat-panel .follow-up-suggestions{border:0;padding-top:4px;margin-top:12px;gap:7px}
.hermes-chat-panel .follow-up-suggestions button{border-radius:18px;background:#f8fbfd;font-size:11px;padding:7px 12px}
.hermes-chat-origin{display:inline-block;font-size:11px;color:#718698;line-height:1.4;margin:4px 0 8px}
.hermes-chat-doctors{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:10px;margin:12px 0}
.hermes-chat-doctor{display:flex;align-items:flex-start;gap:12px;border:1px solid #e5edf3;border-radius:12px;padding:14px;min-width:0;font-size:13px}
.hermes-chat-doctor strong{display:block;line-height:1.4}.hermes-chat-doctor p{font-size:12px;color:#738596;margin:5px 0}.hermes-chat-doctor a{font-size:11px}
.hermes-chat-doctor-portrait{position:relative;display:grid;place-items:center;width:44px;height:44px;flex-shrink:0;border-radius:50%;background:#ecf4f9;color:#6688a0;overflow:hidden;font-weight:600}
.hermes-chat-doctor-portrait img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.hermes-chat-panel #hermesChatStop:disabled{display:none}
@media(max-width:700px){body.hermes-chat-active .hermes-chat-panel{margin:6px auto;padding:12px;border-radius:10px}.hermes-chat-context-bar{flex-direction:column;align-items:stretch;gap:8px;padding:8px 0}.hermes-chat-patient-search{max-width:none}.hermes-chat-context-caption{display:none}.hermes-chat-panel .hermes-chat-message-assistant{max-width:100%;padding:14px 2px}.hermes-chat-panel .hermes-chat-message-user{max-width:90%}}
.hermes-chat-compact .hermes-chat-context-bar{padding:4px 0;gap:6px}.hermes-chat-compact .hermes-chat-context-caption{display:none}

/* Mobile chat owns the viewport; legacy navigation remains available through Menu. */
.hermes-mobile-menu,.hermes-mobile-label{display:none}
.hermes-chat-patient-picker{flex:1;max-width:460px;min-width:0}
.hermes-chat-patient-picker>summary{display:none}
.hermes-chat-patient-picker:not([open])>.hermes-chat-patient-search{display:flex}
.hermes-chat-patient-search{width:100%;min-width:0}
.hermes-chat-patient-search input.form-control{flex:1;width:0}
.hermes-chat-panel,.hermes-chat-history,.hermes-chat-messages{min-width:0}
@media(max-width:700px),(max-width:1000px) and (max-height:500px){
 body.hermes-chat-active header{min-width:0;max-height:70vh;max-height:70dvh;overflow-y:auto;overflow-x:hidden;background:#fff}
 body.hermes-chat-active header .navbar{min-height:52px}
 body.hermes-chat-active header .navbar-header{float:none;height:52px;margin:0;display:flex;align-items:center;justify-content:flex-end}
 body.hermes-chat-active header .navbar .logo{display:block!important;top:5px;left:12px;height:42px;width:96px;background-size:96px auto}
 body.hermes-chat-active header #environment{font-size:8px;margin-left:76px!important}
 body.hermes-chat-active .hermes-mobile-menu{display:block;min-height:40px;min-width:80px;font-size:13px!important;line-height:1.2;border-radius:9px;margin:4px 0;color:#314e64}
 body.hermes-chat-active header:not(.hermes-mobile-menu-open) #navbar,body.hermes-chat-active header:not(.hermes-mobile-menu-open) .submenu{display:none!important}
 body.hermes-chat-active header:not(.hermes-mobile-menu-open){overflow:hidden}
 body.hermes-chat-active header #navbar .navbar-nav{display:flex;flex-wrap:wrap;float:none!important;margin:0;padding:4px 0}
 body.hermes-chat-active header .navbar li.link{width:50%;padding:4px;float:none;min-width:0}
 body.hermes-chat-active header .navbar li.link>.btn{min-width:0!important;width:100%!important;font-size:12px!important;padding:12px 6px}
 body.hermes-chat-active header .dropdown-menu{position:static;float:none;max-width:100%;min-width:0;box-shadow:none}
 body.hermes-chat-active header #ul_mainTab{display:flex;flex-wrap:wrap;justify-content:flex-start;margin:0;padding:4px}
 body.hermes-chat-active header #ul_mainTab>li{float:none}
 body.hermes-chat-active header #ul_mainTab>li>a{font-size:11px;padding:12px 9px}
 body.hermes-chat-active .content.element{min-width:0;padding-left:0;padding-right:0}
 body.hermes-chat-active .hermes-chat-panel{position:fixed;left:0;right:0;top:calc(var(--hermes-navigation-height,52px) + var(--hermes-visual-top,0px));width:100%;max-width:none;margin:0;padding:12px 14px max(8px,env(safe-area-inset-bottom));border-radius:0;box-shadow:none;overflow-x:hidden}
 .hermes-chat-panel .hermes-chat-header{gap:8px;padding-bottom:8px;align-items:center}
 .hermes-chat-header>div:first-child{min-width:0;flex:1}
 .hermes-chat-panel .hermes-chat-header h2{font-size:19px;white-space:nowrap}
 .hermes-chat-panel .hermes-chat-eyebrow{display:none}
 .hermes-chat-header-actions{flex-wrap:nowrap;gap:6px}
 .hermes-chat-header .hermes-wide-label{display:none}
 .hermes-chat-header .hermes-mobile-label{display:inline}
 .hermes-chat-panel .hermes-chat-header button.btn{min-height:40px;min-width:40px;font-size:12px;padding:8px}
 .hermes-chat-panel #hermesChatStatus{font-size:10px;margin:4px 0}
 .hermes-chat-panel .hermes-chat-context-bar{gap:4px;padding:4px 0 8px}
 .hermes-chat-panel #hermesChatContext{font-size:12px;margin:0}
 .hermes-chat-patient-picker{max-width:none;flex:none}
 .hermes-chat-patient-picker>summary{display:block;cursor:pointer;font-size:12px;color:#087aac;padding:5px 0;min-height:30px}
 .hermes-chat-patient-picker:not([open])>.hermes-chat-patient-search{display:none}
 .hermes-chat-patient-picker[open]>.hermes-chat-patient-search{display:flex;padding:4px 0}
 .hermes-chat-patient-search input.form-control{height:44px;font-size:16px}
 .hermes-chat-panel .hermes-chat-patient-search button{min-height:44px;font-size:12px;flex-shrink:0}
 .hermes-chat-panel .hermes-chat-messages{padding:14px 0;scrollbar-gutter:auto}
 .hermes-chat-panel .hermes-chat-message-assistant{padding:12px 0;font-size:15px}
 .hermes-chat-panel .hermes-chat-message-user{padding:12px 14px;max-width:92%;font-size:15px}
 .hermes-chat-doctors{grid-template-columns:minmax(0,1fr)}
 .hermes-chat-doctor{padding:12px;gap:10px;overflow-wrap:anywhere}
 .hermes-chat-doctor>div{min-width:0}
 .hermes-chat-panel .hermes-chat-composer{padding-top:8px;background:#fff}
 .hermes-chat-panel .hermes-chat-notice{float:none;text-align:right}
 .hermes-chat-panel .hermes-chat-actions{flex-direction:row;flex-wrap:nowrap;align-items:center}
 .hermes-chat-panel .hermes-chat-actions button.btn{min-height:44px;min-width:44px;font-size:12px}
 .hermes-chat-panel .hermes-chat-compose-row textarea{font-size:16px;height:52px;min-height:52px;max-height:52px}
 .hermes-chat-panel .follow-up-suggestions button{min-height:44px;max-width:100%;white-space:normal}
 .hermes-chat-panel #hermesChatInputHelp{font-size:9px;line-height:1.4}
 .hermes-chat-panel.hermes-chat-compact #hermesChatStatus,.hermes-chat-panel.hermes-chat-compact #hermesChatInputHelp{display:none}
 .hermes-chat-panel.hermes-chat-compact .hermes-chat-composer>label{display:none}
 .hermes-chat-panel.hermes-chat-compact .hermes-chat-notice{margin-bottom:4px}
}
@media(max-width:1000px) and (max-height:500px){
 body.hermes-chat-active .hermes-chat-panel{padding-top:6px;padding-bottom:6px}
 .hermes-chat-panel #hermesChatStatus,.hermes-chat-panel .hermes-chat-context-caption,.hermes-chat-panel #hermesChatInputHelp{display:none}
 .hermes-chat-panel .hermes-chat-header{padding-bottom:4px}
 .hermes-chat-panel .hermes-chat-context-bar{padding:2px 0;gap:0;flex-direction:row;align-items:center}
 .hermes-chat-panel .hermes-chat-context-label{max-width:60%}
 .hermes-chat-panel #hermesChatContext{font-size:10px}
 .hermes-chat-panel .hermes-chat-patient-picker[open]{position:absolute;left:12px;right:12px;top:100px;z-index:2;background:#fff;padding:10px;box-shadow:0 6px 20px #183b5630}
}

/* Accepted answers remain visible; optional source metadata may use native details. */
.chat-evidence{min-width:0;margin:0 0 8px}
.chat-evidence .chat-source-excerpt{border:1px solid #e2eaf1;border-radius:10px;background:#f8fbfd;padding:9px 12px;font-size:12px}
.chat-evidence summary{cursor:pointer;color:#546f85;overflow-wrap:anywhere;line-height:1.5}
.chat-evidence .chat-source-excerpt>summary{font-weight:600}
.chat-evidence .chat-source-excerpt[open]>summary{margin-bottom:10px}
.chat-evidence p{white-space:pre-wrap;margin:8px 0;overflow-wrap:anywhere}
.chat-source-table{max-width:100%;overflow-x:auto;overscroll-behavior-x:contain;margin:6px 0 10px}
.chat-source-table table{width:100%;border-collapse:collapse;font-size:12px;text-align:left;line-height:1.5}
.chat-source-table th,.chat-source-table td{padding:9px 10px;border-bottom:1px solid #e2eaf1;vertical-align:top;min-width:95px}
.chat-source-table th{color:#34536c;background:#edf4f9;font-weight:650}
.chat-source-table tbody tr:nth-child(even){background:#fff}
.chat-evidence details details{margin-top:10px;font-size:11px}
.chat-evidence summary:focus-visible,.chat-source-table:focus-visible{outline:2px solid #269cd0;outline-offset:3px}
@media(max-width:700px){.chat-evidence .chat-source-excerpt{padding:10px}.chat-evidence summary{min-height:24px}.chat-source-table th,.chat-source-table td{padding:8px;min-width:85px}}
