/*
  Wissenswerk-Hilfesystem
  Das sichtbare System bleibt bis zum Abschluss des Pilotblocks deaktiviert.
  Markierungen werden später aus der aktuellen Element-Geometrie berechnet;
  feste Zielbreiten und Zielhöhen sind ausdrücklich nicht zulässig.
*/

:root {
  --help-highlight-color: #d7193f;
  --help-highlight-glow: rgba(215, 25, 63, 0.42);
}

.help-system-hidden {
  display: none !important;
}

.help-panel .sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.help-launcher {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 1190;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 9px 15px 9px 10px;
  border: 1px solid #b9cbd6;
  border-radius: 999px;
  background: #fff;
  color: #183e5a;
  box-shadow: 0 10px 30px rgba(25, 55, 75, .16);
  font: 700 14px/1.2 system-ui, sans-serif;
  cursor: pointer;
}

.help-launcher span {
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  border-radius: 50%;
  background: #244f6d;
  color: #fff;
  font-size: 17px;
}
.help-panel-is-open .help-launcher { opacity: 0; pointer-events: none; }

.help-panel {
  position: fixed;
  z-index: 1200;
  inset: 14px 14px 14px auto;
  margin: 0;
  display: flex;
  flex-direction: column;
  width: min(390px, calc(100vw - 28px));
  max-height: calc(100dvh - 28px);
  min-height: 0;
  border: 1px solid #bdced9;
  border-radius: 18px;
  background: #f8fbfc;
  color: #173b54;
  box-shadow: 0 24px 70px rgba(22, 49, 66, .27);
  transform: translateX(calc(100% + 30px));
  visibility: hidden;
  transition: transform .2s ease, visibility 0s linear .2s;
  overflow: hidden;
  font-family: system-ui, sans-serif;
}

.help-panel.open {
  transform: translateX(0);
  visibility: visible;
  transition-delay: 0s;
}

.help-explain-mode .help-panel {
  inset: auto 14px 14px auto;
  width: min(350px, calc(100vw - 28px));
  max-height: min(390px, calc(100dvh - 28px));
}
.help-explain-mode .help-panel.help-panel-left { left: 14px; right: auto; }
.help-explain-mode .help-panel.help-panel-top,
.help-guide-mode .help-panel.help-panel-top { top: 14px; bottom: auto; }
.help-explain-mode .help-panel header { padding-block: 12px; }
.help-explain-mode .help-panel header strong { font-size: 19px; }
.help-explain-mode .help-question-preview { display: none; }
.help-explain-mode .help-route-choices { display: none; }
.help-guide-mode .help-question-preview,
.help-guide-mode .help-route-choices,
.help-guide-mode .help-explain-control,
.help-guide-mode .help-content { display: none; }
.help-guide-mode .help-panel {
  inset: auto 14px 14px auto;
  width: min(370px, calc(100vw - 28px));
  max-height: min(430px, calc(100dvh - 28px));
}
.help-guide-mode .help-panel.help-panel-left { left: 14px; right: auto; }
.help-guide-mode #wissenswerkHelpDetail { display: none; }
.help-explain-mode .help-explain-control { margin-top: 9px; padding-block: 9px; }
.help-explain-mode .help-explain-control small { display: none; }
.help-explain-mode .help-content { min-height: 95px; padding-block: 9px; }
.help-explain-mode .help-content article { padding: 12px 14px; }
.help-explain-mode .help-content h2 { margin-block: 4px 7px; font-size: 20px; }
.help-explain-mode .help-content p { line-height: 1.45; }

.help-panel header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 20px 17px;
  background: #244f6d;
  color: #fff;
}

.help-panel header div { display: grid; gap: 4px; }
.help-panel header span { font-size: 11px; font-weight: 800; letter-spacing: .1em; opacity: .76; }
.help-panel header strong { font: 700 21px/1.25 Georgia, serif; }
.help-panel header button {
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}

.help-question-preview,
.help-explain-control {
  margin: 14px 14px 0;
  padding: 14px;
  border: 1px solid #d5e0e6;
  border-radius: 12px;
  background: #fff;
}

