/* Work Search — base. Reset, document chrome, typography. */

*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Utility: anything toggled with classList.add("hidden") is removed from flow,
   overriding component display rules (e.g. .profile{display:grid}). */
.hidden {
  display: none !important;
}

html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
}

/* The app owns the viewport: never scroll the document; inner panes scroll. */
#root {
  height: 100dvh;
  overflow: hidden;
}

body {
  min-height: 100%;
  font-family: var(--font);
  color: var(--ink);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
}

button,
input {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

a {
  color: var(--link-blue);
  text-decoration: none;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
