.msm-home {
  color: #24272b;
  display: grid;
  gap: 22px;
  margin: 0 auto;
  max-width: 1180px;
}

/* Public introduction page */
.msm-public-home-page {
  background: #fff;
  color: #172d3d;
  overflow-x: hidden;
}

.msm-public-home-page .content,
.msm-public-home-page .content-in,
.msm-public-home-page .main,
.msm-public-home-page .article,
.msm-public-home-page .entry-content {
  background: #fff;
  margin: 0;
  max-width: none;
  width: 100%;
}

.msm-public-home-page .main,
.msm-public-home-page.msm-member-page .main {
  padding: 0;
}

.msm-public-home-page .article,
.msm-public-home-page .entry-content {
  border: 0;
  box-shadow: none;
  padding: 0;
}

.msm-public-home,
.msm-public-home *,
.msm-public-home *::before,
.msm-public-home *::after,
.msm-public-site-footer,
.msm-public-site-footer * {
  box-sizing: border-box;
}

.msm-public-home {
  color: #172d3d;
  font-family: "Noto Sans JP", "Yu Gothic", "Hiragino Kaku Gothic ProN", sans-serif;
  font-size: 16px;
  line-height: 1.8;
  margin: 0;
  width: 100%;
}

.msm-public-home h1,
.msm-public-home h2,
.msm-public-home h3,
.msm-public-home p {
  letter-spacing: 0;
}

.msm-public-site-header {
  position: relative;
}

.admin-bar .msm-public-site-header {
  top: auto;
}

.msm-public-site-header .msm-site-header__inner {
  height: 72px;
  max-width: 1180px;
  padding: 0 20px;
}

.msm-public-site-header .msm-site-brand {
  gap: 12px;
}

.msm-public-site-header .msm-site-brand__mark {
  border-radius: 2px;
  flex-basis: 40px;
  height: 40px;
  padding: 0 5px;
}

.msm-public-site-header .msm-site-brand__s {
  font-size: 18px;
}

.msm-public-site-header .msm-site-brand__t {
  font-size: 13px;
}

.msm-public-site-header .msm-site-brand__divider {
  height: 24px;
  width: 2px;
}

.msm-public-site-header .msm-site-brand__copy strong {
  font-size: 13px;
}

.msm-public-site-header .msm-site-brand__copy small {
  font-size: 10px;
  font-weight: 500;
}

.msm-public-site-nav {
  align-items: center;
  gap: 24px;
  justify-content: flex-end;
}

.msm-public-site-nav a {
  align-self: center;
  border: 0;
  color: #334d5e;
  font-size: 13px;
  min-height: 44px;
  padding: 9px 0;
}

.msm-public-site-nav a:hover,
.msm-public-site-nav a:focus {
  border: 0;
  color: #0c8588;
}

.msm-public-site-nav .msm-public-site-nav__cta {
  border: 1px solid #0c8588;
  border-radius: 4px;
  color: #0c8588;
  justify-content: center;
  min-width: 104px;
  padding: 9px 18px;
}

.msm-public-site-nav .msm-public-site-nav__cta:hover,
.msm-public-site-nav .msm-public-site-nav__cta:focus {
  background: #eaf6f5;
  border: 1px solid #0c8588;
  color: #0c8588;
}

.msm-public-hero {
  background: #e6eef2;
  border-bottom: 4px solid #c7a23a;
  margin-left: calc(50% - 50vw);
  overflow: hidden;
  width: 100vw;
}

.msm-public-hero picture,
.msm-public-hero img {
  display: block;
  width: 100%;
}

.msm-public-hero img {
  height: clamp(250px, 24vw, 450px);
  object-fit: cover;
  object-position: center;
}

@media (min-width: 761px) {
  .msm-public-hero picture {
    max-width: none;
    width: calc(100% + 64px);
  }

  .msm-public-hero img {
    max-width: none;
    width: 100%;
  }
}

.msm-public-intro {
  padding: 58px 20px 62px;
  text-align: center;
}

.msm-public-intro__inner {
  margin: 0 auto;
  max-width: 880px;
}

.msm-public-eyebrow {
  color: #0c8588;
  font-size: 12px;
  font-weight: 800;
  margin: 0 0 9px;
}

.msm-public-intro h1 {
  background: none;
  border: 0;
  color: #0e2d49;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 34px;
  font-weight: 600;
  line-height: 1.45;
  margin: 0;
  padding: 0;
}

.msm-public-intro__title-line {
  display: inline;
}

.msm-public-intro__lead {
  color: #3d5565;
  font-size: 16px;
  margin: 22px auto 0;
  max-width: 760px;
}

.msm-public-intro__actions,
.msm-public-flow__actions {
  display: flex;
  gap: 12px;
  justify-content: center;
}

.msm-public-intro__actions {
  margin-top: 30px;
}

.msm-public-button {
  align-items: center;
  background: #0c8588;
  border: 1px solid #0c8588;
  border-radius: 4px;
  color: #fff;
  display: inline-flex;
  font-size: 14px;
  font-weight: 700;
  justify-content: center;
  min-height: 44px;
  padding: 9px 18px;
  text-decoration: none;
}

.msm-public-button:hover,
.msm-public-button:focus {
  background: #096f72;
  border-color: #096f72;
  color: #fff;
  text-decoration: none;
}

.msm-public-button--outline {
  background: #fff;
  color: #0c8588;
}

.msm-public-button--outline:hover,
.msm-public-button--outline:focus {
  background: #eaf6f5;
  border-color: #0c8588;
  color: #0c8588;
}

.msm-public-intro__note {
  color: #5b6e7b;
  font-size: 12px;
  margin: 14px 0 0;
}

.msm-public-features {
  background: #f4f7f8;
  padding: 54px 20px;
}

.msm-public-section-inner {
  margin: 0 auto;
  max-width: 1080px;
}

.msm-public-section-heading {
  align-items: center;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  display: flex !important;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 28px;
  min-height: 0 !important;
  padding: 0 !important;
  text-align: center;
}

.msm-public-section-heading h2 {
  background: transparent !important;
  border: 0 !important;
  border-bottom: 2px solid #c7a23a !important;
  box-shadow: none !important;
  color: #0e2d49;
  font-size: 26px;
  line-height: 1.5;
  margin: 0 !important;
  min-height: 0 !important;
  padding: 0 0 8px !important;
}

.msm-public-section-heading h2::before,
.msm-public-section-heading h2::after {
  content: none !important;
  display: none !important;
}

.msm-public-section-heading::after {
  content: none;
  display: none;
}

.msm-public-feature-grid {
  background: #fff;
  border-bottom: 1px solid #d4dfe5;
  border-top: 1px solid #d4dfe5;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.msm-public-feature {
  border-right: 1px solid #d4dfe5;
  display: grid;
  grid-template-rows: auto 68px 1fr;
  min-height: 210px;
  padding: 28px 30px;
}

.msm-public-feature:last-child {
  border-right: 0;
}

.msm-public-feature__index {
  align-items: center;
  color: #355162;
  display: flex;
  font-size: 13px;
  font-weight: 700;
  gap: 10px;
  margin-bottom: 22px;
}

.msm-public-feature__index strong {
  align-items: center;
  background: #0e2d49;
  border-radius: 2px;
  color: #fff;
  display: inline-flex;
  font-size: 12px;
  height: 34px;
  justify-content: center;
  width: 34px;
}

.msm-public-feature__index span {
  border-bottom: 2px solid #c7a23a;
  padding: 4px 0 3px;
}

.msm-public-feature h3,
.msm-public-flow-step h3 {
  background: none;
  border: 0;
  color: #0e2d49;
  font-size: 18px;
  line-height: 1.5;
  margin: 0 0 10px;
  padding: 0;
}

.msm-public-feature h3 {
  align-self: start;
  min-height: 0;
}

.msm-public-feature p {
  color: #5b6e7b;
  font-size: 14px;
  line-height: 1.75;
  margin: 0;
}

.msm-public-supervisor {
  background: #fff;
  padding: 58px 20px;
}

.msm-public-supervisor__inner {
  align-items: center;
  display: grid;
  gap: 48px;
  grid-template-columns: .95fr 1.45fr;
  margin: 0 auto;
  max-width: 1020px;
}

.msm-public-supervisor__visual {
  aspect-ratio: 4 / 3;
  background: #e4ecef;
  border-radius: 4px;
  overflow: hidden;
}

.msm-public-supervisor__visual img {
  display: block;
  height: 100%;
  object-fit: cover;
  object-position: center;
  width: 100%;
}

.msm-public-supervisor__copy {
  align-items: flex-start;
  display: flex;
  flex-direction: column;
}

.msm-public-supervisor__copy .msm-public-eyebrow {
  color: #0c8588;
  margin: 0 0 9px !important;
}

@media (min-width: 761px) {
  .msm-public-supervisor__copy {
    padding-top: 26px;
    position: relative;
  }

  .msm-public-supervisor__copy .msm-public-eyebrow {
    left: 0;
    margin: 0 !important;
    position: absolute;
    top: -24px;
  }
}

.msm-public-supervisor__identity {
  display: grid;
  gap: 2px;
  margin: 0 0 14px;
}

.msm-public-supervisor__identity > * {
  margin: 0 !important;
  padding: 0 !important;
}

.msm-public-supervisor__copy h2,
.msm-public-supervisor__identity h2 {
  background: none;
  border: 0;
  color: #355162 !important;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 30px;
  font-weight: 600;
  line-height: 1.35;
  margin: 0 !important;
  padding: 0;
}

.msm-public-supervisor__role {
  color: #355162 !important;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
  margin: 0 !important;
}

.msm-public-supervisor__profile {
  display: grid;
  gap: 6px;
  margin: 0 !important;
  width: 100%;
}

.msm-public-supervisor__profile p {
  color: #465e6c;
  font-size: 14px;
  line-height: 1.7;
  margin: 0 !important;
}

.msm-public-flow {
  background: #0e2d49;
  padding: 54px 20px 60px;
}

.msm-public-flow .msm-public-section-heading h2,
.msm-public-flow .msm-public-eyebrow {
  color: #fff;
}

.msm-public-flow .msm-public-section-heading {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  min-height: 0 !important;
  padding: 0 !important;
}

.msm-public-flow .msm-public-section-heading h2 {
  background: transparent !important;
  border: 0 !important;
  border-bottom: 2px solid #c7a23a !important;
  box-shadow: none !important;
  color: #fff !important;
  min-height: 0 !important;
  padding: 0 0 8px !important;
}

.msm-public-flow .msm-public-section-heading h2::before,
.msm-public-flow .msm-public-section-heading h2::after {
  content: none !important;
  display: none !important;
}

.msm-public-flow .msm-public-eyebrow {
  opacity: .72;
}

.msm-public-flow-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.msm-public-flow-step {
  background: rgb(255 255 255 / 4%);
  border: 1px solid rgb(255 255 255 / 20%);
  border-radius: 4px;
  min-height: 180px;
  padding: 24px;
}

.msm-public-flow-step > span {
  align-items: center;
  background: #d5b759;
  border-radius: 2px;
  color: #0e2d49;
  display: inline-flex;
  font-size: 12px;
  font-weight: 800;
  min-height: 30px;
  padding: 5px 10px;
}

.msm-public-flow-step h3 {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  color: #fff !important;
  margin: 16px 0 12px !important;
  padding: 0 !important;
}

.msm-public-flow-step h3::before,
.msm-public-flow-step h3::after {
  content: none !important;
  display: none !important;
}

.msm-public-flow-step p {
  color: #c8d6de;
  font-size: 13px;
  line-height: 1.75;
  margin: 0;
}

.msm-public-flow__actions {
  margin-top: 30px;
}

.msm-public-button--dark-outline {
  background: transparent;
  border-color: #b9ccd6;
  color: #fff;
}

.msm-public-button--dark-outline:hover,
.msm-public-button--dark-outline:focus {
  background: rgb(255 255 255 / 10%);
  border-color: #fff;
  color: #fff;
}

.msm-public-site-footer {
  align-items: center;
  background: #fff;
  color: #6c7d87;
  display: flex;
  flex-direction: column;
  font-size: 11px;
  gap: 10px;
  justify-content: center;
  padding: 24px 20px;
  text-align: center;
}

.msm-public-site-footer__brand,
.msm-public-site-footer__legal {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  justify-content: center;
}

.msm-public-site-footer__legal a {
  color: #365666;
  text-decoration: none;
}

.msm-public-site-footer__legal a:hover,
.msm-public-site-footer__legal a:focus {
  color: #0f7f84;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 760px) {
  .msm-public-site-header .msm-site-header__inner {
    height: 62px;
    padding: 0 14px;
  }

  .msm-public-site-header .msm-site-brand__mark {
    flex-basis: 34px;
    height: 34px;
  }

  .msm-public-site-header .msm-site-brand__s {
    font-size: 16px;
  }

  .msm-public-site-header .msm-site-brand__t {
    font-size: 12px;
  }

  .msm-public-site-header .msm-site-brand__divider {
    height: 21px;
  }

  .msm-public-site-header .msm-site-brand__copy strong {
    font-size: 11px;
  }

  .msm-public-site-header .msm-site-brand__copy small {
    font-size: 8px;
  }

  .msm-public-site-header .msm-site-nav {
    top: 62px;
  }

  .msm-public-site-nav {
    gap: 0;
  }

  .msm-public-site-nav a {
    align-self: stretch;
    min-height: 46px;
    padding: 0 8px;
  }

  .msm-public-site-nav .msm-public-site-nav__cta {
    margin-top: 10px;
    min-height: 44px;
    width: 100%;
  }

  .msm-public-home {
    margin: 0;
  }

  .msm-public-hero img {
    height: auto;
    object-fit: contain;
  }

  .msm-public-intro {
    padding: 38px 20px 42px;
    text-align: left;
  }

  .msm-public-intro h1 {
    font-size: 26px;
  }

  .msm-public-intro__title-line {
    display: block;
  }

  .msm-public-desktop-break {
    display: none;
  }

  .msm-public-intro__lead {
    font-size: 15px;
    margin-top: 17px;
  }

  .msm-public-intro__actions {
    display: grid;
    margin-top: 24px;
  }

  .msm-public-intro__note {
    line-height: 1.65;
  }

  .msm-public-features,
  .msm-public-supervisor,
  .msm-public-flow {
    padding: 42px 20px;
  }

  .msm-public-section-heading {
    align-items: flex-start;
    margin-bottom: 22px;
    text-align: left;
  }

  .msm-public-section-heading h2 {
    font-size: 23px;
  }

  .msm-public-feature-grid,
  .msm-public-flow-grid {
    grid-template-columns: 1fr;
  }

  .msm-public-feature {
    border-bottom: 1px solid #d4dfe5;
    border-right: 0;
    grid-template-rows: auto auto auto;
    min-height: 0;
    padding: 24px 20px;
  }

  .msm-public-feature h3 {
    min-height: 0;
  }

  .msm-public-feature:last-child {
    border-bottom: 0;
  }

  .msm-public-supervisor__inner {
    gap: 26px;
    grid-template-columns: 1fr;
  }

  .msm-public-supervisor__copy h2 {
    font-size: 27px;
  }

  .msm-public-flow-step {
    border: 1px solid rgb(255 255 255 / 20%);
    min-height: 0;
    padding: 20px;
  }

  .msm-public-flow__actions {
    display: grid;
  }

  .msm-public-site-footer {
    line-height: 1.7;
  }

  .msm-public-site-footer__brand {
    flex-direction: column;
    gap: 2px;
  }
}

.msm-site-header__help {
  align-items: center;
  border: 1px solid #c6d4da;
  border-radius: 50%;
  color: #0b2c49;
  display: inline-flex;
  font-size: 14px;
  font-weight: 700;
  height: 34px;
  justify-content: center;
  line-height: 1;
  text-decoration: none;
  width: 34px;
}

.msm-site-header__help:hover,
.msm-site-header__help:focus-visible {
  background: #eef7f7;
  border-color: #13898f;
  color: #087d82;
}

.msm-site-help {
  position: relative;
}

.msm-site-help > summary {
  cursor: pointer;
  list-style: none;
}

.msm-site-help > summary::-webkit-details-marker {
  display: none;
}

.msm-site-help__menu {
  background: #fff;
  border: 1px solid #cbd9df;
  border-top: 3px solid #13898f;
  box-shadow: 0 12px 30px rgba(8, 43, 73, 0.16);
  box-sizing: border-box;
  display: grid;
  gap: 4px;
  padding: 12px;
  position: absolute;
  right: 0;
  top: calc(100% + 9px);
  width: 242px;
  z-index: 1000;
}

.msm-site-help__menu strong {
  border-bottom: 1px solid #d8e2e7;
  color: #082b49;
  display: block;
  font-size: 15px;
  line-height: 1.4;
  margin: 0 4px 4px;
  padding: 2px 4px 10px;
}

.msm-site-help__menu a {
  color: #17324a;
  display: block;
  font-size: 13px;
  font-weight: 700;
  padding: 10px 8px;
  text-decoration: none;
}

.msm-site-help__menu a:hover,
.msm-site-help__menu a:focus-visible {
  background: #eef7f7;
  color: #087d82;
}

.msm-guide {
  box-sizing: border-box;
  color: #17324a;
  margin: 0 auto;
  max-width: 1160px;
  padding: 34px 24px 70px;
  width: 100%;
}

.msm-guide__header {
  border-bottom: 1px solid #d6e1e5;
  border-left: 4px solid #13898f;
  padding: 8px 0 24px 24px;
}

.msm-guide__header h1 {
  color: #082b49;
  font-size: 32px;
  line-height: 1.35;
  margin: 8px 0 10px;
}

.msm-guide__header > p:last-child {
  color: #52687a;
  line-height: 1.8;
  margin: 0;
}

.msm-guide__quick-actions {
  align-items: center;
  background: #f1f6f7;
  border-bottom: 1px solid #d5e0e4;
  border-top: 1px solid #d5e0e4;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0;
  padding: 18px 20px;
}

.msm-guide__quick-actions > div {
  display: grid;
  gap: 2px;
  margin-right: auto;
}

.msm-guide__quick-actions > div strong {
  color: #082b49;
  font-size: 15px;
}

.msm-guide__quick-actions > div span {
  color: #52687a;
  font-size: 12px;
}