.help-guide { margin: 14px; padding: 16px; border: 1px solid #cadbe4; border-radius: 13px; background: #fff; }
.help-guide.hidden { display: none; }
.help-guide-progress { display: flex; align-items: center; justify-content: space-between; gap: 10px; color: #5a7483; font-size: 11px; }
.help-guide-progress span { color: #b50f32; font-weight: 850; letter-spacing: .08em; }
.help-guide h2 { margin: 9px 0 8px; color: #153c57; font: 700 21px/1.2 Georgia, serif; }
.help-guide p { margin: 0; color: #3e5a6b; line-height: 1.5; }
.help-guide-message { font-weight: 650; }
.help-guide-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 7px; margin-top: 14px; }
.help-guide-actions button { min-height: 34px; padding: 6px 10px; border: 1px solid #c5d5de; border-radius: 8px; background: #fff; color: #244f6d; font-weight: 750; cursor: pointer; }
.help-guide-actions button:last-child { background: #244f6d; color: #fff; }

.help-route-choices { margin: 0 14px 14px; padding: 14px; border: 1px solid #d5e0e6; border-radius: 12px; background: #fff; }
.help-route-choices > strong { display: block; }
.help-route-choices > small { display: block; margin: 5px 0 10px; color: #617987; line-height: 1.4; }
.help-route-choices > div { display: grid; gap: 7px; }
.help-route-picker { grid-template-columns: minmax(0, 1fr) auto; }
.help-route-picker select { min-width: 0; width: 100%; min-height: 40px; padding: 7px 9px; border: 1px solid #cbd9e1; border-radius: 8px; background: #fff; color: #204b68; font: inherit; }
.help-route-picker button:disabled { opacity: .52; cursor: default; }
.help-route-choices button { display: flex; justify-content: space-between; gap: 10px; width: 100%; padding: 9px 10px; border: 1px solid #cbd9e1; border-radius: 8px; background: #f6fafc; color: #204b68; text-align: left; font-weight: 750; cursor: pointer; }

.help-question-preview label,
.help-explain-control strong { display: block; margin-bottom: 7px; font-weight: 750; }
.help-question-preview > div { display: flex; gap: 7px; }
.help-question-preview input { min-width: 0; flex: 1; padding: 10px; border: 1px solid #cedae1; border-radius: 8px; }
.help-question-preview button { border: 0; border-radius: 8px; padding: 0 12px; background: #dae3e8; color: #74838c; font-weight: 700; }
.help-question-preview .help-ai-choice { display: flex; align-items: center; gap: 7px; margin-top: 8px; font-size: 12px; font-weight: 700; color: #31566d; cursor: pointer; }
.help-question-preview .help-ai-choice input { flex: 0 0 auto; width: 15px; height: 15px; margin: 0; padding: 0; }
.help-question-preview small,
.help-explain-control small { display: block; margin-top: 7px; color: #617987; font-size: 12px; line-height: 1.4; }

.help-explain-control { display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.help-explain-control > div { flex: 1; }
.help-explain-control button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 75px;
  padding: 5px 8px;
  border: 1px solid #bdcdd6;
  border-radius: 999px;
  background: #e8eef1;
  color: #526c7a;
  cursor: pointer;
}
.help-explain-control button span { width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 1px 4px rgba(0,0,0,.22); }
.help-explain-control button[aria-checked="true"] { justify-content: flex-end; background: #d7193f; border-color: #d7193f; color: #fff; }

.help-content { min-height: 180px; padding: 14px; overflow: auto; overscroll-behavior-y: auto; }
.help-empty { display: grid; justify-items: center; padding: 20px 12px; text-align: center; }
.help-empty > span { display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 10px; border-radius: 12px; background: #e5eef3; font-size: 22px; }
.help-empty p { color: #5d7482; line-height: 1.55; }
.help-content article { padding: 16px; border: 1px solid #cfdee6; border-radius: 13px; background: #fff; }
.help-content article > span { color: #b50f32; font-size: 11px; font-weight: 800; letter-spacing: .09em; }
.help-content h2 { margin: 7px 0 9px; color: #153c57; font: 700 22px/1.2 Georgia, serif; }
.help-content p { margin: 0; color: #3e5a6b; line-height: 1.6; }
.help-examples { margin-top: 14px; padding-top: 12px; border-top: 1px solid #e1e9ed; }
.help-examples ul { margin: 7px 0 0; padding-left: 20px; }
.help-answer-actions { display: flex; justify-content: flex-end; margin-top: 14px; }
.help-answer-actions button { min-height: 38px; padding: 8px 13px; border: 0; border-radius: 8px; background: #244f6d; color: #fff; font-weight: 750; cursor: pointer; }
.help-answer-followup { margin-top: 10px !important; padding-top: 10px; border-top: 1px solid #e0e8ec; font-weight: 650; }
.help-answer > small { display: block; margin-top: 12px; color: #687d89; line-height: 1.4; }
.help-memory { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 10px; padding-top: 10px; border-top: 1px solid #dce6eb; }
.help-memory.hidden { display: none; }
.help-memory label { display: flex; align-items: flex-start; gap: 8px; cursor: pointer; }
.help-memory label span { display: grid; gap: 2px; color: #294d62; font-size: 12px; }
.help-memory label small { color: #6b7e89; font-weight: 500; }
.help-memory > button { flex: 0 0 auto; border: 0; background: transparent; color: #194c6e; font-size: 12px; font-weight: 750; cursor: pointer; }
.help-memory-dialog { width: min(640px, calc(100vw - 28px)); max-height: min(760px, calc(100dvh - 28px)); padding: 0; border: 1px solid #c7d6de; border-radius: 16px; color: #183847; box-shadow: 0 24px 70px rgba(20,47,61,.28); }
.help-memory-dialog::backdrop { background: rgba(24,42,52,.46); }
.help-memory-dialog form { display: grid; max-height: inherit; }
.help-memory-dialog header, .help-memory-dialog footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px; }
.help-memory-dialog header { border-bottom: 1px solid #dce6eb; }
.help-memory-dialog header span { color: #6b7e89; font-size: 10px; font-weight: 800; letter-spacing: .08em; }
.help-memory-dialog h2 { margin: 3px 0 0; font: 700 24px/1.2 Georgia, serif; }
.help-memory-dialog header button { border: 0; background: transparent; font-size: 24px; cursor: pointer; }
.help-memory-dialog form > p { margin: 0; padding: 14px 18px; background: #f2f6f8; color: #526c79; font-size: 13px; line-height: 1.5; }
#wissenswerkHelpMemoryList { overflow: auto; padding: 12px 18px; }
#wissenswerkHelpMemoryList article { display: grid; gap: 5px; padding: 12px 0; border-bottom: 1px solid #e1e9ed; }
#wissenswerkHelpMemoryList time { color: #72858f; font-size: 11px; }
#wissenswerkHelpMemoryList strong { color: #173f58; }
#wissenswerkHelpMemoryList p { margin: 0; color: #4b6573; line-height: 1.45; }
.help-memory-empty { padding: 28px; text-align: center; color: #687d89; }
.help-memory-dialog footer { border-top: 1px solid #dce6eb; }
.help-memory-dialog footer button { min-height: 38px; padding: 8px 13px; border: 1px solid #c8d5dc; border-radius: 8px; background: #fff; font-weight: 750; cursor: pointer; }
.help-memory-dialog footer .danger { color: #a31d36; border-color: #e0b6bf; }
.help-answer.error > span { color: #ad263e; }
.help-target-missing { margin: 10px 14px; color: #8a3d48; }

.help-panel footer { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: auto; padding: 12px 15px; border-top: 1px solid #dce5ea; background: #fff; color: #607784; font-size: 12px; }
.help-text-button { border: 0; background: transparent; color: #194c6e; font-weight: 750; cursor: pointer; }
.help-text-button:disabled { display: none; }

.help-highlight {
  position: fixed;
  z-index: 1180;
  left: var(--help-x, 0);
  top: var(--help-y, 0);
  width: var(--help-width, 0);
  height: var(--help-height, 0);
  box-sizing: border-box;
  border: 2px solid var(--help-highlight-color);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  box-shadow: 0 0 8px 3px rgba(215,25,63,.64), 0 0 20px 7px var(--help-highlight-glow);
  transition: left .08s linear, top .08s linear, width .08s linear, height .08s linear, opacity .12s ease;
  margin: 0;
  padding: 0;
  background: transparent;
}
.help-highlight.visible { opacity: 1; visibility: visible; }
.help-guide-recovery .help-highlight.visible { animation: help-recovery-pulse 1.65s ease-in-out infinite; }
.help-explain-mode .help-target-active,
.help-guide-mode .help-target-active {
  outline: 2px solid var(--help-highlight-color) !important;
  outline-offset: -2px;
  box-shadow: 0 0 8px 3px rgba(215,25,63,.64), 0 0 20px 7px var(--help-highlight-glow) !important;
}
.help-guide-recovery .help-target-active {
  animation: help-recovery-target-pulse 1.65s ease-in-out infinite;
}
@keyframes help-recovery-pulse {
  0%, 100% { opacity: .36; filter: brightness(.68) saturate(.9); box-shadow: 0 0 4px 1px rgba(215,25,63,.34), 0 0 10px 3px var(--help-highlight-glow); }
  50% { opacity: 1; filter: brightness(1.48) saturate(1.25); box-shadow: 0 0 15px 6px rgba(215,25,63,.98), 0 0 38px 14px var(--help-highlight-glow); }
}
@keyframes help-recovery-target-pulse {
  0%, 100% { outline-color: rgba(215,25,63,.58); filter: brightness(.82) saturate(.9); box-shadow: 0 0 4px 1px rgba(215,25,63,.34), 0 0 10px 3px var(--help-highlight-glow); }
  50% { outline-color: rgba(235,12,56,1); filter: brightness(1.16) saturate(1.22); box-shadow: 0 0 15px 6px rgba(215,25,63,.98), 0 0 38px 14px var(--help-highlight-glow); }
}
.help-explain-mode [data-help-id] { cursor: help; }
.help-guide-mode [data-help-id] { cursor: inherit; }

.help-panel :where(button, input, select, textarea, a[href]):focus-visible {
  outline: 3px solid #f0b83e;
  outline-offset: 2px;
}

@media (max-width: 700px) {
  .help-panel { inset: 7px; width: auto; }
  .help-launcher { right: 12px; bottom: 12px; }
  .help-route-picker { grid-template-columns: 1fr; }
  .help-explain-mode .help-panel,
  .help-explain-mode .help-panel.help-panel-left,
  .help-guide-mode .help-panel,
  .help-guide-mode .help-panel.help-panel-left {
    inset: auto 7px 7px;
    width: auto;
    max-height: 38dvh;
    min-height: 220px;
  }
  .help-explain-mode .help-panel.help-panel-top,
  .help-guide-mode .help-panel.help-panel-top { inset: 7px 7px auto; }
}

@media (prefers-reduced-motion: reduce) {
  .help-panel, .help-highlight { transition: none; }
  .help-highlight { box-shadow: 0 0 0 4px var(--help-highlight-color); }
  .help-explain-mode .help-target-active,
  .help-guide-mode .help-target-active { box-shadow: 0 0 0 4px var(--help-highlight-color) !important; }
  .help-guide-recovery .help-highlight,
  .help-guide-recovery .help-target-active { animation: none !important; outline-width: 4px !important; box-shadow: 0 0 0 6px var(--help-highlight-color) !important; }
}

@media (forced-colors: active) {
  .help-highlight { border: 4px solid Highlight; box-shadow: none; }
  .help-explain-mode .help-target-active,
  .help-guide-mode .help-target-active { outline: 4px solid Highlight !important; box-shadow: none !important; }
}

/* Dialogartige Chat-Hilfe: stabil positioniert, mit drei frei wählbaren Größen. */
.help-panel {
  inset: auto 18px 18px auto;
  width: min(680px, calc(100vw - 36px));
  height: min(68dvh, 720px);
  max-height: calc(100dvh - 36px);
  transform: translateY(calc(100% + 36px));
}
.help-panel[data-help-size="small"] { width: min(430px, calc(100vw - 36px)); height: min(48dvh, 500px); }
.help-panel[data-help-size="medium"] { width: min(760px, calc(100vw - 36px)); height: min(68dvh, 760px); }
.help-panel[data-help-size="full"] { inset: 18px; width: auto; height: auto; max-height: none; }
.help-panel.open { transform: translateY(0); }
.help-panel header { align-items: center; padding: 14px 17px; }
.help-panel header > div { flex: 1; }
.help-size-picker { display: flex; gap: 5px; padding: 3px; border: 1px solid rgba(255,255,255,.28); border-radius: 9px; }
.help-panel header .help-size-picker button { display: grid; place-items: center; width: 30px; height: 28px; padding: 0; border-radius: 6px; color: rgba(255,255,255,.75); font-size: 17px; }
.help-panel header .help-size-picker button[aria-pressed="true"] { background: #fff; color: #244f6d; }
.help-content { flex: 1 1 auto; min-height: 0; padding: 18px; background: #f3f7f9; }
.help-content article + article { margin-top: 13px; }
.help-chat-message { max-width: min(88%, 760px); box-sizing: border-box; }
.help-content .help-chat-user { margin-left: auto; border-color: #bed4df; background: #dfeaf0; }
.help-chat-user > span { color: #486b7e !important; }
.help-content .help-chat-assistant { margin-right: auto; }
.help-content .help-chat-message p { white-space: pre-wrap; line-height: 1.58; }
.help-question-preview { order: 8; flex: 0 0 auto; margin: 0; padding: 12px 16px 10px; border: 0; border-top: 1px solid #d5e0e6; border-radius: 0; box-shadow: 0 -5px 18px rgba(27,63,83,.05); }
.help-question-preview > div:first-of-type { align-items: flex-end; }
.help-question-preview textarea { min-width: 0; flex: 1; max-height: 130px; resize: vertical; padding: 11px 12px; border: 1px solid #bfcfd8; border-radius: 12px; font: inherit; line-height: 1.4; }
.help-question-preview #wissenswerkHelpAsk { min-height: 43px; padding: 8px 16px; background: #244f6d; color: #fff; cursor: pointer; }
.help-question-options { align-items: center; justify-content: space-between; margin-top: 8px; }
.help-question-preview .help-ai-choice { margin: 0; }
.help-ai-boundary { margin-top: 8px; color: #526d7c; font-size: 12px; }
.help-ai-boundary summary { color: #244f6d; font-weight: 750; cursor: pointer; }
.help-ai-boundary p { margin: 7px 0 0; padding: 9px 11px; border-radius: 8px; background: #eef4f7; line-height: 1.45; }
.help-memory { margin: 0; padding: 0; border: 0; }
.help-memory label small { display: none; }
.help-route-disclosure { order: 7; flex: 0 0 auto; margin: 0 16px 10px; }
.help-route-disclosure > summary { width: max-content; color: #315b75; font-size: 12px; font-weight: 750; cursor: pointer; }
.help-route-choices { margin: 8px 0 0; padding: 10px; }
.help-route-choices > small { margin-top: 0; }
.help-panel footer { order: 9; padding-block: 8px; }
.help-footer-actions { display: flex; align-items: center; gap: 10px; }
.help-explain-control { order: 6; }
.help-guide { order: 5; }

/* Im Chat bleiben Antworten und Eingabe zusammen; seltenere Optionen stehen kompakt daneben. */
.help-bottom-workspace {
  order: 8;
  flex: 0 0 auto;
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(0, 2fr);
  align-items: stretch;
  border-top: 1px solid #d5e0e6;
  background: #fff;
  box-shadow: 0 -5px 18px rgba(27,63,83,.05);
}
.help-control-column { display: grid; align-content: start; gap: 8px; padding: 11px 12px 9px 16px; border-right: 1px solid #dce5ea; }
.help-control-column .help-explain-control { margin: 0; padding: 8px 9px; }
.help-control-column .help-explain-control small { margin-top: 3px; }
.help-control-column .help-route-disclosure { margin: 0; }
.help-control-column .help-ai-choice { display: flex; align-items: center; gap: 7px; margin: 0; color: #31566d; font-size: 12px; font-weight: 700; cursor: pointer; }
.help-control-column .help-ai-choice input { width: 15px; height: 15px; margin: 0; }
.help-control-column #wissenswerkHelpPrivacy { display: block; color: #617987; font-size: 11px; line-height: 1.35; }
.help-bottom-workspace .help-question-preview { order: initial; margin: 0; padding: 12px 16px 10px; border: 0; box-shadow: none; }
.help-bottom-workspace .help-question-preview > div { height: 100%; align-items: flex-end; }
.help-bottom-workspace .help-question-preview textarea { min-height: 78px; }
.help-panel footer { order: 9; }

/* Kleine Ansicht verdichtet ausschließlich die Darstellung; Inhalt und Funktionen bleiben gleich. */
.help-panel[data-help-size="small"] .help-content { padding: 10px; }
.help-panel[data-help-size="small"] .help-bottom-workspace { grid-template-columns: 1fr; max-height: 52%; overflow: auto; }
.help-panel[data-help-size="small"] .help-control-column { border-right: 0; border-bottom: 1px solid #dce5ea; }
.help-panel[data-help-size="small"] .help-question-preview { padding: 9px 10px; }
.help-panel[data-help-size="small"] .help-explain-control { margin: 8px 10px 0; padding: 9px 10px; }
.help-panel[data-help-size="small"] .help-question-preview textarea { max-height: 80px; }

/* Geführte Hilfe bleibt als schmale Leiste oben; die Anwendung rückt darunter. */
body.help-guide-mode { padding-top: 205px !important; box-sizing: border-box; }
.help-guide-mode .help-panel,
.help-guide-mode .help-panel.help-panel-left,
.help-guide-mode .help-panel.help-panel-top {
  inset: 0 0 auto;
  width: 100%;
  height: 205px;
  min-height: 205px;
  max-height: 205px;
  border: 0;
  border-bottom: 2px solid #b9cbd6;
  border-radius: 0;
  box-shadow: 0 7px 24px rgba(23,56,76,.16);
}
.help-guide-mode .help-size-picker { display: none; }
.help-guide-mode .help-bottom-workspace { display: none; }
.help-guide-mode .help-panel header { padding: 8px 16px; }
.help-guide-mode .help-panel header strong { font-size: 17px; }
.help-guide-mode .help-guide { flex: 1 1 auto; margin: 7px 16px; padding: 9px 12px; overflow: auto; }
.help-guide-mode .help-guide h2 { margin: 4px 0; font-size: 18px; }
.help-guide-mode .help-guide p { line-height: 1.35; }
.help-guide-mode .help-guide-actions { margin-top: 7px; }
.help-guide-mode .help-panel footer { padding: 4px 16px; }

/* Erklärmodus ist eine feste obere Leiste; die Anwendung rückt vollständig darunter. */
body.help-explain-mode { padding-top: 230px !important; box-sizing: border-box; }
.help-explain-mode .help-panel,
.help-explain-mode .help-panel.help-panel-left,
.help-explain-mode .help-panel.help-panel-top {
  inset: 0 0 auto;
  width: 100%;
  height: 230px;
  min-height: 230px;
  max-height: 230px;
  border: 0;
  border-bottom: 2px solid #b9cbd6;
  border-radius: 0;
  box-shadow: 0 7px 24px rgba(23,56,76,.16);
}
.help-explain-mode .help-panel header { padding: 8px 16px; }
.help-explain-mode .help-panel header strong { font-size: 17px; }
.help-explain-mode .help-size-picker { display: none; }
.help-explain-mode .help-bottom-workspace { display: block; order: 6; border: 0; box-shadow: none; }
.help-explain-mode .help-control-column { display: block; padding: 0; border: 0; }
.help-explain-mode .help-control-column > :not(.help-explain-control) { display: none !important; }
.help-explain-mode .help-explain-control { position: absolute; top: 7px; right: 62px; width: 220px; margin: 0; padding: 5px 8px; border-color: rgba(255,255,255,.35); background: rgba(255,255,255,.12); color: #fff; }
.help-explain-mode .help-explain-control strong { margin: 0; }
.help-explain-mode .help-content { padding: 10px 18px; background: #fff; }
.help-explain-mode .help-content article { max-width: none; padding: 8px 12px; border: 0; }
.help-explain-mode .help-content h2 { margin: 2px 0 5px; font-size: 18px; }
.help-explain-mode .help-panel footer { padding: 5px 16px; }

@media (max-width: 700px) {
  .help-panel, .help-panel[data-help-size="small"], .help-panel[data-help-size="medium"], .help-panel[data-help-size="full"] { inset: 7px; width: auto; height: auto; max-height: none; }
  .help-bottom-workspace { grid-template-columns: 1fr; max-height: 46dvh; overflow: auto; }
  .help-control-column { border-right: 0; border-bottom: 1px solid #dce5ea; }
  body.help-guide-mode { padding-top: 240px !important; }
  .help-guide-mode .help-panel, .help-guide-mode .help-panel.help-panel-left, .help-guide-mode .help-panel.help-panel-top { inset: 0 0 auto; width: 100%; height: 240px; min-height: 240px; max-height: 240px; }
  body.help-explain-mode { padding-top: 260px !important; }
  .help-explain-mode .help-panel, .help-explain-mode .help-panel.help-panel-left, .help-explain-mode .help-panel.help-panel-top { inset: 0 0 auto; height: 260px; min-height: 260px; max-height: 260px; }
  .help-explain-mode .help-explain-control { position: static; width: auto; margin: 6px 10px 0; color: #173b54; background: #fff; }
}
