.medical-shell{display:block;max-width:1350px;padding:35px;margin:auto}.medical-top{display:flex;gap:30px;align-items:center;justify-content:space-between}.medical-top h1{font-size:40px;margin-top:12px}.medical-top .note{max-width:450px;font-size:12px}.patient-search{margin:25px 0}.patient-search .inline>input{flex:4}.medical-grid{display:grid;grid-template-columns:280px 1fr;gap:24px}.patient-list{border-right:1px solid var(--line);padding-right:20px}.patient-list button{display:block;width:100%;text-align:left;background:var(--paper);border:1px solid var(--line);border-radius:10px;padding:15px;margin-bottom:10px;color:var(--ink)}.patient-list button.active{border-color:var(--teal);background:#e6eee4}.patient-list small{display:block;color:var(--muted);word-break:break-word}.medical-record{background:var(--paper);border:1px solid var(--line);border-radius:15px;padding:28px;min-width:0}.medical-record h2{font-size:30px}.record-summary{background:#eef2e8;padding:20px;border-radius:12px}.record-summary p{font-size:13px;margin:8px 0}.record-actions{display:flex;gap:10px;flex-wrap:wrap;margin:25px 0}.medical-record input:not([type=checkbox]),#login input{width:100%;padding:11px;border:1px solid var(--line);border-radius:8px;font-size:14px}.medical-record textarea{min-height:105px}.quote-item{border:1px solid var(--line);border-radius:12px;padding:14px;margin:12px 0}.quote-item .inline{gap:9px}.quote-item .inline>*{min-width:110px}.quote-total{font:27px Georgia,serif;text-align:right;padding:15px 0}.photo-thumbs{display:flex;gap:10px;flex-wrap:wrap}.photo-thumbs img{width:110px;height:140px;object-fit:contain;border:1px solid var(--line)}.access-result{border:1px solid var(--teal);padding:18px;border-radius:10px;overflow-wrap:anywhere}.access-result code{font-size:22px}.form-group{margin-top:20px}.save-state{font-size:12px;color:var(--teal)}#login{max-width:430px;background:white;border:1px solid var(--line);border-radius:15px;padding:25px}.medical-record ul{font-size:13px}button:disabled{opacity:.5;cursor:default}@media(max-width:800px){.medical-shell{padding:22px}.medical-top{display:block}.medical-top .note{max-width:none}.medical-grid{display:block}.patient-list{border-right:0;display:block;padding:0}.medical-record{padding:18px}.medical-top h1{font-size:34px}.quote-total{text-align:left}}@media print{header,.patient-search,.patient-list,.record-actions,#mode,#message,.form-group,.quote-editor{display:none!important}.medical-shell,.medical-record{padding:0;border:0}.medical-grid{display:block}}

.finding{background:#f3f5ed;margin:15px 0}.finding label{margin:15px 0 8px}.finding textarea{min-height:75px}.finding .inline{margin-top:12px}.share-finding{display:flex;align-items:center;gap:9px}.share-finding input{accent-color:var(--teal);width:19px;height:19px}.review-checklist{background:#eef2e9;border-radius:12px;padding:18px;margin-top:24px}.review-checklist h3{margin:0 0 10px}.review-checklist p{font-size:13px;margin:5px 0}.checkmark{color:#89918a}.checkmark.done{color:#26625e;font-weight:bold}.plan-copy{white-space:pre-wrap}.patient-observation{border-left:3px solid #9ebda6;padding:10px 15px;margin:12px 0}.quote-line{border-bottom:1px solid var(--line);padding:10px 0}#patientPreview{max-width:760px}#patientPreview p{font-size:14px}.medical-record input[type=checkbox]{width:19px;height:19px;accent-color:var(--teal)}

.queue-toggle{display:flex;align-items:center;gap:10px;margin:15px 0 25px;font-size:14px}.followup-panel{background:#e8eff4;border:1px solid #a8b9c7;padding:20px;margin-bottom:24px;border-radius:12px}.followup-panel h3{margin-top:0}.followup-panel label{display:block;margin:12px 0 6px}.followup-panel select{padding:12px;width:100%;border:1px solid #9baebb;background:#fff;border-radius:8px}.followup-panel textarea{min-height:70px}.followup-panel .muted{font-size:13px}#followupResult{font-size:13px}

.patient-report{padding:24px;background:#f7f5ee;border:1px solid #a8b6a4;border-radius:15px;margin:26px 0}.report-top h3{font:30px/1.2 Georgia,serif;margin:8px 0 14px}.report-caption{font:12px/1.7 system-ui;color:#46594d;max-width:700px}.report-nav{display:flex;gap:8px;flex-wrap:wrap;margin:20px 0}.report-nav a{font:12px/1.5 system-ui;border:1px solid #9db19f;border-radius:20px;padding:8px 12px;color:#264e37;text-decoration:none;background:#fff}.report-part{padding:20px 0;border-top:1px solid #cbd4c4;scroll-margin-top:20px}.report-part:last-child{padding-bottom:0}.report-part h4{font:24px/1.3 Georgia,serif;margin:0 0 18px}.patient-report dl{margin:0}.report-row{display:grid;grid-template-columns:minmax(120px,1fr) 2fr;gap:15px;padding:10px 0;border-bottom:1px solid #dce2d5}.report-row dt{font:600 12px/1.7 system-ui;color:#3d5344}.report-row dd{font:14px/1.7 system-ui;color:#213d2b;white-space:pre-wrap;margin:0;min-width:0;overflow-wrap:anywhere}.report-empty{font:13px/1.6 system-ui;color:#546250}.report-concerns{display:grid;gap:12px;margin:15px 0}.report-concern{padding:17px;background:#fffdf8;border:1px solid #c2cfbc;border-radius:10px}.report-concern-title{display:flex;justify-content:space-between;gap:12px;align-items:center;flex-wrap:wrap}.report-concern h5{font:22px/1.2 Georgia,serif;margin:0 0 12px}.report-concern .tag{font-size:10px}.report-history,.report-preserved{margin:14px 0;background:#fffdf8;border:1px solid #b8c7b2;border-radius:10px;padding:15px}.report-history summary,.report-preserved summary{font-size:14px;font-weight:600;cursor:pointer}.report-treatment{padding:15px 0}.report-treatment h5{font:600 13px system-ui;margin:0 0 12px}.report-preserved{background:#efeee6}.navy-theme .patient-report{background:#e4eefb;border-color:#789cc3}.navy-theme .report-nav a{background:#fff;border-color:#789cc3;color:#123e70}.navy-theme .report-part{border-color:#a5bdd7}.navy-theme .report-concern,.navy-theme .report-history{background:#fff;border-color:#91b0d0}.navy-theme .report-row{border-color:#d0ddeb}.navy-theme .report-row dt,.navy-theme .report-caption,.navy-theme .report-empty{color:#40566c}.navy-theme .report-row dd{color:#123554}.navy-theme .report-preserved{background:#e4eaf2;border-color:#91a8c1}@media(max-width:700px){.patient-report{padding:18px}.report-row{grid-template-columns:1fr;gap:4px}.report-part h4{font-size:23px}.report-concern{padding:14px}.report-top h3{font-size:27px}}

.pdf-tools{margin:25px 0;padding:18px;background:#e8f0fa;border:1px solid #a8bfd9;border-radius:12px}.pdf-tools label{display:block;font-size:13px}.pdf-tools select{display:block;width:100%;padding:12px;margin:10px 0 15px;border:1px solid #89a4bf;border-radius:8px;background:#fff;font:14px system-ui}.pdf-tools p{font-size:12px}

.medical-record textarea.tall{min-height:240px}#m_objectives{min-height:150px}#copyWish{margin-top:10px}.internal-notes,.quote-box,.link-delivery{margin:20px 0;padding:16px 18px;border:1px solid #a8bfd9;border-radius:12px;background:#f5f8fc}.internal-notes summary,.quote-box summary,.link-delivery summary{cursor:pointer;font:600 14px/1.5 system-ui;color:#113961}.internal-notes textarea{margin-top:12px}.amigo-box{margin:10px 0 28px;padding:18px;border:1px solid #075cb7;border-radius:12px;background:#edf4fc}.amigo-box label{display:block;font-size:13px;margin-bottom:8px}#amigoText{min-height:280px;font:13px/1.55 ui-monospace,Consolas,monospace;margin-bottom:12px}
.doctor-workflow{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin:22px 0}.doctor-workflow a{padding:14px 10px;border:1px solid #7594b7;border-radius:10px;background:#e0ebf8;color:#113961;text-decoration:none;text-align:center;font:600 12px/1.5 system-ui}.doctor-workflow a:hover{background:#133f70;color:white}#medical-assessment,#medical-plan,#medical-quote,#medical-delivery{scroll-margin-top:20px;border-top:1px solid #a8bfd9;padding-top:24px;margin-top:36px}.quote-message{padding:18px;border:1px solid #a8bfd9;border-left:4px solid #075cb7;background:#edf4fc;border-radius:8px}#q_message{min-height:140px}.quote-item>label{display:block;margin-bottom:14px}.quote-item>label input{display:block;margin-top:7px}@media(max-width:700px){.doctor-workflow{grid-template-columns:1fr 1fr}}
