.patient-history-content{padding:28px}.patient-history-page{max-width:1200px}.patient-history-page .detail-grid{grid-template-columns:repeat(3,minmax(0,1fr));padding:22px;background:#f4f8fb;border:1px solid #dce6ee;border-radius:9px}.patient-history-page .patient-workspace-actions{background:white;border:0;padding:0;margin:24px 0}.patient-history-page .patient-visit-tabs{max-width:700px}.patient-history-page #historyVisitSelect{max-width:700px}.patient-history-page .medicine-row{padding:23px;background:white}.inline-editor-panel{max-width:1050px;overflow:visible}.inline-editor-body{padding:28px}.inline-editor-footer{display:flex;align-items:center;flex-wrap:wrap;gap:10px;padding:18px 28px;border-top:1px solid #dce5ed;background:#f9fbfd;border-radius:0 0 10px 10px;position:sticky;bottom:0;z-index:5;box-shadow:0 -5px 15px #20354c06}.inline-editor-body textarea{min-height:130px}.inline-editor-panel #editorForm{display:block;overflow:visible}.inline-editor-panel #field_medicines{min-height:280px}.inline-editor-panel .form-label{font-weight:600}@media(max-width:760px){.patient-history-content,.inline-editor-body{padding:18px}.patient-history-page .detail-grid{grid-template-columns:1fr 1fr;padding:15px;gap:20px 12px}.inline-editor-footer{padding:15px 18px}.patient-history-page .medicine-row{padding:17px}.patient-history-page .patient-workspace-actions .btn{width:auto}.inline-editor-panel #field_medicines{min-height:230px}}
.visit-date-filter{display:flex;align-items:end;gap:12px;flex-wrap:wrap;padding:16px;background:#f6f9fc;border:1px solid #e3ebf2;border-radius:9px;margin:0 0 22px;max-width:700px}.visit-date-filter>div{min-width:170px}.visit-date-filter .form-label{display:block}.visit-date-filter>span{width:100%;color:#8196a6;font-size:11px;line-height:1.7}.visit-date-filter .row-action{margin-bottom:3px;padding:10px 12px}
