/* Context help remains independent of the action it explains. */
.help-control { display:flex; align-items:center; flex-wrap:wrap; gap:8px; min-width:0; }
.help-control > input[type="file"], .help-control > label { min-width:0; flex:1; }
.help-control > input[type="file"] { width:0; flex:1 1 160px; }
.help-control > .backup-warning { flex:1 1 180px; min-width:0; }
.help-control[hidden] { display:none !important; }
.help-control > [hidden] + .context-help { display:none; }
.context-help { display:inline-flex; flex:0 0 36px; align-items:center; justify-content:center; width:36px; height:36px; padding:0; border:1px solid #bdcdd9; border-radius:50%; color:#335b7d; background:#edf4f9; font:700 17px/1 system-ui,sans-serif; cursor:pointer; }
.context-help:hover { background:#dbeaf5; }
.context-help:focus-visible, .help-faq summary:focus-visible { outline:3px solid #416180; outline-offset:3px; }
.backup-mode-row { display:flex; align-items:center; gap:8px; }
.backup-mode-row .backup-mode { flex:1; min-width:0; }
.backup-check span { font-size:14px; }
.backup-help-intro { display:flex; align-items:center; flex-wrap:wrap; gap:10px; margin:18px 0; }
.backup-actions .help-control { flex:0 1 auto; }
.help-guide-modal { width:min(720px,calc(100vw - 24px)); max-width:calc(100vw - 24px); max-height:calc(100dvh - 24px); padding:24px; overflow:auto; }
.help-guide-modal .modal-head { align-items:flex-start; gap:16px; }
.help-guide-modal .modal-head h2 { font-size:23px; line-height:1.3; overflow-wrap:anywhere; }
.help-guide-answer { line-height:1.65; overflow-wrap:anywhere; }
.help-guide-section { margin:18px 0; }
.help-guide-section > :is(h3,h4) { margin:0 0 6px; color:#294c68; font-size:14px; }
.help-guide-section p { margin:0; }
.help-guide-section ol { margin:0; padding-left:24px; }
.help-guide-section li + li { margin-top:8px; }
.help-guide-limits { padding:12px 15px; border-left:3px solid #d59b38; background:#fff6e5; border-radius:4px; }
.help-guide-footer { display:flex; flex-wrap:wrap; justify-content:space-between; gap:10px; margin-top:20px; }
.help-guide-error { padding:12px; color:#8b3c20; background:#fff1e8; }
.help-tabs { flex-wrap:wrap; }
.help-faq { min-width:0; }
.help-faq-intro { margin:0 0 18px; line-height:1.6; }
.help-faq-toolbar { display:grid; grid-template-columns:minmax(160px,2fr) minmax(150px,1fr) auto; align-items:end; gap:12px; margin-bottom:10px; }
.help-faq-toolbar label { display:grid; gap:6px; margin:0; font-size:14px; font-weight:600; }
.help-faq-toolbar input, .help-faq-toolbar select { width:100%; min-width:0; box-sizing:border-box; min-height:42px; padding:9px 12px; border:1px solid #bdcdd9; border-radius:7px; color:#243f55; background:white; font:inherit; }
.help-faq-reset { min-height:42px; padding:8px 14px; border:1px solid #bdcdd9; border-radius:7px; color:#294c68; background:white; font:inherit; cursor:pointer; }
.help-faq-results { display:block; margin:10px 0 18px; color:#557084; font-size:13px; }
.help-faq-group { margin:22px 0; }
.help-faq-group > h3 { margin:0 0 10px; font-size:18px; }
.help-faq-entry { margin:8px 0; border:1px solid #d3dfe8; border-radius:9px; background:#fff; }
.help-faq-entry > summary { padding:15px; font-size:15px; font-weight:650; line-height:1.4; cursor:pointer; }
.help-faq-entry[open] > summary { border-bottom:1px solid #d3dfe8; color:#294c68; background:#f1f6fa; border-radius:9px 9px 0 0; }
.help-faq-entry .help-guide-answer { padding:0 16px 4px; font-size:14px; }
.marketing-body .help-faq .faq-groups { gap:20px; }
.marketing-body .help-faq .faq-groups > .help-faq-intro,
.marketing-body .help-faq .faq-groups > .help-faq-results { margin:0; }
.marketing-body .help-faq .faq-groups > #bedienhilfe { margin:8px 0 0; }
.marketing-body .help-faq-group { margin:0; }
.help-faq-empty { padding:16px; border-radius:8px; background:#eef4f8; line-height:1.6; }
.help-faq-fallback { font-size:13px; line-height:1.6; }
.help-faq [hidden] { display:none !important; }
@media(max-width:640px) {
  .help-feedback-modal { width:100%; max-width:100%; }
  .context-help { flex-basis:44px; width:44px; height:44px; }
  .help-faq-toolbar { grid-template-columns:1fr; }
  .help-faq-reset { justify-self:start; }
  .help-guide-modal { padding:18px; }
  .help-guide-modal .modal-head h2 { font-size:20px; }
  .help-guide-footer .button { flex:1 1 auto; }
  .help-tabs button { flex:1 1 auto; }
  .backup-actions { align-items:flex-start; }
}
