html {
  font-size: 14px;
  min-height: 100%;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

body {
  min-height: 100vh;
  margin: 0;
  color: #111827;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #fff;
}

header {
  position: relative;
  z-index: 50;
  display: flex;
  min-height: 4rem;
  align-items: center;
  gap: 0.75rem;
  padding: 0 0.5rem;
  background: #fff;
  box-shadow: 0 1px 4px rgb(17 24 39 / 12%);
}

header > a {
  display: inline-flex;
  padding: 0.5rem 0.25rem;
}

header nav {
  margin-left: auto;
}

header nav > div {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

header nav a {
  display: inline-flex;
  align-items: center;
  border: 1px solid #31539f;
  border-radius: 0.25rem;
  padding: 0.35rem 0.75rem;
  color: #31539f;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  background: #fff;
}

header nav a:hover {
  color: #1f3f82;
}

.leeds-tenant-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid color-mix(in srgb, var(--tenant-colour) 35%, #ffffff);
  border-radius: 999px;
  padding: 0.3rem 0.75rem;
  color: #111827;
  font-size: 0.875rem;
  font-weight: 700;
  background: color-mix(in srgb, var(--tenant-colour) 10%, #ffffff);
  white-space: nowrap;
}

.leeds-tenant-badge__dot,
.leeds-tenant-switcher__dot {
  width: 0.65rem;
  height: 0.65rem;
  flex: 0 0 auto;
  border-radius: 999px;
  background: var(--tenant-colour);
}

.leeds-tenant-switcher {
  position: relative;
}

.leeds-tenant-switcher summary {
  display: inline-flex;
  align-items: center;
  border: 1px solid #31539f;
  border-radius: 0.25rem;
  padding: 0.35rem 0.75rem;
  color: #31539f;
  font-size: 0.875rem;
  font-weight: 600;
  list-style: none;
  cursor: pointer;
  white-space: nowrap;
  background: #fff;
}

.leeds-tenant-switcher summary::-webkit-details-marker {
  display: none;
}

.leeds-tenant-switcher__menu {
  position: absolute;
  right: 0;
  z-index: 60;
  display: flex;
  min-width: 14rem;
  flex-direction: column;
  gap: 0.25rem;
  margin-top: 0.5rem;
  border: 1px solid #d1d5db;
  border-radius: 0.375rem;
  padding: 0.35rem;
  background: #fff;
  box-shadow: 0 10px 20px rgb(17 24 39 / 15%);
}

.leeds-tenant-switcher__item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border: 0;
  border-radius: 0.25rem;
  padding: 0.5rem 0.65rem;
  color: #111827;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  background: transparent;
}

.leeds-tenant-switcher__item:hover {
  background: #f3f4f6;
}

.leeds-tenant-switcher__item.is-current {
  color: #4b5563;
  background: #f9fafb;
}

.leeds-home {
  box-sizing: border-box;
  display: flex;
  width: 100%;
  max-width: 48rem;
  flex-direction: column;
  gap: 2rem;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

.leeds-home__intro,
.leeds-home__tenants {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.leeds-home__eyebrow {
  margin: 0;
  color: #31539f;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.leeds-home__title {
  margin: 0;
  color: #111827;
  font-size: 2rem;
  line-height: 1.2;
  font-weight: 650;
}

.leeds-home__summary {
  max-width: 40rem;
  margin: 0;
  color: #374151;
  font-size: 1rem;
  line-height: 1.6;
}

.leeds-home__section-title {
  margin: 0;
  color: #111827;
  font-size: 1.125rem;
  line-height: 1.4;
  font-weight: 650;
}

.leeds-home__tenant-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: 0.75rem;
}

.leeds-home__tenant-link,
.leeds-home__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #31539f;
  border-radius: 0.25rem;
  padding: 0.75rem 1rem;
  color: #31539f;
  font-size: 0.875rem;
  font-weight: 650;
  text-decoration: none;
  background: #fff;
}

.leeds-home__tenant-link {
  justify-content: flex-start;
}

.leeds-home__tenant-link:hover,
.leeds-home__button--secondary:hover {
  color: #1f3f82;
  border-color: #1f3f82;
}

.leeds-home__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.leeds-home__button--primary {
  color: #fff;
  background: #31539f;
}

.leeds-home__button--primary:hover {
  border-color: #1f3f82;
  background: #1f3f82;
}

.leeds-home__empty {
  border: 1px solid #d1d5db;
  border-radius: 0.25rem;
  padding: 0.75rem 1rem;
  color: #374151;
  font-size: 0.875rem;
  background: #f9fafb;
}
