/* P08.3 — private conversation. Public hero and catalog cards retain their theme. */
.support-workspace{max-width:1240px;padding:32px 24px 52px;color:#17324f}.support-workspace [hidden]{display:none!important}.support-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:22px;gap:16px}.support-brand{display:flex;align-items:center;gap:13px}.support-mark{width:48px;height:48px;display:grid;place-items:center;background:linear-gradient(145deg,#122d53,#205c77);color:white;font-size:25px;border-radius:15px;box-shadow:0 6px 18px #173e6817}.support-brand h1{font-size:27px;letter-spacing:-.7px;margin:0 0 4px}.support-brand>div>span{color:#667a8e;font-size:13px}.support-account{font-size:13px;font-weight:600;color:#244766}.support-layout{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:22px;align-items:start}.support-chat{background:#fff;border:1px solid #bdcfdf;border-radius:22px;box-shadow:0 14px 45px #183b6010;min-width:0;overflow:hidden}.support-chat-top{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:19px 23px;border-bottom:1px solid #e0e9f0}.support-online{font-size:13px;font-weight:600;display:flex;align-items:center;gap:8px}.support-online i{width:7px;height:7px;background:#207d74;border-radius:50%}.support-link{border:0;background:none;color:#286181;font-size:12px;cursor:pointer;text-decoration:underline;text-underline-offset:4px}.support-context{background:#f3f8fb;border-bottom:1px solid #e0e9f0;padding:11px 23px;color:#63788d;font-size:12px;line-height:1.6}.support-context strong{color:#234a67}.support-thread{height:clamp(260px,36vh,360px);overflow:auto;overscroll-behavior:contain;padding:24px;scroll-behavior:auto;background:radial-gradient(ellipse at right top,#f1f8fb88,transparent 70%)}.support-bubble{max-width:94%;margin:0 0 15px;padding:16px 18px;font-size:15px;line-height:1.7;border-radius:16px;white-space:pre-wrap;overflow-wrap:anywhere}.support-bubble.assistant{background:#eef5f8;border:1px solid #dae7ef;border-top-left-radius:4px;color:#28475f}.support-bubble.user{margin-left:auto;background:#173c63;color:#fff;border-bottom-right-radius:4px}.support-bubble-name{display:block;font-size:10px;font-weight:700;letter-spacing:.4px;margin-bottom:5px;opacity:.65}.support-answer-strip{display:flex;flex-wrap:wrap;gap:7px;margin:14px 0 19px}.support-answer-strip button{padding:7px 10px;border:1px solid #ccdce7;background:white;border-radius:9px;color:#3f6179;font-size:12px;cursor:pointer}.support-answer-strip button:hover{border-color:#267b91;background:#f2f9fa}.support-compose{padding:20px 23px;border-top:1px solid #e0e9f0;background:#fff}.support-compose label{display:grid;gap:7px;font-size:13px;font-weight:600}.support-compose textarea,.support-compose input:not([type=checkbox]),.support-profile-form input:not([type=checkbox]),.support-profile-form textarea{width:100%;max-width:100%;border:1px solid #b9cddd;border-radius:12px;background:#f9fcfd;padding:12px 14px;color:#17324f;font-size:15px;line-height:1.6;box-sizing:border-box}.support-compose textarea{resize:vertical;min-height:75px;max-height:190px}.support-compose .button{min-height:43px;padding:10px 17px;font-size:14px;white-space:normal}.support-compose form{display:grid;gap:12px}.support-input-row{display:flex;align-items:flex-end;gap:10px}.support-input-row label{flex:1;min-width:0}.support-input-row .button{flex-shrink:0}.support-chips{display:flex;flex-wrap:wrap;gap:9px}.support-chip{border:1px solid #b6cbdc;color:#204766;background:#f7fbfd;padding:11px 15px;border-radius:12px;cursor:pointer;font-size:14px;line-height:1.35;min-height:44px}.support-chip:hover{border-color:#2d7d91;background:#eaf5f7}.support-compose button:disabled,.support-chat-foot button:disabled{opacity:.55;cursor:wait}.support-compose .backend-check{font-weight:400;font-size:13px;line-height:1.6;display:flex;align-items:flex-start;gap:9px}.support-compose input[type=checkbox]{width:18px;height:18px;flex-shrink:0;accent-color:#1b6880;margin-top:3px}.support-review-actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center}.support-hint{margin:0;color:#647b8f;font-size:12px;line-height:1.6}.support-chat-foot{display:flex;align-items:center;justify-content:space-between;gap:8px;background:#f4f8fb;padding:13px 23px;border-top:1px solid #e0e9f0}.support-attach{background:none;border:0;color:#22617c;font-weight:600;font-size:13px;cursor:pointer;padding:6px 0}.support-chat-foot>span{font-size:11px;color:#698093}.support-notice{font-size:13px;line-height:1.65;margin:0;padding:13px 23px;border-top:1px solid #d0e1ea;background:#f0f7fa;color:#325d76;overflow-wrap:anywhere}.support-notice.error{background:#fff3ef;color:#963f30;border-color:#efd2c8}.support-sidebar{min-width:0;display:grid;gap:15px}.support-documents,.support-data{border:1px solid #c7d8e5;background:#fff;border-radius:17px;overflow:hidden}.support-documents>summary,.support-data>summary{cursor:pointer;list-style:none;padding:18px;font-size:14px;display:flex;align-items:center;gap:10px;justify-content:space-between}.support-documents>summary::-webkit-details-marker,.support-data>summary::-webkit-details-marker{display:none}.support-documents>summary>span:first-child{display:grid;gap:5px}.support-documents>summary small{font-size:11px;font-weight:400;color:#738699}.support-count{font-size:12px;background:#edf5fa;padding:6px 9px;border:1px solid #d4e4ed;border-radius:8px;white-space:nowrap}.support-data>summary::after{content:'+';color:#6b8597;font-size:17px}.support-data[open]>summary::after{content:'−'}.support-data>p,.support-data>small{font-size:12px;line-height:1.65;color:#657c8e;display:block;padding:0 18px;margin:0 0 12px}.support-data-actions{display:grid;gap:8px;padding:0 18px 16px}.support-data-actions button{border:0;background:none;text-align:left;font-size:12px;text-decoration:underline;text-underline-offset:3px;color:#416a81;padding:5px 0;cursor:pointer}.support-data-actions #support-delete{color:#995346}.support-file-note,.support-scope{font-size:11px;line-height:1.7;color:#6b8193;padding:0 18px;margin:12px 0 17px}.support-scope{padding:0 4px;margin:0 0 5px}.support-empty{margin:0 18px 16px;padding:22px 16px;border:1px dashed #c6dbe7;border-radius:12px;color:#6b8395;text-align:center;font-size:13px;line-height:1.6}.support-report{border-top:1px solid #e0e9f0;padding:15px 17px}.support-report-head{display:flex;gap:11px;align-items:flex-start}.support-file-icon{font-size:11px;font-weight:700;background:#edf6f9;border:1px solid #d2e5ed;padding:10px 7px;border-radius:9px;color:#3c7388;flex-shrink:0}.support-report-head>div:nth-child(2){min-width:0;flex:1}.support-report-head b{display:block;font-size:12px;overflow-wrap:anywhere;line-height:1.5}.support-report-head small{font-size:11px;color:#658296;display:block;margin-top:5px}.support-report-head button{border:0;background:none;color:#a0574b;cursor:pointer;font-size:18px;line-height:1}.support-report p{font-size:12px;line-height:1.65;overflow-wrap:anywhere}.support-report details summary{font-size:12px;color:#2a6b86;cursor:pointer;padding:9px 0}.support-ocr-facts{display:grid;gap:11px}.support-ocr-row{border:1px solid #dce7ee;border-radius:10px;padding:11px;background:#f9fcfd;display:grid;grid-template-columns:1fr 1fr;gap:8px}.support-ocr-row.low-confidence{border-color:#dcc48e;background:#fffaf0}.support-ocr-row>label{font-size:10px;color:#617c91;display:grid;gap:4px;min-width:0}.support-ocr-row input:not([type=checkbox]),.support-report-date input{width:100%;border:1px solid #c5d8e4;border-radius:7px;background:white;font-size:12px;color:#254761;padding:7px;min-width:0;box-sizing:border-box}.support-ocr-row .support-ocr-include{grid-column:1/-1;display:flex;align-items:center;gap:7px;font-size:12px;color:#315874}.support-ocr-include input{accent-color:#1e7183;width:17px;height:17px}.support-ocr-row>label[data-label-field]{grid-column:1/-1}.support-report-date{display:grid;gap:5px;font-size:11px;color:#657f92;margin:9px 0}.support-recent a{display:flex;justify-content:space-between;gap:9px;padding:11px 18px;font-size:12px;border-top:1px solid #e2ebf1}.support-new .button{width:100%;font-size:13px}.support-processing{text-align:center;padding:20px 2px 10px}.support-processing h2{font-size:20px;margin:15px 0 8px;line-height:1.45}.support-processing p{font-size:13px;color:#657e92;line-height:1.7;margin:0 auto;max-width:390px}.support-spinner{height:37px;width:37px;border:3px solid #d8e8ed;border-top-color:#267c8a;border-radius:50%;margin:auto;animation:support-spin 1s linear infinite}.support-progress{display:flex;list-style:none;gap:8px;padding:0;margin:22px 0 0}.support-progress li{flex:1;font-size:11px;color:#70879a;border-top:3px solid #dae5ed;padding-top:9px}.support-progress li.done{color:#286b73;border-color:#2d8b85}.support-progress li.current{color:#20496c;border-color:#2d608c;font-weight:700}.support-result{padding:18px;background:#edf8f5;border:1px solid #b6d9ce;border-radius:14px;margin:16px 0}.support-result.warning{background:#fff8ec;border-color:#decba4}.support-result.error{background:#fff1ec;border-color:#ebc4b7}.support-result h2{font-size:20px;margin:0 0 9px}.support-result p{font-size:13px;line-height:1.7;white-space:pre-wrap;margin:8px 0}.support-result .button{margin-top:10px;width:100%;font-size:13px;padding:11px;min-height:44px;white-space:normal}.support-result-tags{display:flex;flex-wrap:wrap;gap:6px;margin-top:12px}.support-result-tags span{font-size:12px;border:1px solid #bfdacc;color:#2b6863;background:white;padding:6px 9px;border-radius:8px}.support-profile-form{display:grid;gap:15px;margin-top:18px}.support-profile-form>label{display:grid;gap:7px;font-size:13px}.support-profile-form .backend-check{display:flex;align-items:flex-start;font-size:12px;line-height:1.6}.support-profile-form textarea{resize:vertical}.patient-profile{margin:25px 0}.patient-profile .backend-form{gap:15px}.patient-profile .backend-check{font-size:12px;line-height:1.7}.support-match-summary{display:flex;align-items:center;gap:12px;margin:0 0 15px;padding:13px 16px;border:1px solid #bad7d3;background:#edf8f5;border-radius:13px;min-width:0}.support-match-summary>div{flex:1;min-width:0}.support-match-summary strong{font-size:13px;color:#24655e}.support-match-summary p{font-size:12px;color:#4b756d;margin:5px 0 0;line-height:1.6}.support-match-summary a{font-size:12px;color:#215f68;white-space:nowrap}.support-match-note{font-size:11px;color:#648177;margin-top:6px}.support-pop-intro{font-size:14px!important;line-height:1.7;color:#5b7387}.support-pop-mark{display:grid;place-items:center;width:46px;height:46px;border:1px solid #bad7e3;background:#edf7fa;color:#266e80;border-radius:13px;font-size:23px;margin-bottom:16px}.support-consent-choice{display:flex;align-items:flex-start;gap:10px;padding:13px 14px;border:1px solid #c6dbe6;border-radius:12px;background:#f6fbfd;margin:10px 0;font-size:13px;line-height:1.65}.support-consent-choice input{flex-shrink:0;width:18px;height:18px;accent-color:#1c6980;margin-top:3px}.support-consent-details{font-size:12px;line-height:1.75;border-top:1px solid #e0eaf1;padding-top:10px;margin:14px 0;color:#647d90}.support-consent-details summary{cursor:pointer;color:#335f7b}.support-consent-details p{font-size:12px!important;white-space:pre-wrap}.main-dialog.support-popup{width:min(560px,calc(100% - 28px));max-height:calc(100dvh - 32px);border:1px solid #bed0e0;border-radius:20px}.support-popup #dialog-content{padding:26px;box-sizing:border-box}.support-popup .backend-popup-heading{gap:16px;align-items:flex-start}.support-popup .backend-popup-heading h2{font-size:23px;line-height:1.4;margin:0 0 12px}.support-popup .backend-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:20px}.support-popup .backend-actions .button{flex:1;min-height:44px;font-size:14px;padding:11px 16px;white-space:normal}.support-popup .icon-button{min-width:32px;min-height:32px}.support-upload-progress{display:flex;align-items:center;gap:15px;padding:20px 0;font-size:14px}.support-upload-progress .support-spinner{width:24px;height:24px;margin:0}.support-workspace button:focus-visible,.support-workspace a:focus-visible,.support-workspace input:focus-visible,.support-workspace textarea:focus-visible,.support-workspace summary:focus-visible,.support-popup button:focus-visible,.support-popup summary:focus-visible{outline:3px solid #89bfcf;outline-offset:3px}@keyframes support-spin{to{transform:rotate(360deg)}}
@media(max-width:1000px){.support-layout{grid-template-columns:minmax(0,1fr) 290px;gap:15px}.support-workspace{padding-left:18px;padding-right:18px}.support-chat-top,.support-context,.support-compose,.support-chat-foot{padding-left:18px;padding-right:18px}.support-thread{padding:20px}}
@media(max-width:760px){.support-workspace{padding:18px 12px 35px}.support-heading{margin-bottom:15px}.support-mark{width:41px;height:41px;border-radius:12px}.support-brand{gap:10px}.support-brand h1{font-size:22px}.support-brand>div>span{font-size:11px}.support-account{font-size:12px}.support-layout{display:flex;flex-direction:column;gap:15px}.support-chat,.support-sidebar{width:100%;box-sizing:border-box}.support-chat{border-radius:17px}.support-chat-top{padding:15px}.support-online{font-size:12px}.support-context{padding:10px 15px;font-size:11px}.support-thread{height:clamp(240px,38dvh,390px);padding:18px 15px}.support-bubble{font-size:14px;max-width:100%;padding:13px 14px;line-height:1.75}.support-compose{padding:16px 15px}.support-input-row{align-items:stretch;flex-direction:column}.support-input-row .button{align-self:flex-end}.support-compose input,.support-compose textarea{font-size:16px}.support-chip{font-size:13px;padding:10px 12px;min-height:44px}.support-chat-foot{flex-wrap:wrap;padding:10px 15px;gap:4px}.support-chat-foot>span{font-size:10px}.support-documents>summary{padding:15px}.support-documents #support-reports{max-height:430px;overflow:auto}.support-review-actions{display:grid;grid-template-columns:1fr}.support-processing h2{font-size:19px}.support-progress li{font-size:10px}.support-popup #dialog-content{padding:20px}.support-popup .backend-popup-heading h2{font-size:21px}.support-popup .backend-actions{flex-direction:column}.support-match-summary{flex-wrap:wrap;padding:12px}.support-match-summary>div{flex-basis:100%}.patient-profile .backend-field-grid{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){.support-spinner{animation:none}.support-thread{scroll-behavior:auto}}

.support-popup .triage-consent-short{max-height:none;overflow:visible;padding:0;border:0;margin:16px 0}.support-popup .support-consent-choice{display:flex;align-items:flex-start}.support-report-error{color:#963f30}.support-uncertain{color:#80601b}.support-compose textarea:focus,.support-compose input:focus{background:#fff;border-color:#5c9bb1}.support-compose form+form{margin-top:15px}

.support-chat{scroll-margin-top:102px}.support-chat.is-processing .support-thread{display:flex;flex-direction:column;justify-content:center}.support-chat.is-processing .support-processing{padding:15px 2px}.support-chat.is-processing .support-bubble{display:none}.support-processing .support-progress{margin-top:20px}@media(max-width:760px){.support-chat{scroll-margin-top:80px}}

.support-popup .backend-actions{align-items:stretch}.support-popup .backend-actions>.button{width:auto;flex:1 1 0}@media(max-width:760px){.support-popup .backend-actions>.button{width:100%;box-sizing:border-box}}

@media(max-width:760px){.support-brand>div>span{display:none}.support-brand h1{margin:0}.support-heading{min-height:44px}}

.patient-profile [hidden]{display:none!important}.support-date-context{border:1px solid #c8dce8;border-radius:12px;padding:14px;background:#f7fbfd;margin-bottom:12px}.support-report-date>small{font-size:10px;line-height:1.6}

/* P08.3.2: persistent conversation composer and compact confirmation actions. */
.support-free-chat{padding:15px 23px;border-top:1px solid #d5e4ed;background:#f4f9fc}.support-free-chat>label{font-size:12px;font-weight:600;color:#355c76;display:block;margin-bottom:8px}.support-free-input{display:flex;gap:10px;align-items:flex-end}.support-free-input textarea{flex:1;min-width:0;width:100%;resize:vertical;min-height:64px;max-height:160px;background:white;border:1px solid #a9c8da;border-radius:12px;padding:11px 13px;font:inherit;font-size:15px;line-height:1.55;color:#17324f;box-sizing:border-box}.support-free-input .button{min-height:44px;padding:10px 15px;flex-shrink:0;font-size:13px}.support-free-chat>small{display:block;color:#6b8294;font-size:11px;line-height:1.5;margin-top:7px}.support-chat-summary{font-size:12px;color:#315e7c;background:#f4f9fc;border:1px solid #c5dce8;padding:12px;border-radius:10px;margin:12px 0}.support-chat-summary summary{cursor:pointer}.support-chat-summary p{white-space:pre-wrap;line-height:1.7}.support-free-chat button:disabled{opacity:.55;cursor:wait}.support-compose:empty{display:none}@media(max-width:760px){.support-free-chat{padding:14px 15px}.support-free-input{gap:7px}.support-free-input textarea{font-size:16px}.support-free-input .button{padding:10px;min-width:64px}}
