@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap");

:root {
  --hc-bg: #f3f4f6;
  --hc-surface: #ffffff;
  --hc-border: #d7d9de;
  --hc-text: #0e1d3a;
  --hc-muted: #586279;
  --hc-link: #1863ff;
  --hc-shadow: 0 10px 28px rgba(15, 22, 41, 0.06);
  --hc-radius-lg: 16px;
  --hc-radius-md: 12px;
  --hc-header-height: 84px;
}

body.hc-has-global-nav {
  background: var(--hc-bg) !important;
  color: var(--hc-text);
  font-family: "Plus Jakarta Sans", "Segoe UI", sans-serif;
  overflow-x: hidden;
}

body.hc-has-global-nav .container {
  width: min(1260px, 94vw) !important;
  margin: 0 auto;
}

.hc-global-topbar {
  border: 0;
}

body.hc-has-global-nav .hc-home-header {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  padding: 20px 0;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  transition: all 0.3s ease;
  z-index: 1000;
}

body.hc-has-global-nav .hc-home-header .container {
  width: 90% !important;
  max-width: 1200px;
}

body.hc-has-global-nav .hc-home-header .nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

body.hc-has-global-nav .hc-home-header .logo {
  font-weight: 800;
  font-size: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}

body.hc-has-global-nav .hc-home-header .nav-links {
  display: flex;
  gap: 30px;
  align-items: center;
  margin-left: 18px;
}

body.hc-has-global-nav .hc-home-header .nav-links a,
body.hc-has-global-nav .hc-home-header .login-btn,
body.hc-has-global-nav .hc-home-header .nav-start-btn {
  -webkit-tap-highlight-color: transparent;
}

body.hc-has-global-nav .hc-home-header .nav-links a {
  text-decoration: none;
  font-weight: 500;
  color: #0f172a;
  position: relative;
  transition: 0.3s;
  font-size: 16px;
}

body.hc-has-global-nav .hc-home-header .nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: #3b82f6;
  transition: 0.3s;
}

body.hc-has-global-nav .hc-home-header .nav-links a:hover::after {
  width: 100%;
}

body.hc-has-global-nav .hc-home-header .nav-links .sub_link:hover::after {
  width: 0;
}

body.hc-has-global-nav .hc-home-header .dropdown {
  position: relative;
  display: flex;
  align-items: center;
}

body.hc-has-global-nav .hc-home-header .dropdown-trigger {
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}

body.hc-has-global-nav .hc-home-header .dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: #ffffff;
  min-width: 220px;
  padding: 10px;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  border: 1px solid #f0f0f0;
  z-index: 1100;
}

body.hc-has-global-nav .hc-home-header .dropdown-menu a {
  padding: 12px 16px !important;
  border-radius: 8px;
  font-size: 14px !important;
  color: #0f172a !important;
  display: block;
  transition: background 0.2s;
}

body.hc-has-global-nav .hc-home-header .dropdown-menu a:hover {
  background: #f4f7ff;
  color: #3b82f6 !important;
}

body.hc-has-global-nav .hc-home-header .dropdown:hover .svg-arrow {
  transform: rotate(180deg);
}

@media (min-width: 901px) {
  body.hc-has-global-nav .hc-home-header .dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
  }
}

body.hc-has-global-nav .hc-home-header .nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

body.hc-has-global-nav .hc-home-header .login-btn {
  text-decoration: none;
  font-weight: 500;
  color: #0f172a;
}

body.hc-has-global-nav .hc-home-header .nav-actions .nav-start-btn {
  min-height: 40px;
  padding: 0 24px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #000000;
  color: #ffffff;
}

body.hc-has-global-nav .hc-home-header .nav-actions .nav-start-btn:hover {
  background: #111111;
  color: #ffffff;
  opacity: 1;
}

