.global-search-button {
  margin-top: auto;
  width: 100%;
  border: 1px solid #315043;
  border-radius: 10px;
  padding: 11px 10px;
  display: grid;
  grid-template-columns: 24px 1fr auto;
  align-items: center;
  gap: 9px;
  color: #e8f2ed;
  background: #1b382c;
  text-align: left;
  cursor: pointer;
}

.global-search-button:hover,
.global-search-button:focus-visible {
  outline: none;
  background: #254b3a;
}

.global-search-button > span:first-child { font-size: 20px; text-align: center; }
.global-search-button strong,
.global-search-button small { display: block; }
.global-search-button strong { font-size: 12px; }
.global-search-button small { margin-top: 2px; color: #91a99d; font-size: 9px; }
.global-search-button kbd {
  border: 1px solid #47675a;
  border-radius: 5px;
  padding: 3px 5px;
  color: #9fb4aa;
  background: #142a21;
  font: 8px ui-monospace, SFMono-Regular, Consolas, monospace;
}

.global-search-button + .service { margin-top: 12px; padding-top: 18px; }
.global-search { width: min(780px, 100%); align-self: start; }
.global-search-form {
  display: flex;
  gap: 9px;
  padding: 18px;
  border-radius: 13px;
  background: white;
}
.global-search-form .input { flex: 1; min-width: 0; }
.global-search-results { display: grid; gap: 13px; margin-top: 14px; }
.global-search-group {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: white;
}
.global-search-group h3 {
  margin: 0;
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}
.global-search-result {
  width: 100%;
  border: 0;
  border-bottom: 1px solid #edf1ee;
  padding: 13px 16px;
  display: grid;
  grid-template-columns: 30px 1fr auto;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  background: white;
  text-align: left;
  cursor: pointer;
}
.global-search-result:last-child { border-bottom: 0; }
.global-search-result:hover { background: #f2f8f5; }
.global-search-result strong,
.global-search-result small { display: block; }
.global-search-result small { margin-top: 3px; color: var(--muted); }
.global-search-empty { padding: 24px; color: var(--muted); text-align: center; }

@media (max-width: 760px) {
  .global-search-button { margin-top: 24px; }
  .global-search-button + .service { margin-top: 12px; }
  .global-search-form { flex-direction: column; }
}
