.drawerback.expert-wide .drawer{width:min(1540px,97vw);max-width:97vw}.expert-editor{display:grid;grid-template-columns:minmax(0,1fr) minmax(380px,46%);gap:0;min-height:70vh}.expert-writing{padding:16px 20px}.expert-references{padding:16px;border-left:1px solid #dde5ee;background:#f5f8fc;position:sticky;top:0;align-self:start;max-height:calc(100vh - 180px);overflow-y:auto}.expert-client{display:flex;gap:15px;align-items:center;margin-bottom:12px}.expert-client span{font-size:12px;color:#8091a8}.expert-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px 12px}.expert-fields label{font-size:13px;display:grid;gap:5px}.expert-fields .input{width:100%;min-width:0}.expert-template-note{margin:14px 0;padding:10px 12px;font-size:12px;color:#6f8199;background:#f5f8fc;line-height:1.7}.expert-section{display:block;margin:16px 0;font-size:14px}.expert-section>b{display:block;margin-bottom:8px}.expert-section textarea{width:100%;min-height:125px;resize:vertical;font-size:14px;line-height:1.7}.expert-fixed{font-size:12px;color:#8a97a7;padding:12px 0;border-top:1px solid #edf0f4}.expert-reference-label{font-size:14px;font-weight:600}.expert-reference-label b{font-size:12px;color:#71879f;margin-left:10px}.expert-reference-label small{display:block;margin-top:6px;font-size:12px;font-weight:400;color:#8292a7}.expert-report-list{margin:10px 0 16px}.expert-report-row{display:flex;justify-content:space-between;align-items:center;background:#fff;padding:10px;margin-bottom:7px;border:1px solid #e2e8f0;border-radius:5px;gap:8px}.expert-report-row label{display:flex;align-items:center;gap:9px}.expert-report-row strong{font-size:13px;font-weight:500}.expert-report-row small{display:block;font-size:12px;color:#7f90a5;margin-top:4px}.expert-preview-head{display:flex;justify-content:space-between;align-items:center;margin:12px 0;font-size:13px;gap:8px}.expert-report-preview{background:#fff;border:1px solid #dfe7f1;min-height:390px}.expert-report-preview iframe{width:100%;height:58vh;border:0;display:block}.expert-open-file{display:block;padding:8px 12px;font-size:12px}.expert-text-report{padding:18px;font-size:14px;line-height:1.8}.expert-text-report p{white-space:pre-wrap}.expert-schedule-scroll{overflow-x:auto}.expert-schedule{min-width:570px;width:100%}.expert-schedule th,.expert-schedule td{padding:5px!important}.expert-schedule .input{width:100%;min-width:80px;padding:6px;font-size:12px}@media(max-width:1000px){.expert-editor{grid-template-columns:1fr}.expert-references{position:static;max-height:none;border-left:0;border-top:1px solid #e2e8f1}.expert-fields{grid-template-columns:repeat(2,minmax(0,1fr))}}
.expert-editor{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.expert-inline-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:12px 0;margin-top:6px;border-bottom:1px solid #e6ecf4}.expert-references{background:#fff;max-height:calc(100vh - 130px)}.expert-health-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px}.expert-health-head small{display:block;color:#8291a5;font-size:12px;margin-top:5px}.expert-health-layout,.expert-health-layout.document-open{display:block}.expert-health-timeline{min-width:0}.expert-reference-check{display:flex;align-items:center;gap:5px;color:#71829a;font-size:12px;grid-row:3;margin-top:4px}.expert-health-timeline .left .expert-reference-check{grid-column:1;justify-content:flex-end}.expert-health-timeline .right .expert-reference-check{grid-column:3}.expert-health-document{min-width:0;border-top:1px solid #e2e9f2;margin-top:14px;padding-top:14px}.expert-health-document .health-node-document{width:100%;height:60vh}.expert-health-layout.document-open .expert-health-timeline{max-height:260px;overflow:auto;padding-right:5px}.expert-health-document .health-node-actions{flex-wrap:wrap}@media(max-width:1000px){.expert-editor{grid-template-columns:1fr}.expert-references{position:static;max-height:none}}
/* Keep the health timeline fixed above independently scrolling source documents. */
.expert-editor .expert-references{position:sticky;top:0;height:calc(100vh - 155px);max-height:calc(100vh - 155px);overflow:hidden;display:flex;flex-direction:column;box-sizing:border-box}.expert-references .expert-health-head{flex:none}.expert-references .expert-health-layout{flex:1;min-height:0;display:flex;flex-direction:column;overflow:hidden}.expert-references .expert-health-timeline{flex:1;min-height:0;overflow-y:auto}.expert-references .expert-health-layout.document-open{display:flex;flex-direction:column}.expert-references .expert-health-layout.document-open .expert-health-timeline{flex:none;height:220px;max-height:220px;overflow-y:auto}.expert-references .expert-health-document{flex:1;min-height:0;overflow-y:auto;margin-top:10px;padding:12px 5px 0 0}.expert-references .expert-health-document .health-node-document{height:65vh;min-height:430px}@media(max-width:1000px){.expert-editor .expert-references{position:relative;height:760px;max-height:none}}
