/* Scoped styles intentionally override theme button defaults. No business styles change. */
body button.rs-help-trigger {
  appearance:none!important;display:inline-flex!important;align-items:center;justify-content:center;
  box-sizing:border-box!important;vertical-align:middle;flex:0 0 26px;
  width:26px!important;min-width:26px!important;max-width:26px!important;height:26px!important;min-height:26px!important;
  padding:0!important;margin:0 6px!important;border:1px solid #484848!important;border-radius:4px!important;
  background:#242424!important;color:#f3f3f3!important;box-shadow:none!important;
  font:600 14px/1 system-ui,sans-serif!important;letter-spacing:0!important;text-transform:none!important;text-indent:0!important;
  cursor:pointer;transition:background .16s,border-color .16s,color .16s;
}
body button.rs-help-trigger:hover {background:#303030!important;border-color:#d6003b!important;color:#fff!important;}
body.wp-admin button.rs-help-trigger {background:#f3f3f3!important;border-color:#c8c8c8!important;color:#b40030!important;}
body.wp-admin button.rs-help-trigger:hover {background:#e9e9e9!important;border-color:#b40030!important;}
body dialog.rs-help-dialog {
  box-sizing:border-box!important;position:fixed!important;inset:0!important;margin:auto!important;
  width:min(600px,calc(100% - 32px))!important;max-width:600px!important;max-height:85vh!important;
  overflow:auto!important;padding:80px 32px 32px!important;
  border:1px solid #343434!important;border-top:3px solid #d6003b!important;border-radius:5px!important;
  background:#1b1b1b!important;color:#f3f3f3!important;box-shadow:0 24px 90px #0009!important;
  font-family:inherit;color-scheme:dark;text-align:left!important;
}
body dialog.rs-help-dialog::backdrop {background:rgba(0,0,0,.72);backdrop-filter:blur(3px);}
body dialog.rs-help-dialog h2 {font-family:inherit!important;font-size:22px!important;font-weight:600!important;line-height:1.4!important;color:#fff!important;margin:0 0 18px!important;padding:0!important;letter-spacing:0!important;text-transform:none!important;}
body dialog.rs-help-dialog p {font-family:inherit!important;font-size:15px!important;font-weight:400!important;white-space:pre-line;line-height:1.8!important;color:#bcbcbc!important;margin:0!important;padding:0!important;}
body dialog.rs-help-dialog button.rs-help-close {
  appearance:none!important;position:absolute!important;top:20px!important;right:24px!important;left:auto!important;
  display:inline-flex!important;align-items:center;justify-content:center;box-sizing:border-box!important;
  width:40px!important;min-width:40px!important;height:40px!important;min-height:40px!important;
  margin:0!important;padding:0!important;border:1px solid #484848!important;border-radius:4px!important;
  background:#242424!important;color:#f3f3f3!important;box-shadow:none!important;
  font:400 28px/1 system-ui,sans-serif!important;text-transform:none!important;letter-spacing:0!important;cursor:pointer;
}
/* Two geometric strokes avoid the optical offset of the font multiplication glyph. */
body dialog.rs-help-dialog button.rs-help-close span {position:absolute!important;inset:0!important;font-size:0!important;pointer-events:none;}
body dialog.rs-help-dialog button.rs-help-close span::before,
body dialog.rs-help-dialog button.rs-help-close span::after {content:""!important;position:absolute!important;top:50%!important;left:50%!important;width:16px!important;height:2px!important;background:currentColor!important;border-radius:1px!important;transform:translate(-50%,-50%) rotate(45deg)!important;}
body dialog.rs-help-dialog button.rs-help-close span::after {transform:translate(-50%,-50%) rotate(-45deg)!important;}
body dialog.rs-help-dialog button.rs-help-close:hover {background:#303030!important;border-color:#d6003b!important;color:#fff!important;}
body button.rs-help-trigger:focus-visible,body dialog.rs-help-dialog button.rs-help-close:focus-visible {outline:3px solid #d6003b!important;outline-offset:4px!important;}
body.wp-admin dialog.rs-help-dialog {background:#fff!important;border-color:#ddd!important;border-top-color:#d6003b!important;color:#242424!important;color-scheme:light;}
body.wp-admin dialog.rs-help-dialog h2 {color:#242424!important;}
body.wp-admin dialog.rs-help-dialog p {color:#505050!important;}
body.wp-admin dialog.rs-help-dialog button.rs-help-close {background:#f3f3f3!important;border-color:#c8c8c8!important;color:#b40030!important;}
body.wp-admin dialog.rs-help-dialog button.rs-help-close:hover {background:#e9e9e9!important;}
@media(max-width:600px) {body dialog.rs-help-dialog {padding:76px 22px 26px!important;border-radius:5px!important;}body dialog.rs-help-dialog h2 {font-size:20px!important;}body dialog.rs-help-dialog button.rs-help-close {right:20px!important;left:auto!important;top:18px!important;}}
@media(prefers-reduced-motion:reduce) {body button.rs-help-trigger {transition:none;}}

.rsad .rsad__help-topics {display:flex;flex-wrap:wrap;gap:12px 22px;margin:12px 0 24px;padding:14px 16px;border:1px solid #343434;border-radius:5px;background:#1b1b1b;color:#bcbcbc;font-size:13px;}
.rsad .rsad__help-topics>span {display:inline-flex;align-items:center;gap:4px;}

/* Reponse Studio 0.19.4 — existing client help controls only; admin excluded.
   Also included in Audio Review front.css for standalone private listening pages. */
body:not(.wp-admin) :is(.rs-ar-help-pop>summary,.rs-ar-share-help>summary,.rs-ar-guide-open>span,.rs-audio-help-button,.rs-search__help-button) {
  appearance:none!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;
  box-sizing:border-box!important;flex:0 0 26px!important;vertical-align:middle!important;
  width:26px!important;min-width:26px!important;max-width:26px!important;height:26px!important;min-height:26px!important;
  padding:0!important;margin:0 6px!important;border:1px solid #484848!important;border-radius:4px!important;
  background:#242424!important;color:#f3f3f3!important;box-shadow:none!important;
  font:600 14px/1 system-ui,sans-serif!important;letter-spacing:0!important;text-transform:none!important;
  list-style:none!important;cursor:pointer;
}
body:not(.wp-admin) :is(.rs-ar-help-pop>summary,.rs-ar-share-help>summary,.rs-ar-guide-open>span,.rs-audio-help-button,.rs-search__help-button):hover {
  background:#303030!important;border-color:#d6003b!important;color:#fff!important;
}
body:not(.wp-admin) :is(.rs-ar-help-pop>summary,.rs-ar-share-help>summary,.rs-audio-help-button,.rs-search__help-button):focus-visible {
  outline:3px solid #d6003b!important;outline-offset:4px!important;
}
body:not(.wp-admin) .rs-ar-guide-open:focus-visible>span {outline:3px solid #d6003b!important;outline-offset:4px!important;}
body:not(.wp-admin) :is(.rs-ar-help-pop>summary,.rs-ar-share-help>summary)::-webkit-details-marker {display:none!important;}
body:not(.wp-admin) .rs-search__help-button>span {display:contents!important;border:0!important;background:transparent!important;color:inherit!important;}
body:not(.wp-admin) :is(.rs-ar-help-pop-body,.rs-ar-share-help-body,.rs-ar-guide,.rs-audio-help,.rs-search__help-panel) {
  background:#1b1b1b!important;border:1px solid #343434!important;border-top:3px solid #d6003b!important;border-radius:5px!important;color:#f3f3f3!important;
}
body:not(.wp-admin) :is(.rs-ar-guide-head button,.rs-audio-help__close) {
  position:relative!important;box-sizing:border-box!important;width:40px!important;min-width:40px!important;height:40px!important;min-height:40px!important;
  padding:0!important;flex:0 0 40px!important;border:1px solid #484848!important;border-radius:4px!important;
  background:#242424!important;color:#f3f3f3!important;font-size:0!important;box-shadow:none!important;
}
body:not(.wp-admin) :is(.rs-ar-guide-head button,.rs-audio-help__close)::before,
body:not(.wp-admin) :is(.rs-ar-guide-head button,.rs-audio-help__close)::after {
  content:""!important;position:absolute!important;top:50%!important;left:50%!important;width:16px!important;height:2px!important;
  background:currentColor!important;border-radius:1px!important;transform:translate(-50%,-50%) rotate(45deg)!important;
}
body:not(.wp-admin) :is(.rs-ar-guide-head button,.rs-audio-help__close)::after {transform:translate(-50%,-50%) rotate(-45deg)!important;}
body:not(.wp-admin) :is(.rs-ar-guide-head button,.rs-audio-help__close):hover {background:#303030!important;border-color:#d6003b!important;}
