#p3-help-dock{flex:0 1 26rem;min-width:0;max-height:100%;overflow:auto;padding:.5rem .75rem;border:1px solid var(--border);border-radius:var(--radius);background:var(--surface-2);color:var(--text);font-size:.85rem;white-space:pre-wrap;overflow-wrap:anywhere}
#p3-help-dock[hidden],.p3-help-bubble[hidden]{display:none}
.p3-help-bubble{position:fixed;z-index:95;max-width:min(26rem,calc(100vw - 16px));max-height:40vh;overflow:auto;padding:.65rem .85rem;background:var(--surface-2);color:var(--text);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow);white-space:pre-wrap;overflow-wrap:anywhere;pointer-events:none;font-size:.85rem}
.page-action-send:not(:disabled){background-color:#800020;border-color:#800020;color:white}

.p3-tooltip-section details{margin:.5rem 0 .5rem 1rem;padding-left:.75rem;border-left:1px solid var(--border)}
.p3-tooltip-section summary{cursor:pointer;padding:.3rem 0}

.p3-tooltip-filters{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem;margin-bottom:1rem}
.p3-tooltip-filters input[type="search"]{flex:1;min-width:15rem}
.p3-tooltip-editor{grid-template-columns:minmax(10rem,1fr) minmax(12rem,1.2fr) minmax(18rem,2fr)}
.p3-tooltip-edit-form{display:flex;align-items:center;gap:.75rem;min-width:0}
.p3-tooltip-edit-form .tooltip-editor-override{flex:1;min-width:0}
.p3-tooltip-editor .tooltip-editor-default small{color:var(--text-muted)}
@media(max-width:1100px){.p3-tooltip-editor{grid-template-columns:1fr}.p3-tooltip-filters input[type="search"]{min-width:0;width:100%}}

/* Technical paths are supporting context, subordinate to window names. */
.tooltip-tree summary>code{color:var(--text-muted);font-size:.72rem;font-weight:400;background:transparent;opacity:.7}
