.section-help-host {
    position: relative;
}

.section-help-trigger {
    position: fixed;
    top: 120px;
    right: 1px;
    width: 28px;
    height: 26px;
    border-radius: 999px;
    border: 1px solid #cbd5e1;
    background: #ffffff;
    color: #0f172a;
    font-size: 14px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.12);
    cursor: pointer;
    z-index: 9;
    transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.section-help-trigger:hover {
    transform: translateY(-1px);
    border-color: #0f172a;
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.18);
}

.section-help-trigger:focus-visible {
    outline: 2px solid #2563eb;
    outline-offset: 2px;
}

.section-help-modal {
    position: fixed;
    inset: 0;
    background: rgba(2, 6, 23, 0.6);
    z-index: 1200;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.section-help-modal.is-open {
    display: flex;
}

.section-help-modal-panel {
    width: min(1080px, 96vw);
    height: min(86vh, 860px);
    background: #ffffff;
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 22px 45px rgba(2, 6, 23, 0.3);
}

.section-help-modal-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    border-bottom: 1px solid #e2e8f0;
    background: #f8fafc;
}

.section-help-modal-title {
    margin: 0;
    font-size: 1rem;
    color: #0f172a;
    font-weight: 700;
}

.section-help-modal-controls {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.section-help-btn {
    border: 1px solid #cbd5e1;
    background: #ffffff;
    color: #0f172a;
    border-radius: 8px;
    font-size: 0.82rem;
    line-height: 1;
    padding: 8px 10px;
    cursor: pointer;
}

.section-help-btn:hover {
    border-color: #0f172a;
}

.section-help-zoom-label {
    font-size: 0.82rem;
    color: #475569;
    min-width: 56px;
    text-align: center;
}

.section-help-modal-body {
    flex: 1;
    overflow: auto;
    background: #e2e8f0;
}

.section-help-viewer-shell {
    min-height: 100%;
    padding: 12px;
}

.section-help-viewer {
    width: 100%;
    min-height: calc(86vh - 120px);
    border: none;
    background: #ffffff;
    display: block;
}

.section-help-empty {
    min-height: calc(86vh - 120px);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #475569;
    font-weight: 600;
    padding: 24px;
    background: #ffffff;
}

.section-help-admin-status {
    margin-bottom: 10px;
    font-size: 0.9rem;
    color: #334155;
}

.section-help-admin-status.is-error {
    color: #b91c1c;
}

.section-help-admin-list {
    display: grid;
    gap: 10px;
}

.section-help-admin-item {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 12px;
    background: #ffffff;
}

.section-help-admin-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 8px;
}

.section-help-admin-name {
    font-weight: 700;
    color: #0f172a;
    margin: 0;
}

.section-help-admin-meta {
    margin: 0;
    color: #64748b;
    font-size: 0.82rem;
}

.section-help-admin-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.section-help-admin-file {
    max-width: 260px;
}

.section-help-settings-page {
    display: grid;
    gap: 12px;
}

.section-help-settings-page-header {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .section-help-modal {
        padding: 10px;
    }

    .section-help-modal-panel {
        width: 100%;
        height: 92vh;
    }

    .section-help-modal-toolbar {
        align-items: flex-start;
        flex-direction: column;
    }

    .section-help-viewer {
        min-height: calc(92vh - 190px);
    }

    .section-help-settings-page-header {
        flex-direction: column;
    }
}
