/* Match the shared search to the page background and simple line controls. */
#content-search {
  box-sizing: border-box;
  width: calc(100% - 2 * var(--page-gutter));
  max-width: min(410px, var(--page-width));
  margin: 0 auto;
  padding: 16px 0 6px;
}
#search-bar {
  display: flex;
  align-items: stretch;
  margin: 0;
  border-bottom: 1px solid #657075;
}
#search-bar:focus-within { border-color: #93b9c5; }
#search-input {
  box-sizing: border-box;
  flex: 1 1 auto;
  width: 100%;
  min-width: 0;
  min-height: 44px;
  margin: 0;
  padding: 0 10px;
  border: 0;
  border-radius: 0;
  outline: none;
  background: transparent;
  color: #d7e1e5;
  font: inherit;
  font-size: 16px;
}
#search-input::placeholder { color: #a2abb0; opacity: 1; }
#search-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  gap: 5px;
  min-width: 70px;
  min-height: 44px;
  padding: 0 10px;
  border: 0;
  background: transparent;
  color: #bbdbdf;
  font: inherit;
  font-size: 16px;
  white-space: nowrap;
  cursor: pointer;
}
#search-btn .mdil { font-size: 20px; }
#search-btn:hover { color: #e9fdff; }
#search-btn:focus-visible { outline: 1px solid currentColor; outline-offset: -5px; }
.search-page { overflow-wrap: anywhere; }
.search-summary { margin: 0 14px 16px; color: var(--muted); }

:root[data-theme="light"] #search-bar { border-color: #acbcc7; }
:root[data-theme="light"] #search-bar:focus-within { border-color: #22667b; }
:root[data-theme="light"] #search-input { color: #293744; }
:root[data-theme="light"] #search-input::placeholder { color: #68747c; }
:root[data-theme="light"] #search-btn { color: #22667b; }
:root[data-theme="light"] #search-btn:hover { color: #10485a; }
