/* EES Help 1.24.0 — panel, hover cards, tours, tips, manual page, editing help.
   Everything is scoped to .ees-help-* and set firmly so theme styles (buttons,
   inputs, headings) can't leak in. Sits above every page pop-up (z 2147483xxx). */

.ees-help-panel, .ees-help-card, .ees-help-tour-pop, .ees-help-manual {
  --eh-ink: #0f172a; --eh-text: #1e293b; --eh-muted: #64748b; --eh-line: #e2e8f0; --eh-soft: #f8fafc;
  --eh-accent: #0284c7; --eh-accent-ink: #075985; --eh-accent-soft: #e0f2fe; --eh-tip: #4f46e5;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--eh-text); font-size: 14px; line-height: 1.5; letter-spacing: normal; text-align: left;
}
.ees-help-panel *, .ees-help-card *, .ees-help-tour-pop * { box-sizing: border-box; }

/* ---------- panel ---------- */
.ees-help-panel {
  /* Help's layers sit at 2147483xxx (just under the browser maximum) so they stay above any page
     pop-up, such as the calculator (999999) and Cost-Benefit (1000000). Same order as before:
     panel 200, hover ring 250, tour layer and course backdrop 300, ring 310, step box 320, cards 400. */
  position: fixed; top: 0; right: 0; bottom: 0; width: 420px; max-width: 100vw; z-index: 2147483200;
  background: #fff; border-left: 1px solid var(--eh-line); box-shadow: -18px 0 40px rgba(15, 23, 42, .18);
  display: flex; flex-direction: column; transform: translateX(24px); opacity: 0; transition: transform .18s ease, opacity .18s ease;
}
.ees-help-panel.is-open { transform: none; opacity: 1; }
.admin-bar .ees-help-panel { top: var(--wp-admin--admin-bar--height, 32px); }
.ees-help-panel[hidden] { display: none !important; }
.ees-help-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; padding: 20px 18px 12px; border-bottom: 1px solid var(--eh-line); }
.ees-help-head .ees-help-x { margin: -4px -6px 0 0; }
.ees-help-eyebrow { display: block; font-size: 11.5px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--eh-muted); }
.ees-help-panel h2#ees-help-h { margin: 2px 0 0 !important; padding: 0 !important; font-weight: 700 !important; font-size: 19px !important; line-height: 1.25 !important; font-family: inherit !important; color: var(--eh-ink) !important; border: 0 !important; }
.ees-help-x {
  all: unset; box-sizing: border-box; width: 32px; height: 32px; border-radius: 8px; display: inline-flex !important; align-items: center; justify-content: center;
  font-size: 22px !important; line-height: 1 !important; color: var(--eh-muted) !important; cursor: pointer;
}
.ees-help-x:hover { background: var(--eh-soft) !important; color: var(--eh-ink) !important; }
.ees-help-x:focus-visible, .ees-help-panel summary:focus-visible, .ees-help-btn:focus-visible, .ees-help-more:focus-visible, .ees-help-ok:focus-visible, .ees-help-tourbtn:focus-visible, .ees-help-linkbtn:focus-visible { outline: 2px solid var(--eh-accent) !important; outline-offset: 2px; }
.ees-help-search { padding: 10px 18px; border-bottom: 1px solid var(--eh-line); }
.ees-help-search input[type="search"] {
  width: 100% !important; height: 36px !important; margin: 0 !important; padding: 0 12px !important; border: 1px solid #cbd5e1 !important; border-radius: 8px !important;
  background: #fff !important; color: var(--eh-ink) !important; font-size: 14px !important; line-height: 1 !important; font-family: inherit !important; box-shadow: none !important;
}
.ees-help-search input[type="search"]:focus { outline: 2px solid var(--eh-accent) !important; outline-offset: -1px; border-color: var(--eh-accent) !important; }
.ees-help-body { flex: 1; min-height: 0; overflow-y: auto; padding: 6px 18px 18px; overscroll-behavior: contain; }
.ees-help-foot { padding: 10px 18px; border-top: 1px solid var(--eh-line); font-size: 13.5px; }
.ees-help-foot:empty { display: none; }
.ees-help-manual-link { color: var(--eh-accent-ink) !important; font-weight: 600; text-decoration: none !important; }
.ees-help-manual-link:hover { text-decoration: underline !important; }
.ees-help-group { margin: 16px 0 6px !important; padding: 0 !important; font-weight: 700 !important; font-size: 11.5px !important; line-height: 1.3 !important; font-family: inherit !important; letter-spacing: .05em; text-transform: uppercase; color: var(--eh-muted) !important; border: 0 !important; }
.ees-help-count { margin: 10px 0 4px; color: var(--eh-muted); font-size: 13px; }
.ees-help-here { background: var(--eh-soft); border: 1px solid var(--eh-line); border-radius: 10px; padding: 2px 12px 8px; margin-top: 10px; }
.ees-help-here .ees-help-group { margin-top: 10px !important; }
.ees-help-tourbtn {
  all: unset; box-sizing: border-box; display: inline-flex !important; align-items: center; gap: 8px; margin: 4px 0 8px; padding: 7px 12px !important;
  border-radius: 8px; background: var(--eh-accent) !important; color: #fff !important; font-weight: 600 !important; font-size: 13.5px !important; line-height: 1.2 !important; font-family: inherit !important; cursor: pointer;
}
.ees-help-tourbtn:hover { background: var(--eh-accent-ink) !important; }
.ees-help-tourbtn span { font-size: 10px; }