.msm-guide__sections {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.msm-guide__sections > section {
  align-items: start;
  background: #fff;
  border: 1px solid #d5e0e4;
  border-top: 3px solid #13898f;
  display: grid;
  gap: 16px;
  grid-template-columns: 46px minmax(0, 1fr);
  min-height: 190px;
  padding: 22px;
}

.msm-guide__number {
  align-items: center;
  background: #0b2c49;
  border-radius: 4px;
  color: #fff;
  display: inline-flex;
  font-size: 13px;
  font-weight: 700;
  height: 40px;
  justify-content: center;
  width: 46px;
}

.msm-guide__sections h2,
.msm-guide__support h2 {
  color: #082b49;
  font-size: 20px;
  line-height: 1.5;
  margin: 3px 0 8px;
}

.msm-guide__sections p,
.msm-guide__support p {
  color: #4f6577;
  line-height: 1.85;
  margin: 0 0 8px;
}

.msm-guide__sections a:not(.msm-button) {
  color: #087d82;
  font-weight: 700;
}

.msm-guide__note {
  background: #f1f7f7;
  border-left: 3px solid #13898f;
  margin-top: 14px !important;
  padding: 12px 14px;
}

.msm-guide__support {
  background: #f2f6f7;
  border-left: 4px solid #c9a438;
  margin-top: 32px;
  padding: 24px 26px;
}

.msm-guide__support .msm-button {
  margin-top: 8px;
}

.msm-tour-overlay {
  cursor: default;
  inset: 0;
  position: fixed;
  z-index: 100000;
}

.msm-tour-spotlight {
  border: 3px solid #fff;
  border-radius: 6px;
  box-shadow: 0 0 0 9999px rgba(4, 21, 35, 0.76), 0 8px 30px rgba(4, 21, 35, 0.2);
  box-sizing: border-box;
  pointer-events: none;
  position: fixed;
  transition: left 180ms ease, top 180ms ease, width 180ms ease, height 180ms ease;
  z-index: 100001;
}

.msm-tour-dialog {
  background: #fff;
  border-top: 4px solid #13898f;
  border-radius: 6px;
  box-shadow: 0 18px 50px rgba(3, 20, 33, 0.28);
  box-sizing: border-box;
  color: #17324a;
  max-width: calc(100vw - 40px);
  padding: 22px 24px 20px;
  position: fixed;
  width: 390px;
  z-index: 100002;
}

.msm-tour-dialog__progress {
  color: #6a7b88;
  font-size: 12px;
  font-weight: 700;
  margin: 0 0 8px;
}

.msm-tour-dialog h2 {
  color: #082b49;
  font-size: 20px;
  line-height: 1.5;
  margin: 0 0 8px;
}

.msm-tour-dialog__body {
  color: #4e6475;
  font-size: 14px;
  line-height: 1.75;
  margin: 0;
  white-space: pre-line;
}

.msm-tour-dialog__actions {
  align-items: center;
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  margin-top: 20px;
}

.msm-tour-dialog__skip {
  background: transparent;
  border: 0;
  color: #607585;
  cursor: pointer;
  margin-right: auto;
  padding: 8px 0;
  text-decoration: underline;
}

.msm-tour-is-open .msm-site-header {
  z-index: 99999;
}

@media (max-width: 760px) {
  .msm-site-header__help {
    height: 32px;
    width: 32px;
  }

  .msm-guide {
    padding: 24px 16px 50px;
  }

  .msm-guide__header h1 {
    font-size: 25px;
  }

  .msm-guide__quick-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .msm-guide__quick-actions > div {
    margin: 0 0 6px;
  }

  .msm-guide__quick-actions .msm-button {
    box-sizing: border-box;
    width: 100%;
  }

  .msm-guide__sections {
    grid-template-columns: 1fr;
  }

  .msm-guide__sections > section {
    gap: 14px;
    grid-template-columns: 42px minmax(0, 1fr);
    min-height: 0;
    padding: 18px;
  }

  .msm-guide__number {
    height: 36px;
    width: 38px;
  }

  .msm-guide__sections h2,
  .msm-guide__support h2 {
    font-size: 18px;
  }

  .msm-guide__sections p,
  .msm-guide__support p {
    font-size: 13px;
  }

  .msm-guide__support {
    padding: 20px 18px;
  }

  .msm-tour-dialog {
    border-radius: 6px 6px 0 0;
    bottom: 0;
    left: 0;
    max-width: none;
    padding: 20px 18px calc(18px + env(safe-area-inset-bottom));
    top: auto !important;
    width: 100%;
  }

  .msm-tour-dialog h2 {
    font-size: 18px;
  }

  .msm-tour-dialog__actions .msm-button {
    min-width: 74px;
  }
}

/* Member news */
.msm-news {
  box-sizing: border-box;
  color: #1d2b38;
  margin: 0 auto;
  max-width: 860px;
}

.msm-news *,
.msm-site-footer * {
  box-sizing: border-box;
}

.msm-news__header {
  border-bottom: 3px solid #0f7f84;
  margin-bottom: 18px;
  padding: 2px 0 17px;
}

.msm-news__header p {
  color: #0f7f84;
  font-size: 11px;
  font-weight: 700;
  margin: 0 0 8px;
}

.msm-news__header h1,
.msm-news-detail__header h1 {
  background: none !important;
  border: 0 !important;
  color: #102a43;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 27px;
  font-weight: 600;
  line-height: 1.45;
  margin: 0;
  padding: 0 !important;
}

.msm-news__header span {
  color: #657481;
  display: block;
  font-size: 13px;
  margin-top: 8px;
}

.msm-news-list {
  background: #fff;
  border: 1px solid #d6e0e5;
  border-radius: 6px;
}

.msm-news-card + .msm-news-card {
  border-top: 1px solid #e2eaed;
}

.msm-news-card {
  box-sizing: border-box;
  color: inherit;
  min-width: 0;
  padding: 14px 18px;
  width: 100%;
}

.msm-news-card:hover,
.msm-news-card:focus-within {
  background: #f6fafb;
}

.msm-news-card .msm-news-card__meta {
  align-items: center;
  color: #657481;
  display: flex;
  font-size: 11px;
  gap: 12px;
  margin: 0 0 7px !important;
  padding: 0 !important;
}

.msm-news-card__meta > span {
  background: #e8f4f3;
  border-radius: 3px;
  color: #0f7f84;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 8px;
}

.msm-news-card__title-link {
  color: inherit !important;
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  text-decoration: none !important;
  width: 100% !important;
}

.msm-news-card__title {
  color: #102a43;
  display: block;
  font-size: 16px !important;
  font-weight: 700;
  line-height: 1.55;
  margin: 0 !important;
  min-width: 0;
  padding: 0 !important;
  overflow-wrap: anywhere;
  width: 100% !important;
}

.msm-news-card__excerpt {
  color: #526675;
  display: -webkit-box;
  font-size: 12px;
  line-height: 1.7;
  margin: 3px 0 0 !important;
  min-width: 0;
  padding: 0 !important;
  overflow: hidden;
  overflow-wrap: anywhere;
  text-overflow: ellipsis;
  width: 100% !important;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
}

.msm-news-card__more {
  color: #0f7f84;
  display: block !important;
  float: none !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  grid-column: 1 / -1 !important;
  justify-self: stretch !important;
  margin: 4px 0 0 !important;
  position: static !important;
  text-align: right !important;
  transform: none !important;
  width: 100% !important;
  white-space: nowrap;
}

.msm-news__empty {
  background: #fff;
  border: 1px solid #d6e0e5;
  color: #657481;
  padding: 28px;
}

.msm-news-pagination {
  align-items: center;
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 24px;
}

.msm-news-pagination a {
  border: 1px solid #b9cbd2;
  border-radius: 4px;
  color: #0f7f84;
  font-size: 12px;
  font-weight: 700;
  padding: 9px 14px;
  text-decoration: none;
}

.msm-news-pagination span {
  color: #657481;
  font-size: 12px;
}

.msm-news-detail {
  background: #fff;
  border: 1px solid #d6e0e5;
  border-radius: 6px;
  padding: 25px 30px 36px;
}

.msm-news-detail__back {
  color: #0f7f84;
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 24px;
}

.msm-news-detail__header {
  border-bottom: 1px solid #d6e0e5;
  padding-bottom: 22px;
}

.msm-news-detail__header h1 {
  margin-top: 12px;
}

.msm-news-detail__content {
  color: #334e5e;
  font-size: 15px;
  line-height: 1.9;
  overflow-wrap: anywhere;
  padding-top: 25px;
}

.msm-news-detail__content > :first-child {
  margin-top: 0;
}

.msm-news-detail__content a:not(.wp-element-button):not(.wp-block-button__link),
.msm-news-detail__content a:not(.wp-element-button):not(.wp-block-button__link):visited {
  color: #0f7f84 !important;
  font-weight: 700;
  text-decoration: underline !important;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.msm-news-detail__content a:not(.wp-element-button):not(.wp-block-button__link):hover,
.msm-news-detail__content a:not(.wp-element-button):not(.wp-block-button__link):focus-visible {
  color: #095f63 !important;
}

.msm-news-detail__content img {
  height: auto;
  max-width: 100%;
}

.msm-news-detail__content .wp-block-embed,
.msm-news-detail__content .wp-embedded-content {
  display: none !important;
}

.msm-news-detail__action {
  display: inline-flex;
  margin-top: 22px;
  min-width: 150px;
  text-align: center;
}

.msm-member-page .toc {
  display: none !important;
}

/* Shared member footer */
.msm-site-footer {
  background: #102a43;
  color: #dce8ee;
  margin-top: 0;
  width: 100%;
}

.msm-site-footer__inner {
  display: grid;
  gap: 44px;
  grid-template-columns: minmax(260px, 1.5fr) minmax(150px, .7fr) minmax(190px, .8fr);
  margin: 0 auto;
  max-width: 1180px;
  padding: 38px 30px 32px;
}

.msm-site-footer__brand {
  align-items: center;
  display: flex;
  gap: 15px;
}

.msm-site-footer__brand .msm-site-brand__mark {
  flex: 0 0 auto;
}

.msm-site-footer__brand strong,
.msm-site-footer__brand small {
  display: block;
}

.msm-site-footer__brand strong {
  color: #fff;
  font-size: 14px;
  line-height: 1.6;
}

.msm-site-footer__brand small {
  color: #9eb2be;
  font-size: 11px;
  margin-top: 4px;
}

.msm-site-footer__nav {
  align-content: start;
  display: grid;
  gap: 8px;
}

.msm-site-footer__nav strong {
  color: #fff;
  font-size: 12px;
  margin-bottom: 4px;
}

.msm-site-footer__nav a {
  color: #c7d6de;
  font-size: 12px;
  line-height: 1.5;
  text-decoration: none;
}

.msm-site-footer__nav a:hover,
.msm-site-footer__nav a:focus {
  color: #fff;
  text-decoration: underline;
}

.msm-site-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, .13);
  color: #8fa5b1;
  display: flex;
  font-size: 10px;
  gap: 20px;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1180px;
  padding: 15px 30px 18px;
}

@media (max-width: 760px) {
  .msm-home-feed__item {
    gap: 7px;
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 13px 14px;
  }

  .msm-home-feed__item .msm-home-feed__tag {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .msm-news__header h1,
  .msm-news-detail__header h1 {
    font-size: 24px;
  }

  .msm-news-card {
    padding: 18px 16px;
  }

  .msm-news-card__more {
    margin-top: 2px !important;
  }

  .msm-news-detail {
    padding: 22px 18px 30px;
  }

  .msm-news-detail__content {
    font-size: 14px;
  }

  .msm-site-footer__inner {
    gap: 28px 20px;
    grid-template-columns: 1fr 1fr;
    padding: 30px 18px 25px;
  }

  .msm-site-footer__brand {
    grid-column: 1 / -1;
  }

  .msm-site-footer__bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
    padding: 14px 18px 18px;
  }
}

/* Invitation registration */
.msm-invitation,
.msm-invitation *,
.msm-invitation *::before,
.msm-invitation *::after {
  box-sizing: border-box;
}

.msm-invitation {
  color: #172d3d;
  display: grid;
  gap: 24px;
  margin: 18px auto 48px;
  max-width: 720px;
  width: 100%;
}

.msm-invitation__header {
  border-bottom: 1px solid #d5dfe4;
  padding: 12px 0 22px;
}

.msm-invitation__header > span {
  color: #0c8588;
  display: block;
  font-size: 11px;
  font-weight: 800;
  margin-bottom: 7px;
}

.msm-invitation__header h1 {
  color: #102f49;
  font-size: 30px;
  line-height: 1.35;
  margin: 0 0 8px;
}

.msm-invitation__header p {
  color: #536978;
  font-size: 14px;
  line-height: 1.8;
  margin: 0;
}

.msm-invitation__form {
  background: #fff;
  border: 1px solid #cfdae0;
  display: grid;
  gap: 18px;
  padding: 28px;
}

.msm-invitation__form > label,
.msm-invitation__name label {
  display: grid;
  gap: 7px;
  margin: 0;
}

.msm-invitation__form label > span,
.msm-invitation__email > span {
  color: #334d5e;
  font-size: 13px;
  font-weight: 700;
}

.msm-invitation__required-note {
  color: #334d5e;
  font-weight: 700;
}

.msm-invitation__form input {
  background: #fff;
  border: 1px solid #b9c8d1;
  border-radius: 4px;
  color: #172d3d;
  font-size: 16px;
  min-height: 46px;
  padding: 9px 12px;
  width: 100%;
}

.msm-invitation__form input:focus {
  border-color: #0c8588;
  box-shadow: 0 0 0 2px rgba(12, 133, 136, 0.15);
  outline: 0;
}

.msm-invitation__email {
  background: #f2f7f8;
  border-left: 3px solid #0c8588;
  display: grid;
  gap: 5px;
  padding: 13px 15px;
}

.msm-invitation__email strong {
  overflow-wrap: anywhere;
}

