/* Management Structure — detail page */
.page-management {
  background: var(--bg);
}

.page-management .nav-dropdown a.on {
  background: var(--bg-soft);
  color: #202124;
}

.ms-crumb {
  background: var(--bg-soft);
}
.ms-crumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 14px 0;
  list-style: none;
  font-family: var(--text);
  font-size: 14px;
  color: var(--soft);
}
.ms-crumb li:not(:last-child)::after {
  content: "/";
  margin-left: 8px;
  color: var(--line);
}
.ms-crumb a {
  color: var(--blue);
}
.ms-crumb a:hover {
  text-decoration: underline;
}
.ms-crumb [aria-current="page"] {
  color: var(--muted);
}

.ms-hero {
  position: relative;
  height: 480px;
  min-height: 480px;
  overflow: hidden;
  background: #0b2a4a;
}
.ms-hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.92;
}
.ms-hero-copy {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0 24px;
  text-align: center;
}
.ms-hero h1 {
  width: 100%;
  font-family: var(--display);
  font-size: clamp(40px, 5.5vw, 64px);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.08;
  color: #fff;
  text-align: center;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.25);
}

.ms-subnav {
  padding: 48px 0 24px 0;
  background: #ffffff;
}
.ms-subnav-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}
.ms-subnav-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 248px;
  max-width: 100%;
  min-height: 52px;
  padding: 14px 18px;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 100px;
  background: #ffffff00;
  color: var(--ink);
  font-family: var(--text);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.3;
}
.ms-subnav-select-wrap {
  display: none;
  width: min(280px, 100%);
  margin-left: auto;
}
.ms-subnav-select {
  width: 100%;
  height: 52px;
  padding: 0 48px 0 20px;
  border: 1px solid var(--line);
  border-radius: 100px;
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%231f1f1f' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 6.5 8 11l4.5-4.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  background-size: 16px;
  color: var(--ink);
  font-family: var(--text);
  font-size: 16px;
  font-weight: 500;
  appearance: none;
}
.ms-subnav-copy {
  display: block;
  white-space: nowrap;
  min-width: 0;
}
.ms-subnav-link.is-active {
  /* border-color: #003051; */
  background: #003051;
  box-shadow: 0 8px 18px rgba(0, 48, 81, 0.12);
  color: #fff;
  border: 0px solid var(--line);
  font-weight: 600;
}
.ms-chart {
  padding: 48px 0 72px;
  background: #ffffff;
}
.ms-chart-inner {
  max-width: 100%;
}
.ms-chart-figure {
  margin: 0;
  padding: 24px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow-x: auto;
}
.ms-chart-figure img {
  width: 100%;
  min-width: 720px;
  height: auto;
  display: block;
}
.ms-chart-enlarge {
  display: none;
  margin-top: 20px;
}
.ms-chart-enlarge--always {
  display: inline-flex;
}
.ms-chart-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 16px;
  align-items: end;
  margin-top: 20px;
}
.ms-download {
  margin: 0;
}
.ms-note {
  margin: 16px 0 0;
  font-family: var(--text);
  font-size: 14px;
  color: var(--soft);
}

@media (max-width: 960px) {
  .ms-subnav-list {
    display: none;
  }
  .ms-subnav-select-wrap {
    display: block;
  }
  .ms-subnav {
    padding: 28px 0 8px;
  }
}
@media (max-width: 768px) {
  .ms-hero {
    height: 280px;
    min-height: 280px;
  }
  .ms-hero h1 {
    font-size: clamp(32px, 8vw, 40px);
  }
  .ms-hero-copy {
    padding: 0 20px;
  }
  .ms-subnav-link {
    width: min(260px, 100%);
  }
  .ms-chart {
    padding: 28px 0 56px;
  }
  .ms-chart-figure {
    padding: 12px;
  }
  .ms-chart-figure img {
    min-width: 0;
    width: 100%;
  }
  .ms-chart-enlarge {
    display: inline-flex;
  }
  .ms-chart-actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}
@media (max-width: 576px) {
  .ms-hero {
    height: 240px;
    min-height: 240px;
  }
  .ms-crumb ol {
    padding: 12px 0;
    row-gap: 4px;
  }
}

@media (max-width: 479px) {
  .ms-hero h1 {
    font-size: 36px;
  }
}
