#erp-help-button{width:34px;height:34px;flex:0 0 34px;padding:0;border:1px solid #b9cac5;border-radius:50%;background:#fff;color:#147b71;display:inline-grid;place-items:center;font-size:20px;font-weight:700;line-height:1}#erp-help-button:hover{background:#e5f2ed}#erp-help-button:focus-visible{outline:3px solid #147b71;outline-offset:3px}#erp-help{width:min(1200px,calc(100% - 24px));max-width:calc(100% - 24px);height:min(880px,94dvh);max-height:94dvh;padding:0;border:0;border-radius:15px;color:var(--ink);background:#fff;overflow:hidden}#erp-help::backdrop{background:#122d36a8}.help-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:18px 22px;border-bottom:1px solid var(--line)}.help-heading h2{margin:0;font-size:20px}.help-heading small{color:var(--muted);display:block;margin-top:3px}.help-heading button{flex:0 0 auto}#help-content{height:calc(100% - 85px);min-height:0;display:flex;flex-direction:column}.help-loading{padding:24px}.help-tools{display:flex;gap:15px;align-items:end;padding:14px 22px;border-bottom:1px solid var(--line)}.help-tools label{flex:1;min-width:0;font-size:12px}.help-tools input{margin-top:5px;width:100%}.help-tools a{white-space:nowrap;align-self:center;font-size:12px}.help-layout{display:grid;grid-template-columns:285px minmax(0,1fr);min-height:0;flex:1}#help-index{overflow:auto;border-right:1px solid var(--line);padding:15px;background:#f4f7f5}#help-index summary{cursor:pointer;font-weight:600}#help-toc{display:grid;gap:4px}#help-toc button{display:block;width:100%;border:0;background:transparent;text-align:left;font-size:12px;line-height:1.5;padding:9px;color:var(--ink);border-radius:6px;white-space:normal}#help-toc button:hover,#help-toc button[aria-current=page]{background:#dceee5;color:#145d52}#help-topic{padding:22px 26px;min-width:0;overflow:auto;overflow-wrap:anywhere}#help-topic h3{font-size:24px;line-height:1.3;margin:14px 0 20px}#help-topic h4{font-size:16px;margin:0 0 10px}#help-topic section{margin:22px 0}#help-topic ul,#help-topic ol{padding-left:24px}#help-topic li{margin-bottom:10px;line-height:1.75}.help-meta{font-size:11px;line-height:1.6;color:#526b65}.help-note{background:#eef5f0;padding:16px;border-radius:9px}.help-note ul{margin-bottom:0}.help-figure{margin:22px 0}.help-figure-stage{overflow:auto;max-height:65vh;border:1px solid #d7dfdb;border-radius:8px;background:#f6f6f1}.help-figure svg{display:block;width:100%;height:auto}.help-figure-stage.is-zoomed svg{width:max(100%,1000px);max-width:none}.help-mark{fill:none;stroke:#dc382e;stroke-width:3;vector-effect:non-scaling-stroke}.help-mark-number{fill:#dc382e}.help-mark-text{fill:#fff;font-size:16px;font-weight:700;text-anchor:middle}.help-figure figcaption{font-size:11px;color:#526b65;line-height:1.6;margin-top:12px}.help-figure figcaption ol{margin-top:8px}.help-figure figcaption li{margin-bottom:3px!important;line-height:1.5!important}.help-zoom{margin-top:8px;font-size:11px}#help-retry{margin:0 24px;align-self:start}@media(max-width:700px){#erp-help{width:calc(100% - 16px);max-width:calc(100% - 16px);height:96dvh;max-height:96dvh;border-radius:10px}.help-heading{padding:12px}.help-heading h2{font-size:18px}.help-heading small{font-size:10px}#help-content{height:calc(100% - 75px)}.help-tools{padding:10px 12px;gap:8px;flex-wrap:wrap}.help-tools label{flex-basis:100%}.help-layout{display:flex;flex-direction:column}#help-index{flex:0 0 auto;max-height:38vh;border-right:0;border-bottom:1px solid var(--line);padding:10px 12px}#help-topic{flex:1;padding:16px;min-height:0}#help-topic h3{font-size:21px}.help-figure-stage{max-height:55vh}}@media print{#erp-help{position:static;height:auto;max-height:none;overflow:visible}.help-tools,#help-index,.help-heading button,.help-zoom{display:none}#help-content,.help-layout,#help-topic{display:block;height:auto;overflow:visible}}

/* Keep the text pane inside the dialog when its heading wraps. */
#erp-help[open]{display:flex;flex-direction:column}.help-heading,.help-tools{flex-shrink:0}#help-content{height:auto;flex:1;min-height:0}
