/* Funding workspace navigation, isolated from page themes and layout styles. */
body > .release-strip { display: none; }
#fiscal-header, #fiscal-header * { box-sizing: border-box; letter-spacing: 0; }
#fiscal-header { position: sticky; top: 0; z-index: 90; margin: 0; padding: 0; width: 100%; background: #fff; border: 0; border-bottom: 1px solid #dde4e0; backdrop-filter: none; font-family: "Pretendard", "SUIT", "Inter", "Noto Sans KR", "Noto Sans CJK KR", system-ui, sans-serif; color: #243531; line-height: 1.5; }
#fiscal-header .header-wrap { width: min(1620px, calc(100% - 280px)); min-height: 66px; margin: 0 auto; display: grid; grid-template-columns: minmax(260px, auto) minmax(0, 1fr) auto; align-items: stretch; gap: 28px; }
#fiscal-header a { color: #5c6c65; text-decoration: none; }
#fiscal-header .brand { display: flex; gap: 10px; align-items: center; color: #183c32; font-size: 17px; font-weight: 750; white-space: nowrap; }
#fiscal-header .brand-mark { display: grid; place-items: center; width: 34px; height: 34px; background: #236253; border: 0; border-radius: 6px; box-shadow: none; font-size: 13px; color: #fff; }
#fiscal-header .brand-mark img { display: block; width: 21px; height: 21px; max-width: none; }
#fiscal-header .brand small { display: block; margin: 0; color: #61736b; font-size: 10px; font-weight: 500; }
#fiscal-header .site-nav { display: flex; flex-wrap: nowrap; justify-content: flex-end; align-items: stretch; gap: 25px; width: 100%; margin: 0; padding: 0; border: 0; }
#fiscal-header .site-nav > a, #fiscal-header .site-nav summary { display: inline-flex; justify-content: center; align-items: center; gap: 6px; min-height: 0; padding: 0; margin: 0; border: 0; border-bottom: 2px solid transparent; border-radius: 0; color: #5c6c65; background: transparent; font-size: 14px; font-weight: 550; white-space: nowrap; cursor: pointer; line-height: 1.5; }
#fiscal-header .site-nav > a.on, #fiscal-header .nav-group.current > summary, #fiscal-header .site-nav a:hover, #fiscal-header summary:hover { color: #236253; border-bottom-color: #236253; background: transparent; box-shadow: none; }
#fiscal-header .nav-group { position: relative; margin: 0; padding: 0; border: 0; }
#fiscal-header summary { list-style: none; }
#fiscal-header summary::-webkit-details-marker { display: none; }
#fiscal-header summary::after { content: ""; width: 5px; height: 5px; flex: 0 0 5px; margin: 0; padding: 0; border: 0; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: rotate(45deg) translateY(-2px); }
#fiscal-header .nav-group[open] summary::after { transform: rotate(225deg); }
#fiscal-header .nav-menu { position: absolute; top: calc(100% + 5px); left: auto; right: 0; z-index: 95; min-width: 172px; display: grid; grid-template-columns: 1fr; gap: 2px; padding: 6px; margin: 0; background: #fff; border: 1px solid #dcdedb; border-radius: 5px; box-shadow: 0 4px 12px #0000000d; }
#fiscal-header .nav-group:not([open]) .nav-menu { display: none; }
#fiscal-header .nav-menu a { display: block; padding: 9px 10px; margin: 0; color: #454740; font-size: 12px; font-weight: 500; white-space: nowrap; border: 0; border-radius: 3px; }
#fiscal-header .member-link { align-self: center; display: inline-flex; justify-content: center; align-items: center; min-height: 40px; max-width: 190px; padding: 7px 13px; margin: 0; border: 1px solid #d2dcd6; border-radius: 6px; color: #4d6258; background: #fff; font-size: 14px; font-weight: 550; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#fiscal-header .member-link:hover { border-color: #a5b8ae; background: #f1f5f2; color: #243531; }
#fiscal-header a:focus-visible, #fiscal-header summary:focus-visible { outline: 3px solid #9db9aa; outline-offset: 3px; }
@media (max-width: 1349px) {
  #fiscal-header .header-wrap { width: min(100% - 56px, 1220px); grid-template-columns: 1fr auto; gap: 0 18px; padding: 10px 0 0; }
  #fiscal-header .brand { min-height: 38px; }
  #fiscal-header .member-link { grid-column: 2; grid-row: 1; }
  #fiscal-header .site-nav { grid-column: 1 / -1; grid-row: 2; justify-content: flex-start; min-height: 48px; overflow-x: auto; }
}
@media (max-width: 760px) {
  #fiscal-header .header-wrap { width: calc(100% - 32px); padding: 6px 0; }
  #fiscal-header .brand { font-size: 15px; }
  #fiscal-header .brand-mark { width: 29px; height: 29px; }
  #fiscal-header .site-nav { position: relative; display: flex; gap: 21px; min-height: 43px; padding-top: 0; }
  #fiscal-header .site-nav > a, #fiscal-header .site-nav summary { width: auto; height: auto; padding: 0; font-size: 13px; white-space: nowrap; }
  #fiscal-header .nav-group, #fiscal-header .nav-group[open] { position: static; grid-column: auto; }
  #fiscal-header .nav-menu, #fiscal-header .nav-group[open] .nav-menu { position: absolute; top: calc(100% + 6px); left: 0; right: 0; min-width: 0; margin: 0; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #fiscal-header .nav-menu a { white-space: normal; }
}
@media print { #fiscal-header { display: none !important; } }

/* Bootstrap-style service header used by library and follow-on service pages. */
.site-header,
.site-header * {
  box-sizing: border-box;
  letter-spacing: 0;
}

.site-header {
  border-bottom: 1px solid #dde4e0;
  background: #fff;
  font-family: "Pretendard", "SUIT", "Inter", "Noto Sans KR", "Noto Sans CJK KR", system-ui, sans-serif;
}

.site-header .header-inner {
  width: min(1620px, calc(100% - 280px));
  max-width: none;
  min-height: 66px;
  margin: 0 auto;
  padding-inline: 0;
  display: grid;
  grid-template-columns: minmax(260px, auto) minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
}

.site-header .library-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #183c32;
  font-size: 17px;
  font-weight: 750;
  text-decoration: none;
  white-space: nowrap;
}