.ees-help-sec { border-bottom: 1px solid var(--eh-line); }
.ees-help-here .ees-help-sec:last-child { border-bottom: 0; }
.ees-help-sec > summary {
  list-style: none; cursor: pointer; padding: 10px 22px 10px 0; position: relative; font-weight: 600; color: var(--eh-ink); font-size: 14px;
}
.ees-help-sec > summary::-webkit-details-marker { display: none; }
.ees-help-sec > summary::after { content: ""; position: absolute; right: 4px; top: 15px; width: 7px; height: 7px; border-right: 2px solid var(--eh-muted); border-bottom: 2px solid var(--eh-muted); transform: rotate(-45deg); transition: transform .15s; }
.ees-help-sec[open] > summary::after { transform: rotate(45deg); top: 13px; }
.ees-help-sec-body { padding: 0 0 12px; color: var(--eh-text); }
.ees-help-sec-body p, .ees-help-art p { margin: 0 0 8px !important; }
.ees-help-sec-body ul, .ees-help-sec-body ol, .ees-help-art ul, .ees-help-art ol { margin: 0 0 8px 20px !important; padding: 0 !important; }
.ees-help-sec-body li, .ees-help-art li { margin: 0 0 4px !important; }
.ees-help-sec-body table, .ees-help-art table { width: 100%; border-collapse: collapse; margin: 4px 0 10px; font-size: 13px; }
.ees-help-sec-body th, .ees-help-sec-body td, .ees-help-art th, .ees-help-art td { border: 1px solid var(--eh-line); padding: 5px 7px; text-align: left; vertical-align: top; }
.ees-help-sec-body th, .ees-help-art th { background: var(--eh-soft); font-weight: 600; }
.ees-help-sec-body code, .ees-help-art code, .ees-help-card code { font-family: ui-monospace, Consolas, monospace; font-size: 12.5px; background: #eef2f7; padding: 1px 5px; border-radius: 4px; color: var(--eh-ink); }
.ees-help-panel kbd, .ees-help-manual kbd { font-family: ui-monospace, Consolas, monospace; font-size: 12px; background: #fff; border: 1px solid #cbd5e1; border-bottom-width: 2px; border-radius: 5px; padding: 1px 6px; color: var(--eh-ink); white-space: nowrap; }
.ees-help-sec-body .ees-help-note, .ees-help-art .ees-help-note { background: #eff6ff; border-left: 3px solid #1d4ed8; padding: 7px 10px; border-radius: 0 6px 6px 0; margin: 6px 0 10px; }
.ees-help-sec-body svg, .ees-help-art svg { display: block; width: 100%; max-width: 380px; height: auto; margin: 4px 0 10px; }
.ees-help-panel a[data-help-show], .ees-help-panel a[data-help-go] { color: var(--eh-accent-ink); font-weight: 600; text-decoration: underline; cursor: pointer; }
.ees-help-gloss { margin: 0; }
.ees-help-gloss dt { font-weight: 700; color: var(--eh-ink); margin-top: 8px; }
.ees-help-gloss dd { margin: 2px 0 0 !important; color: var(--eh-text); }
.ees-help-keys td { border: 0 !important; border-bottom: 1px solid var(--eh-line) !important; padding: 6px 4px !important; }
.ees-help-keys td:first-child { width: 42%; }

/* ---------- hover cards + tips ---------- */
.ees-help-card, .ees-help-tour-pop {
  position: fixed; z-index: 2147483400; max-width: 340px; min-width: 200px; background: #fff; border: 1px solid var(--eh-line); border-radius: 10px;
  padding: 10px 12px; box-shadow: 0 12px 32px rgba(15, 23, 42, .22); font-size: 13.5px; line-height: 1.45;
}
.ees-help-card[hidden] { display: none !important; }
/* A hover card never blocks the page: the pointer passes through it to whatever is underneath
   (the next row's buttons, say). Only its "More in Help" link, and one-time tips, take clicks. */
.ees-help-card:not(.is-tip) { pointer-events: none; }
.ees-help-card:not(.is-tip) .ees-help-more { pointer-events: auto; }
.ees-help-card-t { display: block; color: var(--eh-ink); font-weight: 700; margin-bottom: 3px; font-size: 13.5px; }
.ees-help-card-note { margin: 2px 0 6px; padding: 5px 8px; border-radius: 6px; background: #fff7ed; color: #9a3412; font-weight: 600; font-size: 13px; }
.ees-help-card-note.is-info { background: #eff6ff; color: #1e40af; }
.ees-help-card-x p { margin: 0 0 6px !important; }
.ees-help-card-x p:last-child { margin-bottom: 0 !important; }
.ees-help-more, .ees-help-ok, .ees-help-btn, .ees-help-linkbtn {
  all: unset; box-sizing: border-box; cursor: pointer; font-weight: 600 !important; font-size: 13px !important; line-height: 1.2 !important; font-family: inherit !important;
}
.ees-help-more { display: inline-block; margin-top: 7px; color: var(--eh-accent-ink) !important; }
.ees-help-more:hover { text-decoration: underline !important; }
.ees-help-card.is-tip { border-color: #c7d2fe; box-shadow: 0 14px 36px rgba(79, 70, 229, .22); max-width: 360px; }
.ees-help-tip-label { display: inline-block; font-weight: 700; font-size: 10.5px; line-height: 1; font-family: inherit; letter-spacing: .06em; text-transform: uppercase; color: #fff; background: var(--eh-tip); border-radius: 4px; padding: 3px 6px; margin-bottom: 6px; }
.ees-help-tip-row, .ees-help-tour-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 8px; }
.ees-help-tip-row .ees-help-more { margin-top: 0; }
.ees-help-ok, .ees-help-btn { padding: 6px 12px !important; border-radius: 7px; border: 1px solid #cbd5e1 !important; background: #fff !important; color: var(--eh-ink) !important; }
.ees-help-ok:hover, .ees-help-btn:hover { background: var(--eh-soft) !important; }
.ees-help-btn.is-primary, .ees-help-ok { background: var(--eh-accent) !important; border-color: var(--eh-accent) !important; color: #fff !important; }
.ees-help-btn.is-primary:hover, .ees-help-ok:hover { background: var(--eh-accent-ink) !important; }
.ees-help-tour-row .ees-help-btn + .ees-help-btn { margin-left: 6px; }
.ees-help-linkbtn { color: var(--eh-muted) !important; }
.ees-help-linkbtn:hover { color: var(--eh-ink) !important; text-decoration: underline !important; }

/* ---------- tours ---------- */
.ees-help-tour-layer { position: fixed; inset: 0; z-index: 2147483300; background: transparent; cursor: default; }
.ees-help-tour-ring {
  position: fixed; z-index: 2147483310; border-radius: 10px; pointer-events: none;
  box-shadow: 0 0 0 3px var(--eh-accent, #0284c7), 0 0 0 9999px rgba(15, 23, 42, .55); transition: all .2s ease;
}
.ees-help-tour-pop { z-index: 2147483320; max-width: 360px; }
.ees-help-tour-n { font-size: 11.5px; font-weight: 600; color: var(--eh-muted); margin-bottom: 3px; }
.ees-help-flash {
  position: fixed; z-index: 2147483250; border-radius: 10px; pointer-events: none; border: 3px solid #0284c7;
  animation: ees-help-pulse 1.2s ease-out 2;
}
@keyframes ees-help-pulse { 0% { box-shadow: 0 0 0 0 rgba(2, 132, 199, .55); } 100% { box-shadow: 0 0 0 14px rgba(2, 132, 199, 0); } }

/* ---------- training courses ---------- */
/* A course never blocks the page (no click shield): the ring dims around the step's element
   and the page underneath still takes clicks and typing. Centered steps dim the whole page. */
.ees-help-train-dim { position: fixed; inset: 0; z-index: 2147483300; background: rgba(15, 23, 42, .55); pointer-events: none; }
.ees-help-tour-pop.is-train { max-width: 380px; border-color: #bae6fd; }
.ees-help-tour-pop.is-train.is-center { max-width: 460px; padding: 16px 18px; }
.ees-help-tour-pop.is-train.is-center .ees-help-card-t { font-size: 16px; }
.ees-help-tour-pop.is-train .ees-help-tour-n { display: flex; align-items: center; flex-wrap: wrap; gap: 4px; }
.ees-help-train-tag { color: #0369a1; font-weight: 700; }
/* "Your turn": a banner at the top of the step box says what to do on the page; the box gets an
   amber edge and the ring around that part of the page pulses until it's done. */
.ees-help-turn { display: flex; align-items: flex-start; gap: 10px; margin: 6px 0 10px; padding: 9px 11px; border-radius: 9px; border: 1px solid #fcd34d; border-left: 5px solid #f59e0b; background: #fffbeb; color: #78350f; }
.ees-help-turn p { margin: 0 !important; font-size: 13.5px; line-height: 1.45; color: inherit !important; }
.ees-help-turn .ees-help-turn-i { flex: 0 0 auto; margin-top: 1px; color: #d97706; }
.ees-help-train-st { display: block; font-size: 14px; font-weight: 800; color: #92400e; }
.ees-help-turn.is-met { border-color: #86efac; border-left-color: #16a34a; background: #f0fdf4; color: #14532d; }
.ees-help-turn.is-met .ees-help-turn-i, .ees-help-train-st.is-met { color: #15803d; }
.ees-help-turn.is-busy { border-color: #bae6fd; border-left-color: #0284c7; background: #f0f9ff; color: #0c4a6e; }
.ees-help-turn.is-busy .ees-help-turn-i, .ees-help-turn.is-busy .ees-help-train-st { color: #0369a1; }
.ees-help-turn.is-ask { border-color: #fca5a5; border-left-color: #dc2626; background: #fef2f2; color: #7f1d1d; }
.ees-help-turn.is-ask .ees-help-turn-i, .ees-help-turn.is-ask .ees-help-train-st { color: #b91c1c; }
.ees-help-tour-pop.is-train.is-turn { border: 2px solid #f59e0b; }
.ees-help-tour-ring.is-turn { box-shadow: 0 0 0 4px #f59e0b, 0 0 0 4px rgba(245, 158, 11, 0), 0 0 0 9999px rgba(15, 23, 42, .55); }
@media (prefers-reduced-motion: no-preference) {
  .ees-help-tour-ring.is-turn { animation: ees-help-turn 1.5s ease-in-out infinite; }
  .ees-help-turn.is-ask { animation: ees-help-nudge .35s ease-in-out 1; }
}
@keyframes ees-help-turn {   /* the same three shadows in every frame, so only the glow changes (not the page's dimming) */
  0%, 100% { box-shadow: 0 0 0 4px #f59e0b, 0 0 0 4px rgba(245, 158, 11, 0), 0 0 0 9999px rgba(15, 23, 42, .55); }
  50% { box-shadow: 0 0 0 4px #f59e0b, 0 0 0 12px rgba(245, 158, 11, .4), 0 0 0 9999px rgba(15, 23, 42, .55); }
}
@keyframes ees-help-nudge { 0%, 100% { transform: translateX(0); } 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
/* What a course added: keep it (the default) or tick and delete (last step, review box, reminder). */
.ees-help-tour-pop.is-train.has-keep { max-width: 480px; width: 480px; max-width: calc(100vw - 16px); }
.ees-help-keep { margin: 10px 0 2px; padding: 10px 12px; border: 1px solid #e2e8f0; border-radius: 9px; background: #f8fafc; }
.ees-help-keep-h { margin: 0 0 8px !important; font-size: 13px; color: var(--eh-ink); }
.ees-help-keep-list { max-height: 220px; overflow-y: auto; display: flex; flex-direction: column; gap: 2px; }
.ees-help-keep-it { display: flex !important; align-items: flex-start; gap: 8px; padding: 5px 6px; border-radius: 6px; cursor: pointer; font-weight: 400 !important; margin: 0 !important; }
.ees-help-keep-it:hover { background: #eef2f7; }
.ees-help-keep-it input { margin: 3px 0 0 !important; flex: 0 0 auto; }
.ees-help-keep-it span { display: flex; flex-direction: column; min-width: 0; }
.ees-help-keep-it b { font-size: 13px; font-weight: 600; color: var(--eh-ink); overflow-wrap: anywhere; }
.ees-help-keep-it small { font-size: 11.5px; color: var(--eh-muted); }
.ees-help-keep-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 8px; }
.ees-help-keep-btns .ees-help-btn + .ees-help-btn { margin-left: 6px; }
.ees-help-btn.is-danger { background: #b32d2e !important; border-color: #b32d2e !important; color: #fff !important; }
.ees-help-btn.is-danger:hover { background: #8a2424 !important; }
.ees-help-keep-msg { margin: 8px 0 0 !important; font-size: 12.5px; line-height: 1.45; color: var(--eh-ink); }
.ees-help-keep-msg.is-ask { color: #8a2424; }
.ees-help-keep-msg.is-busy { color: var(--eh-muted); }
.ees-help-keep-msg.is-ok { color: #166534; }
.ees-help-keep-msg.is-warn { color: #92400e; }
.ees-help-review-dim { pointer-events: auto; }
.ees-help-keep-note { margin: -2px 0 8px 40px; font-size: 12px; color: #92400e; }
.ees-help-keep-note .ees-help-linkbtn { font-size: 12px !important; }
.ees-help-train-miss { margin-top: 10px; padding: 9px 11px; border-radius: 9px; border: 1px solid #fdba74; border-left: 5px solid #ea580c; background: #fff7ed; color: #7c2d12; font-size: 13px; line-height: 1.45; }
.ees-help-tip-label.is-train { background: #0369a1; }
/* "Was this helpful?" on a course's last step */
.ees-help-fb { margin: 10px 0 2px; padding: 10px 0 2px; border-top: 1px solid var(--eh-line); }
.ees-help-fb-q { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 6px 12px; font-size: 13px; font-weight: 600; color: var(--eh-ink); }
.ees-help-fb-bs { display: inline-flex; gap: 6px; }
.ees-help-fb-b { all: unset; box-sizing: border-box; cursor: pointer; display: inline-flex; align-items: center; gap: 5px; padding: 4px 11px; border: 1px solid #cbd5e1; border-radius: 999px; background: #fff; color: var(--eh-text); font: 600 12.5px/1.3 inherit; font-family: inherit; }
.ees-help-fb-b:hover { background: var(--eh-soft); border-color: #94a3b8; }
.ees-help-fb-b:focus-visible { outline: 2px solid var(--eh-accent); outline-offset: 2px; }
.ees-help-fb-b.is-no svg { transform: scale(1, -1); }
.ees-help-fb-b[aria-pressed="true"] { background: var(--eh-accent-soft); border-color: var(--eh-accent); color: var(--eh-accent-ink); }
.ees-help-fb-cl { display: block; margin: 9px 0 4px; font-size: 12.5px; font-weight: 600; color: var(--eh-ink); }
.ees-help-fb-cl small { font-weight: 400; color: var(--eh-muted); }
.ees-help-fb-c { box-sizing: border-box; display: block; width: 100%; min-height: 52px; margin: 0; padding: 6px 8px; border: 1px solid #cbd5e1; border-radius: 7px; background: #fff; color: var(--eh-text); font: 13px/1.4 inherit; font-family: inherit; resize: vertical; }
.ees-help-fb-c:focus { outline: 2px solid var(--eh-accent); outline-offset: 0; border-color: var(--eh-accent); }
.ees-help-fb-send { display: flex; justify-content: flex-end; margin-top: 6px; }
.ees-help-fb.is-done { font-size: 12.5px; font-weight: 600; color: #166534; }
@media (prefers-reduced-motion: no-preference) { .ees-help-fb-b { transition: background-color .12s, border-color .12s; } }
/* the Help panel's prompt to pick a training path */
.ees-help-pathask { margin: 0 0 12px; padding: 11px 13px 12px; border: 1px solid #c7d2fe; border-left: 4px solid var(--eh-tip); border-radius: 10px; background: #fff; }
.ees-help-pathask-t { display: block; font-size: 14px; font-weight: 700; color: var(--eh-ink); }
.ees-help-pathask p { margin: 3px 0 9px !important; font-size: 13px; line-height: 1.45; color: var(--eh-text); }
.ees-help-pathask-row { display: flex; align-items: center; gap: 14px; }
.ees-help-pathask-row a.ees-help-btn { text-decoration: none !important; }
.ees-help-pathask-row a.ees-help-btn:focus-visible, .ees-help-pathask-row .ees-help-linkbtn:focus-visible { outline: 2px solid var(--eh-accent); outline-offset: 2px; }
/* in the Help panel */
.ees-help-train { margin: 0 0 14px; padding: 10px 12px; border: 1px solid #bae6fd; border-radius: 10px; background: #f0f9ff; }
.ees-help-train .ees-help-group { margin-top: 0 !important; }
.ees-help-train-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 4px 0; }
.ees-help-trainbtn { all: unset; box-sizing: border-box; cursor: pointer; display: inline-flex; align-items: center; gap: 10px; padding: 8px 12px; border-radius: 8px; background: #fff; border: 1px solid #7dd3fc; color: var(--eh-ink); font-family: inherit; }
.ees-help-trainbtn:hover { border-color: #0284c7; background: #e0f2fe; }
.ees-help-trainbtn:focus-visible { outline: 2px solid var(--eh-accent); outline-offset: 2px; }
.ees-help-train-ico { font-size: 18px; line-height: 1; }
.ees-help-train-t { display: flex; flex-direction: column; gap: 1px; }
.ees-help-train-t b { font-size: 13.5px; font-weight: 700; }
.ees-help-train-t small { font-size: 12px; color: var(--eh-muted); }
.ees-help-train-all { display: inline-block; margin-top: 6px; font-size: 13px; font-weight: 600; color: var(--eh-accent-ink) !important; text-decoration: none !important; }
.ees-help-train-all:hover { text-decoration: underline !important; }
/* =====================================================================
 * The Training page ([ees_training]): the courses as a route. A circle per
 * course sits on a line that turns solid as courses are finished; a course in
 * progress shows a ring filled by the steps done. Only the course to take next
 * is highlighted, with the one filled button on the page. Colours follow the
 * site's slate-and-sky palette; fonts come from the theme.
 * ===================================================================== */
.ees-help-training {
  --t-accent: #0284c7; --t-deep: #075985; --t-wash: #f0f9ff; --t-edge: #bae6fd;
  --t-ink: #1e293b; --t-muted: #64748b; --t-line: #cbd5e1; --t-track: #e2e8f0;
  max-width: 880px; margin-left: auto !important; margin-right: auto !important;   /* centered in the page, whatever the theme does to blocks */
  padding-top: 28px; color: var(--t-ink); font-size: 15px; line-height: 1.55;
}
.ees-help-training .screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ees-help-training .ees-help-training-h { margin: 0 0 14px; }

/* the top line and its meter (one segment per course) */
.ees-help-training .ees-help-tprog { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 18px; margin: 0 0 6px; }
.ees-help-training .ees-help-tlead { margin: 0 !important; font-size: 1.12rem; font-weight: 600; color: var(--t-ink); }
.ees-help-tmeter { display: inline-flex; gap: 4px; }
.ees-help-tmeter i { display: block; width: 26px; height: 6px; border-radius: 3px; background: linear-gradient(90deg, var(--t-accent) var(--p, 0%), var(--t-track) var(--p, 0%)); }
.ees-help-training .ees-help-tintro { margin: 0 0 22px !important; max-width: 68ch; color: var(--t-muted); font-size: .95rem; }

/* the route */
.ees-help-training ol.ees-help-route { list-style: none !important; margin: 0 !important; padding: 0 !important; }
.ees-help-training .ees-help-tstop {
  position: relative; display: grid; grid-template-columns: 42px minmax(0, 1fr) auto; column-gap: 18px; align-items: start;
  margin: 0 0 6px !important; padding: 16px 18px 18px 8px !important; list-style: none !important;
  border: 1px solid transparent; border-radius: 14px;
}
/* the line from this circle down to the next one: dashed ahead, solid once this course is finished */
.ees-help-training .ees-help-tstop::before {
  content: ""; position: absolute; left: 28px; top: 60px; bottom: -24px;
  border-left: 2px dashed var(--t-line);
}
.ees-help-training .ees-help-tstop:last-child::before { display: none; }
.ees-help-training .ees-help-tstop.is-done::before { border-left-style: solid; border-color: var(--t-accent); }
.ees-help-training .ees-help-tstop.is-next { background: var(--t-wash); border-color: var(--t-edge); }

/* the circles */
.ees-help-tnode { position: relative; z-index: 1; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 2px var(--t-line); color: var(--t-muted); font-weight: 700; font-size: 15px; line-height: 1; }
.ees-help-tnode > span { display: grid; place-items: center; }
.is-next > .ees-help-tnode { box-shadow: inset 0 0 0 2px var(--t-accent); color: var(--t-deep); }
.is-done > .ees-help-tnode { background: var(--t-accent); box-shadow: none; color: #fff; }
.is-going > .ees-help-tnode { background: conic-gradient(var(--t-accent) var(--p, 0%), var(--t-edge) 0); box-shadow: none; color: var(--t-deep); }
.is-going > .ees-help-tnode > span { width: 34px; height: 34px; border-radius: 50%; background: #fff; }
.is-off > .ees-help-tnode { box-shadow: none; border: 2px dashed var(--t-line); }

/* the words */
.ees-help-training .ees-help-tbody h3 { margin: 8px 0 2px !important; padding: 0 !important; font-size: 1.14rem; font-weight: 600; line-height: 1.3; letter-spacing: .005em; color: var(--t-ink); }
.ees-help-training .ees-help-tstate { margin: 0 0 4px !important; font-size: .85rem; font-weight: 600; color: var(--t-deep); }
.ees-help-training .is-done .ees-help-tstate { color: var(--t-muted); font-weight: 500; }
.ees-help-training .ees-help-tsum { margin: 4px 0 8px !important; max-width: 62ch; color: #475569; }
.ees-help-training ul.ees-help-tfacts { display: flex; flex-wrap: wrap; gap: 4px 18px; margin: 0 !important; padding: 0 !important; list-style: none !important; color: var(--t-muted); font-size: .85rem; }
.ees-help-training ul.ees-help-tfacts li { display: inline-flex; align-items: center; gap: 6px; margin: 0 !important; padding: 0 !important; list-style: none !important; }
.ees-help-tfacts svg { flex: 0 0 auto; opacity: .8; }
.ees-help-training .is-off .ees-help-tbody h3, .ees-help-training .is-off .ees-help-tsum { color: var(--t-muted); }

/* the buttons: one filled (the course to take next), the rest outlined or quiet */
.ees-help-training .ees-help-tact { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; padding-top: 6px; }
.ees-help-training .ees-help-tbtn {
  display: inline-block; padding: 8px 18px; border-radius: 9px; border: 1.5px solid var(--t-accent); background: #fff;
  color: var(--t-deep) !important; font-weight: 600; font-size: .92rem; line-height: 1.3; text-decoration: none !important; white-space: nowrap;
  transition: background-color .15s, color .15s, border-color .15s;
}
.ees-help-training .ees-help-tbtn:hover { background: var(--t-wash); }
.ees-help-training .ees-help-tbtn.is-primary { background: var(--t-accent); color: #fff !important; padding: 9px 22px; }
.ees-help-training .ees-help-tbtn.is-primary:hover { background: #0369a1; border-color: #0369a1; }
.ees-help-training .ees-help-tbtn.is-quiet { border-color: transparent; background: transparent; padding: 4px 2px; font-size: .88rem; }
.ees-help-training .ees-help-tbtn.is-quiet:hover { text-decoration: underline !important; background: transparent; }
.ees-help-training .ees-help-tbtn:focus-visible { outline: 3px solid #7dd3fc; outline-offset: 2px; }
.ees-help-training .ees-help-tnote { max-width: 220px; color: var(--t-muted); font-size: .85rem; text-align: right; }

/* things a course added that wait for a keep-or-delete choice */
.ees-help-training .ees-help-tkeep { margin: 10px 0 0 !important; padding: 7px 11px; max-width: 62ch; border-radius: 8px; background: #fffbeb; border: 1px solid #fde68a; color: #92400e; font-size: .85rem; }
.ees-help-training .ees-help-tkeep a { font-weight: 600; color: #92400e; }

/* training paths: the picker (one button per path), the person's path, and the courses outside it */
.ees-help-training .ees-help-tpick { margin: 0 0 30px; padding: 20px 22px 18px; border: 1px solid var(--t-edge); border-radius: 16px; background: var(--t-wash); }
.ees-help-training .ees-help-tpick h3 { margin: 0 0 4px !important; padding: 0 !important; font-size: 1.2rem; font-weight: 600; color: var(--t-ink); }
.ees-help-training .ees-help-tpick > p { margin: 0 0 14px !important; max-width: 66ch; color: #475569; font-size: .95rem; }
.ees-help-training ul.ees-help-tpcards { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; margin: 0 !important; padding: 0 !important; list-style: none !important; }
.ees-help-training ul.ees-help-tpcards li { margin: 0 !important; padding: 0 !important; list-style: none !important; display: flex; }
.ees-help-training .ees-help-tpcard {
  all: unset; box-sizing: border-box; flex: 1; display: flex; flex-direction: column; gap: 4px; padding: 13px 15px 12px; cursor: pointer;
  background: #fff; border: 1.5px solid var(--t-line); border-radius: 12px; color: var(--t-ink); font: inherit; line-height: 1.45; text-align: left;
  transition: border-color .15s, box-shadow .15s;
}
.ees-help-training .ees-help-tpcard:hover { border-color: var(--t-accent); box-shadow: 0 2px 8px rgba(2, 132, 199, .12); }
.ees-help-training .ees-help-tpcard:focus-visible { outline: 3px solid #7dd3fc; outline-offset: 2px; }
.ees-help-training .ees-help-tpcard.is-current { border-color: var(--t-accent); box-shadow: inset 0 0 0 1px var(--t-accent); }
.ees-help-training .ees-help-tpcard.is-all { border-style: dashed; }
.ees-help-training .ees-help-tpname { font-weight: 600; font-size: 1rem; color: var(--t-deep); }
.ees-help-training .ees-help-tpdesc { color: #475569; font-size: .88rem; }
.ees-help-training .ees-help-tpmeta { display: flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 4px; color: var(--t-muted); font-size: .82rem; }
.ees-help-training .ees-help-tpmeta b { margin-left: auto; padding: 1px 8px; border-radius: 999px; background: var(--t-accent); color: #fff; font-size: .75rem; font-weight: 600; }
.ees-help-training .ees-help-tpkeep { margin: 12px 0 0 !important; font-size: .9rem; }
.ees-help-training .ees-help-tpkeep a { color: var(--t-deep); font-weight: 600; }
.ees-help-training .ees-help-tpath { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px 20px; margin: 0 0 22px; padding: 14px 18px; border: 1px solid var(--t-line); border-left: 4px solid var(--t-accent); border-radius: 12px; }
.ees-help-training .ees-help-tpath-w { min-width: 0; flex: 1 1 320px; }
.ees-help-training .ees-help-tpath-t { margin: 0 !important; font-size: 1.05rem; color: var(--t-ink); }
.ees-help-training .ees-help-tpath-t b { font-weight: 700; color: var(--t-deep); }
.ees-help-training .ees-help-tpath-d { margin: 2px 0 0 !important; max-width: 64ch; color: var(--t-muted); font-size: .9rem; }
.ees-help-training .ees-help-tpath-lock { margin: 0 !important; color: var(--t-muted); font-size: .85rem; }
.ees-help-training .ees-help-tnone { margin: 0 0 8px !important; padding: 12px 16px; border-radius: 12px; background: #f8fafc; color: #475569; }
.ees-help-training details.ees-help-tmore { margin: 26px 0 0; padding-top: 18px; border-top: 1px solid var(--t-track); }
.ees-help-training details.ees-help-tmore > summary { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; padding: 4px 0 12px; cursor: pointer; list-style: none; }
.ees-help-training details.ees-help-tmore > summary::-webkit-details-marker { display: none; }
.ees-help-training details.ees-help-tmore > summary::before { content: ""; align-self: center; width: 7px; height: 7px; margin: 0 2px 0 4px; border-right: 2px solid var(--t-muted); border-bottom: 2px solid var(--t-muted); transform: rotate(-45deg); transition: transform .15s; }
.ees-help-training details.ees-help-tmore[open] > summary::before { transform: rotate(45deg); }
.ees-help-training details.ees-help-tmore > summary:focus-visible { outline: 3px solid #7dd3fc; outline-offset: 2px; border-radius: 6px; }
.ees-help-training .ees-help-tmore-t { font-size: 1.08rem; font-weight: 600; color: var(--t-ink); }
.ees-help-training .ees-help-tmore-n { color: var(--t-muted); font-size: .9rem; }
.ees-help-training ol.ees-help-route.is-more .ees-help-tstop::before { display: none; }
.ees-help-training ol.ees-help-route.is-more .ees-help-tstop { padding-top: 12px !important; padding-bottom: 12px !important; }
.ees-help-training ol.ees-help-route.is-more .ees-help-tnode { width: 26px; height: 26px; margin: 8px; }
.ees-help-training ol.ees-help-route.is-more .is-going > .ees-help-tnode > span { width: 20px; height: 20px; }
.ees-help-training ol.ees-help-route.is-more .is-done > .ees-help-tnode svg { width: 13px; height: 13px; }

@media (max-width: 640px) {
  .ees-help-training .ees-help-tstop { grid-template-columns: 42px minmax(0, 1fr); column-gap: 14px; padding-right: 12px !important; }
  .ees-help-training .ees-help-tact { grid-column: 2; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 8px 14px; padding-top: 12px; }
  .ees-help-training .ees-help-tnote { text-align: left; max-width: none; }
}
@media (prefers-reduced-motion: reduce) { .ees-help-training .ees-help-tbtn, .ees-help-training .ees-help-tpcard, .ees-help-training details.ees-help-tmore > summary::before { transition: none; } }
@media print { .ees-help-training .ees-help-tact, .ees-help-training .ees-help-tpick { display: none; } }

/* ---------- Help button that EES Help adds to other plugins' screens ---------- */
html body button.ees-help-launch.ees-help-launch {
  all: unset; box-sizing: border-box; display: inline-flex !important; align-items: center; justify-content: center; gap: 6px;
  height: 34px; min-width: 34px; margin: 0; padding: 0 12px !important; vertical-align: middle; flex: 0 0 auto;
  border: 1px solid #bcd3e6 !important; border-radius: 6px !important; background: #fff !important; color: #075985 !important;
  font-family: inherit !important; font-size: 14px !important; font-weight: 600 !important; line-height: 1 !important; letter-spacing: normal !important;
  text-transform: none !important; white-space: nowrap; cursor: pointer; box-shadow: none !important; text-decoration: none !important;
}
html body button.ees-help-launch.ees-help-launch:hover { background: #f0f9ff !important; border-color: #7dd3fc !important; }
html body button.ees-help-launch.ees-help-launch:focus-visible { outline: 2px solid #0284c7 !important; outline-offset: 2px; }
html body button.ees-help-launch .q {
  display: inline-flex; align-items: center; justify-content: center; width: 17px; height: 17px; border-radius: 50%;
  border: 1.5px solid currentColor; font-size: 11px; font-weight: 700; line-height: 1; font-family: inherit;
}
html body button.ees-help-launch .t { display: inline; }
html body button.ees-help-launch.ees-help-launch.is-compact { padding: 0 !important; width: 34px; border-color: transparent !important; background: transparent !important; }
html body button.ees-help-launch.ees-help-launch.is-compact:hover { background: rgba(2, 132, 199, .08) !important; border-color: transparent !important; }
html body button.ees-help-launch.is-compact .t { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
html body h1 > button.ees-help-launch.ees-help-launch { margin-left: 12px; height: 30px; font-size: 13px !important; vertical-align: 3px; }

/* Terms with a hover card show a quiet dotted underline; chips and tags just get the help cursor. */
:where(html:not(.ees-help-nocards)) [data-help] { cursor: help; }
.ees-help-term, [data-help].ees-help-term { text-decoration: underline dotted rgba(100, 116, 139, .7) !important; text-underline-offset: 3px; }
button[data-help], a[data-help], select[data-help], label[data-help] { cursor: pointer; }
/* A user who switched hover cards or underlines off (Help → My help settings) gets neither
   the underline nor the help cursor; the Best Practices Table draws its own, so it's covered too. */
html.ees-help-nomarks .ees-help-term, html.ees-help-nomarks [data-help].ees-help-term,
html.ees-help-nomarks .ees-bpt .ees-bpt-field-name[data-help] { text-decoration: none !important; }
html.ees-help-nocards .ees-bpt .ees-bpt-field-name[data-help], html.ees-help-nocards .ees-bpt .ees-bpt-filter-title[data-help] { cursor: auto !important; }

/* ---------- editing help (administrators) ---------- */
.ees-help-sec-body h4, .ees-help-card-x h4, .ees-help-rte-area h4 { margin: 10px 0 4px !important; padding: 0 !important; font-size: 13.5px !important; font-weight: 700 !important; line-height: 1.35 !important; font-family: inherit !important; color: var(--eh-ink) !important; border: 0 !important; text-transform: none !important; letter-spacing: normal !important; }
.ees-help-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.ees-help-edtoggle, .ees-help-edbtn, .ees-help-edadd, .ees-help-edlink, .ees-help-rte-bar button, .ees-help-rte-link button {
  all: unset; box-sizing: border-box; cursor: pointer; font-family: inherit !important; line-height: 1.2 !important;
}
.ees-help-edtoggle { padding: 5px 10px !important; border-radius: 7px; border: 1px solid #cbd5e1 !important; color: var(--eh-ink) !important; font-size: 13px !important; font-weight: 600 !important; background: #fff !important; }
.ees-help-edtoggle:hover { background: var(--eh-soft) !important; }
.ees-help-edtoggle.is-on { background: #fef3c7 !important; border-color: #f59e0b !important; color: #78350f !important; }
.ees-help-edbar { margin: 10px 0 2px; padding: 8px 10px; border-radius: 8px; background: #fffbeb; border: 1px solid #fde68a; color: #78350f; font-size: 13px; line-height: 1.45; }
.ees-help-edrow { display: flex; justify-content: flex-end; margin: -4px 0 4px; }
.ees-help-edbtn { padding: 3px 9px !important; border-radius: 6px; border: 1px solid #fcd34d !important; background: #fffbeb !important; color: #92400e !important; font-size: 12.5px !important; font-weight: 600 !important; }
.ees-help-edbtn:hover { background: #fef3c7 !important; }
.ees-help-edbtn.is-mini { padding: 1px 6px !important; margin-left: 4px; vertical-align: 1px; }
.ees-help-edtag { display: inline-block; margin-left: 8px; padding: 1px 6px; border-radius: 4px; background: #fef3c7; color: #92400e; font-size: 10.5px; font-weight: 700; line-height: 1.5; letter-spacing: .04em; text-transform: uppercase; vertical-align: 1px; }
.ees-help-edtag.is-added { background: #dcfce7; color: #166534; }
.ees-help-edadd { display: block; width: 100%; margin: 8px 0 6px; padding: 7px 10px !important; border-radius: 8px; border: 1px dashed #cbd5e1 !important; color: var(--eh-muted) !important; font-size: 13px !important; font-weight: 600 !important; text-align: center; }
.ees-help-edadd:hover { border-color: #f59e0b !important; color: #92400e !important; background: #fffbeb !important; }
.ees-help-edsub { margin: 8px 0 2px !important; font-weight: 600; font-size: 12.5px; color: var(--eh-muted); }
.ees-help-edul { margin: 0 0 6px 20px !important; padding: 0 !important; }
.ees-help-edul li { margin: 0 0 3px !important; }
.ees-help-edlink { color: var(--eh-accent-ink) !important; font-size: 13.5px !important; text-decoration: underline; text-decoration-color: rgba(7, 89, 133, .35); text-underline-offset: 2px; }
.ees-help-edlink:hover { text-decoration-color: currentColor; }
.ees-help-edlink.is-just { background: #fef3c7; border-radius: 4px; }
.ees-help-edtoggle:focus-visible, .ees-help-edbtn:focus-visible, .ees-help-edadd:focus-visible, .ees-help-edlink:focus-visible, .ees-help-rte-bar button:focus-visible, .ees-help-rte-link button:focus-visible { outline: 2px solid var(--eh-accent) !important; outline-offset: 2px; }

.ees-help-panel.is-editing { width: 580px; }
.ees-help-panel.is-editing .ees-help-search { display: none; }
.ees-help-ed { padding: 10px 0 4px; }
.ees-help-ed-back { display: inline-block; margin: 2px 0 4px; }
.ees-help-ed .ees-help-group { margin-top: 8px !important; }
.ees-help-ed-l { display: block; margin: 10px 0 0; }
.ees-help-ed-l > span { display: block; margin: 0 0 4px; font-weight: 600; font-size: 13px; color: var(--eh-ink); }
.ees-help-panel input.ees-help-ed-in, .ees-help-panel select.ees-help-ed-in, .ees-help-tour-pop input.ees-help-ed-in {
  display: block; width: 100% !important; max-width: none !important; height: 36px !important; margin: 0 !important; padding: 0 10px !important; border: 1px solid #cbd5e1 !important; border-radius: 8px !important;
  background: #fff !important; color: var(--eh-ink) !important; font-size: 14px !important; line-height: 1.2 !important; font-family: inherit !important; font-weight: 600 !important; box-shadow: none !important; min-height: 0 !important;
}
.ees-help-panel select.ees-help-ed-in { font-weight: 400 !important; padding-right: 28px !important; }
.ees-help-panel textarea.ees-help-ed-in { display: block; box-sizing: border-box; width: 100% !important; margin: 0 !important; padding: 8px 10px !important; border: 1px solid #cbd5e1 !important; border-radius: 8px !important;
  background: #fff !important; color: var(--eh-ink) !important; font: 400 13.5px/1.45 inherit !important; font-family: inherit !important; resize: vertical; box-shadow: none !important; }
.ees-help-panel .ees-help-ed-min input.ees-help-ed-in { width: 110px !important; font-weight: 400 !important; }
.ees-help-ed-check { display: flex !important; align-items: center; gap: 8px; margin: 14px 0 0; font-weight: 600; font-size: 13px; color: var(--eh-ink); cursor: pointer; }
.ees-help-ed-check input { margin: 0 !important; width: 16px; height: 16px; }
.ees-help-ced-steps { margin-top: 18px; }
.ees-help-ced-steps > p { margin: 6px 0 !important; }
.ees-help-ced-list { margin: 2px 0 8px !important; padding: 0 !important; list-style: none !important; }
.ees-help-ced-list li { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin: 0 !important; padding: 6px 0; border-bottom: 1px solid var(--eh-line); font-size: 13px; color: var(--eh-text); list-style: none !important; }
.ees-help-ced-list li:last-child { border-bottom: 0; }
.ees-help-ced-list .ees-help-linkbtn { flex: 0 0 auto; color: var(--eh-accent-ink) !important; }
.ees-help-ced-list .ees-help-linkbtn.is-danger, .ees-help-ed-more .ees-help-linkbtn.is-danger { color: #b32d2e !important; }
.ees-help-train-ed { margin-left: 2px; }
.ees-help-panel .ees-help-ed-in:focus, .ees-help-tour-pop .ees-help-ed-in:focus { outline: 2px solid var(--eh-accent) !important; outline-offset: -1px; border-color: var(--eh-accent) !important; }
.ees-help-ed-note { margin: 8px 0 0 !important; color: var(--eh-muted); font-size: 12.5px; }
.ees-help-ed-msg:empty { display: none; }
.ees-help-ed-msg { margin: 8px 0 0; padding: 7px 10px; border-radius: 7px; font-size: 13px; background: var(--eh-soft); color: var(--eh-ink); }
.ees-help-ed-msg.is-error { background: #fef2f2; color: #991b1b; }
.ees-help-ed-msg.is-warn { background: #fffbeb; color: #78350f; }
.ees-help-ed-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 12px; }
.ees-help-ed-row .ees-help-btn + .ees-help-btn { margin-left: 6px; }
.ees-help-btn[disabled] { opacity: .6; cursor: progress; }
.ees-help-linkbtn.is-danger { color: #b91c1c !important; }
.ees-help-linkbtn.is-armed { color: #fff !important; background: #b91c1c !important; padding: 4px 8px !important; border-radius: 6px; text-decoration: none !important; }
.ees-help-linkbtn.is-strong { color: var(--eh-accent-ink) !important; text-decoration: underline !important; }

.ees-help-rte { margin: 0; border: 1px solid #cbd5e1; border-radius: 8px; background: #fff; }
.ees-help-rte:focus-within { border-color: var(--eh-accent); box-shadow: 0 0 0 1px var(--eh-accent); }
.ees-help-rte [hidden] { display: none !important; }
.ees-help-rte-bar { position: sticky; top: 0; z-index: 1; display: flex; flex-wrap: wrap; gap: 2px; padding: 4px; border-bottom: 1px solid var(--eh-line); background: var(--eh-soft); border-radius: 8px 8px 0 0; }
.ees-help-rte-bar button { min-width: 28px; height: 28px; padding: 0 7px !important; border-radius: 6px; color: var(--eh-text) !important; font-size: 12.5px !important; font-weight: 600 !important; text-align: center; display: inline-flex !important; align-items: center; justify-content: center; }
.ees-help-rte-bar button:hover { background: #e2e8f0 !important; }
.ees-help-rte-bar button[data-cmd="html"] { margin-left: auto; font-family: ui-monospace, Consolas, monospace !important; font-size: 11.5px !important; }
.ees-help-rte-bar button[aria-pressed="true"] { background: var(--eh-ink) !important; color: #fff !important; }
.ees-help-rte.is-html .ees-help-rte-bar button:not([data-cmd="html"]) { opacity: .35; pointer-events: none; }
.ees-help-rte-link { display: flex; gap: 6px; align-items: center; padding: 6px; border-bottom: 1px solid var(--eh-line); background: #f0f9ff; }
.ees-help-rte-link input { flex: 1; min-width: 0; height: 30px !important; margin: 0 !important; padding: 0 8px !important; border: 1px solid #cbd5e1 !important; border-radius: 6px !important; background: #fff !important; color: var(--eh-ink) !important; font-size: 13px !important; font-family: inherit !important; box-shadow: none !important; }
.ees-help-rte-link button { height: 30px; padding: 0 10px !important; border-radius: 6px; border: 1px solid #cbd5e1 !important; background: #fff !important; color: var(--eh-ink) !important; font-size: 12.5px !important; font-weight: 600 !important; display: inline-flex !important; align-items: center; }
.ees-help-rte-link button[data-cmd="link-ok"] { background: var(--eh-accent) !important; border-color: var(--eh-accent) !important; color: #fff !important; }
.ees-help-rte-area { min-height: 180px; padding: 10px 12px; outline: none; color: var(--eh-text); font-size: 14px; line-height: 1.5; overflow-wrap: anywhere; }
.ees-help-tour-pop .ees-help-rte-area { min-height: 90px; max-height: 40vh; overflow-y: auto; font-size: 13.5px; }
.ees-help-rte-area p { margin: 0 0 8px !important; }
.ees-help-rte-area ul, .ees-help-rte-area ol { margin: 0 0 8px 20px !important; padding: 0 !important; }
.ees-help-rte-area li { margin: 0 0 4px !important; }
.ees-help-rte-area a { color: var(--eh-accent-ink); text-decoration: underline; }
.ees-help-rte-area table { width: 100%; border-collapse: collapse; margin: 4px 0 10px; font-size: 13px; }
.ees-help-rte-area th, .ees-help-rte-area td { border: 1px solid var(--eh-line); padding: 5px 7px; text-align: left; vertical-align: top; }
.ees-help-rte-area code { font-family: ui-monospace, Consolas, monospace; font-size: 12.5px; background: #eef2f7; padding: 1px 5px; border-radius: 4px; }
.ees-help-rte-area .ees-help-note { background: #eff6ff; border-left: 3px solid #1d4ed8; padding: 7px 10px; border-radius: 0 6px 6px 0; margin: 6px 0 10px; }
.ees-help-rte-area svg { display: block; width: 100%; max-width: 380px; height: auto; margin: 4px 0 10px; }
.ees-help-panel textarea.ees-help-rte-html, .ees-help-tour-pop textarea.ees-help-rte-html {
  display: block; width: 100% !important; max-width: none !important; min-height: 180px; margin: 0 !important; padding: 10px 12px !important; border: 0 !important; border-radius: 0 0 8px 8px !important; resize: vertical;
  background: #0f172a !important; color: #e2e8f0 !important; font: 12.5px/1.55 ui-monospace, Consolas, monospace !important; box-shadow: none !important; outline: none !important; white-space: pre-wrap;
}
.ees-help-card:not(.is-tip) .ees-help-cardedit { margin-left: 14px; color: #92400e !important; }
.ees-help-tour-pop.is-editing { width: 460px; max-width: calc(100vw - 16px); }
.ees-help-tour-pop .ees-help-ed-in { margin-bottom: 8px !important; }
.ees-help-tour-pop .ees-help-rte { margin-top: 8px; }
/* the step box editor's extras in a course: where an added step shows; add, hide, delete */
.ees-help-ed-place { margin: 10px 0 0; padding: 0; border: 0; }
.ees-help-ed-place legend { margin: 0 0 4px; padding: 0; font-weight: 600; font-size: 12.5px; color: var(--eh-ink); }
.ees-help-ed-place label { display: flex; align-items: center; gap: 7px; margin: 2px 0; font-size: 13px; color: var(--eh-text); cursor: pointer; }
.ees-help-ed-place label.is-off { color: var(--eh-muted); cursor: default; }
.ees-help-ed-place input { margin: 0 !important; }
.ees-help-ed-more { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; margin: 10px 0 0; padding-top: 9px; border-top: 1px dashed var(--eh-line); }
.ees-help-ed-more .ees-help-linkbtn { color: var(--eh-accent-ink) !important; font-size: 12.5px !important; }
.ees-help-ed-more .ees-help-linkbtn.is-armed { color: #b32d2e !important; }
.ees-help-ed-hint { font-size: 12px; color: var(--eh-muted); }
.ees-help-tour-ed { margin-left: 12px; color: #92400e !important; }
.ees-help-tour-row > span:first-child { display: inline-flex; align-items: center; }
.ees-help-tour-saved { margin-left: 6px; padding: 1px 6px; border-radius: 4px; background: #dcfce7; color: #166534; font-weight: 700; }
.ees-help-toast {
  position: absolute; left: 50%; bottom: 58px; transform: translate(-50%, 8px); opacity: 0; pointer-events: none; transition: opacity .18s, transform .18s;
  padding: 7px 14px; border-radius: 999px; background: var(--eh-ink); color: #fff; font-size: 13px; font-weight: 600; white-space: nowrap; box-shadow: 0 8px 20px rgba(15, 23, 42, .25);
}
.ees-help-toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- My help settings (each user's own) ---------- */
.ees-help-foot-r { display: inline-flex; align-items: center; gap: 14px; margin-left: auto; }
.ees-help-panel.is-prefs .ees-help-search { display: none; }
.ees-help-prefs { padding: 10px 0 4px; }
.ees-help-prefs .ees-help-group { margin-top: 8px !important; }
.ees-help-prefs-intro { margin: 4px 0 6px !important; color: var(--eh-text); font-size: 13.5px; }
.ees-help-pref { position: relative; display: flex; align-items: flex-start; gap: 12px; margin: 0; padding: 12px 2px; border-bottom: 1px solid var(--eh-line); cursor: pointer; }
.ees-help-pref input { position: absolute; left: 0; top: 0; width: 1px; height: 1px; margin: 0; opacity: 0; }
.ees-help-pref-sw { flex: 0 0 auto; position: relative; width: 36px; height: 20px; margin-top: 1px; border-radius: 999px; background: #cbd5e1; transition: background .15s; }
.ees-help-pref-sw::after { content: ""; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(15, 23, 42, .3); transition: transform .15s; }
.ees-help-pref input:checked + .ees-help-pref-sw { background: var(--eh-accent); }
.ees-help-pref input:checked + .ees-help-pref-sw::after { transform: translateX(16px); }
.ees-help-pref input:focus-visible + .ees-help-pref-sw { outline: 2px solid var(--eh-accent); outline-offset: 2px; }
.ees-help-pref-t { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ees-help-pref-t b { color: var(--eh-ink); font-size: 14px; font-weight: 600; }
.ees-help-pref-t span { color: var(--eh-muted); font-size: 13px; line-height: 1.4; }
.ees-help-pref.is-disabled { cursor: default; }
.ees-help-pref.is-disabled .ees-help-pref-sw { opacity: .45; }
.ees-help-pref.is-disabled b { color: var(--eh-muted); }
.ees-help-tip-btns { display: inline-flex; align-items: center; gap: 12px; margin-left: auto; }

@media (max-width: 560px) {
  .ees-help-panel, .ees-help-panel.is-editing { width: 100vw; }
  .ees-help-card, .ees-help-tour-pop { max-width: calc(100vw - 16px); }
}
@media (prefers-reduced-motion: reduce) {
  .ees-help-panel, .ees-help-tour-ring, .ees-help-pref-sw, .ees-help-pref-sw::after { transition: none; }
  .ees-help-flash { animation: none; }
}
@media print {
  .ees-help-panel, .ees-help-card, .ees-help-tour-layer, .ees-help-tour-ring, .ees-help-tour-pop, .ees-help-flash, .ees-help-train-dim, html body button.ees-help-launch.ees-help-launch { display: none !important; }
}

/* ---------- manual page ---------- */
.ees-help-manual { max-width: 860px; font-size: 15.5px; line-height: 1.6; }
.ees-help-manual h2 { font-size: 1.5em; margin: 1.8em 0 .5em; padding-bottom: .25em; border-bottom: 2px solid #bfdbfe; color: var(--eh-ink); }
.ees-help-manual h2.ees-help-manual-title { border: 0; margin-top: 0; }
.ees-help-manual h3 { font-size: 1.12em; margin: 1.4em 0 .4em; color: #0369a1; }
.ees-help-toc { background: var(--eh-soft); border: 1px solid var(--eh-line); border-radius: 12px; padding: 14px 18px; margin: 0 0 1.5em; }
.ees-help-toc > ol { margin: 0 0 0 1.2em; padding: 0; columns: 2 260px; column-gap: 28px; }
.ees-help-toc > ol > li { break-inside: avoid; margin: 0 0 .6em; font-weight: 600; }
.ees-help-toc ul { margin: .2em 0 0 1em; padding: 0; list-style: disc; font-weight: 400; font-size: .93em; }
.ees-help-toc a { color: var(--eh-accent-ink); text-decoration: none; }
.ees-help-toc a:hover { text-decoration: underline; }
.ees-help-art { scroll-margin-top: 90px; }
.ees-help-chapter { scroll-margin-top: 90px; }
.ees-help-manual .ees-help-keys { border-collapse: collapse; width: 100%; max-width: 620px; }