.msm-invitation__name {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.msm-invitation__deadline {
  color: #526876;
  font-size: 13px;
  margin: 0;
}

.msm-invitation__password-help {
  color: #b23d30;
  font-size: 13px;
  line-height: 1.7;
  margin: -8px 0 0;
  padding: 0;
}

.msm-invitation__password-help span {
  display: block;
}

.msm-invitation__field-error {
  color: #b42318;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.6;
  margin: -10px 0 0;
}

.msm-invitation__field-error.is-client-only:empty {
  display: none;
}

.msm-invitation__form input[aria-invalid="true"] {
  border-color: #b42318;
}

.msm-invitation__submit {
  min-height: 48px;
  width: 100%;
}

.msm-invitation__invalid {
  border-left: 4px solid #c15b47;
  padding: 18px 22px;
}

.msm-invitation__invalid h2 {
  color: #102f49;
  font-size: 20px;
  margin: 0 0 8px;
}

.msm-invitation__invalid p {
  color: #536978;
  line-height: 1.8;
  margin: 0 0 16px;
}

@media (max-width: 600px) {
  .msm-invitation {
    gap: 18px;
    margin: 4px auto 32px;
  }

  .msm-invitation__header {
    padding: 8px 0 18px;
  }

  .msm-invitation__header h1 {
    font-size: 24px;
  }

  .msm-invitation__form {
    gap: 16px;
    padding: 20px 16px;
  }

  .msm-invitation__name {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Keep the public introduction page isolated from the member portal shell. */
.msm-public-home-page.msm-member-page,
.msm-public-home-page.msm-member-page .content,
.msm-public-home-page.msm-member-page .content-in,
.msm-public-home-page.msm-member-page .main,
.msm-public-home-page.msm-member-page .article,
.msm-public-home-page.msm-member-page .entry-content {
  background: #fff;
  margin: 0;
  max-width: none;
  width: 100%;
}

.msm-public-home-page.msm-member-page .main,
.msm-public-home-page.msm-member-page .article,
.msm-public-home-page.msm-member-page .entry-content {
  border: 0;
  box-shadow: none;
  padding: 0;
}

.msm-public-home-page .msm-public-site-header {
  position: relative;
  top: auto;
}

.msm-public-home-page .msm-public-site-header .msm-site-header__inner {
  height: 72px;
  max-width: 1180px;
  padding: 0 20px;
}

.msm-public-home-page .msm-public-site-nav {
  align-items: center;
  gap: 24px;
  justify-content: flex-end;
}

.msm-public-home-page .msm-public-site-nav a {
  align-self: center;
  border: 0;
  color: #334d5e;
  font-size: 13px;
  min-height: 44px;
  padding: 9px 0;
}

.msm-public-home-page .msm-public-site-nav a:hover,
.msm-public-home-page .msm-public-site-nav a:focus {
  border: 0;
  color: #0c8588;
}

.msm-public-home-page .msm-public-site-nav .msm-public-site-nav__cta {
  border: 1px solid #0c8588;
  border-radius: 4px;
  color: #0c8588;
  justify-content: center;
  min-width: 104px;
  padding: 9px 18px;
}

@media (max-width: 760px) {
  .msm-public-home-page .msm-public-site-header .msm-site-header__inner {
    height: 62px;
    padding: 0 14px;
  }

  .msm-public-home-page .msm-public-site-header .msm-site-nav {
    top: 62px;
  }

  .msm-public-home-page .msm-public-site-nav {
    align-items: stretch;
    gap: 0;
  }

  .msm-public-home-page .msm-public-site-nav a {
    align-self: stretch;
    border-bottom: 1px solid #e8eef1;
    min-height: 46px;
    padding: 0 8px;
  }

  .msm-public-home-page .msm-public-site-nav .msm-public-site-nav__cta {
    margin-top: 10px;
    min-height: 44px;
    width: 100%;
  }
}

.msm-home * {
  box-sizing: border-box;
}

.msm-home__header {
  display: grid;
  gap: 3px;
}

.msm-home__title {
  font-size: 26px;
  font-weight: 700;
  line-height: 1.35;
  margin: 0;
}

.msm-home__eyebrow,
.msm-form-note {
  color: #69707a;
  font-size: 13px;
  margin: 0;
}

.msm-home__grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.msm-account-form,
.msm-placeholder,
.msm-notice {
  background: #fff;
  border: 1px solid #d9dee5;
  border-radius: 8px;
  padding: 18px;
}

.msm-card {
  background: #fff;
  border: 1px solid #d9dee5;
  border-radius: 8px;
  min-width: 0;
  overflow: hidden;
}

.msm-notice--error {
  border-color: #e0abab;
  color: #8f2525;
}

.msm-notice--success {
  background: #edf8f2;
  border-color: #5aab80;
  border-left-width: 5px;
  color: #155c39;
  font-weight: 700;
}

.msm-notice__label {
  background: #21734a;
  border-radius: 4px;
  color: #fff;
  display: inline-block;
  font-size: 12px;
  margin-right: 9px;
  padding: 3px 8px;
}

.msm-card__head {
  align-items: center;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  min-height: 64px;
  padding: 17px 18px;
}

.msm-card__nav {
  align-items: center;
  border-bottom: 1px solid #e2e6eb;
  border-top: 1px solid #e2e6eb;
  display: flex;
  min-height: 46px;
  overflow-x: auto;
  padding: 0 18px;
  scrollbar-width: thin;
}

.msm-card__nav a {
  align-items: center;
  color: #38505f;
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 13px;
  font-weight: 700;
  min-height: 45px;
  padding: 0 14px;
  text-decoration: none;
  white-space: nowrap;
}

.msm-card__nav a:first-child {
  padding-left: 0;
}

.msm-card__nav a + a {
  border-left: 1px solid #e2e6eb;
}

.msm-card__nav a:hover,
.msm-card__nav a:focus {
  color: #126873;
  text-decoration: underline;
}

.msm-card__nav .msm-card__nav-primary {
  color: #08747c;
}

.msm-card__nav-count {
  display: inline-grid;
  min-width: 20px;
  height: 20px;
  place-items: center;
  margin-left: 5px;
  padding: 0 4px;
  border-radius: 10px;
  color: #fff;
  background: #bd3e2f;
  font-size: 11px;
  line-height: 1;
}

.msm-card__title {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.45;
  margin: 0;
}

.msm-unread-badge {
  background: #b33a2f;
  border-radius: 999px;
  color: #fff;
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.3;
  margin-left: 6px;
  padding: 3px 7px;
  vertical-align: middle;
}

.msm-new-question-badge {
  align-items: center;
  background: #18324d;
  border-radius: 999px;
  color: #fff;
  display: inline-flex;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  min-height: 26px;
  padding: 5px 10px;
}

.msm-account-form__feedback {
  background: #edf8f2;
  border: 1px solid #73b793;
  border-radius: 6px;
  color: #155c39;
  font-size: 14px;
  font-weight: 700;
  margin: 0 0 18px;
  padding: 11px 13px;
}

.msm-account-form__feedback--error {
  background: #fff2f2;
  border-color: #d99393;
  color: #8f2525;
}

.msm-list {
  display: grid;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 5px 18px 10px;
}

.msm-list li {
  border-bottom: 1px solid #e8ebef;
  display: grid;
  gap: 6px;
  min-width: 0;
  padding: 14px 0;
}

.msm-list li:last-child {
  border-bottom: 0;
}

.msm-list__empty {
  align-content: center;
  min-height: 82px;
}

.msm-list span {
  color: #69707a;
  font-size: 13px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.msm-list strong a {
  color: #24272b;
  text-decoration: none;
}

.msm-list strong a:hover {
  color: #126873;
  text-decoration: underline;
}

.msm-membership-details {
  color: #24272b;
  display: grid;
  gap: 4px;
  margin-top: 2px;
}

.msm-membership-details__summary {
  color: #24272b;
  font-size: 14px;
  line-height: 1.5;
}

.msm-membership-details__summary--urgent {
  color: #b42318;
}

.msm-list .msm-membership-details__date,
.msm-list .msm-membership-details__note {
  color: #24272b;
  display: block;
  font-size: 13px;
  line-height: 1.6;
}

.msm-list .msm-membership-details__note {
  font-size: 12px;
}

.msm-button {
  align-items: center;
  background: #147a83;
  border: 1px solid #147a83;
  border-radius: 6px;
  color: #fff;
  display: inline-flex;
  font-size: 13px;
  font-weight: 700;
  justify-content: center;
  min-height: 36px;
  padding: 0 14px;
  text-decoration: none;
  white-space: nowrap;
}

.msm-button--ghost {
  background: #fff;
  border-color: #bdc7d3;
  color: #24272b;
}

.msm-button--following {
  background: #18324d;
  border-color: #18324d;
  color: #fff;
}

.msm-legacy-guide-page {
  background: #eef2f4;
  color: #20252a;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans JP", sans-serif;
  margin: 0;
  min-height: 100vh;
}

.msm-legacy-guide-page * {
  box-sizing: border-box;
}

.msm-legacy-guide {
  align-items: center;
  display: flex;
  justify-content: center;
  min-height: 100vh;
  padding: 32px 20px;
}

.msm-legacy-guide__panel {
  background: #fff;
  border: 1px solid #d5dde3;
  border-top: 4px solid #b89a43;
  border-radius: 8px;
  box-shadow: 0 16px 42px rgba(28, 46, 57, 0.08);
  max-width: 680px;
  padding: 48px;
  width: 100%;
}

.msm-legacy-guide__brand {
  color: #18324d;
  font-size: 14px;
  font-weight: 700;
  margin: 0 0 28px;
}

.msm-legacy-guide__eyebrow {
  color: #147a83;
  font-size: 13px;
  font-weight: 700;
  margin: 0 0 8px;
}

.msm-legacy-guide h1 {
  font-size: 30px;
  line-height: 1.4;
  margin: 0 0 20px;
}

.msm-legacy-guide__lead {
  font-size: 17px;
  line-height: 1.8;
  margin: 0 0 16px;
}

.msm-legacy-guide__note {
  background: #f4f7f8;
  border-left: 4px solid #147a83;
  color: #4d5962;
  font-size: 14px;
  line-height: 1.8;
  margin: 0 0 28px;
  padding: 14px 16px;
}

.msm-legacy-guide__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.msm-legacy-guide__actions .msm-button {
  min-height: 46px;
  padding: 0 20px;
}

@media (max-width: 600px) {
  .msm-legacy-guide {
    align-items: flex-start;
    padding: 20px 14px;
  }

  .msm-legacy-guide__panel {
    padding: 32px 22px;
  }

  .msm-legacy-guide h1 {
    font-size: 24px;
  }

  .msm-legacy-guide__actions {
    display: grid;
  }

  .msm-legacy-guide__actions .msm-button {
    white-space: normal;
  }
}

.msm-pill {
  background: #eef1f4;
  border-radius: 999px;
  color: #59616b;
  display: inline-flex;
  font-size: 12px;
  font-weight: 700;
  min-height: 26px;
  padding: 4px 12px;
}

.msm-form-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.msm-form-grid label {
  color: #69707a;
  display: grid;
  font-size: 13px;
  font-weight: 700;
  gap: 6px;
}

.msm-form-grid [hidden] {
  display: none;
}

.msm-form-grid input,
.msm-form-grid select {
  background: #fff;
  border: 1px solid #cfd6df;
  border-radius: 6px;
  color: #24272b;
  font: inherit;
  min-height: 46px;
  padding: 0 12px;
  width: 100%;
}

.msm-account-form {
  padding: 0;
}

.msm-account-form__header {
  align-items: center;
  border-bottom: 1px solid #e2e6eb;
  display: flex;
  min-height: 68px;
  padding: 18px 22px;
}

.msm-account-form__feedback {
  margin: 18px 22px 0;
}

.msm-account-section {
  border: 0;
  border-bottom: 1px solid #e2e6eb;
  margin: 0;
  min-width: 0;
  padding: 20px 22px 22px;
}

.msm-account-section legend {
  color: #24272b;
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 15px;
  padding: 0;
}

.msm-account-form__actions {
  display: flex;
  justify-content: flex-end;
  padding: 18px 22px;
}

.msm-account-form__actions .msm-button {
  min-width: 150px;
}

.msm-forum {
  color: #24272b;
  display: grid;
  gap: 18px;
  margin: 0 auto;
  max-width: 1080px;
}

.msm-forum *,
.msm-forum *::before,
.msm-forum *::after {
  box-sizing: border-box;
}

.msm-forum__header {
  align-items: flex-end;
  display: flex;
  gap: 18px;
  justify-content: space-between;
}

.msm-forum__header-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.msm-forum__header-actions form {
  margin: 0;
}

.msm-forum__header-actions .msm-button {
  white-space: nowrap;
}

.msm-thread-header {
  display: block;
}

.msm-thread-actions {
  display: grid;
  gap: 0;
}

.msm-thread-notification-bar {
  align-items: center;
  background: #f4f8f8;
  border: 1px solid #c9d9da;
  border-radius: 6px;
  display: flex;
  gap: 18px;
  justify-content: space-between;
  min-height: 76px;
  padding: 14px 16px;
}

.msm-thread-notification-bar__copy {
  align-items: center;
  display: flex;
  gap: 12px;
  min-width: 0;
}

.msm-thread-notification-bar__state {
  background: #e9edf1;
  border-radius: 999px;
  color: #5d6872;
  flex: 0 0 auto;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  padding: 7px 10px;
  white-space: nowrap;
}

.msm-thread-notification-bar__state.is-on {
  background: #dff1ef;
  color: #126870;
}

.msm-thread-notification-bar__text {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.msm-thread-notification-bar__text strong {
  color: #16324f;
  font-size: 15px;
}

.msm-thread-notification-bar__text > span {
  color: #5b6b79;
  font-size: 13px;
  line-height: 1.6;
}

.msm-thread-notification-bar > form {
  flex: 0 0 auto;
  margin: 0;
}

.msm-thread-notification-bar .msm-button {
  min-height: 42px;
  padding: 9px 15px;
}

.msm-thread-secondary-actions {
  align-items: center;
  border-bottom: 1px solid #d5dee7;
  display: flex;
  justify-content: flex-end;
  min-height: 52px;
}

.msm-thread-secondary-actions > form {
  margin: 0;
}

.msm-thread-secondary-actions > * + * {
  border-left: 1px solid #d5dee7;
}

.msm-thread-secondary-action {
  align-items: center;
  appearance: none;
  background: transparent;
  border: 0;
  color: #0c737c;
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  justify-content: center;
  min-height: 36px;
  padding: 7px 16px;
  text-decoration: underline;
  text-underline-offset: 3px;
  white-space: nowrap;
}

.msm-thread-secondary-action:hover,
.msm-thread-secondary-action:focus-visible {
  color: #17415d;
}

.msm-forum__title {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.4;
}

.msm-forum-filters {
  align-items: end;
  background: #f5f7f9;
  border-bottom: 1px solid #d9dee5;
  border-top: 1px solid #d9dee5;
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(220px, 1fr) minmax(150px, 220px) minmax(140px, 190px) auto;
  padding: 14px 0;
}

.msm-forum-filters label,
.msm-forum-form__field {
  color: #35424e;
  display: grid;
  font-size: 13px;
  font-weight: 700;
  gap: 6px;
  min-width: 0;
}

.msm-forum-filters input,
.msm-forum-filters select,
.msm-forum-form input[type="text"],
.msm-forum-form input[type="file"],
.msm-forum-form select,
.msm-forum-form textarea,
.msm-thread-status-form select {
  background: #fff;
  border: 1px solid #c4ced7;
  border-radius: 6px;
  color: #24272b;
  font: inherit;
  min-height: 42px;
  padding: 8px 11px;
  width: 100%;
}

.msm-forum-form textarea {
  line-height: 1.7;
  min-height: 180px;
  resize: vertical;
}

.msm-forum-filters input:focus,
.msm-forum-filters select:focus,
.msm-forum-form input:focus,
.msm-forum-form select:focus,
.msm-forum-form textarea:focus,
.msm-thread-status-form select:focus {
  border-color: #147a83;
  box-shadow: 0 0 0 3px rgb(20 122 131 / 16%);
  outline: 0;
}

.msm-thread-list {
  display: grid;
  gap: 10px;
}

.msm-thread-list__item {
  background: #fff;
  border: 1px solid #d9dee5;
  border-left: 4px solid #147a83;
  border-radius: 6px;
  display: grid;
  gap: 9px;
  padding: 15px 16px;
}

.msm-thread-list__meta,
.msm-thread-list__footer,
.msm-thread-detail__meta {
  align-items: center;
  color: #69707a;
  display: flex;
  flex-wrap: wrap;
  font-size: 12px;
  gap: 8px 14px;
}

.msm-thread-list__title {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.55;
}

.msm-thread-list__title a {
  color: #24272b;
  text-decoration: none;
}

.msm-thread-list__title a:hover {
  color: #126873;
  text-decoration: underline;
}

.msm-related-threads {
  border-bottom: 1px solid #d9dee5;
  border-top: 1px solid #d9dee5;
  display: grid;
  gap: 8px;
  padding: 18px 0;
}

.msm-related-threads[hidden] {
  display: none;
}

.msm-related-threads--composer {
  background: #f4f9f9;
  border: 1px solid #bfd8d9;
  border-radius: 6px;
  padding: 14px 16px;
}

.msm-related-threads.is-loading {
  opacity: 0.65;
}

.msm-related-threads__heading {
  color: #18324d;
  font-size: 16px;
  font-weight: 700;
}

.msm-related-threads > p {
  color: #596774;
  font-size: 13px;
  margin: 0;
}

.msm-related-threads__list {
  display: grid;
}

.msm-related-thread {
  align-items: center;
  color: #24272b;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 7px;
  padding: 12px 4px;
  text-decoration: none;
}

.msm-related-thread + .msm-related-thread {
  border-top: 1px solid #d9e1e6;
}

.msm-related-thread:hover,
.msm-related-thread:focus-visible {
  background: #eef6f6;
  color: #126873;
  outline: 0;
}

.msm-related-thread strong {
  font-size: 15px;
  grid-column: 1;
  grid-row: 2;
  line-height: 1.6;
}

.msm-related-thread__action {
  align-self: center;
  color: #0d7c83;
  font-size: 13px;
  font-weight: 700;
  grid-column: 2;
  grid-row: 1 / span 2;
  justify-self: end;
  white-space: nowrap;
}

.msm-related-thread__meta {
  align-items: center;
  color: #69707a;
  display: flex;
  flex-wrap: wrap;
  font-size: 12px;
  gap: 7px 12px;
  grid-column: 1;
  grid-row: 1;
}

.msm-forum-status,
.msm-forum-tag,
.msm-forum-answer-label {
  align-items: center;
  background: #eef1f4;
  border-radius: 999px;
  color: #59616b;
  display: inline-flex;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  min-height: 26px;
  padding: 5px 10px;
}

.msm-forum-status--unanswered {
  background: #fff0e7;
  color: #9b4315;
}

.msm-forum-status--answering {
  background: #e4f4f3;
  color: #12646b;
}

.msm-forum-status--resolved {
  background: #e4ece7;
  border: 1px solid #92a99a;
  color: #245b38;
}

.msm-thread-list__item.is-resolved {
  background: #f7faf8;
  border-left: 4px solid #6f9179;
}

.msm-thread-completion,
.msm-thread-complete-form {
  align-items: center;
  background: #f3f8f5;
  border: 1px solid #b8cec0;
  border-radius: 8px;
  display: flex;
  gap: 20px;
  justify-content: space-between;
  padding: 18px 20px;
}

.msm-thread-completion strong,
.msm-thread-complete-form strong {
  color: #244f34;
  display: block;
  font-size: 16px;
  margin-bottom: 5px;
}

.msm-thread-completion p,
.msm-thread-complete-form p {
  color: #52605a;
  font-size: 13px;
  margin: 0 0 4px;
}

.msm-thread-completion a {
  font-size: 13px;
  font-weight: 700;
}

.msm-thread-completion form,
.msm-thread-complete-form button {
  flex: 0 0 auto;
}

@media (max-width: 640px) {
  .msm-thread-completion,
  .msm-thread-complete-form {
    align-items: stretch;
    flex-direction: column;
  }
}

.msm-forum-status--migration_review {
  background: #fff5d8;
  color: #7b5a12;
}

.msm-forum-tag {
  background: #edf3fb;
  color: #315f91;
  min-height: 24px;
}

.msm-forum-empty {
  border-bottom: 1px solid #d9dee5;
  border-top: 1px solid #d9dee5;
  color: #69707a;
  padding: 30px 0;
  text-align: center;
}

.msm-forum-form {
  background: #fff;
  border: 1px solid #d9dee5;
  border-radius: 8px;
  display: grid;
  gap: 18px;
  padding: 20px;
}

.msm-forum-form__tags {
  border: 0;
  margin: 0;
  padding: 0;
}

.msm-forum-form__tags legend {
  color: #35424e;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 8px;
}

.msm-forum-form__tags > div,
.msm-forum-form__options,
.msm-form-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
}

.msm-forum-form__tags label,
.msm-forum-form__options label {
  align-items: center;
  display: inline-flex;
  font-size: 13px;
  gap: 6px;
}

.msm-forum-form__submit {
  justify-self: start;
  min-width: 150px;
}

.msm-editor-toolbar {
  align-items: center;
  background: #f5f7f9;
  border: 1px solid #c4ced7;
  border-bottom: 0;
  border-radius: 6px 6px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  min-height: 42px;
  padding: 4px;
}

.msm-editor-toolbar + textarea {
  border-radius: 0 0 6px 6px;
}

.msm-editor-toolbar button {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 4px;
  color: #35424e;
  cursor: pointer;
  display: inline-flex;
  font-size: 14px;
  gap: 5px;
  height: 32px;
  justify-content: center;
  min-width: 0;
  padding: 0 9px;
}

.msm-editor-toolbar button:hover,
.msm-editor-toolbar button:focus-visible {
  background: #e2e8ed;
  outline: 0;
}

.msm-forum-post {
  background: #fff;
  border: 1px solid #d9dee5;
  border-radius: 8px;
  display: grid;
  gap: 12px;
  padding: 18px;
}

.msm-forum-post--question {
  border-left: 4px solid #147a83;
}

.msm-forum-post--labeled {
  background: #f4fbfa;
  border-color: #9fd0cf;
}

.msm-forum-post--official {
  background: #f7f8fb;
  border-color: #9daabd;
  border-left: 4px solid #b18a35;
}

.msm-forum-post--office {
  background: #f4fbfa;
  border-color: #9fd0cf;
  border-left: 4px solid #278c8d;
}

.msm-forum-post--internal {
  background: #fff9eb;
  border-color: #d7c28c;
}

.msm-forum-post__header {
  align-items: flex-start;
  display: flex;
  gap: 12px;
  justify-content: space-between;
}

.msm-forum-post__header > div {
  display: grid;
  gap: 3px;
}

.msm-forum-post__header span,
.msm-forum-post__footer {
  color: #69707a;
  font-size: 12px;
}

.msm-forum-answer-label {
  background: #dff2ef;
  color: #12646b;
}

.msm-forum-post--official .msm-forum-answer-label {
  background: #18324d;
  color: #f3cf7a;
}

.msm-forum-post--office .msm-forum-answer-label {
  background: #dff2ef;
  color: #12646b;
}

.msm-forum-post--internal .msm-forum-answer-label {
  background: #fff0c7;
  color: #745313;
}

.msm-forum-quote-preview {
  background: #f2f5f7;
  border-left: 4px solid #748392;
  border-radius: 0 5px 5px 0;
  color: #35424e;
  display: block;
  padding: 11px 13px;
  text-decoration: none;
}

.msm-forum-quote-preview__source {
  color: #526071;
  display: block;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 5px;
}

.msm-forum-quote-preview blockquote {
  color: #2d3742;
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}

.msm-forum-quote-preview blockquote p {
  margin: 0;
}

.msm-forum-quote-preview blockquote a {
  color: #126873;
  text-decoration: underline;
}

.msm-forum-post__body {
  color: #24272b;
  font-size: 15px;
  line-height: 1.8;
  overflow-wrap: anywhere;
}

.msm-forum-post__body > :first-child {
  margin-top: 0;
}

.msm-forum-post__body > :last-child {
  margin-bottom: 0;
}

.msm-forum-post__body blockquote {
  border-left: 3px solid #9ba9b5;
  color: #4f5963;
  margin: 14px 0;
  padding: 5px 0 5px 14px;
}

.msm-forum-post__edited {
  color: #526071;
  font-size: 13px;
  margin: 14px 0 0;
}

.msm-attachment-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.msm-attachment-item {
  align-items: flex-start;
  display: grid;
  gap: 4px;
}

.msm-attachment-list a {
  background: #edf3f7;
  border: 1px solid #cbd7df;
  border-radius: 5px;
  color: #18324d;
  font-size: 13px;
  font-weight: 700;
  padding: 8px 11px;
  text-decoration: none;
}

.msm-attachment-list a::before {
  content: "画像: ";
  font-weight: 400;
}

.msm-attachment-item > span {
  color: #526071;
  font-size: 11px;
}

.msm-forum-post__footer {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.msm-helpful-control {
  align-items: center;
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 0 auto;
}

.msm-helpful-button,
.msm-helpful-control--readonly {
  align-items: center;
  background: #fff;
  border: 1px solid #b8cbd0;
  border-radius: 5px;
  color: #31505c;
  display: inline-flex;
  font-size: 13px;
  font-weight: 700;
  gap: 8px;
  line-height: 1.2;
  min-height: 34px;
  padding: 6px 10px;
}

.msm-helpful-button {
  cursor: pointer;
}

.msm-helpful-button:hover,
.msm-helpful-button:focus-visible {
  border-color: #0d7c83;
  color: #0d7077;
  outline: 2px solid rgba(13, 124, 131, 0.16);
  outline-offset: 1px;
}

.msm-helpful-button.is-active {
  background: #e8f6f4;
  border-color: #16868a;
  color: #096d72;
}

.msm-helpful-button strong,
.msm-helpful-control--readonly strong {
  align-items: center;
  background: #e8eef0;
  border-radius: 999px;
  display: inline-flex;
  font-size: 12px;
  justify-content: center;
  min-height: 22px;
  min-width: 22px;
  padding: 2px 6px;
}

.msm-helpful-button.is-active strong {
  background: #cce9e5;
}

.msm-helpful-button small {
  color: #0d7077;
  font-size: 11px;
  font-weight: 700;
}

.msm-helpful-control--readonly {
  background: #f4f6f7;
  color: #69747a;
  cursor: default;
}

.msm-helpful-control__notice {
  color: #236240;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
  white-space: nowrap;
}

.msm-helpful-control__notice::before {
  content: "✓";
  font-weight: 700;
  margin-right: 4px;
}

.msm-forum-post__action,
.msm-forum-post__footer a,
.msm-link-button,
.msm-report-control > summary {
  color: #126873;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
}

.msm-link-button {
  background: transparent;
  border: 0;
  padding: 0;
}

.msm-report-control {
  width: 100%;
}

.msm-report-control > summary {
  display: inline-block;
  list-style: none;
}

.msm-report-control > summary::-webkit-details-marker {
  display: none;
}

.msm-report-form {
  background: #f6f8fa;
  border: 1px solid #d8dfe5;
  border-radius: 6px;
  display: grid;
  gap: 12px;
  margin-top: 10px;
  max-width: 520px;
  padding: 14px;
}

.msm-report-form label {
  color: #35424e;
  display: grid;
  font-size: 12px;
  font-weight: 700;
  gap: 5px;
}

.msm-report-form select,
.msm-report-form textarea {
  background: #fff;
  border: 1px solid #c4ced7;
  border-radius: 6px;
  color: #24272b;
  font: inherit;
  line-height: 1.6;
  min-height: 40px;
  padding: 8px 10px;
  resize: vertical;
  width: 100%;
}

.msm-report-form .msm-button {
  justify-self: start;
}

.msm-related-thread-links {
  margin: 8px 0 0;
  padding-left: 20px;
}

.msm-related-thread-links a {
  color: #126873;
  font-weight: 700;
}

.msm-split-list {
  border-bottom: 1px solid #d9dee5;
  border-top: 1px solid #d9dee5;
  display: grid;
}

.msm-split-list__item {
  align-items: flex-start;
  border-bottom: 1px solid #e2e6eb;
  cursor: pointer;
  display: grid;
  gap: 12px;
  grid-template-columns: 20px minmax(0, 1fr);
  padding: 14px 4px;
}

.msm-split-list__item:last-child {
  border-bottom: 0;
}

.msm-split-list__item > input {
  margin-top: 4px;
}

.msm-split-list__item > span {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.msm-split-list__item small {
  color: #69707a;
}

.msm-forum-summary {
  background: #f7fbfb;
  border: 1px solid #b9d7d8;
  border-radius: 6px;
  margin: 22px 0;
  padding: 20px;
}

.msm-forum-summary__header {
  align-items: center;
  display: flex;
  gap: 16px;
  justify-content: space-between;
  margin-bottom: 16px;
}

.msm-forum-summary__header > div {
  align-items: center;
  display: flex;
  gap: 10px;
}

.msm-forum-summary .msm-forum-section-title {
  margin: 0;
}

.msm-notice--warning {
  background: #fff8e6;
  border-color: #d9a62e;
  color: #4b390e;
}

.msm-forum-pagination {
  margin: 22px 0;
}

.msm-forum-pagination ul {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.msm-forum-pagination a,
.msm-forum-pagination .current {
  background: #fff;
  border: 1px solid #cfd9e3;
  border-radius: 6px;
  color: #123a5a;
  display: grid;
  height: 38px;
  min-width: 38px;
  padding: 0 10px;
  place-items: center;
  text-decoration: none;
}

.msm-forum-pagination .current {
  background: #16858e;
  border-color: #16858e;
  color: #fff;
}

.msm-thread-status-form {
  align-items: end;
  background: #f5f7f9;
  border-bottom: 1px solid #d9dee5;
  border-top: 1px solid #d9dee5;
  display: flex;
  gap: 12px;
  padding: 12px 0;
}

.msm-thread-status-form label {
  display: grid;
  font-size: 12px;
  font-weight: 700;
  gap: 5px;
  width: min(220px, 100%);
}

.msm-thread-delete {
  border-bottom: 1px solid #d9dee5;
  padding: 12px 0;
}

.msm-thread-delete > summary {
  color: #8f2525;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
}

.msm-thread-delete form {
  align-items: end;
  background: #fff4f4;
  border-left: 4px solid #b23d30;
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(220px, 1fr) auto;
  margin-top: 10px;
  padding: 14px;
}

.msm-thread-delete p {
  grid-column: 1 / -1;
  margin: 0;
}

.msm-thread-delete label {
  display: grid;
  font-size: 12px;
  font-weight: 700;
  gap: 5px;
}

.msm-thread-delete input {
  background: #fff;
  border: 1px solid #c99a9a;
  border-radius: 5px;
  min-height: 40px;
  padding: 8px 10px;
}

.msm-button--danger {
  background: #a63232;
  border-color: #a63232;
}

.msm-button--danger:hover,
.msm-button--danger:focus-visible {
  background: #7f2424;
  border-color: #7f2424;
}

.msm-forum-section-title {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
  margin-top: 6px;
}

.msm-reply-list {
  display: grid;
  gap: 12px;
}

.msm-reply-updates {
  background: #fff;
  border: 2px solid #14324f;
  border-radius: 6px;
  bottom: 24px;
  box-shadow: 0 8px 24px rgba(20, 50, 79, 0.28);
  padding: 14px;
  position: fixed;
  right: 24px;
  width: min(420px, calc(100vw - 48px));
  z-index: 10000;
}

.msm-reply-updates[hidden] {
  display: none;
}

.msm-reply-updates__message {
  color: #182331;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.65;
  margin: 0 0 10px;
}

.msm-reply-updates__button {
  background: #14324f;
  border-color: #14324f;
  min-height: 44px;
  width: 100%;
}

.msm-reply-updates__button:hover,
.msm-reply-updates__button:focus-visible {
  background: #0b5d66;
  border-color: #0b5d66;
}

.msm-forum-reply-form {
  margin-top: 8px;
}

@media (max-width: 782px) {
  .msm-reply-updates {
    bottom: 78px;
    left: 16px;
    right: 16px;
    width: calc(100vw - 32px);
  }

  .msm-home__grid,
  .msm-form-grid {
    grid-template-columns: 1fr;
  }

  .msm-card__head {
    min-height: 58px;
    padding: 14px 15px;
  }

  .msm-card__nav {
    padding: 0 15px;
  }

  .msm-card__nav a {
    padding-left: 11px;
    padding-right: 11px;
  }

  .msm-list {
    padding-left: 15px;
    padding-right: 15px;
  }

  .msm-account-form__header,
  .msm-account-section,
  .msm-account-form__actions {
    padding-left: 16px;
    padding-right: 16px;
  }

  .msm-account-form__feedback {
    margin-left: 16px;
    margin-right: 16px;
  }

  .msm-account-form__actions .msm-button {
    width: 100%;
  }

  .msm-forum__header {
    align-items: stretch;
    flex-direction: column;
  }

  .msm-forum__header .msm-button {
    align-self: flex-start;
  }

  .msm-forum__title {
    font-size: 23px;
  }

  .msm-forum-filters {
    grid-template-columns: 1fr;
  }

  .msm-thread-status-form {
    align-items: stretch;
    flex-direction: column;
  }

  .msm-thread-delete form {
    align-items: stretch;
    grid-template-columns: 1fr;
  }

  .msm-forum-summary__header {
    align-items: flex-start;
    flex-direction: column;
  }

  .msm-forum-form,
  .msm-forum-post {
    padding: 15px;
  }

  .msm-related-threads--composer {
    padding: 13px;
  }

  .msm-related-thread {
    grid-template-columns: minmax(0, 1fr);
    padding: 12px 0;
  }

  .msm-related-thread__action {
    grid-column: 1;
    grid-row: 3;
    justify-self: start;
  }

  .msm-related-thread strong {
    font-size: 14px;
  }
}

.msm-login-page .entry-title,
.msm-login-page .breadcrumb,
.msm-login-page .date-tags,
.msm-login-page .sns-share,
.msm-login-page .sns-follow,
.msm-login-page .post-edit-link {
  display: none;
}

.msm-login-page .main {
  background: transparent;
  padding: 0;
  width: 100%;
}

.msm-login-page .content-in {
  background: #f2f5f6;
}

.msm-login-page .sidebar {
  display: none;
}

.msm-member-page .sidebar {
  display: none;
}

.msm-member-page .main {
  flex: 1 1 100%;
  max-width: 100%;
  width: 100%;
}

.msm-login-screen {
  background: #fff;
  border: 1px solid #d6dde2;
  border-radius: 8px;
  box-shadow: 0 18px 48px rgb(23 50 77 / 12%);
  color: #24313d;
  margin: 40px auto;
  max-width: 1080px;
  overflow: hidden;
  width: 100%;
}

.msm-login-screen * {
  box-sizing: border-box;
}

.msm-login-screen__media {
  background: #dce4e9;
  border-bottom: 4px solid #c9a24a;
  display: block;
  line-height: 0;
  overflow: hidden;
  padding: 0 !important;
  width: 100%;
}

.msm-login-screen__media picture {
  display: block !important;
  margin: 0 !important;
  max-width: none !important;
  padding: 0 !important;
  width: 100% !important;
}

.msm-login-screen__media img {
  display: block !important;
  height: auto;
  margin: 0 !important;
  max-width: none !important;
  min-width: 102.8%;
  padding: 0 !important;
  width: 102.8% !important;
}

.msm-login-screen__body {
  margin: 0 auto;
  max-width: 520px;
  padding: 36px 32px 40px;
}

.msm-login-screen__header {
  margin-bottom: 28px;
  text-align: center;
}

.msm-login-screen__header p {
  color: #5f6b75;
  font-size: 13px;
  font-weight: 700;
  margin: 0 0 6px;
}

.msm-login-screen__header div {
  color: #17324d;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.4;
}

.msm-login-form {
  display: grid;
  gap: 20px;
}

.msm-login-form__hint {
  color: #52687a;
  font-size: 13px;
  line-height: 1.7;
  margin: 0;
}

.msm-login-form__field {
  color: #35424e;
  display: grid;
  font-size: 14px;
  font-weight: 700;
  gap: 8px;
}

.msm-login-form__field > input,
.msm-password-field input {
  background: #fff;
  border: 1px solid #b9c5cf;
  border-radius: 6px;
  color: #1f2b35;
  font: inherit;
  min-height: 48px;
  padding: 0 14px;
  width: 100%;
}

.msm-login-form__field > input:focus,
.msm-password-field input:focus {
  border-color: #147a83;
  box-shadow: 0 0 0 3px rgb(20 122 131 / 16%);
  outline: 0;
}

.msm-password-field {
  display: block;
  position: relative;
}

.msm-password-field input {
  padding-right: 72px;
}

.msm-password-toggle {
  background: transparent;
  border: 0;
  color: #147a83;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  height: 40px;
  padding: 0 12px;
  position: absolute;
  right: 4px;
  top: 4px;
}

.msm-password-toggle:focus-visible {
  outline: 2px solid #147a83;
  outline-offset: -2px;
}

.msm-login-form__additional {
  background: #f5f8fa;
  border: 1px solid #d6dfe6;
  border-radius: 6px;
  padding: 14px 16px;
}

.msm-login-form__additional p {
  margin: 0 0 10px;
}

.msm-login-form__additional p:last-child {
  margin-bottom: 0;
}

.msm-login-form__additional img {
  display: block;
  height: auto;
  max-width: 100%;
}

.msm-login-form__additional label {
  color: #35424e;
  display: block;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 8px;
}

.msm-login-form__additional input[type="text"] {
  background: #fff;
  border: 1px solid #b9c5cf;
  border-radius: 6px;
  color: #1f2b35;
  font: inherit;
  min-height: 44px;
  padding: 0 14px;
  width: 100%;
}

.msm-login-form__additional input[type="text"]:focus {
  border-color: #147a83;
  box-shadow: 0 0 0 3px rgb(20 122 131 / 16%);
  outline: 0;
}

.msm-login-form__utilities {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  font-size: 13px;
  gap: 12px;
  justify-content: space-between;
}

.msm-login-form__utilities label {
  align-items: center;
  display: inline-flex;
  gap: 7px;
}

.msm-login-form__utilities a {
  color: #126873;
  font-weight: 700;
}

.msm-login-form__back {
  font-size: 13px;
  text-align: center;
}

.msm-login-form__back a {
  color: #126873;
  font-weight: 700;
}

.msm-login-form__submit {
  font-size: 15px;
  min-height: 48px;
  width: 100%;
}

.msm-account-help {
  border-top: 1px solid #d6dfe6;
  margin-top: 24px;
  padding-top: 18px;
}

.msm-account-help > summary {
  color: #126873;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  list-style-position: outside;
  margin-left: 18px;
}

.msm-account-help__body {
  background: #f5f8fa;
  border: 1px solid #d6dfe6;
  border-radius: 6px;
  display: grid;
  gap: 0;
  margin-top: 14px;
  padding: 0 18px;
}

.msm-account-help__body section {
  border-bottom: 1px solid #d6dfe6;
  padding: 16px 0;
}

.msm-account-help__body section:last-child {
  border-bottom: 0;
}

.msm-account-help__body h3 {
  color: #17324d;
  font-size: 14px;
  line-height: 1.5;
  margin: 0 0 6px;
}

.msm-account-help__body p {
  color: #4d5b66;
  font-size: 13px;
  line-height: 1.7;
  margin: 0;
}

.msm-account-help__body a {
  color: #126873;
  font-weight: 700;
}

.msm-account-help__body form {
  align-items: end;
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(0, 1fr) auto;
  margin-top: 12px;
}

.msm-account-help__body form label {
  color: #35424e;
  display: grid;
  font-size: 13px;
  font-weight: 700;
  gap: 6px;
}

.msm-account-help__body input[type="email"] {
  background: #fff;
  border: 1px solid #b9c5cf;
  border-radius: 6px;
  color: #1f2b35;
  font: inherit;
  min-height: 44px;
  padding: 0 12px;
  width: 100%;
}

.msm-account-help__body button {
  min-height: 44px;
  white-space: nowrap;
}

@media (max-width: 782px) {
  .msm-login-page .content-in {
    padding-left: 12px;
    padding-right: 12px;
  }

  .msm-login-screen {
    margin: 20px auto;
  }

  .msm-login-screen__media img {
    min-width: 100%;
    width: 100% !important;
  }

  .msm-login-screen__body {
    padding: 28px 20px 32px;
  }

  .msm-login-screen__header div {
    font-size: 24px;
  }

  .msm-login-form__utilities {
    align-items: flex-start;
    flex-direction: column;
  }

  .msm-account-help__body form {
    align-items: stretch;
    grid-template-columns: 1fr;
  }

  .msm-account-help__body button {
    width: 100%;
  }
}

.msm-chat-tools {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin: 0 0 18px;
  padding: 0 0 12px;
  border-bottom: 1px solid #d5dee7;
  font-size: 14px;
  letter-spacing: 0;
}

.msm-chat-tools a {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  gap: 7px;
  padding: 7px 12px;
  border: 1px solid #bdcad7;
  border-radius: 6px;
  color: #16324f;
  background: #fff;
  font-weight: 700;
  text-decoration: none;
}

.msm-chat-tools a:hover,
.msm-chat-tools a:focus-visible {
  border-color: #138b96;
  color: #0c737c;
}

.msm-chat-tools__notification > span {
  display: inline-grid;
  min-width: 22px;
  height: 22px;
  place-items: center;
  padding: 0 5px;
  border-radius: 11px;
  color: #fff;
  background: #bd3e2f;
  font-size: 12px;
  line-height: 1;
}

.msm-mention-picker {
  position: relative;
  margin: 0;
  padding: 14px;
  border: 1px solid #cbd6df;
  border-radius: 6px;
  background: #f7fafb;
  letter-spacing: 0;
}

.msm-mention-picker legend {
  padding: 0 5px;
  color: #172b3d;
  font-weight: 700;
}

.msm-mention-picker > p {
  margin: 0 0 10px;
  color: #506477;
  font-size: 13px;
}

.msm-mention-picker__search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

.msm-mention-picker__search input[type="search"] {
  width: 100%;
  min-height: 42px;
  margin: 0;
}

.msm-mention-picker__results {
  position: absolute;
  z-index: 10;
  right: 14px;
  left: 14px;
  max-height: 240px;
  overflow-y: auto;
  margin-top: 4px;
  border: 1px solid #aebdca;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(25, 43, 60, 0.14);
}

.msm-mention-picker__results button,
.msm-mention-picker__results > span {
  display: block;
  width: 100%;
  padding: 10px 12px;
  border: 0;
  border-bottom: 1px solid #e0e7ed;
  border-radius: 0;
  color: #172b3d;
  background: #fff;
  text-align: left;
}

.msm-mention-picker__results button {
  cursor: pointer;
}

.msm-mention-picker__results button:hover,
.msm-mention-picker__results button:focus-visible {
  background: #eaf6f5;
}

.msm-mention-picker__results > :last-child {
  border-bottom: 0;
}

.msm-mention-picker__selected {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 9px;
}

.msm-mention-chip {
  min-height: 32px;
  padding: 5px 9px;
  border: 1px solid #8bbfc0;
  border-radius: 6px;
  color: #0c6168;
  background: #e9f6f4;
  font-weight: 700;
  cursor: pointer;
}

[data-msm-mention-all].is-selected {
  border-color: #0e7f88;
  color: #fff;
  background: #0e7f88;
}

.msm-notification-list {
  display: grid;
  gap: 10px;
}

.msm-notification-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: 16px;
  border: 1px solid #d4dee7;
  border-radius: 6px;
  background: #fff;
}

.msm-notification-item.is-unread {
  border-left: 4px solid #138b96;
  background: #f3faf9;
}

.msm-notification-item__body {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.msm-notification-item__body > div {
  display: flex;
  align-items: center;
  gap: 7px;
}

.msm-notification-item__body strong,
.msm-notification-item__body span {
  overflow-wrap: anywhere;
}

.msm-notification-item__body small {
  color: #586b7d;
}

@media (max-width: 640px) {
  .msm-chat-tools {
    justify-content: stretch;
  }

  .msm-chat-tools a {
    flex: 1 1 0;
    justify-content: center;
  }

  .msm-mention-picker__search,
  .msm-notification-item {
    grid-template-columns: 1fr;
  }

  .msm-mention-picker__search .msm-button,
  .msm-notification-item > .msm-button {
    width: 100%;
  }
}

.msm-notification-settings {
  margin-top: 22px;
  border-top: 1px solid #d5dee7;
  padding-top: 18px;
  scroll-margin-top: 128px;
}

.msm-notification-settings > .msm-forum-section-title {
  color: #16324f;
  font-size: 17px;
  font-weight: 700;
}

.msm-notification-settings > .msm-forum-form {
  margin-top: 14px;
}

.msm-home-panel > .msm-notification-settings {
  margin-top: 0;
  border-top: 0;
  padding: 18px;
}

.msm-home-panel > .msm-notification-settings--compact {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  align-items: start;
  padding: 16px 18px 18px;
}

.msm-notification-settings--compact > .msm-forum-form {
  margin-top: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

.msm-notification-settings--compact .msm-notification-settings__grid {
  grid-template-columns: 1fr;
  align-items: end;
}

.msm-notification-settings--compact .msm-button {
  margin-top: 14px;
  width: 100%;
  max-width: 100%;
}

.msm-notification-settings__compact-note {
  background: #f7fafb;
  border: 1px solid #dbe6ec;
  border-radius: 6px;
  color: #52687a;
  display: grid;
  gap: 8px;
  line-height: 1.7;
  padding: 14px 16px;
}

.msm-notification-settings__compact-note strong {
  color: #102a43;
  font-size: 14px;
}

.msm-notification-settings__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.msm-notification-settings__grid label,
.msm-notification-category-list label {
  display: grid;
  gap: 6px;
  color: #24394b;
  font-weight: 700;
}

.msm-notification-settings__grid select,
.msm-notification-settings__grid input,
.msm-notification-category-list select {
  width: 100%;
  min-height: 42px;
}

.msm-notification-settings__grid [hidden] {
  display: none;
}

.msm-notification-settings__toggle {
  grid-column: 1 / -1;
  display: flex !important;
  align-items: center;
  gap: 9px !important;
}

.msm-notification-settings__toggle input[type="checkbox"] {
  width: 18px;
  min-height: 18px;
  height: 18px;
  margin: 0;
}

.msm-notification-settings__quiet-times {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.msm-notification-category-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.msm-draft-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.msm-draft-status {
  min-height: 22px;
  margin: 0;
  color: #365a4d;
  font-size: 13px;
  font-weight: 700;
}

.msm-draft-status.is-error {
  color: #a12d2d;
}

.msm-thread-notification-setting {
  position: relative;
}

.msm-thread-notification-setting > summary {
  align-items: center;
  background: transparent;
  border: 0;
  cursor: pointer;
  display: inline-flex;
  list-style: none;
}

.msm-thread-notification-setting > summary::-webkit-details-marker {
  display: none;
}

.msm-thread-notification-setting__menu {
  background: #fff;
  border: 1px solid #afbeca;
  border-radius: 6px;
  box-shadow: 0 8px 20px rgba(25, 43, 60, 0.16);
  display: grid;
  gap: 10px;
  padding: 14px;
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  width: min(340px, 85vw);
  z-index: 20;
}

.msm-thread-notification-setting__head {
  align-items: center;
  display: flex;
  gap: 12px;
  justify-content: space-between;
}

.msm-thread-notification-setting__head > strong {
  color: #16324f;
  font-size: 15px;
}

.msm-thread-notification-setting__head > button {
  align-items: center;
  appearance: none;
  background: transparent;
  border: 0;
  color: #526474;
  cursor: pointer;
  display: inline-flex;
  font-size: 24px;
  height: 32px;
  justify-content: center;
  line-height: 1;
  padding: 0;
  width: 32px;
}

.msm-thread-notification-setting__head > button:hover,
.msm-thread-notification-setting__head > button:focus-visible {
  color: #0c737c;
}

.msm-thread-notification-setting__menu > p {
  color: #596a79;
  font-size: 13px;
  line-height: 1.7;
  margin: 0;
}

.msm-thread-notification-setting__menu > form {
  display: grid;
  gap: 12px;
  margin: 0;
}

.msm-thread-notification-setting__daily-note {
  background: #f2f7f7;
  border-left: 3px solid #17838c;
  color: #365260;
  font-size: 13px;
  line-height: 1.7;
  margin: 0;
  padding: 8px 10px;
}

.msm-thread-notification-setting__daily-note[hidden] {
  display: none;
}

.msm-thread-notification-setting__menu > a {
  border-top: 1px solid #d8e0e7;
  color: #0c737c;
  font-size: 13px;
  font-weight: 700;
  padding-top: 11px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.msm-thread-notification-setting label {
  display: grid;
  gap: 6px;
  color: #24394b;
  font-weight: 700;
}

.msm-thread-notification-setting select {
  width: 100%;
  min-height: 42px;
}

@media (max-width: 640px) {
  .msm-notification-settings__grid,
  .msm-notification-category-list,
  .msm-notification-settings__quiet-times {
    grid-template-columns: 1fr;
  }

  .msm-home-panel > .msm-notification-settings--compact {
    grid-template-columns: 1fr;
  }

  .msm-draft-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .msm-draft-actions .msm-button {
    width: 100%;
  }

  .msm-thread-notification-setting {
    width: auto;
  }

  .msm-thread-notification-setting > summary {
    justify-content: flex-start;
    width: 100%;
  }

  .msm-thread-notification-setting__menu {
    bottom: auto;
    left: 14px;
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    position: fixed;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: auto;
  }

  .msm-thread-notification-bar {
    align-items: stretch;
    display: grid;
    gap: 14px;
    padding: 15px;
  }

  .msm-thread-notification-bar > form,
  .msm-thread-notification-bar .msm-button {
    width: 100%;
  }

  .msm-thread-secondary-actions {
    align-items: stretch;
    display: grid;
    justify-content: stretch;
    min-height: 0;
    width: 100%;
  }

  .msm-thread-secondary-actions > * + * {
    border-left: 0;
    border-top: 1px solid #d5dee7;
  }

  .msm-thread-secondary-action {
    justify-content: flex-start;
    min-height: 44px;
    padding-left: 6px;
    padding-right: 6px;
    width: 100%;
  }
}

.msm-button--secondary {
  background: #fff;
  border-color: #aebcc8;
  color: #18324d;
}

.msm-access-gate {
  background: #fff;
  border: 1px solid #d5dfe6;
  border-top: 4px solid #16818a;
  box-sizing: border-box;
  display: grid;
  justify-items: center;
  margin: 32px auto;
  max-width: 760px;
  padding: 48px 36px;
  text-align: center;
  width: 100%;
}

.msm-access-gate__eyebrow {
  color: #16818a;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  margin: 0 0 10px;
}

.msm-access-gate__title {
  color: #17324d;
  font-size: 25px;
  font-weight: 700;
  line-height: 1.5;
}

.msm-access-gate__description {
  color: #465968;
  font-size: 15px;
  line-height: 1.9;
  margin: 18px 0 24px;
}

.msm-access-gate__button {
  font-size: 14px;
  min-height: 44px;
  padding-left: 28px;
  padding-right: 28px;
}

.msm-library-gate > .msm-access-gate {
  border: 0;
  border-top: 4px solid #16818a;
  margin: 0;
  max-width: none;
}

@media (max-width: 640px) {
  .msm-access-gate {
    margin: 22px auto;
    padding: 34px 20px;
  }

  .msm-access-gate__title {
    font-size: 21px;
  }

  .msm-access-gate__description {
    font-size: 14px;
  }

  .msm-access-gate__button {
    width: 100%;
  }
}

.msm-library {
  box-sizing: border-box;
  color: #17283a;
  display: grid;
  gap: 28px;
  letter-spacing: 0;
  margin: 0 auto;
  max-width: 1180px;
  min-width: 0;
  overflow-x: hidden;
  width: 100%;
}

.msm-library *,
.msm-library *::before,
.msm-library *::after {
  box-sizing: border-box;
  letter-spacing: 0;
}

.msm-library > * {
  max-width: 100%;
  min-width: 0;
}

.msm-library__header {
  align-items: end;
  border-bottom: 1px solid #d9e0e6;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  padding: 6px 0 24px;
}

.msm-library__title {
  color: #132b45;
  font-size: 32px;
  line-height: 1.35;
  margin: 2px 0 8px;
}

.msm-library__header > div > p:last-child {
  color: #536473;
  font-size: 15px;
  line-height: 1.8;
  margin: 0;
}

.msm-library__eyebrow {
  color: #12818a;
  font-size: 12px;
  font-weight: 800;
  margin: 0;
}

.msm-library__membership {
  border: 1px solid #bc9a46;
  color: #715719;
  font-size: 12px;
  font-weight: 700;
  padding: 7px 11px;
  white-space: nowrap;
}

.msm-library-tabs {
  border-bottom: 1px solid #cfd8e0;
  display: flex;
  gap: 30px;
  min-width: 0;
  overflow: hidden;
  width: 100%;
}

.msm-library-tabs a {
  border-bottom: 3px solid transparent;
  color: #536473;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: -1px;
  min-width: 92px;
  padding: 4px 2px 13px;
  text-align: center;
  text-decoration: none;
}

.msm-library-tabs a.is-active {
  border-bottom-color: #13838b;
  color: #132b45;
}

.msm-library-filters {
  align-items: end;
  background: #f3f6f7;
  border: 1px solid #dae2e7;
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(210px, 1.5fr) repeat(3, minmax(125px, 0.8fr)) auto;
  padding: 18px;
}

.msm-library-filters label {
  color: #354b5d;
  display: grid;
  font-size: 12px;
  font-weight: 700;
  gap: 6px;
  min-width: 0;
}

.msm-library-filters input,
.msm-library-filters select {
  background: #fff;
  border: 1px solid #bfcbd4;
  border-radius: 4px;
  color: #17283a;
  font-size: 14px;
  min-height: 42px;
  min-width: 0;
  padding: 7px 10px;
  width: 100%;
}

.msm-library-filters .msm-button {
  min-height: 42px;
}

.msm-library-list-heading {
  align-items: end;
  display: flex;
  gap: 20px;
  justify-content: space-between;
}

.msm-library-list-heading p {
  color: #62717e;
  font-size: 13px;
  line-height: 1.6;
  margin: 0;
}

.msm-library-list-heading__title {
  color: #132b45;
  font-size: 23px;
  line-height: 1.4;
  margin: 3px 0 0;
}

.msm-video-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.msm-video-card {
  background: #fff;
  border: 1px solid #d5dee5;
  display: grid;
  grid-template-rows: auto 1fr;
  min-width: 0;
  overflow: hidden;
}

.msm-video-card__media {
  aspect-ratio: 16 / 9;
  background: #18324d;
  display: block;
  overflow: hidden;
  position: relative;
}

.msm-video-card__media img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.msm-video-card__media > span:first-child {
  align-items: center;
  color: #fff;
  display: flex;
  font-size: 12px;
  font-weight: 700;
  height: 100%;
  justify-content: center;
}

.msm-video-card__play {
  background: rgba(255, 255, 255, 0.94);
  border-radius: 50%;
  height: 44px;
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
}

.msm-video-card__play::after {
  border-bottom: 7px solid transparent;
  border-left: 11px solid #147a83;
  border-top: 7px solid transparent;
  content: "";
  left: 18px;
  position: absolute;
  top: 15px;
}

.msm-video-card__body {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 17px;
}

.msm-video-card__meta,
.msm-resource-row__meta,
.msm-library-detail__meta {
  align-items: center;
  color: #697784;
  display: flex;
  flex-wrap: wrap;
  font-size: 12px;
  gap: 8px 13px;
}

.msm-video-card__meta span,
.msm-resource-row__meta span,
.msm-library-detail__meta span {
  color: #11767e;
  font-weight: 700;
}

.msm-video-card__title {
  font-size: 17px;
  line-height: 1.65;
  margin: 10px 0 9px;
  overflow-wrap: anywhere;
}

.msm-video-card__title a,
.msm-resource-row__title a {
  color: #17283a;
  text-decoration: none;
}

.msm-video-card__body > p {
  color: #657481;
  font-size: 13px;
  margin: 0 0 16px;
}

.msm-video-card__link {
  color: #0f737b;
  font-size: 13px;
  font-weight: 700;
  margin-top: auto;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.msm-resource-list {
  border-top: 1px solid #cfd8e0;
}

.msm-resource-row {
  align-items: center;
  background: #fff;
  border-bottom: 1px solid #d9e1e7;
  display: grid;
  gap: 18px;
  grid-template-columns: 58px minmax(0, 1fr) auto;
  min-height: 105px;
  padding: 17px 14px;
}

.msm-resource-row__icon {
  align-items: center;
  background: #eef4f4;
  border: 1px solid #d5e2e2;
  color: #177880;
  display: flex;
  font-size: 10px;
  font-weight: 800;
  height: 58px;
  justify-content: center;
  width: 58px;
}

.msm-resource-list--public-video .msm-resource-row__icon {
  background: #edf1f5;
  border-color: #dae1e7;
  color: #445d72;
}

.msm-resource-row__title {
  font-size: 17px;
  line-height: 1.55;
  margin: 7px 0 0;
  overflow-wrap: anywhere;
}

.msm-resource-row__link,
.msm-library-detail__back {
  color: #0e737b;
  font-size: 13px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.msm-library-empty {
  background: #f5f7f8;
  border-left: 4px solid #18828b;
  padding: 26px;
}

.msm-library-empty__title {
  color: #17283a;
  font-size: 19px;
  margin: 0 0 7px;
}

.msm-library-empty p {
  color: #5d6c79;
  margin: 0 0 18px;
}

.msm-library-detail {
  background: #fff;
  border-top: 4px solid #bd9b48;
  box-shadow: 0 8px 28px rgba(24, 50, 77, 0.08);
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
  padding: 34px;
  width: 100%;
}

.msm-library-detail__back {
  display: inline-block;
  margin-bottom: 26px;
}

.msm-library-detail__title {
  color: #132b45;
  font-size: 29px;
  line-height: 1.5;
  margin: 10px 0 25px;
  overflow-wrap: anywhere;
}

.msm-library-player {
  aspect-ratio: 16 / 9;
  background: #101820;
  margin: 0 0 25px;
  overflow: hidden;
  width: 100%;
}

.msm-library-player iframe {
  border: 0;
  height: 100%;
  width: 100%;
}

.msm-library-detail__instructor {
  color: #32495c;
  font-size: 14px;
  margin: 0 0 22px;
}

.msm-library-detail__instructor span {
  color: #6b7984;
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  margin-right: 12px;
}

.msm-library-detail__body {
  border-top: 1px solid #dce3e8;
  color: #263b4d;
  font-size: 15px;
  line-height: 2;
  max-width: 100%;
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
  padding-top: 24px;
}

.msm-library-detail__body a {
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-all;
}

.msm-library-detail__body > :first-child {
  margin-top: 0;
}

.msm-library-detail__body > :last-child {
  margin-bottom: 0;
}

.msm-library-detail__resource-action-row {
  margin: 18px 0;
}

.msm-library-detail__resource-action {
  min-width: 150px;
}

.msm-library-related {
  background: #f4f8f8;
  border-left: 4px solid #16818a;
  margin-top: 28px;
  padding: 22px 24px;
}

.msm-library-related__heading {
  margin-bottom: 14px;
}

.msm-library-related__heading > span {
  color: #16818a;
  display: block;
  font-size: 10px;
  font-weight: 800;
  margin-bottom: 3px;
}

.msm-library-related__heading h3 {
  color: #17334b;
  font-size: 18px;
  margin: 0;
}

.msm-library-related__actions {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(
    auto-fit,
    minmax(min(100%, 420px), 1fr)
  );
}

.msm-library-related__button {
  align-items: center;
  background: #fff;
  border: 1px solid #afc7ca;
  border-left: 4px solid #16818a;
  color: #125f67;
  display: grid;
  gap: 12px;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  min-width: 0;
  padding: 13px 15px;
  text-decoration: none;
}

.msm-library-related__button:hover,
.msm-library-related__button:focus-visible {
  border-color: #16818a;
  color: #0f555c;
}

.msm-library-related__type {
  align-items: center;
  background: #e8f4f3;
  color: #126a71;
  display: flex;
  font-size: 10px;
  font-weight: 800;
  height: 36px;
  justify-content: center;
  line-height: 1;
  overflow: hidden;
  padding: 0 4px;
  text-align: center;
}

.msm-library-related__content {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.msm-library-related__content strong {
  color: #17334b;
  font-size: 14px;
  overflow-wrap: anywhere;
}

.msm-library-related__content small {
  color: #61727d;
  font-size: 11px;
  overflow-wrap: anywhere;
}

.msm-library-related__action {
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.msm-library-related__button--download {
  border-left: 4px solid #c9a444;
}

.msm-library-gate {
  background: #f1f6f6;
  border-left: 4px solid #16818a;
  display: grid;
  gap: 8px;
  justify-items: start;
  padding: 24px;
}

@media (max-width: 640px) {
  .msm-library-related {
    padding: 18px;
  }

  .msm-library-related__actions {
    grid-template-columns: 1fr;
  }

  .msm-library-related__button {
    align-content: center;
    box-sizing: border-box;
    gap: 10px;
    grid-template-columns: 44px minmax(0, 1fr);
    height: 148px;
    min-height: 148px;
  }

  .msm-library-related__action {
    grid-column: 2;
    justify-self: start;
  }
}

.msm-library-gate strong {
  color: #17334b;
  font-size: 17px;
}

.msm-library-gate p {
  color: #596b78;
  margin: 0 0 8px;
}

.msm-course-gate {
  background: #f6f8f9;
  border: 1px solid #d8e1e6;
  border-left: 5px solid #bd9b48;
  margin-top: 24px;
  padding: 24px;
}

.msm-course-gate__body {
  display: grid;
  gap: 14px;
  min-width: 0;
}

.msm-course-gate__eyebrow {
  color: #8a6a17;
  font-size: 11px;
  font-weight: 800;
  margin: 0;
}

.msm-course-gate__title {
  color: #17334b;
  font-size: 19px;
  font-weight: 800;
  line-height: 1.55;
  margin: 0;
  overflow-wrap: anywhere;
}

.msm-course-gate__course {
  background: #fff;
  border: 1px solid #c9d8dc;
  border-left: 4px solid #13838a;
  display: grid;
  gap: 7px;
  padding: 14px 16px;
}

.msm-course-gate__course-label {
  color: #52687a;
  font-size: 12px;
  font-weight: 700;
}

.msm-course-gate__course-names {
  display: grid;
  gap: 5px;
}

.msm-course-gate__course-name {
  color: #0b6870;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.msm-course-gate p {
  color: #516574;
  font-size: 14px;
  line-height: 1.8;
  margin: 0;
}

.msm-course-gate__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 6px;
}

.msm-library-question {
  align-items: center;
  background: #f4f7f8;
  border-top: 1px solid #d8e0e5;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  margin-top: 30px;
  padding: 20px;
}

.msm-library-question strong {
  color: #18324d;
}

.msm-library-question p {
  color: #61717e;
  font-size: 13px;
  margin: 4px 0 0;
}

@media (max-width: 900px) {
  .msm-library-filters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .msm-library-filters__search {
    grid-column: 1 / -1;
  }

  .msm-video-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .msm-library {
    gap: 22px;
    max-width: 100%;
    min-width: 0;
    overflow-x: hidden;
    width: 100%;
  }

  .msm-library__header {
    align-items: start;
  }

  .msm-library__title {
    font-size: 26px;
  }

  .msm-library__header > div > p:last-child,
  .msm-library__membership {
    display: none;
  }

  .msm-library-tabs {
    gap: 0;
  }

  .msm-library-tabs a {
    flex: 1;
  }

  .msm-library-filters {
    grid-template-columns: 1fr;
    padding: 15px;
  }

  .msm-library-filters__search {
    grid-column: auto;
  }

  .msm-library-filters .msm-button {
    width: 100%;
  }

  .msm-library-list-heading {
    align-items: start;
    display: grid;
    gap: 6px;
  }

  .msm-library-list-heading__title {
    font-size: 20px;
  }

  .msm-video-grid {
    grid-template-columns: 1fr;
  }

  .msm-video-card {
    grid-template-columns: minmax(112px, 40%) minmax(0, 1fr);
    grid-template-rows: auto;
    min-height: 0;
  }

  .msm-video-card__media {
    align-self: start;
    aspect-ratio: 4 / 3;
    height: auto;
    min-height: 0;
    min-width: 0;
    width: 100%;
  }

  .msm-video-card__media img {
    display: block;
    height: 100%;
    object-fit: cover;
    width: 100%;
  }

  .msm-video-card__play {
    height: 34px;
    width: 34px;
  }

  .msm-video-card__play::after {
    border-bottom-width: 6px;
    border-left-width: 9px;
    border-top-width: 6px;
    left: 14px;
    top: 11px;
  }

  .msm-video-card__body {
    overflow: hidden;
    padding: 9px 13px 11px;
  }

  .msm-video-card__title {
    font-size: 15px;
    line-height: 1.5;
    margin: 7px 0;
    max-width: 100%;
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .msm-video-card__body > p {
    display: none;
  }

  .msm-video-card__link {
    margin-top: 6px;
  }

  .msm-resource-row {
    gap: 12px;
    grid-template-columns: 46px minmax(0, 1fr);
    min-height: 92px;
    padding: 14px 6px;
  }

  .msm-resource-row__icon {
    height: 46px;
    width: 46px;
  }

  .msm-resource-row__link {
    grid-column: 2;
    justify-self: start;
  }

  .msm-resource-row__title {
    font-size: 15px;
  }

  .msm-library-detail {
    margin-left: 10px;
    margin-right: 10px;
    max-width: calc(100% - 20px);
    overflow: hidden;
    padding: 23px 17px;
    width: calc(100% - 20px);
  }

  .msm-library-detail__title {
    font-size: 23px;
    margin-bottom: 20px;
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .msm-library-player,
  .msm-library-detail__body {
    max-width: 100%;
  }

  .msm-library-question {
    align-items: stretch;
    display: grid;
  }

  .msm-library-question .msm-button {
    white-space: normal;
    width: 100%;
  }

  .msm-course-gate {
    padding: 20px 16px;
  }

  .msm-course-gate__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .msm-course-gate__actions .msm-button {
    width: 100%;
  }
}
/* Seminar catalog */
.msm-seminar-page .toc {
  display: none !important;
}

.msm-seminars {
  box-sizing: border-box;
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  color: #102a43;
}

.msm-seminars *,
.msm-seminars *::before,
.msm-seminars *::after {
  box-sizing: border-box;
}

.msm-seminars__header {
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid #cbd7df;
}

.msm-seminars__eyebrow {
  margin: 0 0 6px;
  color: #087f83;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
}

.msm-seminars__header h2 {
  margin: 0;
  color: #102a43;
  font-size: 28px;
  line-height: 1.4;
}

.msm-seminars__list {
  border-top: 0;
}

.msm-seminar-row {
  display: grid;
  grid-template-columns: 156px minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  padding: 18px 8px;
  border-bottom: 1px solid #d7e0e6;
}

.msm-seminar-row__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.msm-seminar-row__format {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  width: 100%;
  min-height: 50px;
  padding: 7px 10px;
  border: 1px solid #b9cbd5;
  border-left-width: 4px;
  border-radius: 4px;
  color: #36586b;
  background: #f7fafb;
}

.msm-seminar-row__format > .dashicons {
  width: 22px;
  height: 22px;
  font-size: 22px;
}

.msm-seminar-row__format > span:last-child {
  display: grid;
  gap: 1px;
}

.msm-seminar-row__format strong {
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
}

.msm-seminar-row__format small {
  color: #526b7a;
  font-size: 11px;
  line-height: 1.4;
}

.msm-seminar-row--single .msm-seminar-row__format {
  color: #087f83;
  border-color: #8cc4c5;
  background: #f2fbfb;
}

.msm-seminar-row--multiple .msm-seminar-row__format {
  color: #215f8f;
  border-color: #9bbbd3;
  background: #f4f8fb;
}

.msm-seminar-row--course .msm-seminar-row__format {
  color: #775813;
  border-color: #dbc987;
  background: #fffaf0;
}

.msm-seminar-row__members {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 10px;
  border: 1px solid #dbc987;
  border-radius: 4px;
  color: #775813;
  background: #fffaf0;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
}

.msm-seminar-row__body {
  min-width: 0;
}

.msm-seminar-row__body h3 {
  margin: 0 0 5px !important;
  padding: 0 !important;
  border: 0 !important;
  color: #102a43;
  background: transparent !important;
  box-shadow: none !important;
  font-size: 17px;
  line-height: 1.5;
}

.msm-seminar-row__body h3::before,
.msm-seminar-row__body h3::after {
  display: none !important;
}

.msm-seminar-row__body p {
  margin: 0;
  color: #526b7a;
  font-size: 13px;
  line-height: 1.6;
}

.msm-seminar-row__link {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 7px 13px;
  border: 1px solid #087f83;
  border-radius: 4px;
  color: #087f83;
  background: #fff;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.msm-seminar-row__link:hover,
.msm-seminar-row__link:focus {
  color: #fff;
  background: #087f83;
}

.msm-seminars__empty {
  padding: 32px 20px;
  border: 1px solid #d7e0e6;
  color: #526b7a;
  background: #f7fafb;
  text-align: center;
}

@media (max-width: 700px) {
  .msm-seminars__header h2 {
    font-size: 24px;
  }

  .msm-seminar-row {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 18px 0;
  }

  .msm-seminar-row__format {
    width: auto;
    max-width: 190px;
  }

  .msm-seminar-row__body h3 {
    font-size: 16px;
  }

  .msm-seminar-row__link {
    width: 100%;
  }
}

/* Product catalog */
.msm-product-page .toc {
  display: none !important;
}

.msm-products {
  box-sizing: border-box;
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  color: #102a43;
}

.msm-products *,
.msm-products *::before,
.msm-products *::after {
  box-sizing: border-box;
}

.msm-products__header {
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid #cbd7df;
}

.msm-products__eyebrow {
  margin: 0 0 6px;
  color: #087f83;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
}

.msm-products__header h2 {
  margin: 0;
  color: #102a43;
  font-size: 28px;
  line-height: 1.4;
}

.msm-products__list {
  border-top: 0;
}

.msm-product-row {
  display: grid;
  grid-template-columns: 156px minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  padding: 18px 8px;
  border-bottom: 1px solid #d7e0e6;
}

.msm-product-row__type {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  min-height: 50px;
  padding: 7px 10px;
  border: 1px solid #8cc4c5;
  border-left: 4px solid #087f83;
  border-radius: 4px;
  color: #087f83;
  background: #f2fbfb;
}

.msm-product-row__type > .dashicons {
  width: 22px;
  height: 22px;
  font-size: 22px;
}

.msm-product-row__type > span:last-child {
  display: grid;
  gap: 1px;
}

.msm-product-row__type strong {
  font-size: 12px;
  line-height: 1.4;
}

.msm-product-row__type small {
  color: #526b7a;
  font-size: 11px;
  line-height: 1.4;
}

.msm-product-row__meta span {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  padding: 3px 9px;
  border: 1px solid #dbc987;
  border-radius: 4px;
  color: #775813;
  background: #fffaf0;
  font-size: 11px;
  font-weight: 700;
}

.msm-product-row__body {
  min-width: 0;
}

.msm-product-row__body h3 {
  margin: 0 0 5px !important;
  padding: 0 !important;
  border: 0 !important;
  color: #102a43;
  background: transparent !important;
  box-shadow: none !important;
  font-size: 17px;
  line-height: 1.5;
}

.msm-product-row__body h3::before,
.msm-product-row__body h3::after {
  display: none !important;
}

.msm-product-row__body p {
  margin: 0;
  color: #526b7a;
  font-size: 13px;
  line-height: 1.6;
}

.msm-product-row__link {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 7px 13px;
  border: 1px solid #087f83;
  border-radius: 4px;
  color: #087f83;
  background: #fff;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.msm-product-row__link:hover,
.msm-product-row__link:focus {
  color: #fff;
  background: #087f83;
}

.msm-products__empty {
  padding: 32px 20px;
  border: 1px solid #d7e0e6;
  color: #526b7a;
  background: #f7fafb;
  text-align: center;
}

@media (max-width: 700px) {
  .msm-products__header h2 {
    font-size: 24px;
  }

  .msm-product-row {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 18px 0;
  }

  .msm-product-row__type {
    width: auto;
    max-width: 190px;
  }

  .msm-product-row__body h3 {
    font-size: 16px;
  }

  .msm-product-row__link {
    width: 100%;
  }
}

/* Approved member portal shell and home */
.msm-member-page {
  background: #f3f6f7;
  color: #1d2b38;
}

.msm-member-page .header-container,
.msm-member-page #header-container,
.msm-member-page .navi,
.msm-member-page #navi,
.msm-member-page .mobile-menu-buttons,
.msm-member-page .entry-title,
.msm-member-page .breadcrumb,
.msm-member-page .date-tags,
.msm-member-page .sns-share,
.msm-member-page .sns-follow,
.msm-member-page .post-edit-link,
.msm-member-page #footer,
.msm-member-page .mobile-footer-menu-buttons {
  display: none !important;
}

.msm-member-page .content {
  margin-top: 0;
}

.msm-member-page .content-in {
  background: #f3f6f7;
}

.msm-member-page .main {
  background: transparent;
  padding: 34px 30px 70px;
}

.msm-member-page.msm-login-page .main {
  padding: 0 30px 60px;
}

.msm-site-header {
  background: #fff;
  border-bottom: 1px solid #d6e0e5;
  color: #1d2b38;
  position: sticky;
  top: 0;
  z-index: 999;
}

.admin-bar .msm-site-header {
  top: 32px;
}

.msm-site-header *,
.msm-home *,
.msm-home *::before,
.msm-home *::after {
  box-sizing: border-box;
}

.msm-site-header__inner {
  align-items: center;
  display: flex;
  gap: 30px;
  height: 72px;
  margin: 0 auto;
  max-width: 1240px;
  padding: 0 30px;
}

.msm-site-brand {
  align-items: center;
  color: #102a43;
  display: inline-flex;
  flex: 0 0 auto;
  gap: 10px;
  text-decoration: none;
}

.msm-site-brand:hover,
.msm-site-brand:focus {
  color: #102a43;
  text-decoration: none;
}

.msm-site-brand__mark {
  align-items: center;
  background: #102a43;
  border-radius: 5px;
  color: #fff;
  display: grid;
  flex: 0 0 56px;
  grid-template-columns: 1fr 3px 1fr;
  height: 38px;
  padding: 0 7px;
}

.msm-site-brand__s {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  line-height: 1;
  text-align: center;
}

.msm-site-brand__t {
  font-size: 17px;
  font-weight: 700;
  line-height: 1;
  text-align: center;
}

.msm-site-brand__divider {
  background: #c7a34a;
  height: 25px;
  width: 3px;
}

.msm-site-brand__copy {
  display: grid;
  gap: 1px;
  white-space: nowrap;
}

.msm-site-brand__copy strong {
  color: #102a43;
  font-size: 15px;
  line-height: 1.4;
}

.msm-site-brand__copy small {
  color: #657481;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.4;
}

.msm-site-nav {
  align-self: stretch;
  display: flex;
  flex: 1 1 auto;
  gap: 2px;
  justify-content: center;
}

.msm-site-nav a {
  align-items: center;
  border-bottom: 3px solid transparent;
  color: #405261;
  display: inline-flex;
  font-size: 13px;
  font-weight: 700;
  padding: 3px 13px 0;
  text-decoration: none;
}

.msm-site-nav a:hover,
.msm-site-nav a:focus,
.msm-site-nav a[aria-current="page"] {
  border-bottom-color: #0f7f84;
  color: #102a43;
  text-decoration: none;
}

.msm-site-nav__mobile-only {
  display: none !important;
}

.msm-site-header__actions {
  align-items: center;
  display: flex;
  flex: 0 0 auto;
  gap: 10px;
}

.msm-site-header__contact,
.msm-site-header__notification {
  align-items: center;
  background: #fff;
  border: 1px solid #d6e0e5;
  border-radius: 5px;
  color: #102a43;
  display: inline-flex;
  height: 38px;
  justify-content: center;
  position: relative;
  text-decoration: none;
  width: 38px;
}

.msm-site-header__contact:hover,
.msm-site-header__contact:focus,
.msm-site-header__contact.is-active,
.msm-site-header__notification:hover,
.msm-site-header__notification:focus {
  background: #f2f8f8;
  border-color: #0f7f84;
  color: #0f7f84;
  text-decoration: none;
}

.msm-site-header__contact svg,
.msm-site-header__notification svg {
  fill: none;
  height: 18px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
  width: 18px;
}

.msm-site-header__notification > span {
  align-items: center;
  background: #bd5c47;
  border: 2px solid #fff;
  border-radius: 9px;
  color: #fff;
  display: flex;
  font-size: 8px;
  font-weight: 700;
  height: 16px;
  justify-content: center;
  min-width: 16px;
  padding: 0 3px;
  position: absolute;
  right: -5px;
  top: -5px;
}

.msm-site-profile {
  align-items: center;
  color: #102a43;
  display: inline-flex;
  gap: 8px;
  text-decoration: none;
}

.msm-site-profile:hover,
.msm-site-profile:focus {
  color: #0f7f84;
  text-decoration: none;
}

.msm-site-profile__avatar {
  align-items: center;
  background: #e8f4f3;
  border-radius: 50%;
  color: #0f7f84;
  display: flex;
  font-size: 13px;
  font-weight: 700;
  height: 34px;
  justify-content: center;
  width: 34px;
}

.msm-site-profile__name,
.msm-site-profile--login {
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.msm-site-menu-toggle {
  background: transparent;
  border: 0;
  color: #102a43;
  display: none;
  padding: 8px;
}

.msm-site-menu-toggle span {
  background: currentColor;
  display: block;
  height: 2px;
  width: 22px;
}

.msm-site-menu-toggle span + span {
  margin-top: 5px;
}

.msm-home {
  color: #1d2b38;
  display: grid;
  gap: 22px;
  margin: 0 auto;
  max-width: 1180px;
}

.msm-home__header {
  align-items: flex-end;
  display: flex;
  gap: 18px;
  justify-content: space-between;
}

.msm-home__eyebrow {
  color: #0f7f84;
  font-size: 11px;
  font-weight: 700;
  margin: 0 0 7px;
}

.msm-home__title {
  color: #102a43;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 32px;
  font-weight: 600;
  line-height: 1.35;
}

.msm-home__welcome {
  color: #657481;
  font-size: 13px;
  margin: 7px 0 0;
}

.msm-home__member-state {
  align-items: center;
  color: #102a43;
  display: inline-flex;
  font-size: 12px;
  font-weight: 700;
  gap: 8px;
  white-space: nowrap;
}

.msm-home__member-state::before {
  background: #3d9b73;
  border-radius: 50%;
  content: "";
  height: 8px;
  width: 8px;
}

.msm-home-notice {
  align-items: center;
  background: #fff;
  border-left: 4px solid #bd5c47;
  color: #102a43;
  display: grid;
  gap: 18px;
  grid-template-columns: auto 1fr auto;
  min-height: 66px;
  padding: 13px 18px;
  text-decoration: none;
}

.msm-home-notice:hover,
.msm-home-notice:focus {
  color: #102a43;
  text-decoration: none;
}

.msm-home-notice__label {
  color: #bd5c47;
  font-size: 12px;
  font-weight: 700;
}

.msm-home-notice strong {
  font-size: 14px;
  line-height: 1.6;
}

.msm-home-notice__date {
  color: #657481;
  font-size: 12px;
}

.msm-home-dashboard {
  align-items: start;
  display: grid;
  gap: 22px;
  grid-template-columns: minmax(0, 1.75fr) minmax(300px, 0.85fr);
}

.msm-home-dashboard__main,
.msm-home-dashboard__side {
  display: grid;
  gap: 22px;
  grid-template-rows: 350px 233px;
}

.msm-home-panel,
.msm-account-form {
  background: #fff;
  border: 1px solid #d6e0e5;
  border-radius: 6px;
  min-width: 0;
  overflow: hidden;
}

.msm-home-panel__head {
  align-items: center;
  border-bottom: 1px solid #d6e0e5;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  min-height: 62px;
  padding: 14px 20px;
}

.msm-home-panel__title {
  color: #102a43;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.4;
}

.msm-home-panel__head > a,
.msm-home-profile__edit {
  color: #0f7f84;
  font-size: 12px;
  font-weight: 700;
}

.msm-home-panel__description {
  background: #f7fafb;
  border-bottom: 1px solid #e2e9ec;
  color: #52687a;
  font-size: 12px;
  line-height: 1.7;
  margin: 0;
  padding: 10px 20px;
}

.msm-home-feed,
.msm-home-thread-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.msm-home-feed li {
  min-height: 72px;
}

.msm-home-feed__item {
  align-items: center;
  color: inherit;
  display: grid;
  gap: 14px;
  grid-template-columns: 76px minmax(0, 1fr) auto;
  min-height: 72px;
  padding: 12px 20px;
  text-decoration: none;
}

.msm-home-feed__item:hover,
.msm-home-feed__item:focus {
  background: #f6fafb;
  color: inherit;
  text-decoration: none;
}

.msm-home-feed__empty {
  align-items: center;
  color: #657481;
  display: flex;
  font-size: 13px;
  padding: 20px;
}

.msm-home-feed li + li,
.msm-home-thread-list li + li {
  border-top: 1px solid #e8eef1;
}

.msm-home-feed__tag {
  background: #e8f4f3;
  border-radius: 3px;
  color: #0f7f84;
  font-size: 11px;
  font-weight: 700;
  padding: 5px 7px;
  text-align: center;
}

.msm-home-feed__tag--important {
  background: #f8ebe7;
  color: #bd5c47;
}

.msm-home-feed__content {
  min-width: 0;
}

.msm-home-feed__content strong {
  color: #102a43;
  display: block;
  font-size: 14px;
  line-height: 1.5;
}

.msm-home-feed__content span {
  color: #657481;
  display: block;
  font-size: 11px;
  line-height: 1.5;
  margin-top: 3px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.msm-home-feed time,
.msm-home-feed__open {
  color: #657481;
  font-size: 10px;
  white-space: nowrap;
}

.msm-home-feed__open {
  color: #0f7f84;
  font-weight: 700;
}

.msm-home-chat-actions {
  align-items: center;
  display: flex;
  gap: 8px;
}

.msm-home-chat-actions .msm-button {
  min-height: 34px;
}

.msm-home-unread {
  background: #f8ebe7;
  border-radius: 12px;
  color: #bd5c47;
  font-size: 10px;
  font-weight: 700;
  padding: 5px 10px;
  white-space: nowrap;
}

.msm-home-thread-list li {
  align-items: center;
  display: grid;
  gap: 13px;
  grid-template-columns: minmax(0, 1fr) auto;
  min-height: 82px;
  padding: 13px 20px;
}

.msm-home-thread-list strong,
.msm-home-thread-list strong a {
  color: #102a43;
  font-size: 14px;
  line-height: 1.55;
  text-decoration: none;
}

.msm-home-thread-list li > span > span {
  color: #657481;
  display: block;
  font-size: 11px;
  margin-top: 4px;
}

.msm-home-thread-list__count {
  align-items: center;
  background: #102a43;
  border-radius: 50%;
  color: #fff;
  display: flex;
  font-size: 10px;
  font-weight: 700;
  height: 28px;
  justify-content: center;
  width: 28px;
}

.msm-home-thread-list__empty {
  align-content: center;
}

.msm-home-profile {
  display: grid;
  gap: 18px;
  padding: 20px;
}

.msm-home-profile__identity {
  align-items: center;
  display: flex;
  gap: 12px;
}

.msm-home-profile__identity > span:last-child {
  min-width: 0;
}

.msm-home-profile__avatar {
  align-items: center;
  background: #102a43;
  border-radius: 50%;
  color: #fff;
  display: flex;
  flex: 0 0 50px;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 20px;
  height: 50px;
  justify-content: center;
}

.msm-home-profile__identity strong {
  color: #102a43;
  display: block;
  font-size: 15px;
}

.msm-home-profile__identity span span {
  color: #657481;
  display: block;
  font-size: 10px;
  margin-top: 4px;
  overflow-wrap: anywhere;
}

.msm-home-profile__actions {
  align-items: flex-start;
  display: grid;
  gap: 8px;
}

.msm-home-profile__logout {
  border-top: 1px solid #e8eef1;
  color: #657481;
  font-size: 11px;
  margin-top: 3px;
  padding-top: 9px;
  text-decoration: none;
  width: 100%;
}

.msm-home-profile__logout:hover,
.msm-home-profile__logout:focus-visible {
  color: #0f7f84;
  text-decoration: underline;
}

.msm-home-membership {
  background: #f7fafb;
  border-left: 3px solid #c7a34a;
  padding: 13px 14px;
}

.msm-home-membership--urgent {
  border-left-color: #bd5c47;
}

.msm-home-membership strong {
  color: #102a43;
  display: block;
  font-size: 13px;
}

.msm-home-membership--urgent strong {
  color: #a53f2c;
}

.msm-home-membership span {
  color: #657481;
  display: block;
  font-size: 10px;
  line-height: 1.55;
  margin-top: 4px;
}

.msm-home-shortcuts {
  display: grid;
  grid-template-rows: repeat(3, 1fr);
}

.msm-home-shortcuts > a {
  align-items: center;
  color: #102a43;
  display: grid;
  gap: 12px;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  padding: 12px 18px;
  text-decoration: none;
}

.msm-home-shortcuts > a + a {
  border-top: 1px solid #e8eef1;
}

.msm-home-shortcuts__icon {
  align-items: center;
  background: #e8f4f3;
  border-radius: 5px;
  color: #0f7f84;
  display: flex;
  height: 34px;
  justify-content: center;
  width: 34px;
}

.msm-home-shortcuts__icon svg {
  fill: none;
  height: 18px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
  width: 18px;
}

.msm-home-shortcuts strong {
  display: block;
  font-size: 12px;
}

.msm-home-shortcuts small {
  color: #657481;
  display: block;
  font-size: 9px;
  margin-top: 3px;
}

.msm-home-shortcuts__arrow {
  color: #0f7f84;
  font-size: 19px;
}

.msm-account-form {
  padding: 0;
}

.msm-account-form__header {
  border-bottom: 1px solid #d6e0e5;
  min-height: 62px;
  padding: 18px 20px;
}

.msm-account-form__feedback {
  margin: 18px 20px 0;
}

.msm-account-section {
  border: 0;
  border-bottom: 1px solid #e8eef1;
  margin: 0;
  min-width: 0;
  padding: 18px 20px 20px;
}

.msm-account-section legend {
  color: #405261;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 12px;
  padding: 0;
}

.msm-form-grid--account {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.msm-home-dashboard__main > .msm-account-form .msm-form-grid--account {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.msm-password-form {
  margin-top: 20px;
  scroll-margin-top: 128px;
}

.msm-form-grid--password {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.msm-password-form__field--current {
  grid-column: 1 / -1;
}

.msm-password-form__description {
  color: #657481;
  font-size: 12px;
  line-height: 1.7;
  margin: 0 0 14px;
}

.msm-account-form__actions {
  align-items: center;
  display: flex;
  gap: 18px;
  justify-content: space-between;
  padding: 14px 20px;
}

.msm-account-form__actions p {
  color: #657481;
  font-size: 10px;
  margin: 0;
}

@media (max-width: 760px) {
  .admin-bar .msm-site-header {
    top: 46px;
  }

  .msm-member-page .main {
    padding: 24px 15px 50px;
  }

  .msm-member-page.msm-login-page .main {
    padding: 0 12px 40px;
  }

  .msm-site-header__inner {
    height: 58px;
    padding: 0 15px;
  }

  .msm-site-brand__mark {
    flex-basis: 48px;
    height: 34px;
    padding: 0 6px;
  }

  .msm-site-brand__s {
    font-size: 21px;
  }

  .msm-site-brand__t {
    font-size: 15px;
  }

  .msm-site-brand__divider {
    height: 22px;
  }

  .msm-site-brand__copy strong {
    font-size: 12px;
  }

  .msm-site-brand__copy small {
    font-size: 8px;
  }

  .msm-site-nav {
    background: #fff;
    border-bottom: 1px solid #d6e0e5;
    box-shadow: 0 12px 24px rgb(16 42 67 / 10%);
    display: none;
    grid-template-columns: minmax(0, 1fr);
    justify-content: stretch;
    justify-items: stretch;
    left: 0;
    max-height: calc(100vh - 58px);
    overflow-y: auto;
    padding: 8px 15px 14px;
    position: absolute;
    right: 0;
    top: 58px;
    width: 100%;
  }

  .msm-site-header.is-open .msm-site-nav {
    display: grid;
  }

  .msm-site-nav a {
    border-bottom: 1px solid #e8eef1;
    min-height: 46px;
    padding: 0 8px;
    width: 100%;
  }

  .msm-site-nav a[aria-current="page"] {
    border-bottom-color: #e8eef1;
    border-left: 3px solid #0f7f84;
    padding-left: 12px;
  }

  .msm-site-nav__mobile-only {
    display: inline-flex !important;
  }

  .msm-site-header__contact,
  .msm-site-header__notification,
  .msm-site-profile {
    display: none;
  }

  .msm-site-menu-toggle {
    display: block;
  }

  .msm-home {
    gap: 16px;
  }

  .msm-home__header {
    align-items: flex-start;
    gap: 12px;
  }

  .msm-home__title {
    font-size: 25px;
  }

  .msm-home__welcome {
    font-size: 12px;
  }

  .msm-home__member-state {
    background: #e8f4ed;
    border-radius: 3px;
    font-size: 10px;
    margin-top: 21px;
    padding: 6px 8px;
  }

  .msm-home-notice {
    gap: 7px;
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 13px 14px;
  }

  .msm-home-notice__label {
    grid-column: 1 / -1;
  }

  .msm-home-notice strong {
    font-size: 13px;
  }

  .msm-home-notice__date {
    font-size: 10px;
  }

  .msm-home-dashboard {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
  }

  .msm-home-dashboard__main,
  .msm-home-dashboard__side {
    display: contents;
  }

  .msm-home-dashboard .msm-home-panel,
  .msm-home-dashboard .msm-account-form {
    width: 100%;
  }

  .msm-home-panel--news {
    order: 1;
  }

  .msm-home-panel--chat {
    order: 2;
  }

  .msm-home-shortcuts {
    order: 3;
  }

  .msm-home-panel--notifications {
    order: 4;
  }

  .msm-home-panel--profile {
    order: 5;
  }

  #msm-account-edit {
    order: 6;
  }

  #msm-password-change {
    margin-top: 0;
    order: 7;
  }

  .msm-home-panel__head {
    min-height: 56px;
    padding: 12px 14px;
  }

  .msm-home-panel__title {
    font-size: 16px;
  }

  .msm-home-feed__item {
    align-items: start;
    gap: 8px 10px;
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 13px 14px;
  }

  .msm-home-feed__item .msm-home-feed__tag {
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
  }

  .msm-home-feed__content {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .msm-home-feed time,
  .msm-home-feed__open {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
  }

  .msm-home-chat-actions .msm-button--ghost {
    display: none;
  }

  .msm-home-chat-actions .msm-button {
    min-width: 48px;
    padding: 0 10px;
  }

  .msm-home-thread-list li {
    padding: 13px 14px;
  }

  .msm-home-thread-list li.msm-home-thread-list__empty {
    display: block;
    min-height: 96px;
    padding: 20px 16px;
  }

  .msm-home-thread-list__empty > strong {
    display: block;
    white-space: normal;
  }

  .msm-home-thread-list__empty > span {
    color: #657481;
    display: block;
    font-size: 11px;
    line-height: 1.6;
    margin-top: 7px;
  }

  .msm-home-profile {
    padding: 16px;
  }

  .msm-home-shortcuts > a {
    min-height: 68px;
    padding: 11px 14px;
  }

  .msm-form-grid,
  .msm-form-grid--account,
  .msm-form-grid--password {
    grid-template-columns: 1fr;
  }

  .msm-password-form__field--current {
    grid-column: auto;
  }

  .msm-account-form__header,
  .msm-account-section {
    padding-left: 16px;
    padding-right: 16px;
  }

  .msm-account-form__actions {
    align-items: stretch;
    flex-direction: column;
    padding: 14px 16px;
  }

  .msm-account-form__actions .msm-button {
    width: 100%;
  }
}

/* Member inquiry page */
.msm-support-page .main {
  margin-left: auto;
  margin-right: auto;
  max-width: 1020px;
}

.msm-support-page .entry-title {
  color: #102a43;
  display: block !important;
  font-size: 30px;
  letter-spacing: 0;
  margin: 0 0 24px;
  padding: 0 0 18px;
  position: relative;
}

.msm-support-page .entry-title::before {
  color: #0f7f84;
  content: "MEMBER SUPPORT";
  display: block;
  font-family: Arial, sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0;
  margin-bottom: 8px;
}

.msm-support-page .entry-title::after {
  background: linear-gradient(90deg, #0f7f84 0 86px, #c7a34a 86px 100%);
  bottom: 0;
  content: "";
  height: 3px;
  left: 0;
  position: absolute;
  width: 100%;
}

.msm-support-page .entry-content {
  color: #334e5e;
}

.msm-support-page #cats {
  align-items: stretch;
  border-bottom: 1px solid #d6e0e5;
  display: grid;
  gap: 4px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0 0 28px;
  overflow: visible;
}

.msm-support-page #cats .cat {
  align-items: center;
  border-bottom: 3px solid transparent;
  color: #526675;
  display: flex;
  font-size: 13px;
  font-weight: 700;
  justify-content: center;
  min-height: 46px;
  min-width: 0;
  padding: 3px 10px 0;
  text-align: center;
  text-decoration: none;
  width: auto !important;
}

.msm-support-page--support #cats .cat[href$="/support/"],
.msm-support-page--qa #cats .cat[href$="/support/qa/"],
.msm-support-page--about #cats .cat[href$="/support/about/"],
.msm-support-page--kiyaku #cats .cat[href$="/support/kiyaku/"] {
  background: #edf7f7;
  border-bottom-color: #0f7f84;
  color: #102a43;
}

.msm-support-page #cats .cat:hover,
.msm-support-page #cats .cat:focus {
  background: #edf7f7;
  color: #0f7f84;
  text-decoration: none;
}

.msm-support-page .entry-content > p:not(:has(.mw_wp_form)) {
  font-size: 14px;
  line-height: 1.8;
  margin: 0 0 18px;
}

.msm-support-page .wp-list-table,
.msm-support-page .wp-list-table tbody,
.msm-support-page .wp-list-table tr,
.msm-support-page .wp-list-table td {
  background: transparent !important;
  border: 0 !important;
  display: block;
  margin: 0;
  padding: 0 !important;
  width: 100% !important;
}

.msm-support-page .mw_wp_form {
  background: #fff;
  border: 1px solid #d6e0e5;
  border-radius: 6px;
  box-shadow: 0 8px 24px rgb(16 42 67 / 5%);
  margin-top: 22px;
  padding: 30px 34px 34px;
}

.msm-support-page .mw_wp_form *,
.msm-support-page .mw_wp_form *::before,
.msm-support-page .mw_wp_form *::after {
  box-sizing: border-box;
}

.msm-support-page .mw_wp_form form {
  margin: 0 auto;
  max-width: 760px;
}

.msm-support-page .mw_wp_form form > div {
  margin: 0 0 22px;
}

.msm-support-page .mw_wp_form form > div:last-child {
  margin-bottom: 0;
  padding-top: 6px;
}

.msm-support-page .mw_wp_form form > div > br {
  display: none;
}

.msm-support-page .mw_wp_form label {
  color: #243b4a;
  display: block;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 8px;
}

.msm-support-page .mw_wp_form input[type="text"],
.msm-support-page .mw_wp_form input[type="email"],
.msm-support-page .mw_wp_form textarea {
  background: #fff;
  border: 1px solid #bac9d2;
  border-radius: 5px;
  box-shadow: none;
  color: #1d2b38;
  font-size: 15px;
  min-height: 46px;
  padding: 10px 12px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  width: 100%;
}

.msm-support-page .mw_wp_form textarea {
  min-height: 170px;
  resize: vertical;
}

.msm-support-page .mw_wp_form input:focus,
.msm-support-page .mw_wp_form textarea:focus {
  border-color: #0f7f84;
  box-shadow: 0 0 0 3px rgb(15 127 132 / 13%);
  outline: 0;
}

.msm-support-page .mw_wp_form form > div:nth-child(1) .form-control,
.msm-support-page .mw_wp_form form > div:nth-child(2) .form-control {
  display: inline-block;
  width: calc(50% - 5px);
}

.msm-support-page .mw_wp_form form > div:nth-child(1),
.msm-support-page .mw_wp_form form > div:nth-child(2) {
  font-size: 0;
}

.msm-support-page .mw_wp_form form > div:nth-child(1) label,
.msm-support-page .mw_wp_form form > div:nth-child(2) label {
  font-size: 13px;
}

.msm-support-page .mw_wp_form form > div:nth-child(1) .form-control + .form-control,
.msm-support-page .mw_wp_form form > div:nth-child(2) .form-control + .form-control {
  margin-left: 10px;
}

.msm-support-page .mw_wp_form button,
.msm-support-page .mw_wp_form input[type="submit"] {
  background: #0f7f84;
  border: 1px solid #0f7f84;
  border-radius: 5px;
  color: #fff;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  min-height: 48px;
  padding: 10px 26px;
}

.msm-support-page .mw_wp_form button:hover,
.msm-support-page .mw_wp_form button:focus,
.msm-support-page .mw_wp_form input[type="submit"]:hover,
.msm-support-page .mw_wp_form input[type="submit"]:focus {
  background: #0a676b;
  border-color: #0a676b;
}

.msm-support-page .mw_wp_form .error {
  color: #b04735;
  display: block;
  font-size: 12px;
  margin-top: 6px;
}

.msm-support-page .mw_wp_form_complete {
  font-size: 15px;
  line-height: 1.9;
  text-align: left;
}

.msm-support-page .list-group {
  display: grid;
  gap: 14px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.msm-support-page .list-group-item {
  background: #fff;
  border: 1px solid #d6e0e5;
  border-left: 4px solid #0f7f84;
  border-radius: 5px;
  color: #334e5e;
  font-size: 14px;
  line-height: 1.9;
  margin: 0;
  padding: 22px 24px;
}

.msm-support-page .list-group-item a {
  color: #086e73;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.msm-support-page .list-group-item .s_q {
  color: #102a43;
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0;
  margin-bottom: 8px;
}

.msm-support-page--qa .list-group-item .s_q {
  background: #102a43;
  border-radius: 3px;
  color: #fff;
  padding: 3px 8px;
}

.msm-support-page .list-group-item .s_a {
  background: #e6f3f1;
  border-radius: 3px;
  color: #086e73;
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0;
  margin: 16px 0 8px;
  padding: 3px 8px;
}

.msm-support-page .list-group-item .s_n {
  display: none;
}

.msm-faq {
  display: grid;
  gap: 30px;
  min-width: 0;
}

.msm-faq__intro {
  border-left: 4px solid #0f7f84;
  padding: 8px 0 8px 20px;
}

.msm-faq__intro p {
  color: #526675;
  font-size: 14px;
  line-height: 1.8;
  margin: 0;
}

.msm-faq__intro .msm-faq__eyebrow {
  color: #0f7f84;
  font-family: Arial, sans-serif;
  font-size: 11px;
  font-weight: 800;
  margin-bottom: 5px;
}

.msm-faq__group {
  min-width: 0;
}

.msm-faq__group-heading {
  background: transparent;
  border-bottom: 1px solid #cfdbe1;
  margin-bottom: 12px;
  padding: 0 0 10px;
}

.msm-faq__group-title {
  color: #102a43;
  display: block;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.6;
}

.msm-faq__items {
  display: grid;
  gap: 10px;
}

.msm-faq__item {
  background: #fff;
  border: 1px solid #d6e0e5;
  border-radius: 5px;
  min-width: 0;
  overflow: hidden;
}

.msm-faq__item summary {
  align-items: center;
  color: #183449;
  cursor: pointer;
  display: grid;
  font-size: 14px;
  font-weight: 700;
  gap: 12px;
  grid-template-columns: 34px minmax(0, 1fr) 28px;
  line-height: 1.7;
  list-style: none;
  padding: 17px 18px;
}

.msm-faq__item summary::-webkit-details-marker {
  display: none;
}

.msm-faq__item summary:focus-visible {
  outline: 2px solid #0f7f84;
  outline-offset: -3px;
}

.msm-faq__item[open] summary {
  border-bottom: 1px solid #dce5e9;
}

.msm-faq__mark {
  align-items: center;
  display: inline-flex;
  flex: 0 0 auto;
  font-family: Arial, sans-serif;
  font-size: 12px;
  font-weight: 800;
  height: 30px;
  justify-content: center;
  width: 30px;
}

.msm-faq__mark--question {
  background: #102a43;
  color: #fff;
}

.msm-faq__mark--answer {
  background: #dff1ef;
  color: #086e73;
}

.msm-faq__toggle {
  align-items: center;
  color: #0f7f84;
  display: inline-flex;
  font-size: 20px;
  font-weight: 400;
  height: 28px;
  justify-content: center;
  width: 28px;
}

.msm-faq__toggle::before {
  content: "+";
}

.msm-faq__item[open] .msm-faq__toggle::before {
  content: "−";
}

.msm-faq__answer {
  align-items: start;
  color: #334e5e;
  display: grid;
  font-size: 14px;
  gap: 12px;
  grid-template-columns: 34px minmax(0, 1fr);
  line-height: 1.9;
  padding: 18px;
}

.msm-faq__answer p {
  margin: 0;
}

.msm-faq__answer p + p {
  margin-top: 10px;
}

.msm-faq__answer a {
  color: #086e73;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.msm-support-page--about .list-group-item .s_q,
.msm-support-page--kiyaku .list-group-item > strong:first-child {
  border-bottom: 1px solid #e1e8ec;
  color: #102a43;
  display: block;
  font-size: 17px;
  margin: 0 0 12px;
  padding: 0 0 10px;
}

.msm-support-page--about .list-group-item .s_q + br,
.msm-support-page--kiyaku .list-group-item > strong:first-child + br {
  display: none;
}

.msm-support-page--kiyaku .list-group {
  gap: 10px;
}

.msm-support-page--kiyaku .list-group-item {
  border-left-width: 1px;
  padding: 20px 22px;
}

.msm-support-page .toc {
  display: none !important;
}

.msm-support-cta {
  align-items: center;
  background: #eef7f6;
  border: 1px solid #b8d8d5;
  border-radius: 5px;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  margin-top: 24px;
  padding: 22px 24px;
}

.msm-support-cta > div {
  display: grid;
  gap: 4px;
}

.msm-support-cta strong {
  color: #102a43;
  font-size: 16px;
}

.msm-support-cta span {
  color: #526675;
  font-size: 13px;
}

.msm-support-cta .msm-button {
  flex: 0 0 auto;
  min-width: 190px;
}

.msm-billing-guide,
.msm-billing-guide *,
.msm-billing-guide *::before,
.msm-billing-guide *::after {
  box-sizing: border-box;
}

.msm-billing-guide {
  color: #334e5e;
  display: grid;
  gap: 22px;
  min-width: 0;
}

.msm-billing-guide__intro {
  border-left: 4px solid #0f7f84;
  padding: 8px 0 8px 20px;
}

.msm-billing-guide__eyebrow {
  color: #0f7f84;
  font-family: Arial, sans-serif;
  font-size: 11px;
  font-weight: 800;
  margin: 0 0 5px;
}

.msm-billing-guide__intro h2 {
  border: 0;
  color: #102a43;
  font-size: 25px;
  margin: 0 0 8px;
  padding: 0;
}

.msm-billing-guide__intro > p:last-child {
  font-size: 14px;
  line-height: 1.8;
  margin: 0;
}

.msm-billing-guide__plans {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.msm-billing-guide__plans--standard {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.msm-billing-guide__plans > section {
  background: #fff;
  border: 1px solid #d6e0e5;
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 20px;
}

.msm-billing-guide__plan-heading {
  align-items: center;
  border-bottom: 1px solid #e1e8ec;
  display: flex;
  gap: 12px;
  margin-bottom: 15px;
  padding-bottom: 14px;
}

.msm-billing-guide__icon {
  align-items: center;
  background: #e7f3f2;
  border: 1px solid #c7dfdd;
  color: #086e73;
  display: inline-flex;
  flex: 0 0 40px;
  font-size: 15px;
  font-weight: 800;
  height: 40px;
  justify-content: center;
  width: 40px;
}

.msm-billing-guide__plan-heading p {
  color: #70838e;
  font-family: Arial, sans-serif;
  font-size: 9px;
  font-weight: 800;
  margin: 0 0 2px;
}

.msm-billing-guide__plan-heading h3 {
  border: 0;
  color: #102a43;
  font-size: 17px;
  margin: 0;
  padding: 0;
}

.msm-billing-guide__plans dl {
  display: grid;
  gap: 13px;
  grid-template-rows: 74px 94px 100px auto;
  margin: 0;
}

.msm-billing-guide__plans dl > div {
  min-width: 0;
}

.msm-billing-guide__plans dt {
  color: #687b87;
  font-size: 11px;
  font-weight: 700;
  margin-bottom: 3px;
}

.msm-billing-guide__plans dd {
  color: #243b4a;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.7;
  margin: 0;
  overflow-wrap: anywhere;
}

.msm-billing-guide__deadline {
  align-items: center;
  background: #fff8e8;
  border-left: 4px solid #c7a34a;
  display: flex;
  gap: 14px;
  padding: 15px 18px;
}

.msm-billing-guide__deadline strong {
  color: #684f12;
  font-size: 13px;
  white-space: nowrap;
}

.msm-billing-guide__deadline span {
  color: #665a3b;
  font-size: 13px;
}

.msm-billing-guide__notes {
  background: #f5f8fa;
  border-top: 1px solid #d6e0e5;
  padding: 22px 24px;
}

.msm-billing-guide__notes h3 {
  border: 0;
  color: #102a43;
  font-size: 16px;
  margin: 0 0 12px;
  padding: 0;
}

.msm-billing-guide__notes ul {
  margin: 0;
  padding-left: 1.4em;
}

.msm-billing-guide__notes li {
  color: #526675;
  font-size: 13px;
  line-height: 1.8;
  margin-bottom: 5px;
}

.msm-billing-guide__notes li:last-child {
  margin-bottom: 0;
}

.msm-billing-guide__actions {
  align-items: center;
  background: #eef7f6;
  border: 1px solid #b8d8d5;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  padding: 22px 24px;
}

.msm-billing-guide__actions > div:first-child {
  display: grid;
  gap: 4px;
}

.msm-billing-guide__actions strong {
  color: #102a43;
  font-size: 16px;
}

.msm-billing-guide__actions span {
  color: #526675;
  font-size: 13px;
  line-height: 1.7;
}

.msm-billing-guide__buttons {
  display: flex;
  flex: 0 0 auto;
  gap: 8px;
}

.msm-billing-guide__buttons .msm-button {
  min-width: 154px;
}

.msm-terms,
.msm-terms *,
.msm-terms *::before,
.msm-terms *::after {
  box-sizing: border-box;
}

.msm-terms {
  color: #334e5e;
  display: grid;
  gap: 22px;
  margin-top: 4px;
  min-width: 0;
}

.msm-terms__intro {
  background: #f4f8f8;
  border-left: 4px solid #0f7f84;
  padding: 24px 26px;
}

.msm-terms__eyebrow {
  color: #0f7f84;
  font-family: Arial, sans-serif;
  font-size: 11px;
  font-weight: 800;
  margin: 0 0 6px;
}

.msm-terms__intro h2 {
  border: 0;
  color: #102a43;
  font-size: 25px;
  margin: 0 0 10px;
  padding: 0;
}

.msm-terms__intro > p:last-of-type {
  font-size: 14px;
  line-height: 1.8;
  margin: 0;
}

.msm-terms__meta {
  border-top: 1px solid #cfdddf;
  display: grid;
  gap: 0;
  grid-template-columns: 150px 170px minmax(0, 1fr);
  margin: 20px 0 0;
  padding-top: 15px;
}

.msm-terms__meta > div {
  min-width: 0;
  padding-right: 18px;
}

.msm-terms__meta dt {
  color: #687b87;
  font-size: 11px;
  font-weight: 700;
  margin-bottom: 3px;
}

.msm-terms__meta dd {
  color: #243b4a;
  font-size: 13px;
  font-weight: 700;
  margin: 0;
  overflow-wrap: anywhere;
}

.msm-terms__toc {
  background: #fff;
  border: 1px solid #cfdae0;
  border-radius: 5px;
  padding: 0 20px;
}

.msm-terms__toc summary {
  color: #102a43;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  padding: 15px 0;
}

.msm-terms__toc[open] summary {
  border-bottom: 1px solid #e1e8ec;
}

.msm-terms__toc ol {
  column-count: 2;
  column-gap: 42px;
  font-size: 13px;
  line-height: 1.7;
  margin: 16px 0 18px;
  padding-left: 24px;
}

.msm-terms__toc li {
  break-inside: avoid;
  margin: 0 0 5px;
  padding-left: 3px;
}

.msm-terms__toc a {
  color: #086e73;
  text-decoration: none;
}

.msm-terms__toc a:hover,
.msm-terms__toc a:focus {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.msm-terms__body {
  background: #fff;
  border: 1px solid #d6e0e5;
  padding: 6px 30px;
}

.msm-terms__body section {
  border-bottom: 1px solid #e1e8ec;
  padding: 26px 0;
  scroll-margin-top: 110px;
}

.msm-terms__body section:last-child {
  border-bottom: 0;
}

.msm-terms__body h3 {
  border: 0;
  color: #102a43;
  font-size: 18px;
  line-height: 1.5;
  margin: 0 0 13px;
  padding: 0;
}

.msm-terms__body p,
.msm-terms__body li {
  color: #334e5e;
  font-size: 14px;
  line-height: 1.9;
}

.msm-terms__body p {
  margin: 0;
}

.msm-terms__body ol {
  margin: 0;
  padding-left: 1.6em;
}

.msm-terms__body li {
  margin-bottom: 7px;
  overflow-wrap: anywhere;
  padding-left: 4px;
}

.msm-terms__body li:last-child {
  margin-bottom: 0;
}

.msm-terms__footer {
  align-items: center;
  background: #f4f8f8;
  border-top: 3px solid #0f7f84;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  padding: 20px 24px;
}

.msm-terms__footer p {
  color: #526675;
  font-size: 12px;
  line-height: 1.8;
  margin: 0;
}

.msm-terms__footer .msm-button {
  flex: 0 0 auto;
}

.msm-commercial__body {
  background: #fff;
  border: 1px solid #d6e0e5;
  padding: 8px 30px;
}

.msm-commercial__list {
  margin: 0;
}

.msm-commercial__list > div {
  border-bottom: 1px solid #e1e8ec;
  display: grid;
  gap: 28px;
  grid-template-columns: 190px minmax(0, 1fr);
  padding: 20px 0;
}

.msm-commercial__list > div:last-child {
  border-bottom: 0;
}

.msm-commercial__list dt {
  color: #102a43;
  font-size: 13px;
  font-weight: 700;
}

.msm-commercial__list dd {
  color: #334e5e;
  font-size: 14px;
  line-height: 1.85;
  margin: 0;
  overflow-wrap: anywhere;
}

.msm-commercial__list dd > strong,
.msm-commercial__list dd > span {
  display: block;
}

.msm-commercial__list dd > strong {
  color: #102a43;
  margin: 10px 0 2px;
}

.msm-commercial__list dd > strong:first-child {
  margin-top: 0;
}

.msm-commercial__list dd > span {
  color: #526675;
  font-size: 12px;
  margin-top: 10px;
}

.msm-commercial__list a {
  color: #086e73;
}

.msm-commercial__actions {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.msm-commercial__actions .msm-button {
  min-width: 120px;
}

@media (min-width: 761px) and (max-width: 900px) {
  .msm-billing-guide__plans {
    grid-template-columns: 1fr;
  }

  .msm-billing-guide__plans dl {
    grid-template-rows: none;
  }
}

@media (max-width: 760px) {
  .msm-support-page .entry-title {
    font-size: 25px;
    margin-bottom: 18px;
  }

  .msm-support-page #cats {
    gap: 2px;
    margin-left: 0;
    margin-right: 0;
  }

  .msm-support-page #cats .cat {
    font-size: 10px;
    line-height: 1.35;
    min-height: 54px;
    overflow-wrap: anywhere;
    padding-left: 4px;
    padding-right: 4px;
  }

  .msm-support-page .mw_wp_form {
    margin-left: -2px;
    margin-right: -2px;
    padding: 22px 16px 24px;
  }

  .msm-support-page .mw_wp_form form > div:nth-child(1) .form-control,
  .msm-support-page .mw_wp_form form > div:nth-child(2) .form-control {
    display: block;
    width: 100%;
  }

  .msm-support-page .mw_wp_form form > div:nth-child(1) .form-control + .form-control,
  .msm-support-page .mw_wp_form form > div:nth-child(2) .form-control + .form-control {
    margin-left: 0;
    margin-top: 10px;
  }

  .msm-support-page .mw_wp_form button,
  .msm-support-page .mw_wp_form input[type="submit"] {
    width: 100%;
  }

  .msm-support-page .list-group {
    gap: 10px;
  }

  .msm-support-page .list-group-item,
  .msm-support-page--kiyaku .list-group-item {
    font-size: 13px;
    line-height: 1.85;
    padding: 17px 16px;
  }

  .msm-support-page--about .list-group-item .s_q,
  .msm-support-page--kiyaku .list-group-item > strong:first-child {
    font-size: 15px;
  }

  .msm-support-cta {
    align-items: stretch;
    flex-direction: column;
    gap: 16px;
    padding: 18px 16px;
  }

  .msm-support-cta .msm-button {
    width: 100%;
  }

  .msm-faq {
    gap: 24px;
  }

  .msm-faq__intro {
    padding-left: 15px;
  }

  .msm-faq__item summary {
    gap: 9px;
    grid-template-columns: 30px minmax(0, 1fr) 24px;
    padding: 15px 13px;
  }

  .msm-faq__answer {
    gap: 9px;
    grid-template-columns: 30px minmax(0, 1fr);
    padding: 16px 13px;
  }

  .msm-faq__mark {
    height: 28px;
    width: 28px;
  }

  .msm-billing-guide {
    gap: 16px;
  }

  .msm-billing-guide__intro {
    padding-left: 15px;
  }

  .msm-billing-guide__intro h2 {
    font-size: 22px;
  }

  .msm-billing-guide__plans {
    grid-template-columns: 1fr;
  }

  .msm-billing-guide__plans > section {
    padding: 17px 16px;
  }

  .msm-billing-guide__plans dl {
    grid-template-rows: none;
  }

  .msm-billing-guide__deadline {
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
    padding: 14px 15px;
  }

  .msm-billing-guide__deadline strong {
    white-space: normal;
  }

  .msm-billing-guide__notes {
    padding: 18px 16px;
  }

  .msm-billing-guide__actions {
    align-items: stretch;
    flex-direction: column;
    gap: 16px;
    padding: 18px 16px;
  }

  .msm-billing-guide__buttons {
    flex-direction: column;
  }

  .msm-billing-guide__buttons .msm-button {
    width: 100%;
  }

  .msm-terms {
    gap: 16px;
  }

  .msm-terms__intro {
    padding: 20px 17px;
  }

  .msm-terms__intro h2 {
    font-size: 22px;
  }

  .msm-terms__meta {
    grid-template-columns: 1fr;
  }

  .msm-terms__meta > div {
    border-bottom: 1px solid #dce5e8;
    padding: 9px 0;
  }

  .msm-terms__meta > div:first-child {
    padding-top: 0;
  }

  .msm-terms__meta > div:last-child {
    border-bottom: 0;
    padding-bottom: 0;
  }

  .msm-terms__toc {
    padding: 0 15px;
  }

  .msm-terms__toc ol {
    column-count: 1;
    padding-left: 22px;
  }

  .msm-terms__body {
    padding: 2px 16px;
  }

  .msm-commercial__body {
    padding: 2px 16px;
  }

  .msm-commercial__list > div {
    gap: 6px;
    grid-template-columns: 1fr;
    padding: 18px 0;
  }

  .msm-commercial__list dt {
    font-size: 12px;
  }

  .msm-commercial__list dd {
    font-size: 13px;
    line-height: 1.8;
  }

  .msm-terms__body section {
    padding: 22px 0;
  }

  .msm-terms__body h3 {
    font-size: 16px;
  }

  .msm-terms__body p,
  .msm-terms__body li {
    font-size: 13px;
    line-height: 1.85;
  }

  .msm-terms__footer {
    align-items: stretch;
    flex-direction: column;
    gap: 15px;
    padding: 18px 16px;
  }

  .msm-terms__footer .msm-button {
    width: 100%;
  }

  .msm-commercial .msm-commercial__actions {
    align-self: stretch;
    box-sizing: border-box;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
  }

  .msm-commercial .msm-commercial__actions .msm-button {
    box-sizing: border-box;
    max-width: none;
    width: 100%;
  }
}

@media (max-width: 760px) {
  .msm-home-feed__item {
    gap: 7px;
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 13px 14px;
  }

  .msm-home-feed__item .msm-home-feed__tag {
    grid-column: 1 / -1;
    justify-self: start;
  }
}
