.clinical-search { min-width: 0; width: 100%; }
.clinical-search-input { position: relative; display: flex; align-items: center; gap: 10px; }
.clinical-search-input input { width: 100%; min-width: 0; min-height: 44px; font-size: 16px; padding: 11px 12px; border: 1px solid var(--line-strong, #cbd8dc); border-radius: 11px; color: var(--ink, #173b57); background: var(--surface, #fff); }
.clinical-search-input input:focus { outline: 2px solid #598076; outline-offset: 2px; }
.clinical-search > label { margin-bottom: 7px; }
.clinical-search-results { margin-top: 6px; max-height: min(280px, 35dvh); overflow-y: auto; overscroll-behavior: contain; border: 1px solid #d4dfdf; border-radius: 12px; background: #fff; }
.clinical-search-results[hidden] { display: none; }
.clinical-search-results button { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 56px; padding: 12px; text-align: left; border: 0; border-bottom: 1px solid #edf1f1; background: transparent; color: inherit; cursor: pointer; }
.clinical-search-results button > span:first-child { min-width: 0; flex: 1; }
.clinical-search-results strong { display: block; white-space: normal; overflow-wrap: anywhere; font-size: 14px; }
.clinical-search-results small { display: block; color: #667978; margin-top: 3px; }
.clinical-search-results [aria-selected="true"] { background: #edf5f3; box-shadow: inset 3px 0 #4a7870; }
.clinical-search-results [aria-disabled="true"] { opacity: .65; cursor: default; }
.clinical-search-status { margin: 6px 0 0; min-height: 1.4em; }
.medicine-funding { display: inline-flex; align-items: center; justify-content: center; vertical-align: middle; width: 28px; height: 28px; flex: 0 0 28px; border-radius: 50%; color: #5d6c75; background: #eef1f3; }
.medicine-funding svg { width: 22px; height: 22px; }
.medicine-funding.funded { color: #35735e; background: #edf6ef; }
.medicine-funding.partial, .medicine-funding.restricted { color: #8c6b29; background: #f8f3e6; }
.medicine-funding.unfunded { color: #945852; background: #f8eeec; }
.medicine-funding:focus-visible { outline: 2px solid #426a7b; outline-offset: 3px; }
.medicine-intent { border: 0; padding: 0; margin: 0; min-width: 0; }
.medicine-intent legend { font-weight: 600; margin-bottom: 8px; }
.medicine-intent-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.medicine-intent-options label { display: flex; align-items: center; gap: 8px; padding: 12px; border: 1px solid #d6dfdf; border-radius: 10px; cursor: pointer; }
.medicine-intent-options label:has(:checked) { border-color: #598076; background: #edf5f1; }
.medicine-intent-options input { width: 16px; height: 16px; }
.medicine-longterm-options { margin-top: 12px; }
.medicine-longterm-options[hidden] { display: none; }
.medicine-with-funding { display: flex; align-items: center; gap: 8px; min-width: 0; }
.medicine-with-funding > strong, .medicine-with-funding > span:first-child { min-width: 0; overflow-wrap: anywhere; }
.care-medcard .panel-header { flex-wrap: wrap; gap: 10px; }
.care-medcard .panel-header .button { max-width: 100%; white-space: normal; }
.care-med-line { display: grid; grid-template-columns: 28px minmax(0, 1fr) 28px; }
.care-med-line > .medicine-funding { width: 28px; height: 28px; }
.care-med-line > .medicine-funding.unknown { color: #5d6c75; background: #eef1f3; }
.care-med-line > strong { min-width: 0; overflow-wrap: anywhere; }