body.hc-has-global-nav .hc-home-header .header-download-btn {
  display: inline-flex;
  align-items: center;
  line-height: 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

body.hc-has-global-nav .hc-home-header .header-download-btn img {
  height: 40px;
  width: auto;
  display: block;
  border-radius: 5px;
}

body.hc-has-global-nav .hc-home-header .header-download-btn:hover {
  transform: translateY(-1px);
  opacity: 0.95;
}

body.hc-has-global-nav .hc-home-header .menu-toggle {
  display: none;
  font-size: 24px;
  cursor: pointer;
}

body.hc-has-global-nav .crumb-row,
body.hc-has-global-nav .hc-crumb-row {
  margin-top: calc(var(--hc-header-height) + 4px);
}

.hc-crumb-row {
  border-bottom: 1px solid var(--hc-border);
  background: #fbfbfc;
}

.hc-crumb-row .hc-crumbs {
  min-height: auto;
  display: block;
  padding: 10px 0;
  color: #617089;
  font-size: 0.95rem;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.hc-crumb-row .hc-crumbs span {
  margin: 0 6px;
}

.hc-crumb-row .hc-crumbs a {
  color: inherit;
  text-decoration: none;
}

.hc-crumb-row .hc-crumbs a:hover,
.hc-crumb-row .hc-crumbs a:focus-visible {
  color: #0f2c77;
}

body.hc-has-global-nav .page {
  padding-top: 22px !important;
}

body.hc-has-global-nav .layout {
  grid-template-columns: minmax(260px, 300px) 1fr !important;
  gap: 24px !important;
}

body.hc-has-global-nav .sidebar {
  border: 1px solid var(--hc-border) !important;
  border-radius: var(--hc-radius-lg) !important;
  background: var(--hc-surface) !important;
  box-shadow: var(--hc-shadow) !important;
  top: 112px !important;
  padding: 12px !important;
  max-height: calc(100vh - 126px);
  overflow: auto;
}

body.hc-has-global-nav .sidebar h2 {
  font-size: 0.95rem !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #52617a;
}

body.hc-has-global-nav .content,
body.hc-has-global-nav .content-panel {
  border: 1px solid var(--hc-border) !important;
  border-radius: var(--hc-radius-lg) !important;
  box-shadow: var(--hc-shadow) !important;
  background: var(--hc-surface) !important;
  min-width: 0;
}

.hc-tree-panel {
  display: grid;
  gap: 10px;
}

.hc-tree-heading {
  margin: 2px 4px 0;
  font-size: 0.92rem !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #4f5f7c;
}

.hc-tree-current {
  margin: 0 4px 6px;
  padding: 7px 9px;
  border: 1px solid #d5ddef;
  background: #f7f9fe;
  border-radius: 10px;
  color: #425067;
  font-size: 0.82rem;
  line-height: 1.35;
}

.hc-tree {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 3px;
}

.hc-node {
  position: relative;
}

.hc-tree-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

.hc-toggle-btn,
.hc-toggle-placeholder {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
}

.hc-toggle-btn {
  border: 0;
  margin: 0;
  padding: 0;
  background: transparent;
  border-radius: 6px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.hc-toggle-btn:hover,
.hc-toggle-btn:focus-visible {
  background: #eaf0fb;
}

.hc-caret {
  width: 8px;
  height: 8px;
  border-right: 2px solid #55658a;
  border-bottom: 2px solid #55658a;
  transform: rotate(-45deg);
  transition: transform 0.2s ease;
}

.hc-node.is-open > .hc-tree-row .hc-caret {
  transform: rotate(45deg);
  margin-top: -2px;
}

.hc-link {
  flex: 1;
  display: block;
  padding: 7px 10px;
  border-radius: 9px;
  text-decoration: none;
  color: #334162;
  border: 1px solid transparent;
  font-size: 0.93rem;
  line-height: 1.35;
}

.hc-link:hover,
.hc-link:focus-visible {
  border-color: #cfdaea;
  background: #f4f8ff;
  color: #0b2a78;
}

.hc-link.active,
.hc-node.is-active-branch > .hc-tree-row > .hc-link {
  background: #e9efff;
  border-color: #cfd9ef;
  color: #0b2a78;
  font-weight: 700;
}

.hc-tree-children {
  list-style: none;
  margin: 2px 0 6px 10px;
  padding: 0 0 0 14px;
  border-left: 1px solid #d4dced;
  display: none;
}

.hc-node.is-open > .hc-tree-children {
  display: block;
}

.hc-tree-children > .hc-node {
  margin: 2px 0;
}

.hc-tree-children > .hc-node::before {
  content: "";
  position: absolute;
  left: -14px;
  top: 15px;
  width: 10px;
  border-top: 1px solid #d4dced;
}

.hc-level-2 .hc-link {
  font-size: 0.87rem;
}

.hc-tree-sections {
  list-style: none;
  margin: 2px 0 6px 10px;
  padding: 0 0 0 14px;
  border-left: 1px dashed #c8d2e7;
}

.hc-tree-sections li {
  position: relative;
  margin: 2px 0;
}

.hc-tree-sections li::before {
  content: "";
  position: absolute;
  left: -14px;
  top: 13px;
  width: 10px;
  border-top: 1px dashed #c8d2e7;
}

.hc-section-link {
  display: block;
  font-size: 0.81rem;
  line-height: 1.35;
  color: #556481;
  text-decoration: none;
  border-radius: 8px;
  padding: 6px 8px;
  border: 1px solid transparent;
}

.hc-section-link:hover,
.hc-section-link:focus-visible {
  background: #f4f8ff;
  border-color: #d3ddec;
  color: #11357c;
}

.hc-section-link.active {
  background: #eef3ff;
  border-color: #cfd9f0;
  color: #103782;
  font-weight: 700;
}

.hc-mobile-topics-toggle {
  display: none;
}

body.hc-has-global-nav .nav-list a,
body.hc-has-global-nav .side-list a {
  border: 1px solid transparent !important;
  border-radius: 10px;
  color: #334162 !important;
  font-weight: 500 !important;
}

body.hc-has-global-nav .nav-list a:hover,
body.hc-has-global-nav .nav-list a:focus-visible,
body.hc-has-global-nav .side-list a:hover,
body.hc-has-global-nav .side-list a:focus-visible {
  border-color: #cfdaea !important;
  background: #f4f8ff !important;
  color: #0b2a78 !important;
}

body.hc-has-global-nav .nav-list a.active,
body.hc-has-global-nav .side-list a.active {
  background: #e9efff !important;
  border-color: #cfd9ef !important;
  color: #0b2a78 !important;
  font-weight: 700 !important;
}

body.hc-has-global-nav .read-btn {
  background: #00124b !important;
  border-color: #00124b !important;
  border-radius: 9px;
}

body.hc-has-global-nav .read-btn:hover,
body.hc-has-global-nav .read-btn:focus-visible {
  background: #031f72 !important;
  border-color: #031f72 !important;
}

body.hc-has-global-nav .show-all,
body.hc-has-global-nav a.show-all {
  color: var(--hc-link) !important;
}

body.hc-has-global-nav .breadcrumb {
  display: none !important;
}

@media (max-width: 900px) {
  body.hc-has-global-nav .hc-home-header .dropdown {
    width: 100%;
    flex-direction: column;
    align-items: center;
  }

  body.hc-has-global-nav .hc-home-header .dropdown-menu {
    position: static;
    transform: none;
    width: 90%;
    display: none;
    box-shadow: none;
    background: #f8fafc;
    margin-top: 10px;
    opacity: 1;
    visibility: visible;
    text-align: center;
  }

  body.hc-has-global-nav .hc-home-header .dropdown.active .dropdown-menu {
    display: block;
  }

  body.hc-has-global-nav .hc-home-header .nav-links {
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background: #ffffff;
    flex-direction: column;
    padding: 20px 0 24px;
    gap: 20px;
    display: none;
    max-height: calc(100vh - 86px);
    overflow: auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  }

  body.hc-has-global-nav .hc-home-header .nav-links.active {
    display: flex;
  }

  body.hc-has-global-nav .hc-home-header .menu-toggle {
    display: block;
  }

  body.hc-has-global-nav .hc-home-header .nav-actions .btn {
    display: none;
  }

  body.hc-has-global-nav .hc-home-header .nav-actions .header-download-btn {
    display: none;
  }

  body.hc-has-global-nav .layout {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }

  body.hc-has-global-nav .sidebar {
    position: static !important;
    top: auto !important;
    max-height: none !important;
    order: 1 !important;
    padding: 0 !important;
    overflow: hidden !important;
  }

  body.hc-has-global-nav .content,
  body.hc-has-global-nav .content-panel,
  body.hc-has-global-nav .content-area {
    order: 2 !important;
  }

  body.hc-has-global-nav .sidebar .hc-tree-panel {
    padding: 12px;
  }

  body.hc-has-global-nav .sidebar.is-mobile-collapsed .hc-tree-panel {
    display: none;
  }

  .hc-mobile-topics-toggle {
    width: 100%;
    border: 0;
    border-radius: 0;
    background: #f1f4fb;
    color: #0f2b74;
    min-height: 48px;
    padding: 0 14px;
    text-align: left;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
  }

  .hc-mobile-topics-toggle span:last-child {
    font-size: 1.15rem;
    line-height: 1;
  }

  body.hc-has-global-nav .sidebar.is-mobile-collapsed .hc-mobile-topics-toggle span:last-child {
    transform: rotate(0deg);
  }

  body.hc-has-global-nav .sidebar:not(.is-mobile-collapsed) .hc-mobile-topics-toggle span:last-child {
    transform: rotate(180deg);
  }

  .hc-tree-current {
    font-size: 0.8rem;
  }

  body.hc-has-global-nav .table-wrap {
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch;
    width: 100%;
    max-width: 100%;
  }

  body.hc-has-global-nav .table-wrap table.hc-table-wide,
  body.hc-has-global-nav table.hc-table-wide {
    min-width: 640px !important;
    width: max-content !important;
    table-layout: auto !important;
  }

  body.hc-has-global-nav table.hc-table-wide th,
  body.hc-has-global-nav table.hc-table-wide td {
    word-break: normal !important;
    overflow-wrap: normal !important;
  }

  body.hc-has-global-nav .table-wrap table.hc-table-two-col,
  body.hc-has-global-nav table.hc-table-two-col {
    width: 100% !important;
    min-width: 0 !important;
    table-layout: fixed !important;
  }

  body.hc-has-global-nav table.hc-table-two-col th,
  body.hc-has-global-nav table.hc-table-two-col td {
    font-size: 0.94rem !important;
    line-height: 1.4 !important;
    padding: 10px 9px !important;
    word-break: break-word !important;
    overflow-wrap: anywhere !important;
    vertical-align: top !important;
  }

  body.hc-has-global-nav table.hc-table-two-col th:first-child,
  body.hc-has-global-nav table.hc-table-two-col td:first-child {
    width: 38% !important;
  }

  body.hc-has-global-nav table.hc-table-two-col th:last-child,
  body.hc-has-global-nav table.hc-table-two-col td:last-child {
    width: 62% !important;
  }
}

@media (max-width: 620px) {
  body.hc-has-global-nav .hc-home-header {
    padding: 14px 0;
  }

  body.hc-has-global-nav .hc-home-header .container {
    width: 94% !important;
  }

  body.hc-has-global-nav .hc-home-header .logo img {
    width: 158px;
    height: auto;
  }

  body.hc-has-global-nav .hc-home-header .nav-links {
    top: 64px;
  }

  .hc-crumb-row .hc-crumbs {
    min-height: 44px;
    font-size: 0.86rem;
    padding: 9px 0;
    line-height: 1.5;
  }

  .hc-crumb-row .hc-crumbs span {
    margin: 0 5px;
  }

  .hc-link {
    font-size: 0.89rem;
  }

  .hc-level-2 .hc-link {
    font-size: 0.84rem;
  }

  .hc-section-link {
    font-size: 0.79rem;
  }

  body.hc-has-global-nav table.hc-table-two-col th,
  body.hc-has-global-nav table.hc-table-two-col td {
    font-size: 0.87rem !important;
    padding: 9px 8px !important;
  }

  body.hc-has-global-nav table.hc-table-two-col th:first-child,
  body.hc-has-global-nav table.hc-table-two-col td:first-child {
    width: 36% !important;
  }

  body.hc-has-global-nav table.hc-table-two-col th:last-child,
  body.hc-has-global-nav table.hc-table-two-col td:last-child {
    width: 64% !important;
  }
}
