/* Oversiktssøk: white field on the dark hero, suggestions in a card below it.
   Colours follow the regnskapsklinikken tokens; each can be overridden from the
   page with the --oss-* custom properties, which cross the shadow root. */
.oss {
  --oss-ink: var(--color--almanac--ink, #17201d);
  --oss-soft: var(--color--almanac--ink-soft, #56635e);
  --oss-cream: var(--color--almanac--cream, #f4f2eb);
  --oss-label: var(--color--brand--on-dark-muted, #c9d6cf);
  --oss-accent: var(--color--brand--lime, #d4f06a);
  --oss-accent-ink: var(--color--brand--green, #0f2620);
  position: relative;
  max-width: 35rem;
  font: inherit;
}
.oss-form { margin: 0; }
.oss-label { display: block; margin-bottom: 0.625rem; font-size: 0.875rem; font-weight: 600; color: var(--oss-label); }
.oss-field {
  display: flex;
  align-items: center;
  height: 3.75rem;
  padding: 0 0.375rem 0 1rem;
  border-radius: 0.75rem;
  background: #fff;
  box-shadow: 0 0 0 3px transparent;
}
.oss-field:focus-within { box-shadow: 0 0 0 3px var(--oss-accent); }
.oss-icon { flex: none; color: var(--oss-soft); }
.oss-input {
  flex: 1;
  min-width: 0;
  height: 100%;
  padding: 0 0.75rem;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--oss-ink);
  font-family: inherit;
  font-size: 1.125rem;
  font-weight: 500;
}
.oss-input::placeholder { color: #6b746f; font-weight: 400; }
.oss-button {
  flex: none;
  height: 3rem;
  padding: 0 1.25rem;
  border: 0;
  border-radius: 999px;
  background: var(--oss-accent);
  color: var(--oss-accent-ink);
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
}
.oss-button:hover { filter: brightness(0.95); }
.oss-button:focus-visible { outline: 2px solid var(--oss-accent-ink); outline-offset: 2px; }
.oss-list {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 0.5rem);
  z-index: 50;
  margin: 0;
  padding: 0.5rem;
  list-style: none;
  border-radius: 0.75rem;
  background: #fff;
  color: var(--oss-ink);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
  max-height: 26rem;
  overflow-y: auto;
}
.oss-list[hidden] { display: none; }
.oss-option {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  padding: 0.6875rem 0.75rem;
  border-radius: 0.5rem;
  cursor: pointer;
}
.oss-option[aria-selected="true"] { background: var(--oss-cream); }
.oss-name { font-weight: 600; }
.oss-meta, .oss-count { font-size: 0.875rem; color: var(--oss-soft); }
.oss-count { margin-left: auto; white-space: nowrap; }
.oss-empty { padding: 0.6875rem 0.75rem; color: var(--oss-soft); }
@media (max-width: 480px) {
  .oss-option { flex-wrap: wrap; row-gap: 0.125rem; }
  .oss-count { margin-left: 0; flex-basis: 100%; }
}

