.creata-topbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 2000;
    height: 78px;
    padding: 0 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    background: #fff;
    border-bottom: 1px solid rgba(44, 134, 211, 0.10);
    font-family: Inter, Arial, sans-serif;
    box-sizing: border-box;
}

.creata-logo {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    height: 78px;
}

.creata-logo img {
    height: 42px;
    width: auto;
    display: block;
}

.creata-menu {
    display: flex;
    align-items: center;
    gap: 18px;
    min-width: 0;
    flex: 1 1 auto;
}

.creata-menu a {
    color: #071735;
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
    white-space: nowrap;
}

.creata-menu a:hover,
.creata-menu a:focus {
    color: #2C86D3;
    text-decoration: none;
}

.creata-demo {
    flex: 0 0 auto;
    margin-left: auto;
    background: #2C86D3;
    color: #fff;
    padding: 12px 18px;
    border-radius: 12px;
    text-decoration: none;
    font-family: Inter, Arial, sans-serif;
    font-weight: 800;
    font-size: 15px;
    line-height: 1.2;
    white-space: nowrap;
    box-shadow: 0 10px 24px rgba(44, 134, 211, 0.18);
}

.creata-demo:hover,
.creata-demo:focus {
    color: #fff;
    text-decoration: none;
}

.creata-nav-toggle {
    display: none;
    width: 48px;
    height: 48px;
    margin-left: auto;
    padding: 0;
    border: 2px solid rgba(44, 134, 211, 0.35);
    border-radius: 12px;
    background: #E7F3FB;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
}

.creata-nav-toggle span {
    display: block;
    width: 20px;
    height: 2.5px;
    border-radius: 2px;
    background: #071735;
}

.book {
    position: absolute;
    top: 78px;
    right: 0;
    bottom: 0;
    left: 0;
    width: auto;
    height: auto;
}

.book-summary {
    background: #F1F7FD;
    border-right: 1px solid rgba(44, 134, 211, 0.12);
    color: #071735;
}

.book-summary ul.summary li a,
.book-summary ul.summary li span {
    color: #071735;
}

.book-summary ul.summary li.active > a {
    color: #126FC2;
    font-weight: 700;
    border-left: 3px solid #2C86D3;
}

.book-summary ul.summary li.header {
    color: #52637A;
}

#book-search-input {
    background: transparent;
    border-bottom: 1px solid rgba(44, 134, 211, 0.12);
}

#book-search-input input {
    background: #fff;
    color: #071735;
    border: 1px solid rgba(44, 134, 211, 0.16);
    border-radius: 8px;
}

#book-search-input input::-webkit-input-placeholder {
    color: #52637A;
}

.book-body {
    background: #fff;
    color: #071735;
}

.book-body .page-inner,
.markdown-section {
    color: #071735;
}

.markdown-section a {
    color: #126FC2;
}

.markdown-section h1,
.markdown-section h2,
.markdown-section h3 {
    color: #071735;
}

@media (max-width: 1399px) {
  .creata-topbar {
    padding: 0 14px;
    gap: 10px;
  }

  .creata-logo img {
    height: 36px;
  }

  .creata-menu {
    gap: 10px;
  }

  .creata-menu a {
    font-size: 13px;
  }

  .creata-demo {
    padding: 10px 12px;
    font-size: 14px;
  }
}

@media (max-width: 980px) {
    .creata-nav-toggle {
        display: inline-flex;
    }

    .creata-menu {
        display: none;
        position: fixed;
        top: 78px;
        left: 0;
        right: 0;
        z-index: 1999;
        max-height: calc(100% - 78px);
        overflow-y: auto;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        margin: 0;
        padding: 8px 0 16px;
        background: #fff;
        border-bottom: 1px solid rgba(44, 134, 211, 0.10);
        box-shadow: 0 18px 40px rgba(7, 23, 53, 0.12);
    }

    .creata-topbar.is-open .creata-menu {
        display: flex;
    }

    .creata-menu a {
        display: block;
        padding: 14px 24px;
        font-size: 16px;
        border-bottom: 1px solid #EEF3F8;
    }

    .creata-demo {
        margin-left: 10px;
        padding: 12px 14px;
        font-size: 14px;
    }

    .creata-logo img {
        height: 36px;
    }
}

@media (max-width: 520px) {
    .creata-topbar {
        padding: 0 12px;
        gap: 8px;
    }
}
