/* Shared contextual help, using the existing workspace foundation. */
.wh-host{--wh-width:392px;--wh-bg:#EEF2F6;--wh-surface:#F7FAFD;--wh-card:#FFFFFF;--wh-line:#BFCAD8;--wh-text:#062B62;--wh-muted:#36516E;--wh-primary:#062B62;--wh-primary-text:#FFFFFF;--wh-focus:#175EC2;--wh-link:#175EC2;--wh-error:#A6223D;--wh-colour-scheme:light;--wh-callout:#062B62;--wh-callout-text:#FFFFFF;--wh-callout-muted:#DCE7F3;--wh-beacon:#C7FF5F;font-family:var(--bp-font,Manrope,sans-serif);font-size:14px;line-height:20px;color:var(--wh-text)}
.wh-host[data-help-theme=dark]{--wh-bg:#0B132B;--wh-surface:#102B49;--wh-card:#1C3858;--wh-line:#53708F;--wh-text:#F7FAFD;--wh-muted:#C4D3E5;--wh-primary:#DCE7F3;--wh-primary-text:#062B62;--wh-focus:#C7FF5F;--wh-link:#B8D7FF;--wh-error:#FFB5BE;--wh-colour-scheme:dark;--wh-callout:#F7FAFD;--wh-callout-text:#062B62;--wh-callout-muted:#36516E;--wh-beacon:#175EC2}
.wh-host *{box-sizing:border-box}.wh-host [hidden]{display:none!important}
.wh-host svg{display:block;width:18px;height:18px;min-width:18px;flex:0 0 18px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.wh-host :is(button,input){font:inherit}.wh-host button{cursor:pointer;touch-action:manipulation}
.wh-host :is(button,input):focus-visible{outline:2px solid var(--wh-focus);outline-offset:3px}
.wh-host button:disabled{opacity:.5;cursor:wait}
.wh-host .wh-launcher{position:fixed;right:16px;bottom:12px;z-index:185;display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:8px 12px;min-height:36px;background:var(--wh-primary);color:var(--wh-primary-text);border:1px solid #a9ceff66;border-radius:8px;font-size:12px;line-height:18px;font-weight:650;box-shadow:0 4px 16px #020d1d44}
.wh-host .wh-launcher:hover{filter:brightness(1.12)}.wh-host .wh-launcher[aria-expanded=true]{background:var(--wh-card);border-color:var(--wh-focus);color:var(--wh-text)}
.wh-host .wh-panel{position:fixed;inset:auto 16px 64px auto;width:var(--wh-width);height:min(720px,calc(100dvh - 88px));max-width:calc(100vw - 24px);max-height:none;min-height:0;margin:0;padding:0;z-index:180;display:none;flex-direction:column;background:var(--wh-surface);border:1px solid var(--wh-line);border-radius:12px;color:var(--wh-text);box-shadow:0 12px 36px #020d1d66;overflow:hidden;font-family:inherit;line-height:20px}
.wh-host .wh-panel[open]{display:flex}.wh-host .wh-panel::backdrop{background:#020b19a8;backdrop-filter:blur(2px)}
.wh-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;padding:20px 20px 16px;border-bottom:1px solid var(--wh-line)}
.wh-host .wh-eyebrow{margin:0 0 4px;font-size:10px!important;line-height:16px;font-weight:650;letter-spacing:1px;text-transform:uppercase;color:var(--wh-muted)}
.wh-host .wh-heading h2{margin:0;font:650 20px/28px var(--bp-font,Manrope,sans-serif);letter-spacing:-.4px;color:var(--wh-text)}
.wh-host .wh-icon-button{display:grid;place-items:center;background:transparent;color:var(--wh-muted);border:1px solid var(--wh-line);border-radius:6px;padding:6px;width:32px;height:32px;min-height:32px;flex-shrink:0}
.wh-host .wh-icon-button:hover{background:var(--wh-card);color:var(--wh-text)}
.wh-search{padding:16px 20px 12px}.wh-search label{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
.wh-search>div{display:flex;align-items:center;gap:8px;border:1px solid var(--wh-line);border-radius:6px;background:var(--wh-bg);padding:0 10px;color:var(--wh-muted)}
.wh-host .wh-search input{display:block;min-width:0;width:100%;max-width:none;background:transparent;border:0;border-radius:4px;box-shadow:none;margin:0;padding:9px 0;min-height:38px;font-size:12px;line-height:20px;color:var(--wh-text);color-scheme:var(--wh-colour-scheme)}
.wh-host .wh-search input::placeholder{color:var(--wh-muted)}
.wh-tabs{display:flex;gap:4px;margin:0 20px 16px;padding:3px;border:1px solid var(--wh-line);background:var(--wh-bg);border-radius:8px}
.wh-host .wh-tabs button{flex:1;min-height:32px;display:flex;justify-content:center;align-items:center;padding:6px 8px;background:transparent;border:1px solid transparent;border-radius:5px;color:var(--wh-muted);font-size:12px;line-height:18px;font-weight:600}
.wh-host .wh-tabs button[aria-pressed=true]{background:var(--wh-primary);border-color:var(--wh-primary);color:var(--wh-primary-text)}
.wh-content{flex:1;min-height:0;overflow:auto;padding:0 20px 20px;overscroll-behavior:contain;scrollbar-width:thin}
.wh-host h3{margin:0 0 12px;font:650 18px/26px var(--bp-font,Manrope,sans-serif);letter-spacing:-.25px;color:var(--wh-text);text-wrap:balance}
.wh-host p{margin:0 0 16px;font-size:13px;line-height:20px;color:var(--wh-muted);text-wrap:pretty}
.wh-host ol{margin:16px 0;padding-left:20px;font-size:12px;line-height:20px;color:var(--wh-muted)}.wh-host li{padding-left:4px;margin-bottom:8px}
.wh-host .wh-primary{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:36px;padding:8px 12px;background:var(--wh-primary);color:var(--wh-primary-text);border:1px solid var(--wh-primary);border-radius:6px;font-size:12px;line-height:18px;font-weight:650}
.wh-host .wh-primary:hover{filter:brightness(1.12)}
.wh-host .wh-text-button{display:block;width:fit-content;border:0;background:transparent;padding:8px 0;min-height:32px;font-size:12px;line-height:18px;color:var(--wh-link);text-align:left}
.wh-host .wh-text-button:hover{text-decoration:underline;text-underline-offset:3px}
.wh-welcome{padding:20px 16px;background:var(--wh-bg);border:1px solid var(--wh-line);border-radius:8px}
.wh-welcome-icon,.wh-step-icon{display:grid;place-items:center;width:36px;height:36px;border:1px solid var(--wh-line);border-radius:8px;background:var(--wh-card);color:var(--wh-link);margin-bottom:16px}
.wh-welcome .wh-primary{width:100%;margin-bottom:4px}.wh-welcome>.wh-text-button{margin:0 auto}
.wh-guide-summary{display:flex;justify-content:space-between;gap:12px;font-size:11px;line-height:16px;color:var(--wh-muted);margin:20px 0 16px;padding-top:12px;border-top:1px solid var(--wh-line)}
.wh-context{margin-top:24px}.wh-host .wh-context h3{font-size:14px;line-height:20px;margin-bottom:12px}
.wh-host .wh-topic{position:relative;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;text-align:left;width:100%;min-height:64px;margin:0 0 8px;padding:12px 36px 12px 12px;border:1px solid var(--wh-line);border-radius:6px;background:var(--wh-card);color:var(--wh-text);gap:4px}
.wh-host .wh-topic:hover{border-color:#6f99d0;background:var(--wh-bg)}
.wh-topic>span{font-size:12px;line-height:18px;font-weight:600}.wh-topic>small{font-size:10px;line-height:16px;color:var(--wh-muted)}.wh-topic>svg{position:absolute;right:12px;top:50%;transform:translateY(-50%);width:16px;height:16px;color:var(--wh-muted)}
.wh-results-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px}.wh-host .wh-results-heading h3{font-size:14px;line-height:20px;margin:0}.wh-results-heading>span{font-size:11px;line-height:16px;color:var(--wh-muted);font-variant-numeric:tabular-nums}
.wh-guide-progress{display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:11px;line-height:16px;color:var(--wh-muted);font-variant-numeric:tabular-nums;margin-bottom:8px}
.wh-host progress{display:block;width:100%;height:4px;margin:0 0 20px;border:0;border-radius:4px;overflow:hidden;background:var(--wh-bg);accent-color:var(--wh-primary)}.wh-host progress::-webkit-progress-bar{background:var(--wh-bg)}.wh-host progress::-webkit-progress-value{background:var(--wh-primary)}
.wh-host .wh-step-notice{font-size:12px;line-height:18px;padding:12px;border:1px solid var(--wh-line);border-radius:6px;background:var(--wh-bg);color:var(--wh-muted);margin-top:16px}.wh-host .wh-step-notice:empty{display:none}
.wh-step-actions{display:flex;gap:8px;justify-content:space-between;align-items:center;margin-top:20px}
.wh-host .wh-step-actions>button:not(.wh-primary){min-height:36px;padding:8px 12px;background:var(--wh-card);border:1px solid var(--wh-line);border-radius:6px;font-size:12px;line-height:18px;color:var(--wh-text)}
.wh-host .wh-small{font-size:11px;line-height:18px;margin:12px 0 0;color:var(--wh-muted)}
.wh-host .wh-back-topics{margin-bottom:12px}.wh-article{padding-top:4px}.wh-article .wh-primary{margin-top:4px}
.wh-feedback{flex-shrink:0;padding:12px 20px;border-top:1px solid var(--wh-line);background:var(--wh-bg);font-size:10px;line-height:16px;color:var(--wh-muted)}.wh-feedback:empty{display:none}.wh-host .wh-feedback p{font-size:12px;line-height:18px;margin:0 0 8px}
.wh-host .wh-feedback .wh-error{color:var(--wh-error)}.wh-host .wh-feedback button{padding:4px 0;background:transparent;border:0;color:var(--wh-link);font-size:12px;line-height:18px;text-decoration:underline;text-underline-offset:3px}
.wh-empty{padding:24px 8px;text-align:center}.wh-host .wh-empty h3{font-size:16px;line-height:24px}.wh-host .wh-empty p{font-size:12px;line-height:20px}
.wh-loading{padding-top:4px}.wh-loading>span{display:block;height:48px;margin-bottom:12px;background:var(--wh-card);border-radius:6px;animation:wh-loading 1.3s var(--bp-motion,cubic-bezier(.22,1,.36,1)) infinite alternate}.wh-loading>span:nth-child(2){height:120px}
.wh-highlight{position:fixed;z-index:170;pointer-events:none;border:3px solid #062B62;border-radius:8px;box-shadow:0 0 0 4px #FFFFFF,0 0 0 8px #C7FF5F,0 4px 24px #062B6244;animation:wh-beacon 2.4s ease-in-out infinite}
.wh-host[data-help-theme=dark] .wh-highlight{border-color:#F7FAFD;box-shadow:0 0 0 4px #062B62,0 0 0 8px #175EC2,0 4px 24px #062B6244;animation-name:wh-beacon-dark}
.wh-host .wh-callout{position:fixed;z-index:175;width:320px;max-width:calc(100vw - 24px);padding:16px;background:var(--wh-callout);color:var(--wh-callout-text);border:1px solid var(--wh-callout);border-radius:12px;box-shadow:0 12px 36px #062B6244;animation:wh-callout-in .18s ease-out}
.wh-callout::before{content:'';position:absolute;width:12px;height:12px;background:var(--wh-callout);transform:rotate(45deg);pointer-events:none}
.wh-callout[data-side=bottom]::before{top:-6px;left:calc(var(--wh-arrow-x) - 6px)}.wh-callout[data-side=top]::before{bottom:-6px;left:calc(var(--wh-arrow-x) - 6px)}.wh-callout[data-side=right]::before{left:-6px;top:calc(var(--wh-arrow-y) - 6px)}.wh-callout[data-side=left]::before{right:-6px;top:calc(var(--wh-arrow-y) - 6px)}
.wh-callout-top{display:flex;align-items:center;gap:8px;margin-bottom:12px;font-size:11px;line-height:16px;font-weight:700;text-transform:uppercase;letter-spacing:.5px}
.wh-host .wh-callout-symbol{display:grid;place-items:center;width:32px;height:32px;background:var(--wh-beacon);color:var(--wh-callout);border-radius:8px}
.wh-host .wh-callout .wh-icon-button{margin-left:auto;width:28px;height:28px;min-height:28px;padding:4px;border-color:currentColor;color:var(--wh-callout-text);opacity:.85}.wh-host .wh-callout .wh-icon-button:hover{background:var(--wh-callout-text);color:var(--wh-callout)}
.wh-host .wh-callout h3{color:var(--wh-callout-text);font-size:18px;line-height:26px;margin:0 0 8px;text-wrap:pretty}.wh-host .wh-callout p{color:var(--wh-callout-text);font-size:13px;line-height:20px;margin:0 0 16px}
.wh-callout-hint{display:flex;align-items:center;gap:8px;color:var(--wh-callout-muted);font-size:11px;line-height:16px}.wh-callout-hint svg{width:14px;height:14px;min-width:14px;flex-basis:14px}
@keyframes wh-beacon{50%{box-shadow:0 0 0 4px #FFFFFF,0 0 0 10px #C7FF5F99,0 4px 24px #062B6233}}
@keyframes wh-beacon-dark{50%{box-shadow:0 0 0 4px #062B62,0 0 0 10px #175EC299,0 4px 24px #062B6233}}
@keyframes wh-callout-in{from{opacity:0;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}
@keyframes wh-loading{to{opacity:.45}}
@media(min-width:761px){.wh-host.wh-align-left .wh-panel{left:16px;right:auto}body.admin-shell:has(.wh-launcher) .admin-workspace-footer{padding-right:104px}}
@media(min-width:761px) and (max-width:1100px){.wh-host{--wh-width:352px}.wh-heading{padding:16px}.wh-search{padding:16px 16px 12px}.wh-tabs{margin-left:16px;margin-right:16px}.wh-content{padding-left:16px;padding-right:16px}.wh-feedback{padding:12px 16px}}
@media(max-width:760px){.wh-host .wh-panel{inset:8px 8px 64px;width:calc(100vw - 16px);height:calc(100dvh - 72px);max-width:none;border-radius:12px}.wh-heading{padding:16px}.wh-search{padding:16px 16px 12px}.wh-tabs{margin-left:16px;margin-right:16px}.wh-content{padding-left:16px;padding-right:16px}.wh-feedback{padding:12px 16px}.wh-host .wh-launcher{right:12px;bottom:calc(12px + env(safe-area-inset-bottom,0px));min-height:40px;padding:10px 12px}.wh-host .wh-icon-button{width:36px;height:36px}.wh-highlight,.wh-callout{display:none!important}.wh-host .wh-heading h2{font-size:20px;line-height:28px}}
@media(prefers-reduced-motion:reduce){.wh-loading>span,.wh-host .wh-highlight,.wh-host .wh-callout{animation:none}.wh-host *{scroll-behavior:auto!important}}

.wh-secondary-actions{display:flex;justify-content:space-between;align-items:center;gap:16px}
.wh-host .wh-watch{display:flex;align-items:center;justify-content:center;gap:8px;flex-shrink:0;margin:0 20px 16px;padding:10px 12px;min-height:40px;border:1px solid var(--wh-primary);border-radius:8px;background:var(--wh-primary);color:var(--wh-primary-text);font-size:12px;line-height:18px;font-weight:650}
.wh-host .wh-watch:hover{filter:brightness(1.1)}
.wh-host .wh-watch[aria-busy=true] svg{animation:wh-watch-spin .8s linear infinite}
@keyframes wh-watch-spin{to{transform:rotate(360deg)}}
@media(max-width:1100px){.wh-host .wh-watch{margin-left:16px;margin-right:16px}}
@media(prefers-reduced-motion:reduce){.wh-host .wh-watch[aria-busy=true] svg{animation:none}}
