.ledgerhub-shell-mount {
  display: block;
  min-height: 58px;
  border-bottom: 1px solid #d7ded9;
  background: #ffffff;
  box-sizing: border-box;
}

.ledgerhub-shell-header {
  position: relative;
  z-index: 40;
  width: 100%;
  min-width: 0;
  border-bottom: 1px solid #d7ded9;
  background: #ffffff;
  color: #17251f;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 14px;
  letter-spacing: 0;
}

.ledgerhub-shell-inner {
  width: min(100%, 1600px);
  min-height: 58px;
  margin: 0 auto;
  padding: 8px 24px;
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  box-sizing: border-box;
}

.ledgerhub-shell-brand {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #173f2d;
  font-size: 18px;
  font-weight: 750;
  line-height: 1;
  text-decoration: none;
}

.ledgerhub-shell-brand img,
.ledgerhub-public-footer-brand img {
  display: block;
  flex: 0 0 auto;
  border-radius: 5px;
}

.ledgerhub-shell-current {
  min-width: 0;
  overflow: hidden;
  color: #52635b;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ledgerhub-shell-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  min-width: 0;
}

.ledgerhub-shell-quick-links {
  display: flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
}

.ledgerhub-shell-link,
.ledgerhub-shell-menu > summary {
  min-height: 38px;
  padding: 8px 11px;
  border: 1px solid transparent;
  border-radius: 6px;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  color: #33483e;
  background: transparent;
  font: inherit;
  font-weight: 650;
  line-height: 1.15;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}

.ledgerhub-shell-link:hover,
.ledgerhub-shell-menu > summary:hover {
  border-color: #c8d5ce;
  background: #f4f8f5;
  color: #173f2d;
}

.ledgerhub-shell-link.is-active {
  border-color: #94b7a4;
  background: #eaf3ed;
  color: #124b31;
}

.ledgerhub-shell-brand:focus-visible,
.ledgerhub-shell-link:focus-visible,
.ledgerhub-shell-menu > summary:focus-visible,
.ledgerhub-shell-menu-panel a:focus-visible {
  outline: 3px solid #7ba6dd;
  outline-offset: 2px;
}

.ledgerhub-shell-menu {
  position: relative;
  flex: 0 0 auto;
}

.ledgerhub-shell-menu > summary {
  list-style: none;
}

.ledgerhub-shell-menu > summary::-webkit-details-marker {
  display: none;
}

.ledgerhub-shell-menu > summary::after {
  content: "";
  width: 7px;
  height: 7px;
  margin-left: 9px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}

.ledgerhub-shell-menu[open] > summary {
  border-color: #94b7a4;
  background: #eaf3ed;
  color: #124b31;
}

.ledgerhub-shell-menu-panel {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: min(680px, calc(100vw - 32px));
  max-height: min(70vh, 620px);
  overflow: auto;
  padding: 16px;
  border: 1px solid #cbd7d0;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 16px 36px rgba(22, 44, 33, 0.16);
  box-sizing: border-box;
}

.ledgerhub-shell-groups {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 22px;
}

.ledgerhub-shell-group {
  min-width: 0;
}

.ledgerhub-shell-group-title {
  margin: 0 0 6px;
  color: #6a786f;
  font-size: 11px;
  font-weight: 750;
  line-height: 1.2;
  text-transform: uppercase;
}

.ledgerhub-shell-group-links {
  display: grid;
  gap: 2px;
}

.ledgerhub-shell-menu-panel a {
  min-height: 36px;
  padding: 8px 9px;
  border-radius: 5px;
  display: flex;
  align-items: center;
  color: #263b31;
  font-weight: 600;
  line-height: 1.25;
  text-decoration: none;
}

.ledgerhub-shell-menu-panel a:hover {
  background: #f2f7f4;
  color: #124b31;
}

.ledgerhub-shell-menu-panel a[aria-current="page"] {
  background: #e7f1eb;
  color: #124b31;
}

.ledgerhub-public-footer {
  width: 100%;
  min-width: 0;
  border-top: 1px solid #cbd7d0;
  background: #eef4ef;
  color: #17251f;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 14px;
  letter-spacing: 0;
}

.ledgerhub-public-footer-inner {
  width: min(100%, 1600px);
  margin: 0 auto;
  padding: 28px 24px;
  display: grid;
  grid-template-columns: minmax(220px, 1.15fr) minmax(260px, 1fr) minmax(240px, 1fr);
  align-items: start;
  gap: 24px;
  box-sizing: border-box;
}

.ledgerhub-public-footer-identity,
.ledgerhub-public-footer-links,
.ledgerhub-public-footer-socials {
  min-width: 0;
}

.ledgerhub-public-footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #173f2d;
  font-size: 18px;
  font-weight: 750;
  text-decoration: none;
}

.ledgerhub-public-footer-identity p {
  max-width: 440px;
  margin: 10px 0 0;
  color: #52635b;
  line-height: 1.5;
}

.ledgerhub-public-footer-links {
  display: grid;
  gap: 8px;
}

.ledgerhub-public-footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ledgerhub-public-footer-links a,
.ledgerhub-public-footer-socials a {
  min-height: 40px;
  padding: 8px 10px;
  display: inline-flex;
  align-items: center;
  border: 1px solid #b8c9be;
  border-radius: 6px;
  background: #ffffff;
  color: #173f2d;
  font-weight: 650;
  line-height: 1.3;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.ledgerhub-public-footer-links a:hover,
.ledgerhub-public-footer-socials a:hover {
  border-color: #6b927b;
  background: #f8fbf9;
}

.ledgerhub-public-footer-links a:focus-visible,
.ledgerhub-public-footer-socials a:focus-visible,
.ledgerhub-public-footer-brand:focus-visible {
  outline: 3px solid #7ba6dd;
  outline-offset: 2px;
}

.official-contact-links {
  display: grid;
  gap: 8px;
}

.official-contact-links a {
  min-height: 42px;
  padding: 9px 12px;
  display: flex;
  align-items: center;
  border: 1px solid #ccd7d0;
  border-radius: 6px;
  background: #ffffff;
  color: #16452f;
  font-weight: 700;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.official-contact-links a:hover {
  border-color: #246b49;
  background: #f4f7f2;
}

.official-contact-links a:focus-visible {
  outline: 3px solid #2f6f9e;
  outline-offset: 2px;
}

@media (max-width: 760px) {
  .ledgerhub-shell-mount {
    min-height: 54px;
  }

  .ledgerhub-shell-inner {
    min-height: 54px;
    padding: 7px 12px;
    gap: 9px;
  }

  .ledgerhub-shell-brand {
    font-size: 17px;
  }

  .ledgerhub-shell-current {
    flex: 1 1 auto;
    font-size: 12px;
  }

  .ledgerhub-shell-quick-links {
    display: none;
  }

  .ledgerhub-shell-menu > summary {
    min-height: 38px;
    padding: 8px 9px;
  }

  .ledgerhub-shell-menu-panel {
    position: fixed;
    top: 62px;
    right: 10px;
    left: 10px;
    width: auto;
    max-height: calc(100vh - 76px);
    padding: 14px;
  }

  .ledgerhub-shell-groups {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .ledgerhub-public-footer-inner {
    padding: 24px 12px;
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

@media (max-width: 390px) {
  .ledgerhub-shell-current {
    display: none;
  }
}
