/* Migration notice. Temporary — remove with partials/legacy_banner.html. */
.legacy-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 8px 16px;
  background: #8a5300;
  color: #fff;
  font-size: 13px;
  line-height: 1.4;
}

.legacy-banner__label {
  flex: 0 0 auto;
  padding: 2px 8px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.22);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 11px;
}

.legacy-banner__text { flex: 1 1 260px; }

.legacy-banner__link {
  flex: 0 0 auto;
  padding: 4px 12px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 3px;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.legacy-banner__link:hover,
.legacy-banner__link:focus { background: #fff; color: #8a5300; }

/* On a phone the full sentence wrapped to three rows and took about a third
   of the viewport. Staff need that space for the actual screen, and the
   label plus the link already carry the message. */
@media (max-width: 600px) {
  .legacy-banner {
    gap: 8px;
    padding: 6px 10px;
    font-size: 12px;
  }

  .legacy-banner__text { display: none; }

  .legacy-banner__label { font-size: 10px; }

  .legacy-banner__link {
    margin-left: auto;
    padding: 3px 10px;
  }
}
