/* Una entrada compacta, con las superficies negras y los tokens de Cocuyo. */
.prompt-help{position:relative;display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:6px 0;color:var(--blanco-luz);font:inherit}
.prompt-help[hidden],.prompt-help [hidden]{display:none!important}
.prompt-help button,.prompt-help-dialog button{font:inherit;font-size:12px;cursor:pointer}
.prompt-help-trigger,.prompt-help-undo{border:0;background:transparent;color:var(--gris-niebla);padding:5px 2px;text-align:left}
.prompt-help-trigger:hover,.prompt-help-undo:hover{color:var(--verde-cocuyo)}
.prompt-help-menu{position:absolute;z-index:30;top:100%;left:0;width:min(310px,calc(100vw - 48px));padding:10px;background:var(--negro-elevado);border:1px solid var(--negro-borde);border-radius:12px;box-shadow:0 8px 28px color-mix(in srgb,var(--negro-abismo) 70%,transparent)}
.prompt-help-action{display:block;width:100%;padding:10px;border:0;border-radius:7px;background:transparent;text-align:left;color:var(--blanco-luz)}
.prompt-help-action:hover{background:var(--negro-borde)}
.prompt-help button:disabled,.prompt-help-dialog button:disabled{opacity:.48;cursor:default}
.prompt-help-refs{width:100%;margin:5px 0;padding:8px;border:1px solid var(--negro-borde);border-radius:7px;color:var(--blanco-luz);background:var(--negro-abismo);font:inherit;font-size:12px}
.prompt-help-note,.prompt-help-quota{font-size:11px;line-height:1.5;margin:8px 5px 2px;color:var(--gris-humo)}
.prompt-help-quota{color:var(--gris-niebla)}
.prompt-help-dialog{box-sizing:border-box;width:min(540px,calc(100vw - 32px));max-height:calc(100dvh - 32px);overflow:auto;border:1px solid var(--negro-borde);border-radius:16px;padding:22px;background:var(--negro-elevado);color:var(--blanco-luz);font-family:inherit}
.prompt-help-dialog::backdrop{background:color-mix(in srgb,var(--negro-abismo) 76%,transparent)}
.prompt-help-dialog h2{font-size:18px;line-height:1.3;margin:0 0 10px}
.prompt-help-notice{font-size:13px;line-height:1.5;color:var(--gris-niebla);margin:0 0 14px}
.prompt-help-label{display:block;font-size:12px;margin-bottom:6px;color:var(--gris-niebla)}
.prompt-help-output{box-sizing:border-box;width:100%;min-height:150px;max-height:45dvh;resize:vertical;border:1px solid var(--negro-borde);border-radius:10px;padding:12px;background:var(--negro-abismo);color:var(--blanco-luz);font:inherit;font-size:14px;line-height:1.5}
.prompt-help-original{margin-top:12px;font-size:12px;color:var(--gris-niebla)}
.prompt-help-original summary{cursor:pointer;padding:5px 0}
.prompt-help-original pre{white-space:pre-wrap;overflow-wrap:anywhere;font:inherit;line-height:1.5;max-height:150px;overflow:auto}
.prompt-help-actions{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:8px;margin-top:20px}
.prompt-help-cancel,.prompt-help-apply{border:1px solid var(--negro-borde);border-radius:8px;padding:10px 14px;background:var(--negro-abismo);color:var(--blanco-luz)}
.prompt-help-apply{background:var(--verde-cocuyo);color:var(--negro-abismo);border-color:var(--verde-cocuyo)}
.prompt-help :focus-visible,.prompt-help-dialog :focus-visible{outline:2px solid var(--verde-cocuyo);outline-offset:3px}
@media(max-width:480px){.prompt-help-dialog{padding:18px}.prompt-help-actions button{min-height:42px}.prompt-help-trigger,.prompt-help-undo{min-height:32px}}
