.editor-help, .help-guide, .help-fallback-dialog {
  --help-ink: #203348;
  --help-blue: #245c98;
  --help-line: #b8cde2;
  color: var(--help-ink);
  font-size: 18px;
  line-height: 1.65;
}
.editor-help {
  margin-bottom: 18px;
  padding: 12px 16px;
  border: 1px solid var(--help-line);
  border-radius: 14px;
  background: #f4f8fd;
  font-size: 16px;
  line-height: 1.5;
}
.editor-help > summary { display: flex; align-items: center; gap: 8px; cursor: pointer; font-weight: 700; list-style: none; }
.editor-help > summary::-webkit-details-marker { display: none; }
.editor-help > summary::before {
  content: ""; flex: none; border-left: 6px solid currentColor;
  border-top: 4px solid transparent; border-bottom: 4px solid transparent;
}
.editor-help[open] > summary::before { transform: rotate(90deg); }
.help-summary-title { flex: 1; min-width: 0; }
.editor-help .help-tabs { gap: 6px; margin: 12px 0; }
.editor-help .help-tab { font-size: 15px; padding: 4px 10px; min-height: 35px; flex-basis: auto; }
.editor-help .help-icon { width: 22px; height: 22px; }
.editor-help .help-tab .help-icon { display: none; }
.editor-help .help-intro { margin-bottom: 12px; }
.editor-help .help-steps > li { padding: 0 0 8px 30px; }
.editor-help .help-steps > li::before { width: 22px; height: 22px; font-size: 14px; }
.editor-help .help-steps strong { display: inline; font-size: 16px; margin-right: 5px; }
.editor-help .help-steps p { display: inline; margin: 0; }
.editor-help .help-open-guide { flex: none; margin: 0 0 0 auto; min-height: 35px; padding: 4px 12px; font-size: 15px; }
.editor-help:not([open]) .help-open-guide { display: none; }
.help-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  justify-content: space-between;
}
.help-heading h2 { margin: 0; font-size: 26px; }
.help-heading p { margin: 4px 0 0; }
.help-link, .help-guide a { color: var(--help-blue); text-underline-offset: 3px; }
.help-link { display: inline-block; padding: 8px 0; min-height: 44px; }
.help-open-guide, .help-guide-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 10px 16px;
  border: 2px solid var(--help-blue);
  border-radius: 9px;
  background: #fff;
  color: var(--help-blue);
  font: inherit;
  font-weight: 700;
  line-height: 1.35;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
}
.help-open-guide { background: var(--help-blue); color: #fff; }
.help-guide-button:disabled { opacity: .55; cursor: default; }
.help-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 16px; }
.help-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 12px;
  min-height: 48px;
  border: 2px solid var(--help-line);
  border-radius: 9px;
  background: #fff;
  color: var(--help-ink);
  font: inherit;
  font-weight: 600;
  line-height: 1.35;
  cursor: pointer;
}
.help-tab[aria-selected="true"] { background: #183d65; border-color: #183d65; color: #fff; }
.help-tab:hover:not([aria-selected="true"]), .help-guide-button:hover:not(:disabled) { background: #e5effa; }
.editor-help :focus-visible, .help-guide :focus-visible {
  outline: 3px solid #245c98;
  outline-offset: 3px;
}
.help-panel { border-radius: 8px; min-width: 0; }
.help-panel h2, .help-panel h3 { margin: 0 0 8px; font-size: 24px; }
.help-intro { margin: 0 0 16px; }
.help-icon { display: inline-flex; flex: none; width: 28px; height: 28px; }
.help-icon svg { display: block; width: 100%; height: 100%; }
.help-illustration { margin: 16px 0 22px; }
.help-example-controls { display: flex; flex-wrap: wrap; gap: 10px; }
.help-example-control {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--help-line);
  border-radius: 8px;
  padding: 10px 12px;
  background: #fff;
  font-weight: 600;
  line-height: 1.35;
}
.help-example-control.help-drop-target { border: 2px dashed var(--help-blue); }
.help-illustration figcaption { font-size: 16px; margin-top: 8px; color: #455a70; }
.help-steps { list-style: none; counter-reset: help-step; margin: 0; padding: 0; }
.help-steps > li { position: relative; padding: 0 0 20px 54px; counter-increment: help-step; }
.help-steps > li::before {
  content: counter(help-step);
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #183d65;
  color: #fff;
  font-size: 21px;
  font-weight: 700;
}
.help-steps strong { display: block; font-size: 20px; }
.help-steps p { margin: 4px 0 0; }
.help-task-links { border-top: 1px solid var(--help-line); padding-top: 14px; }
.help-task-links h4 { margin: 0 0 4px; font-size: 20px; }
.help-task-links a { display: block; }
.help-note {
  padding: 14px 16px;
  border-left: 5px solid #a76b08;
  border-radius: 4px;
  background: #fff4d8;
  color: #4f3a15;
}
body.help-guide { margin: 0; background: #f3f6fa; font-family: "Helvetica Neue", Arial, sans-serif; }
.help-guide * { box-sizing: border-box; }
.help-guide-header { background: #fff; border-bottom: 1px solid var(--help-line); }
.help-guide-inner { max-width: 1080px; margin: 0 auto; padding: 24px; }
.help-guide-header h1 { margin: 0; font-size: 32px; line-height: 1.3; }
.help-guide-header p { margin: 10px 0 0; }
.help-search-form { margin-top: 18px; }
.help-search-form label { display: block; font-size: 20px; font-weight: 700; }
.help-search-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.help-search-row input[type="search"] {
  flex: 1 1 250px;
  min-width: 0;
  min-height: 52px;
  padding: 12px 14px;
  border: 2px solid #708ba7;
  border-radius: 9px;
  background: #fff;
  color: var(--help-ink);
  font: inherit;
}
.help-search-tips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 12px 0; }
.help-search-tips button { padding: 8px 12px; min-height: 44px; font-size: 17px; }
.help-results-status { margin: 12px 0 18px; font-weight: 600; }
.help-article { margin-bottom: 14px; border: 1px solid var(--help-line); border-radius: 12px; background: #fff; }
.help-article > summary {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px;
  cursor: pointer;
  list-style: none;
  scroll-margin-top: 16px;
}
.help-article > summary::-webkit-details-marker { display: none; }
.help-article > summary::after { content: "+"; margin-left: auto; font-size: 30px; font-weight: 700; }
.help-article[open] > summary::after { content: "-"; }
.help-article[open] > summary { border-bottom: 1px solid var(--help-line); }
.help-article-heading { flex: 1; min-width: 0; }
.help-article-heading strong { display: block; font-size: 21px; }
.help-article-intro { display: block; margin-top: 4px; font-size: 17px; font-weight: 400; }
.help-step-count { flex: none; color: #455a70; font-size: 16px; }
.help-article-body { padding: 22px; }
.help-guide-footer { margin: 28px 0 12px; border-top: 1px solid var(--help-line); padding-top: 18px; }
.help-skip-link { position: absolute; left: -10000px; top: 8px; }
.help-skip-link:focus { left: 12px; z-index: 1; padding: 12px; background: #fff; }
.help-fallback-dialog {
  width: min(1100px, calc(100vw - 32px));
  height: min(850px, calc(100dvh - 32px));
  max-height: calc(100dvh - 32px);
  padding: 0;
  border: 1px solid var(--help-line);
  border-radius: 12px;
  background: #fff;
}
.help-fallback-dialog[open] { display: flex; flex-direction: column; }
.help-fallback-dialog::backdrop { background: rgba(22, 36, 52, .65); }
.help-dialog-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--help-line);
}
.help-dialog-header h2 { margin: 0; font-size: 22px; }
.help-dialog-header p { margin: 4px 0 0; font-size: 16px; }
.help-fallback-dialog iframe { flex: 1; min-height: 0; width: 100%; border: 0; }
.help-fallback-dialog :focus-visible { outline: 3px solid #245c98; outline-offset: 3px; }
@media (max-width: 600px) {
  .editor-help { padding: 12px; }
  .help-guide-inner { padding: 18px 14px; }
  .help-heading h2 { font-size: 24px; }
  .help-guide-header h1 { font-size: 28px; }
  .help-tab { flex: 1 1 145px; }
  .help-article > summary { padding: 14px; gap: 10px; flex-wrap: wrap; }
  .help-article-heading { flex-basis: calc(100% - 38px); }
  .help-step-count { margin-left: 38px; }
  .help-article-body { padding: 18px 14px; }
  .help-steps > li { padding-left: 46px; }
}
@media print {
  .help-search-form, .help-search-tips, .help-tabs, .help-guide-footer { display: none; }
  body.help-guide { background: #fff; }
}
