#info-tab-medicine-sources .panel-header {flex-wrap:wrap;gap:16px}
#info-tab-medicine-sources .info-panel-actions {display:flex;flex-wrap:wrap;gap:8px;max-width:100%}
#medicine-sources-search {width:320px;max-width:100%}
#medicine-sources-status {margin:12px 0;color:#34566a}
.medicine-source-form {margin:16px 0;padding:20px;background:#f5faff;border:1px solid #d7e4ee;border-radius:12px}
.medicine-source-form[hidden] {display:none}
.medicine-source-fields {display:grid;grid-template-columns:1fr 1.5fr 1fr;gap:16px;margin-top:16px}
.medicine-source-fields label {display:flex;flex-direction:column;gap:8px;min-width:0}
.medicine-source-fields input,.medicine-source-fields select,.medicine-source-fields textarea {width:100%;box-sizing:border-box;min-width:0}
#medicine-source-error {color:#b42318;white-space:pre-wrap}
.medicine-sources-table {width:100%;table-layout:fixed;min-width:0!important}
.medicine-sources-table th:nth-child(1) {width:6%}
.medicine-sources-table th:nth-child(2) {width:25%}
.medicine-sources-table th:nth-child(3) {width:32%}
.medicine-sources-table th:nth-child(4) {width:20%}
.medicine-sources-table th:nth-child(5) {width:17%}
.medicine-sources-table td {white-space:normal;overflow-wrap:anywhere;vertical-align:top}
.medicine-sources-table td small,.medicine-sources-table td strong {display:block;margin-bottom:10px}
.medicine-source-text {white-space:pre-wrap!important}
.medicine-source-actions {display:flex;flex-wrap:wrap;gap:6px}
.medicine-sources-table button {white-space:normal;padding:8px 10px;font-size:inherit}
@media(max-width:760px){.medicine-source-fields{grid-template-columns:1fr}.medicine-sources-table{font-size:13px}.medicine-sources-table th,.medicine-sources-table td{padding:8px 5px}.medicine-sources-table button{padding:6px;font-size:12px}}

#medicine-source-name-hint {font-size:12px;color:#526b7b;line-height:1.5}
#medicine-source-medicine-select[size]:not([size="1"]) {height:auto;min-height:80px;padding:4px}
#medicine-source-medicine-select option {padding:6px 8px}