.site-header .brand-symbol {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  background: #236253;
  border-radius: 6px;
}

.site-header .brand-symbol img {
  filter: brightness(0) invert(1);
}

.site-header .main-nav {
  display: flex;
  align-self: stretch;
  align-items: stretch;
  justify-content: flex-end;
  gap: 25px;
  margin-left: 0;
  font-size: 14px;
}

.site-header .main-nav a {
  display: flex;
  align-items: center;
  color: #5c6c65;
  border-bottom: 2px solid transparent;
  text-decoration: none;
  white-space: nowrap;
}

.site-header .main-nav a:hover,
.site-header .main-nav a[aria-current] {
  color: #236253;
  border-color: #236253;
}

.site-header .main-nav a[aria-current] {
  font-weight: 700;
}

.site-header #account-link {
  align-self: center;
  min-height: 40px;
  padding: 7px 13px;
  border: 1px solid #d2dcd6;
  border-radius: 6px;
  color: #4d6258;
  background: #fff;
  font-size: 14px;
  font-weight: 550;
  max-width: 190px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 1100px) {
  .site-header .header-inner {
    width: min(100% - 56px, 1220px);
    grid-template-columns: 1fr auto;
    gap: 0 18px;
    padding-top: 14px;
  }

  .site-header .main-nav {
    grid-column: 1 / -1;
    order: 3;
    width: 100%;
    justify-content: flex-start;
    gap: 26px;
    margin: 0;
    overflow-x: auto;
  }

  .site-header .main-nav a {
    padding: 10px 0;
  }

  .site-header #account-link {
    margin-left: auto;
  }
}

@media (max-width: 575px) {
  .site-header .header-inner {
    width: calc(100% - 32px);
  }

  .site-header .library-brand {
    gap: 8px;
    font-size: 15px;
  }

  .site-header .brand-symbol {
    width: 29px;
    height: 29px;
  }

  .site-header .header-inner {
    gap: 8px;
  }

  .site-header .main-nav {
    gap: 21px;
    font-size: 13px;
  }
}

@media (min-width: 851px) and (max-height: 850px) {
  .site-header .header-inner {
    min-height: 56px;
    gap: 18px;
    padding-top: 0;
  }

  .site-header .main-nav {
    order: 0;
    width: auto;
    gap: 19px;
    margin-left: auto;
    overflow: visible;
  }

  .site-header .main-nav a {
    padding: 0;
  }
}

@media print {
  .site-header {
    display: none !important;
  }
}
