#lead-mic,.help-speaker{display:none!important}

[data-site-blog][hidden] { display: none !important; }
html { -webkit-user-select: none; user-select: none; }
input, textarea, [contenteditable] { -webkit-user-select: text; user-select: text; }
/* Style the visible panel, leaving the contact dialog's outside close button unclipped. */
:is(#contact-dialog .contact-modal-surface, #lead-assistant-side .help-chat,
    .help-widget .help-chat, dialog:not(#contact-dialog), .help-widget .help-chat-form .help-info-popover,
    .us-demo .us-color-popover, .process-tooltip .process-tooltip-card) {
  --modal-corner: var(--modal-compact-corner, 28px);
  border-width: 0;
  border-radius: var(--modal-corner);
  corner-shape: squircle;
}

:is(.help-widget .help-chat-form .help-info-popover, .us-demo .us-color-popover,
    .process-tooltip .process-tooltip-card) {
  --modal-compact-corner: 18px;
}

#contact-dialog .contact-modal-close { border-width: 0; }

:is(dialog, [role="dialog"], .process-tooltip-card, .help-info-popover) {
  -webkit-user-select: none;
  user-select: none;
}

:is(dialog, [role="dialog"]) :is(input, textarea, [contenteditable]:not([contenteditable="false"])) {
  -webkit-user-select: text;
  user-select: text;
}

/* The extra Bézier segment gives the curve a gradual transition from each straight edge. */
@supports (clip-path: shape(from 0 0, hline to 100%, close)) and (not (corner-shape: squircle)) {
  :is(#contact-dialog .contact-modal-surface, #lead-assistant-side .help-chat,
      .help-widget .help-chat, dialog:not(#contact-dialog), .help-widget .help-chat-form .help-info-popover,
      .us-demo .us-color-popover, .process-tooltip .process-tooltip-card) {
    --bend: calc(var(--modal-corner) * .16);
    --handle: calc(var(--modal-corner) * .32);
    --shoulder: calc(var(--modal-corner) * .52);
    clip-path: shape(
      from var(--modal-corner) 0,
      hline to calc(100% - var(--modal-corner)),
      curve to calc(100% - var(--bend)) var(--bend) with calc(100% - var(--shoulder)) 0 / calc(100% - var(--handle)) 0,
      curve to 100% var(--modal-corner) with 100% var(--handle) / 100% var(--shoulder),
      vline to calc(100% - var(--modal-corner)),
      curve to calc(100% - var(--bend)) calc(100% - var(--bend)) with 100% calc(100% - var(--shoulder)) / 100% calc(100% - var(--handle)),
      curve to calc(100% - var(--modal-corner)) 100% with calc(100% - var(--handle)) 100% / calc(100% - var(--shoulder)) 100%,
      hline to var(--modal-corner),
      curve to var(--bend) calc(100% - var(--bend)) with var(--shoulder) 100% / var(--handle) 100%,
      curve to 0 calc(100% - var(--modal-corner)) with 0 calc(100% - var(--handle)) / 0 calc(100% - var(--shoulder)),
      vline to var(--modal-corner),
      curve to var(--bend) var(--bend) with 0 var(--shoulder) / 0 var(--handle),
      curve to var(--modal-corner) 0 with var(--handle) 0 / var(--shoulder) 0,
      close
    );
  }
}
