/* Contact pages, the login card, and the sign-up card. */
.mpp-contact-wrap {
  width: 100%;
  max-width: 640px;
  margin: 0 auto 24px;
  text-align: left;
}
.mpp-contact-card,
.mpp-contact-success {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(34, 54, 77, 0.12);
  padding: 28px 28px 32px;
}
.mpp-contact-card { border-top: 4px solid #C9452A; }
.mpp-contact-success { border-top: 4px solid #1f8a3b; text-align: center; }
.mpp-contact-card h1 {
  font-size: 30px;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  color: #22364D;
  margin: 0;
  padding: 0;
}
.mpp-contact-rule {
  width: 60px;
  height: 3px;
  background: #C9452A;
  margin: 12px auto 18px;
}
.mpp-contact-card p,
.mpp-contact-success p {
  padding: 0;
  margin: 0 0 16px;
  line-height: 1.5;
  font-size: 16px;
  color: #1d2733;
}
.mpp-contact-lead { text-align: center; }
.mpp-contact-callout {
  background: #FDE5DF;
  border-left: 4px solid #C9452A;
  border-radius: 8px;
  padding: 14px 16px 16px;
  margin: 0 0 18px;
}
.mpp-contact-callout p {
  font-weight: 700;
  margin: 0 0 10px;
}
.mpp-contact-who {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  background: #f3f4f6;
  border-radius: 8px;
  padding: 12px 14px;
  margin: 0 0 16px;
  font-size: 16px;
  color: #1d2733;
}
.mpp-contact-field { margin: 0 0 14px; }
.mpp-contact-field label {
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: #1d2733;
  margin: 0 0 6px;
}
.mpp-contact-field input,
.mpp-contact-field textarea {
  display: block;
  width: 100%;
  box-sizing: border-box;
  font-size: 16px;
  font-family: arial, helvetica, sans-serif;
  color: #1d2733;
  background: #fff;
  border: 1px solid #d0d5db;
  border-radius: 6px;
  padding: 8px 12px;
  height: 44px;
}
.mpp-contact-field textarea {
  height: 160px;
  resize: vertical;
}
.mpp-contact-field input:focus,
.mpp-contact-field textarea:focus {
  outline: none;
  border-color: #C9452A;
}
.mpp-contact-error {
  color: #c0392b;
  font-weight: 700;
  margin: 0 0 12px;
}
.mpp-hp {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.mpp-contact-delayed {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(34, 54, 77, 0.12);
  border-top: 4px solid #C9452A;
  padding: 28px 28px 32px;
  text-align: center;
}
.mpp-contact-delayed h2 {
  color: #22364D;
  font-size: 26px;
  margin: 0 0 10px;
}
.mpp-contact-delayed p {
  font-size: 16px;
  line-height: 1.5;
  color: #1d2733;
  margin: 0 0 16px;
}
.mpp-msg-typed {
  color: #6b7280;
  font-size: 13px;
  font-weight: 400;
}
.mpp-msg-account {
  color: #22364D;
  font-size: 13px;
  font-weight: 700;
}
.mpp-contact-check {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #1f8a3b;
  margin: 4px auto 14px;
  position: relative;
}
.mpp-contact-check:after {
  content: "";
  position: absolute;
  left: 24px;
  top: 14px;
  width: 14px;
  height: 26px;
  border: solid #fff;
  border-width: 0 4px 4px 0;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}
.mpp-contact-success h2 {
  font-size: 26px;
  font-weight: 800;
  color: #1d2733;
  margin: 0 0 8px;
  padding: 0;
}
.mpp-contact-success p { font-size: 17px; }
a.mpp-contact-btn,
input.mpp-contact-btn {
  display: block;
  width: 100%;
  height: 48px;
  line-height: 48px;
  box-sizing: border-box;
  background: #C9452A;
  color: #fff;
  font-weight: 700;
  font-size: 17px;
  font-family: arial, helvetica, sans-serif;
  text-align: center;
  text-decoration: none;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  padding: 0 12px;
}
a.mpp-contact-btn:hover,
input.mpp-contact-btn:hover {
  background: #A9341C;
  color: #fff;
  text-decoration: none;
}
@media (max-width: 599px) {
  .mpp-contact-wrap { max-width: none; }
  .mpp-contact-card,
  .mpp-contact-success,
  .mpp-contact-delayed { padding: 16px; }
  .mpp-contact-who { display: block; }
  .mpp-contact-who span { display: block; }
  .mpp-contact-who span + span { margin-top: 6px; }
  #footer {
    height: auto;
    min-height: 33px;
    line-height: 1.6;
    padding-bottom: 16px;
  }
}

/* Messages list and thread. */
.mpp-msg-wrap {
  width: 100%;
  max-width: 760px;
  margin: 0 auto 24px;
  text-align: left;
}
.mpp-msg-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
}
.mpp-msg-toolbar-left {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
a.mpp-msg-btn,
.mpp-msg-btn {
  display: inline-block;
  box-sizing: border-box;
  height: 40px;
  line-height: 36px;
  padding: 0 14px;
  border: 2px solid #C9452A;
  border-radius: 8px;
  background: #fff;
  color: #C9452A;
  font-family: arial, helvetica, sans-serif;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}
a.mpp-msg-btn:hover,
.mpp-msg-btn:hover {
  background: #C9452A;
  color: #fff;
  text-decoration: none;
}
input.mpp-msg-purge {
  margin-left: auto;
  height: 36px;
  padding: 0 12px;
  border: 1px solid #c5cad3;
  border-radius: 8px;
  background: #fff;
  color: #4b5563;
  font-family: arial, helvetica, sans-serif;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}
input.mpp-msg-purge:hover { background: #f3f4f6; }
.mpp-msg-note { font-weight: 700; margin: 0 0 12px; }
.mpp-msg-empty { font-size: 16px; color: #1d2733; }
.mpp-msg-list { margin: 0; }
.mpp-msg-row {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #f3f4f6;
  border-radius: 8px;
  padding: 10px 12px;
  margin: 0 0 8px;
}
.mpp-msg-unread .mpp-msg-subject-link { font-weight: 800; }
.mpp-msg-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #C9452A;
  flex: 0 0 10px;
}
.mpp-msg-dot-off { background: transparent; }
.mpp-msg-row-main { flex: 1; min-width: 0; }
a.mpp-msg-subject-link {
  color: #22364D;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
}
a.mpp-msg-subject-link:hover { text-decoration: underline; }
.mpp-msg-sender { font-size: 14px; color: #5c6b7a; margin-top: 2px; }
.mpp-msg-row-date { font-size: 13px; color: #5c6b7a; white-space: nowrap; }
.mpp-msg-failed {
  display: inline-block;
  margin-left: 6px;
  background: #c0392b;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  border-radius: 4px;
  padding: 1px 6px;
}
.mpp-msg-item {
  background: #f3f4f6;
  border-radius: 10px;
  padding: 12px;
  margin: 0 0 12px;
}
.mpp-msg-top {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.mpp-msg-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #22364D;
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  line-height: 36px;
  text-align: center;
  flex: 0 0 36px;
}
.mpp-msg-who { flex: 1; min-width: 0; }
.mpp-msg-who b { display: block; font-size: 16px; color: #1d2733; }
.mpp-msg-email { display: block; font-size: 13px; color: #5c6b7a; word-break: break-all; }
.mpp-msg-meta { text-align: right; white-space: nowrap; }
.mpp-msg-tag {
  display: inline-block;
  background: #1f8a3b;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  border-radius: 4px;
  padding: 1px 6px;
  margin-right: 6px;
}
.mpp-msg-when { font-size: 13px; color: #5c6b7a; }
input.mpp-msg-delete {
  background: #fff;
  color: #c0392b;
  border: 1px solid #c0392b;
  border-radius: 6px;
  font-family: arial, helvetica, sans-serif;
  font-size: 13px;
  font-weight: 700;
  padding: 4px 10px;
  cursor: pointer;
}
input.mpp-msg-delete:hover { background: #fde8e6; }
.mpp-msg-bubble {
  background: #fff;
  border-radius: 8px;
  padding: 12px 14px;
  margin-top: 10px;
}
.mpp-msg-subject { font-size: 18px; font-weight: 700; color: #1d2733; margin: 0 0 6px; }
.mpp-msg-body { font-size: 16px; line-height: 1.45; color: #1d2733; }
.mpp-msg-reply { margin-top: 8px; }
.mpp-msg-reply-label {
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: #1d2733;
  margin: 0 0 6px;
}
textarea.mpp-msg-replybox {
  display: block;
  width: 100%;
  box-sizing: border-box;
  height: 140px;
  font-size: 16px;
  font-family: arial, helvetica, sans-serif;
  color: #1d2733;
  background: #fff;
  border: 1px solid #d0d5db;
  border-radius: 6px;
  padding: 8px 12px;
  resize: vertical;
}
textarea.mpp-msg-replybox:focus { outline: none; border-color: #C9452A; }
.mpp-msg-reply-actions { text-align: right; margin-top: 10px; }
input.mpp-msg-send {
  height: 44px;
  padding: 0 22px;
  border: 0;
  border-radius: 8px;
  background: #C9452A;
  color: #fff;
  font-family: arial, helvetica, sans-serif;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}
input.mpp-msg-send:hover { background: #A9341C; }
input.mpp-msg-resend {
  margin-top: 8px;
  height: 32px;
  padding: 0 10px;
  border: 1px solid #c5cad3;
  border-radius: 6px;
  background: #fff;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}
@media (max-width: 599px) {
  .mpp-msg-wrap { max-width: none; }
  .mpp-msg-toolbar { flex-wrap: wrap; }
  .mpp-msg-row { flex-wrap: wrap; }
  .mpp-msg-row-date { width: 100%; }
  .mpp-msg-top { flex-wrap: wrap; }
  input.mpp-msg-delete { flex: 1 0 100%; margin: 8px 0 0; }
  .mpp-msg-reply-actions { text-align: stretch; }
  input.mpp-msg-send { width: 100%; }
}

.mpp-contact-wrap.mpp-login-wrap { max-width: 440px; }
.mpp-login-card .mpp-contact-field input {
  width: 100%;
  height: 44px;
  box-sizing: border-box;
}
.mpp-login-labelrow {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin: 0 0 6px;
}
.mpp-login-labelrow label {
  display: inline;
  margin: 0;
  font-size: 16px;
  font-weight: 700;
}
a.mpp-login-forgot {
  font-size: 14px;
  font-weight: 700;
  color: #C9452A;
  text-decoration: none;
  white-space: nowrap;
}
a.mpp-login-forgot:hover { color: #A9341C; text-decoration: underline; }
.mpp-login-pass { position: relative; }
.mpp-login-pass input { position: relative; z-index: 1; padding-right: 48px; }
.mpp-login-eye {
  position: absolute;
  z-index: 2;
  right: 6px;
  top: 6px;
  width: 32px;
  height: 32px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #6b7280;
  cursor: pointer;
  line-height: 32px;
}
.mpp-login-eye:hover,
.mpp-login-eye.is-on { color: #C9452A; }
.mpp-login-eye .mpp-eye-slash { display: none; }
.mpp-login-eye.is-on .mpp-eye-slash { display: inline; }
.mpp-login-hint {
  font-size: 13px;
  color: #6b7280;
  margin: 6px 0 0;
}
.mpp-login-note {
  display: block;
  margin: 0 0 14px;
  padding: 10px 12px;
  border-radius: 8px;
  background: #fdecea;
  color: #C9452A;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
}
.mpp-login-note:empty { display: none; }
.mpp-login-card input.mpp-contact-btn {
  width: 100%;
  height: 48px;
  min-height: 48px;
  margin: 0;
  padding: 0 12px;
}
.mpp-login-divider {
  height: 1px;
  background: #e5e7eb;
  margin: 18px 0 14px;
}
.mpp-login-extra { text-align: center; margin: 0 0 8px; }
.mpp-login-extra a {
  color: #C9452A;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
}
.mpp-login-extra a:hover { color: #A9341C; text-decoration: underline; }
@media (max-width: 599px) {
  .mpp-contact-wrap.mpp-login-wrap { max-width: none; }
}
.mpp-signup-count {
  font-size: 14px;
  font-weight: 700;
  color: #6b7280;
}
.mpp-signup-terms {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 4px 0 16px;
  font-size: 16px;
  font-weight: 700;
  color: #1d2733;
}
.mpp-signup-terms input {
  width: 24px;
  height: 24px;
  margin: 0;
  flex: 0 0 24px;
  accent-color: #C9452A;
}
.mpp-signup-terms label {
  display: inline;
  margin: 0;
  font-size: 16px;
  font-weight: 700;
}
.mpp-signup-terms a { color: #C9452A; font-weight: 700; text-decoration: none; }
.mpp-signup-terms a:hover { color: #A9341C; text-decoration: underline; }
a.mpp-signup-cancel {
  display: block;
  text-align: center;
  margin: 12px 0 0;
  color: #6b7280;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}
a.mpp-signup-cancel:hover { color: #6b7280; text-decoration: underline; }

/* Member messages */
.mpp-msg-wrap { max-width: 720px; }
.mpp-tabs {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 8px;
}
.mpp-tab-row { display: flex; gap: 8px; align-items: center; }
.mpp-tab {
  display: inline-block;
  min-height: 44px;
  line-height: 44px;
  padding: 0 14px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 700;
  color: #22364D;
  text-decoration: none;
}
.mpp-tab.on { background: #FDE5DF; color: #C9452A; }
.mpp-tab:hover { color: #A9341C; }
.mpp-new { position: relative; }
.mpp-new-btn {
  display: inline-block;
  height: 48px;
  line-height: 48px;
  padding: 0 16px;
  background: #C9452A;
  color: #ffffff !important;
  font-size: 16px;
  font-weight: 700;
  border-radius: 8px;
  text-decoration: none !important;
}
.mpp-new-btn:hover { background: #A9341C; color: #ffffff !important; }
.mpp-new-menu {
  display: none;
  position: absolute;
  right: 0;
  top: 52px;
  min-width: 240px;
  background: #fff;
  border: 1px solid #d0d5db;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(34, 54, 77, 0.12);
  z-index: 20;
}
.mpp-new-menu.open { display: block; }
.mpp-new-menu a {
  display: block;
  padding: 12px 14px;
  color: #1d2733;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
}
.mpp-new-menu a:hover { background: #FDE5DF; color: #A9341C; }
a.mpp-thread {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 12px 2px;
  border-bottom: 1px solid #e5e7eb;
  text-decoration: none;
  color: #1d2733;
}
a.mpp-thread:hover { background: #fff7f5; }
.mpp-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #22364D;
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 40px;
}
.mpp-thread-main { flex: 1; min-width: 0; }
.mpp-thread-top { display: flex; justify-content: space-between; gap: 8px; }
.mpp-thread-who { font-weight: 700; font-size: 16px; }
.mpp-thread-date { color: #6b7280; font-size: 14px; white-space: nowrap; }
.mpp-thread-subject { display: block; font-size: 16px; font-weight: 400; color: #1d2733; }
.mpp-thread-subject.unread { font-weight: 700; }
.mpp-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #C9452A;
  vertical-align: middle;
}
.mpp-thread-preview {
  display: block;
  color: #6b7280;
  font-size: 16px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mpp-thread-count { flex: 0 0 32px; text-align: right; color: #6b7280; font-weight: 700; font-size: 16px; }
.mpp-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 2px 6px;
  border-radius: 4px;
  vertical-align: middle;
}
.mpp-tag-site { background: #22364D; color: #fff; }
.mpp-tag-pool { background: #C9452A; color: #fff; }
.mpp-tag-member { background: #e5e7eb; color: #374151; }
.mpp-empty { font-size: 16px; color: #6b7280; margin: 12px 0; }
.mpp-back {
  display: inline-block;
  margin: 0 0 8px;
  color: #C9452A;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
}
.mpp-back:hover { color: #A9341C; }
.mpp-people { font-size: 16px; color: #1d2733; margin: 0 0 16px; }
.mpp-bubble {
  max-width: 75%;
  margin: 0 0 12px;
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 16px;
  line-height: 1.45;
  box-sizing: border-box;
}
.mpp-bubble.mine { margin-left: auto; margin-right: 0; background: #FDE5DF; }
.mpp-bubble.theirs { margin-right: auto; margin-left: 0; background: #f3f4f6; }
.mpp-bubble-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin: 0 0 6px;
  color: #22364D;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
}
.mpp-bubble-name { color: #22364D; font-size: 13px; font-weight: 700; }
.mpp-bubble .mpp-tag { flex: 0 0 auto; }
.mpp-time { flex: 0 0 auto; font-weight: 400; color: #6b7280; font-size: 13px; white-space: nowrap; }
.mpp-bubble-body { font-size: 16px; line-height: 1.45; color: #1d2733; overflow-wrap: anywhere; word-wrap: break-word; }
.mpp-actions { display: flex; gap: 10px; flex-wrap: wrap; margin: 8px 0 6px; }
.mpp-btn-ghost, .mpp-btn-danger {
  background: #fff;
  font-size: 16px;
  font-weight: 700;
  min-height: 44px;
  padding: 8px 14px;
  border-radius: 8px;
  cursor: pointer;
}
.mpp-btn-ghost { border: 2px solid #9ca3af; color: #374151; }
.mpp-btn-danger { border: 2px solid #C9452A; color: #C9452A; }
.mpp-btn-ghost:hover { border-color: #6b7280; }
.mpp-btn-danger:hover { background: #FDE5DF; }
.mpp-hint { font-size: 14px; color: #6b7280; margin: 0 0 16px; }
@media (max-width: 599px) {
  .mpp-msg-wrap { max-width: none; }
  .mpp-msg-wrap .mpp-contact-card { padding: 18px 14px 22px; }
  .mpp-tabs { flex-wrap: wrap; }
  .mpp-new-menu { left: 0; right: auto; }
  .mpp-thread-who { font-size: 16px; }
}
