/* The contact dialog behind email links. */
dialog.ss-contact {
  width: min(420px, calc(100vw - 32px)); padding: 26px 24px 22px; border: 1px solid rgba(255, 255, 255, .14); border-radius: 14px;
  background: #0f171c; color: #f4f7f8; font-family: var(--font, system-ui, sans-serif); box-shadow: 0 24px 60px rgba(0, 0, 0, .5);
}
dialog.ss-contact::backdrop { background: rgba(0, 0, 0, .55); }
html[data-theme="light"] dialog.ss-contact { background: #fbfaf7; color: #14110e; border-color: rgba(20, 17, 14, .14); }
.ss-contact h2 { margin: 0 0 6px; font-size: 20px; font-weight: 600; }
.ss-contact-lead, .ss-contact-or { margin: 0 0 14px; font-size: 14px; opacity: .75; }
.ss-contact-or { margin: 16px 0 8px; }
.ss-contact-field { display: grid; grid-template-columns: 60px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 10px 0; border-top: 1px solid rgba(127, 127, 127, .22); }
.ss-contact-field span { font-size: 12px; opacity: .6; }
.ss-contact-field strong { font-weight: 500; font-size: 14px; overflow-wrap: anywhere; user-select: all; }
.ss-contact button, .ss-contact-apps a {
  font: inherit; font-size: 13px; padding: 7px 13px; border-radius: 999px; border: 1px solid rgba(127, 127, 127, .35);
  background: transparent; color: inherit; cursor: pointer; text-decoration: none; white-space: nowrap;
}
.ss-contact button:hover, .ss-contact-apps a:hover { background: rgba(127, 127, 127, .14); }
.ss-contact button:focus-visible, .ss-contact-apps a:focus-visible { outline: 2px solid #43b9a8; outline-offset: 2px; }
.ss-contact-apps { display: flex; flex-wrap: wrap; gap: 8px; }
.ss-contact .ss-contact-close { position: absolute; top: 12px; right: 12px; width: 34px; height: 34px; padding: 0; border: 0; font-size: 22px; line-height: 1; border-radius: 50%; }
/* r2: the help form. */
dialog.ss-help { width: min(520px, calc(100vw - 24px)); max-height: calc(100vh - 32px); overflow-y: auto; }
.ss-help-form { display: grid; gap: 10px; }
.ss-help-form h2 { margin: 0 0 2px; }
.ss-help-order { margin: 0; font-size: 14px; opacity: .8; }
.ss-help-topics { border: 0; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.ss-help-topics legend { padding: 0; margin-bottom: 8px; font-size: 13px; opacity: .75; }
.ss-help-topics label { cursor: pointer; }
.ss-help-topics input { position: absolute; opacity: 0; pointer-events: none; }
.ss-help-topics span { display: inline-block; padding: 7px 12px; border-radius: 999px; border: 1px solid rgba(127, 127, 127, .35); font-size: 13px; }
.ss-help-topics input:checked + span { background: #43b9a8; border-color: #43b9a8; color: #06201c; font-weight: 600; }
.ss-help-topics input:focus-visible + span { outline: 2px solid #43b9a8; outline-offset: 2px; }
.ss-help-label { font-size: 13px; opacity: .75; margin-top: 4px; }
.ss-help textarea, .ss-help input[type="email"] {
  width: 100%; box-sizing: border-box; font: inherit; font-size: 15px; padding: 10px 12px; border-radius: 10px;
  border: 1px solid rgba(127, 127, 127, .35); background: rgba(127, 127, 127, .08); color: inherit; resize: vertical;
}
.ss-help textarea:focus, .ss-help input[type="email"]:focus { outline: none; border-color: #43b9a8; }
.ss-help-count { margin: -6px 0 0; font-size: 12px; opacity: .6; text-align: right; min-height: 0; }
.ss-help-reply p { margin: 0; font-size: 14px; }
.ss-help .ss-help-link { border: 0; padding: 0 2px; text-decoration: underline; border-radius: 4px; font-size: 13px; }
.ss-help-status { margin: 0; font-size: 13px; min-height: 1em; }
.ss-help-status.bad { color: #ff8a80; }
html[data-theme="light"] .ss-help-status.bad { color: #b3261e; }
.ss-help-actions { display: flex; justify-content: flex-end; }
.ss-help .ss-help-send { background: #43b9a8; border-color: #43b9a8; color: #06201c; font-weight: 600; padding: 9px 22px; }
.ss-help .ss-help-send:disabled { opacity: .6; cursor: default; }
.ss-help-direct { margin: 4px 0 0; padding-top: 12px; border-top: 1px solid rgba(127, 127, 127, .22); font-size: 13px; opacity: .8; }
.ss-help-done { margin: 0; font-size: 15px; }
.ss-help-ref { margin: 0; font-size: 12px; opacity: .6; }
.ss-help .ss-help-send:hover:not(:disabled) { background: #5fd0bf; border-color: #5fd0bf; }
