.td-editor-help-question { flex: 0 0 28px; width: 28px; height: 28px; border: 1px solid #d8ccd2; border-radius: 50%; background: white; color: #a63061; font-weight: 700; cursor: pointer; margin-left: auto; }
.td-editor-help-entry { display: flex; align-items: center; gap: 8px; padding: 10px 12px; min-height: 40px; border-radius: 8px; width: 100%; border: 0; background: none; text-align: left; cursor: pointer; }
.td-editor-help-fallback { position: fixed; top: 12px; right: 12px; z-index: 1500; }
.td-editor-help-quick-entry { display: inline-flex; width: 40px; height: 40px; align-items: center; justify-content: center; padding: 0; border: 0; border-radius: 8px; background: transparent; color: inherit; text-align: center; cursor: pointer; white-space: nowrap; }
.td-editor-help-quick-entry:hover, .td-editor-help-quick-entry:focus-visible { background: #fff5f9; }
.td-editor-help-quick-entry > svg { width: 22px; height: 22px; display: block; }
.td-editor-help-panel { position: fixed; right: 16px; top: 80px; width: 340px; max-width: calc(100vw - 32px); max-height: calc(100dvh - 100px); z-index: 20010; display: flex; flex-direction: column; background: white; border: 1px solid #ded4d8; border-radius: 12px; box-shadow: 0 8px 32px #30202926; color: #332d2f; }
.td-editor-help-panel header { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-bottom: 1px solid #eee; gap: 12px; }
.td-editor-help-panel button { cursor: pointer; font: inherit; }
.td-editor-help-panel header button { width: 40px; height: 40px; flex-shrink: 0; border: 0; border-radius: 8px; background: #f7f4f6; font-size: 24px; }
.td-editor-help-content { padding: 16px; overflow-y: auto; overscroll-behavior: contain; min-height: 0; display: flex; flex-direction: column; gap: 12px; }
.td-editor-help-content p { margin: 0; line-height: 1.8; }
.td-editor-help-content > button { background: white; border: 1px solid #ddd3d8; padding: 12px; border-radius: 8px; text-align: left; min-height: 44px; }
.td-editor-help-content > .td-editor-help-pick { background: #a63061; color: white; }
.td-editor-help-content a { color: #a63061; text-decoration: underline; }
.td-editor-help-mode { position: fixed; top: auto; bottom: 16px; left: 50%; transform: translateX(-50%); z-index: 20011; padding: 8px 12px; max-width: calc(100vw - 24px); width: max-content; display: flex; align-items: center; gap: 12px; background: #332d2f; color: white; border-radius: 8px; box-shadow: 0 2px 8px #0002; }
.td-editor-help-mode button { border: 1px solid #fff8; background: transparent; color: white; border-radius: 6px; min-height: 36px; padding: 6px 10px; cursor: pointer; white-space: nowrap; }
.td-editor-help-highlight { position: fixed; z-index: 20000; border: 2px solid #a63061; background: #c5437312; pointer-events: none; box-sizing: border-box; border-radius: 4px; }
.td-editor-help-highlight span { position: absolute; bottom: 100%; left: 0; white-space: nowrap; padding: 4px 8px; background: #a63061; color: white; border-radius: 4px; font-size: 12px; }
.td-editor-help-marker { position: fixed; z-index: 20005; width: 30px; height: 30px; border: 2px solid white; border-radius: 50%; background: #a63061; color: white; box-shadow: 0 2px 4px #0003; cursor: pointer; font-weight: bold; }
.td-editor-help-ui :focus-visible, .td-editor-help-question:focus-visible { outline: 2px solid #a63061; outline-offset: 3px; }
@media (max-width: 1180px) {
 .td-editor-help-panel { top: auto; right: 0; bottom: 0; width: 100%; max-width: 100%; max-height: 65dvh; border-radius: 14px 14px 0 0; padding-bottom: env(safe-area-inset-bottom); }
 .td-editor-help-mode { top: 64px; bottom: auto; font-size: 12px; }
 .td-editor-help-mode span { max-width: 190px; }
 .td-editor-help-question { flex-basis: 36px; width: 36px; height: 36px; }
}

.td-editor-help-entry:hover { background: #fff5f9; }
.td-editor-help-entry > span { width: 16px; flex: 0 0 16px; text-align: center; }

.td-editor-help-picking [role=tooltip] { display: none !important; }

.td-editor-help-emblem { display: grid; place-items: center; flex: 0 0 40px; width: 40px; height: 40px; border-radius: 50%; background: #a63061; color: white; font-size: 25px; font-weight: 800; box-shadow: 0 3px 0 #782044; }
.td-editor-help-heading { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.td-editor-help-caption { color: #a63061; font-size: 12px; font-weight: 700; }
.td-editor-help-panel:focus { outline: none; }
.td-editor-help-panel { border: 2px solid #a63061; }
.td-layer-panel-header { gap: 8px; }

.td-editor-help-menu-divider { border-top: 1px solid #e3dce0; margin: 6px 5px; }

.td-editor-help-content a:focus:not(:focus-visible) { outline: none; box-shadow: none; }

.td-editor-help-section h3 { margin: 0 0 6px; color: #a63061; font-size: 14px; font-weight: 700; line-height: 1.5; }
.td-editor-help-section ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }
.td-editor-help-section li { padding-left: 2px; line-height: 1.65; overflow-wrap: anywhere; }
.td-editor-help-section + .td-editor-help-section { padding-top: 12px; border-top: 1px solid #eee; }

.td-editor-help-question[aria-pressed="true"] { background: #fff5f9; border-color: #e8c7d7; color: #a63061; }
