.cos-profile dd { min-width: 0; overflow-wrap: anywhere; }
.cos-header-search:focus-within { border-color: var(--color-accent); }
.cos-search-key {
  flex: none;
  padding: 0 6px;
  border: 1px solid var(--color-line);
  border-radius: 4px;
  color: var(--color-faint);
  font: 11.5px/15px var(--font-mono);
}
.cos-header-modules {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  overflow-x: auto;
}
.cos-header-module {
  display: inline-flex;
  flex: none;
  align-items: center;
  height: 32px;
  border: 1px solid var(--color-line);
  border-radius: 8px;
  font-size: 12.5px;
  white-space: nowrap;
}
.cos-header-module:has([aria-selected="true"]) {
  border-color: color-mix(in srgb, var(--color-accent) 55%, transparent);
  background: color-mix(in srgb, var(--color-accent) 14%, transparent);
}
.cos-header-module button, .cos-header-module [role="tab"] { cursor: pointer; border-radius: 7px; }
.cos-header-module :focus-visible { outline-offset: -2px; }
.cos-header-module [role="tab"] { display: flex; align-items: center; height: 100%; padding: 0 10px; }
.cos-close-module { display: grid; width: 24px; height: 26px; place-items: center; color: var(--color-faint); }
.cos-header-module:hover { background-color: var(--color-surface-2); }
@media (max-width: 900px) {
  .cos-header { height: auto; flex-wrap: wrap; gap: 8px 12px; padding: 8px 16px; }
  .cos-header-search { order: 2; flex-basis: 100%; max-width: none; }
  .cos-search-key { display: none; }
  .cos-header-modules { order: 3; flex: 1 1 0; margin-left: 0; }
  .cos-module-picker { order: 4; }
}

@font-face {
  font-family: "Geist Variable";
  src: url("/fonts/geist-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "Geist Mono Variable";
  src: url("/fonts/geist-mono-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "Instrument Serif";
  src: url("/fonts/instrument-serif-latin.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
