.directory-search { display: grid; gap: 8px; max-width: 590px; margin-bottom: 30px; }
.directory-search label { font-size: .78rem; font-weight: 800; }
.directory-search > div { display: flex; }
.directory-search input { flex: 1; min-width: 0; border: 1px solid #bed3ca; border-radius: 10px 0 0 10px; padding: 12px 14px; outline: 0; }
.directory-search button { border: 0; border-radius: 0 10px 10px 0; background: #087a67; color: #fff; padding: 0 22px; font-weight: 800; }
.directory-card { display: flex; align-items: center; gap: 13px; padding: 17px; background: #fff; border: 1px solid #dce9e2; border-radius: 11px; text-decoration: none; }
.directory-card:hover { border-color: #8cbcac; }
.directory-card > span:last-child { display: grid; min-width: 0; }
.directory-card strong { font-size: .88rem; }
.directory-card small, .location-list span { color: #657b75; }
.location-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 11px; }
.location-list a { display: flex; justify-content: space-between; gap: 15px; padding: 16px 18px; background: #fff; border: 1px solid #dce9e2; border-radius: 11px; text-decoration: none; }
.location-list a:hover { border-color: #8cbcac; }
.location-list span { font-size: .8rem; }
@media (max-width: 620px) { .location-list { grid-template-columns: 1fr; } }

.header-leading { display: flex; align-items: center; gap: 13px; }
.history-navigation { display: flex; gap: 5px; }
.history-navigation button { width: 34px; height: 34px; display: grid; place-items: center; padding: 0; border: 1px solid #c8ddd4; border-radius: 9px; background: #fff; color: #075f52; cursor: pointer; transition: background .18s, border-color .18s, opacity .18s; }
.history-navigation button:hover:not(:disabled) { background: #e3f4e8; border-color: #87bbaa; }
.history-navigation button:focus-visible { outline: 3px solid rgba(8, 122, 103, .2); outline-offset: 2px; }
.history-navigation button:disabled { opacity: .35; cursor: default; }
.history-navigation svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

@media (max-width: 620px) {
    .header-leading { gap: 8px; }
    .history-navigation { gap: 3px; }
    .history-navigation button { width: 30px; height: 30px; border-radius: 8px; }
    .history-navigation svg { width: 16px; height: 16px; }
}

.lookup-combobox { position: relative; }
.lookup-combobox input { min-height: 48px; padding-right: 44px; }
.lookup-combobox input.selected-edit { color: #738781; }
.lookup-combobox > button { position: absolute; z-index: 2; top: 1px; right: 1px; width: 42px; height: 46px; border: 0; border-radius: 0 9px 9px 0; background: transparent; cursor: pointer; }
.lookup-combobox > button::after { content: ''; display: block; width: 7px; height: 7px; margin: -3px auto 0; border-right: 2px solid #52706a; border-bottom: 2px solid #52706a; transform: rotate(45deg); }
.lookup-combobox > button:disabled { cursor: not-allowed; opacity: .35; }
.lookup-combobox [role="listbox"] { position: absolute; z-index: 20; top: calc(100% + 7px); left: 0; right: 0; display: none; max-height: 245px; margin: 0; padding: 7px; overflow-y: auto; list-style: none; background: #fff; border: 1px solid #c8ddd4; border-radius: 12px; box-shadow: 0 18px 35px rgba(4, 63, 55, .18); }
.lookup-combobox.open [role="listbox"] { display: block; }
.lookup-combobox [role="option"] { padding: 10px 11px; border-radius: 8px; color: #17332e; font-size: .84rem; line-height: 1.35; cursor: pointer; }
.lookup-combobox [role="option"] + [role="option"] { margin-top: 2px; }
.lookup-combobox [role="option"]:hover,
.lookup-combobox [role="option"].active { background: #e3f4e8; color: #055e50; }
.lookup-combobox [role="option"][aria-selected="true"] { font-weight: 800; }
.lookup-combobox .option-empty { padding: 12px; color: #71827e; font-size: .82rem; text-align: center; }
