.station-site-bar,
.station-site-bar * {
  box-sizing: border-box;
  letter-spacing: 0;
}

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

.station-site-bar {
  align-items: center;
  background: rgba(249, 244, 235, 0.96);
  border-bottom: 1px solid #d8ccbb;
  color: #24211d;
  display: flex;
  gap: 18px;
  justify-content: space-between;
  min-height: 62px;
  padding: 10px clamp(16px, 4vw, 52px);
  position: sticky;
  top: 0;
  z-index: 100;
}

.station-site-brand {
  align-items: center;
  color: inherit;
  display: inline-flex;
  gap: 10px;
  text-decoration: none;
  white-space: nowrap;
}

.station-site-brand > span {
  align-items: center;
  background: #244f43;
  border-radius: 7px;
  color: #fffaf1;
  display: inline-flex;
  font-size: 12px;
  font-weight: 900;
  height: 34px;
  justify-content: center;
  width: 34px;
}

.station-site-links {
  align-items: center;
  display: flex;
  gap: 8px;
  justify-content: flex-end;
}

.station-site-links a {
  color: #564f45;
  font-size: 14px;
  font-weight: 800;
  padding: 8px 10px;
  text-decoration: none;
}

.station-site-links a:hover,
.station-site-links a:focus-visible {
  background: #eee4d5;
  color: #1e473c;
}

.station-site-member {
  align-items: center;
  display: flex;
  gap: 8px;
  margin-left: auto;
  min-width: 0;
}

.station-site-member__avatar {
  align-items: center;
  background: #e7a449;
  border: 1px solid #9a6a2c;
  border-radius: 50%;
  color: #2d2418;
  display: inline-flex;
  flex: 0 0 32px;
  font-size: 11px;
  font-weight: 900;
  height: 32px;
  justify-content: center;
  text-transform: uppercase;
}

.station-site-member__copy {
  display: grid;
  line-height: 1.15;
  min-width: 0;
}

.station-site-member__copy strong,
.station-site-member__copy small {
  max-width: 170px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.station-site-member__copy strong {
  font-size: 12px;
}

.station-site-member__copy small {
  color: #6d6255;
  font-size: 10px;
}

.station-site-member__action {
  background: #244f43;
  border: 1px solid #173a31;
  border-radius: 6px;
  color: #fffaf1;
  cursor: pointer;
  font: inherit;
  font-size: 11px;
  font-weight: 800;
  min-height: 34px;
  padding: 7px 10px;
  text-decoration: none;
  white-space: nowrap;
}

.station-site-member__action--secondary {
  background: #fffaf1;
  color: #244f43;
}

.station-site-language select {
  background: #fffaf1;
  border: 1px solid #b9aa95;
  border-radius: 7px;
  color: #24211d;
  min-height: 38px;
  padding: 7px 28px 7px 10px;
}

.station-site-language {
  align-items: flex-end;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.station-site-language__note {
  color: #6d6255;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.2;
  max-width: 130px;
  text-align: right;
  white-space: normal;
}

.cat-cloud-dialog {
  background: #fffaf1;
  border: 2px solid #24211d;
  border-radius: 6px;
  box-shadow: 10px 10px 0 #e7a449;
  color: #24211d;
  max-width: min(560px, calc(100vw - 32px));
  padding: 0;
  width: 100%;
}

.cat-cloud-dialog::backdrop {
  background: rgba(22, 20, 18, 0.66);
}

.cat-cloud-dialog__body {
  display: grid;
  gap: 16px;
  padding: 24px;
}

.cat-cloud-dialog__body h2,
.cat-cloud-dialog__body p,
.cat-cloud-dialog__compare {
  margin: 0;
}

.cat-cloud-dialog__kicker {
  color: #1e5f50;
  font-size: 11px;
  font-weight: 900;
}

.cat-cloud-dialog__compare {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cat-cloud-dialog__compare > div {
  border: 1px solid #cfc0ad;
  padding: 14px;
}

.cat-cloud-dialog__compare dt {
  font-size: 12px;
  font-weight: 900;
}

.cat-cloud-dialog__compare dd {
  color: #6d6255;
  font-size: 12px;
  margin: 6px 0 0;
}

.cat-cloud-dialog__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cat-cloud-dialog__status {
  color: #8b2d22;
  min-height: 1.4em;
}

.cat-recovery-list,
.cat-recovery-log > div {
  display: grid;
  gap: 8px;
}

.cat-recovery-item,
.cat-recovery-event {
  align-items: center;
  border: 1px solid #cfc0ad;
  display: grid;
  gap: 6px 12px;
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 12px;
}

.cat-recovery-item strong,
.cat-recovery-item span,
.cat-recovery-event {
  font-size: 12px;
}

.cat-recovery-item span,
.cat-recovery-event {
  color: #6d6255;
}

.cat-recovery-item button {
  grid-column: 2;
  grid-row: 1 / span 2;
}

.cat-recovery-log {
  border-top: 1px solid #d8ccbb;
  display: grid;
  gap: 10px;
  padding-top: 14px;
}

.cat-recovery-log h3 {
  font-size: 14px;
  margin: 0;
}

.station-site-bar a:focus-visible,
.station-site-bar select:focus-visible {
  outline: 3px solid #e7a449;
  outline-offset: 2px;
}

@media (max-width: 720px) {
  .station-site-bar {
    gap: 10px;
    padding: 9px 12px;
  }

  .station-site-brand strong,
  .station-site-links a:nth-child(2),
  .station-site-links a:nth-child(3) {
    display: none;
  }

  .station-site-links {
    display: none;
  }

  .station-site-links a {
    border: 1px solid #cfc0ad;
    font-size: 13px;
    padding: 7px 9px;
  }

  .station-site-language select {
    max-width: 78px;
  }

  .station-site-member {
    flex: 1;
    justify-content: flex-end;
  }

  .station-site-member__copy {
    display: none;
  }

  .station-site-member__action {
    min-height: 38px;
  }

  .station-site-language__note {
    max-width: 86px;
  }

  .cat-cloud-dialog__compare {
    grid-template-columns: 1fr;
  }

  .cat-cloud-dialog__actions > button {
    width: 100%;
  }

  .cat-recovery-item {
    grid-template-columns: 1fr;
  }

  .cat-recovery-item button {
    grid-column: 1;
    grid-row: auto;
    width: 100%;
  }
}

@media (max-width: 420px) {
  .station-site-member__avatar {
    display: none;
  }

  .station-site-member__action {
    font-size: 10px;
    padding-inline: 8px;
  }
}
