.mg-integration-notice {
  position: relative;
  z-index: 20;
  padding: 9px 20px;
  border-bottom: 1px solid #e2d4ab;
  background: #fff8df;
  color: #624a08;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
  text-align: center;
}

.mg-runtime-message {
  padding: 24px;
  border: 1px solid #dde4df;
  border-radius: 12px;
  background: #f8faf9;
  color: #4b5b51;
  text-align: center;
}

.mg-runtime-message h2,
.mg-runtime-message h3 {
  margin: 0 0 8px;
  color: #173f34;
}

.mg-runtime-message p {
  margin: 0;
  line-height: 1.7;
}

.mg-runtime-message--fill {
  grid-column: 1 / -1;
}

.mg-join-modal__actions > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 11px;
  font-weight: 900;
  text-align: center;
}

.mg-form label small {
  color: #748079;
  font-size: 11px;
  font-weight: 650;
  line-height: 1.5;
}

.mg-runtime-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 18px;
}

.mg-runtime-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid #cfdad4;
  border-radius: 12px;
  background: #fff;
  color: #173f34;
  font-weight: 800;
}

.mg-runtime-actions a.is-primary {
  border-color: #173f34;
  background: #173f34;
  color: #fff;
}

.mg-drawer__account {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #e3e9e5;
}

.mg-drawer__account strong {
  margin-right: auto;
  color: #173f34;
}

.mg-drawer__account a,
.mg-header-logout {
  color: #4b5b51;
  font-size: 13px;
  font-weight: 800;
}

.mg-home-empty-column {
  min-height: 130px;
  padding: 30px 18px;
  color: #64736a;
  text-align: center;
}

.mg-legacy-bridge {
  margin-top: 20px;
}

.mg-legacy-bridge__source {
  display: block;
  margin-top: 10px;
  color: #6b786f;
  font-size: 12px;
}

.mg-form-optional {
  color: #77847d;
  font-size: 11px;
  font-weight: 700;
}

.mg-tour-consent {
  display: flex !important;
  align-items: flex-start;
  gap: 10px;
  padding: 14px;
  border: 1px solid #dde4df;
  border-radius: 12px;
  background: #f8faf9;
  color: #4b5b51;
  font-size: 13px;
  line-height: 1.55;
}

.mg-tour-consent input {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin-top: 1px;
}

.mg-tour-inquiry-notes {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.mg-tour-inquiry-notes li {
  position: relative;
  padding-left: 17px;
  color: #5f6d65;
  font-size: 13px;
  line-height: 1.6;
}

.mg-tour-inquiry-notes li::before {
  position: absolute;
  top: 0;
  left: 0;
  color: #1f5b49;
  content: "•";
}

.mg-board-detail-head {
  padding-bottom: 22px;
  border-bottom: 1px solid #e2e8e4;
}

.mg-board-detail-head > span {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 5px 10px;
  border-radius: 999px;
  background: #edf5f1;
  color: #1f5b49;
  font-size: 12px;
  font-weight: 800;
}

.mg-board-detail-head h2 {
  margin: 0;
  color: #14251f;
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.3;
}

.mg-board-detail-head p {
  margin: 12px 0 0;
  color: #758179;
  font-size: 13px;
}

.mg-board-content {
  min-height: 220px;
  padding: 32px 0;
  color: #34473e;
  font-size: 15px;
  line-height: 1.8;
  overflow-wrap: anywhere;
}

.mg-board-content img {
  max-width: 100%;
  height: auto;
}

.mg-account-social-connect {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.72fr);
  gap: 28px;
  align-items: center;
  margin: 24px 0;
  padding: 24px 26px;
  border: 1px solid #dfe8e3;
  border-radius: 18px;
  background: #fff;
}

.mg-account-social-connect small {
  color: #168552;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.mg-account-social-connect h2 {
  margin: 6px 0 8px;
  color: #173f35;
  font-size: 22px;
}

.mg-account-social-connect p {
  margin: 0;
  color: #687a73;
  font-size: 14px;
  line-height: 1.65;
}

.mg-account-social-connect .mg-social-stack {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
}

@media (max-width: 760px) {
  .mg-account-social-connect {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 22px 18px;
  }

  .mg-account-social-connect .mg-social-stack {
    grid-template-columns: 1fr;
  }
}

.mg-board-content table {
  max-width: 100%;
}

@media (max-width: 720px) {
  .mg-integration-notice {
    padding: 8px 12px;
    font-size: 11px;
  }

  .mg-runtime-actions {
    display: grid;
  }

  .mg-runtime-actions a {
    width: 100%;
  }
}
