.sutra-help-root {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 10050;
    font-family: "Public Sans", "Segoe UI", Tahoma, sans-serif;
}

.sutra-help-toggle {
    width: 52px;
    height: 52px;
    border: none;
    border-radius: 999px;
    background: linear-gradient(135deg, #005f99 0%, #0a8ecb 100%);
    color: #fff;
    font-size: 22px;
    cursor: pointer;
    box-shadow: 0 14px 30px rgba(2, 41, 67, 0.35);
}

.sutra-help-panel {
    width: min(94vw, 420px);
    height: min(88vh, 760px);
    background: #f8fbff;
    border: 1px solid #d2e5f2;
    border-radius: 16px;
    box-shadow: 0 20px 48px rgba(3, 35, 58, 0.3);
    position: fixed;
    right: 20px;
    bottom: 84px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: translateY(16px) scale(0.98);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.sutra-help-root.is-open .sutra-help-panel {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}

.sutra-help-header {
    background: linear-gradient(135deg, #004c7e 0%, #0d79b2 100%);
    color: #fff;
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.sutra-help-header h3 {
    margin: 0;
    font-size: 17px;
    line-height: 1.2;
}

.sutra-help-header p {
    margin: 4px 0 0;
    font-size: 12px;
    opacity: 0.92;
}

.sutra-help-close {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    border: none;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    line-height: 1;
}

.sutra-help-body {
    padding: 14px;
    overflow: auto;
    display: grid;
    gap: 14px;
}

.sutra-help-search input {
    width: 100%;
    border: 1px solid #c7dceb;
    border-radius: 10px;
    padding: 10px 12px;
    font-size: 14px;
    background: #fff;
}

.sutra-help-block {
    background: #fff;
    border: 1px solid #ddebf5;
    border-radius: 12px;
    padding: 12px;
}

.sutra-help-block h4 {
    margin: 0 0 8px;
    font-size: 13px;
    font-weight: 700;
    color: #18435b;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.sutra-help-article-title {
    margin: 0;
    font-size: 15px;
    line-height: 1.35;
}

.sutra-help-article-title a {
    color: #054f7f;
    text-decoration: none;
}

.sutra-help-article-title a:hover {
    text-decoration: underline;
}

.sutra-help-article-excerpt,
.sutra-help-empty {
    margin: 8px 0 0;
    color: #3e5766;
    font-size: 13px;
    line-height: 1.5;
}

.sutra-help-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 8px;
}

.sutra-help-list li {
    padding: 8px;
    background: #f4f9fd;
    border: 1px solid #e1edf5;
    border-radius: 8px;
}

.sutra-help-list a {
    color: #0b527f;
    font-size: 13px;
    text-decoration: none;
}

.sutra-help-list a:hover {
    text-decoration: underline;
}

.sutra-help-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.sutra-help-btn {
    border: 1px solid #9fc2da;
    background: #fff;
    color: #124b70;
    padding: 7px 10px;
    border-radius: 8px;
    font-size: 12px;
    text-decoration: none;
    cursor: pointer;
}

.sutra-help-btn.sutra-help-btn-primary {
    background: #0a7db8;
    border-color: #0a7db8;
    color: #fff;
}

.sutra-help-feedback {
    display: flex;
    gap: 8px;
    align-items: center;
}

.sutra-help-feedback button {
    border: 1px solid #c5dced;
    background: #fff;
    border-radius: 999px;
    padding: 6px 10px;
    cursor: pointer;
    font-size: 12px;
}

.sutra-help-feedback-msg {
    font-size: 12px;
    color: #26627f;
}

@media (max-width: 768px) {
    .sutra-help-root {
        right: 14px;
        bottom: 14px;
    }

    .sutra-help-panel {
        right: 10px;
        left: 10px;
        width: auto;
        bottom: 74px;
        height: min(82vh, 700px);
    }
}

.help-center-shell {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 22px 14px;
}

.help-center-heading {
    background: linear-gradient(135deg, #e6f3fc 0%, #f5fbff 100%);
    border: 1px solid #cfe4f3;
    border-radius: 16px;
    padding: 18px;
    margin-bottom: 16px;
}

.help-center-heading h1 {
    margin: 0;
    font-size: 27px;
    color: #073d62;
}

.help-center-heading p {
    margin: 8px 0 0;
    color: #38586d;
}

.help-center-grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 16px;
}

.help-center-panel {
    border: 1px solid #dcebf6;
    border-radius: 14px;
    background: #fff;
    padding: 14px;
}

.help-center-search input {
    width: 100%;
    border: 1px solid #bed6e6;
    border-radius: 10px;
    padding: 11px 12px;
    font-size: 14px;
    margin-bottom: 12px;
}

.help-center-category {
    border-top: 1px solid #e7f1f7;
    padding-top: 12px;
    margin-top: 12px;
}

.help-center-category h3 {
    margin: 0 0 8px;
    color: #0d466a;
    font-size: 18px;
}

.help-center-category-list {
    display: grid;
    gap: 8px;
}

.help-center-category-list a {
    color: #0b4f79;
    text-decoration: none;
}

.help-center-category-list a:hover {
    text-decoration: underline;
}

.help-center-article {
    border: 1px solid #d9eaf5;
    border-radius: 14px;
    background: #fff;
    padding: 16px;
}

.help-center-article h1 {
    margin-top: 0;
    color: #0c4164;
}

.help-center-markdown {
    color: #1f3344;
    line-height: 1.7;
}

.help-center-markdown h2,
.help-center-markdown h3 {
    color: #0f4b73;
}

@media (max-width: 960px) {
    .help-center-grid {
        grid-template-columns: 1fr;
    }
}
