/* "Report a problem" (public/js/support-report.js) — 2026-11-05. Flat, no gradients. */

/* Settings left menu: a quiet link under the sections. */
.sx-nav-foot { margin-top: 10px; padding-top: 10px; border-top: 1px solid #e8ecf2; grid-column: 1 / -1; } /* full width when the menu turns into a 2-column grid on phones */
.sx-help-link {
  display: flex; align-items: center; gap: 10px; width: 100%;
  min-height: 0; padding: 9px 12px; border: 0; border-radius: 10px; background: none;
  font: inherit; font-size: 13.5px; font-weight: 500; color: #54607a; cursor: pointer; text-align: left;
}
.sx-help-link:hover { background: #f2f5f9; color: #101828; }
.sx-help-link svg { width: 17px; height: 17px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Agent settings: the same link at the bottom of the identity card. */
.agset-help { margin-top: 14px; padding-top: 12px; border-top: 1px solid #eef1f5; }
.agset-help .sx-help-link { justify-content: center; }

/* The dialog (reuses the CRM's white form dialog). */
.sr-modal { max-width: 520px; }
.sr-msg { min-height: 132px; resize: vertical; line-height: 1.5; }
.sr-meta { display: flex; justify-content: space-between; gap: 12px; margin-top: 6px; font-size: 12px; }
.sr-err { color: #b42318; font-weight: 500; }
.sr-count { color: #98a2b3; font-variant-numeric: tabular-nums; margin-left: auto; }
/* Screenshots: small previews, each with a remove button. */
.sr-shots { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin-top: 12px; }
.sr-shot-list { display: contents; }
.sr-shot { position: relative; width: 64px; height: 64px; border: 1px solid #dfe4ec; border-radius: 8px; overflow: hidden; background: #f6f8fb; }
.sr-shot img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sr-shot-x {
  position: absolute; top: 3px; right: 3px; width: 20px; height: 20px; min-height: 0; padding: 0;
  display: flex; align-items: center; justify-content: center;
  border: 0; border-radius: 50%; background: rgba(16, 24, 40, .72); color: #fff; cursor: pointer;
}
.sr-shot-x svg { width: 12px; height: 12px; }
.sr-add {
  display: inline-flex; align-items: center; gap: 7px; min-height: 0; height: 36px; padding: 0 12px;
  border: 1px dashed #c3cbd8; border-radius: 8px; background: #fff;
  font: inherit; font-size: 13px; font-weight: 600; color: #344054; cursor: pointer;
}
.sr-add:hover { border-color: #98a2b3; background: #f8fafc; }
.sr-add[hidden] { display: none; }
.sr-add:disabled { opacity: .6; cursor: default; }
.sr-shot-hint { font-size: 12px; color: #98a2b3; }
.sr-note { margin: 12px 0 0; font-size: 12.5px; line-height: 1.5; color: #667085; }
.sr-note b { color: #344054; font-weight: 600; }
.sr-alt { margin: 6px 0 0; font-size: 12.5px; color: #667085; }
.sr-alt a { color: #1d4ed8; font-weight: 600; text-decoration: none; }
.sr-alt a:hover { text-decoration: underline; }
/* Phones draw the page at 0.88 (MOBILE_ZOOM): 19px x 0.88 = 16.7px on screen, so iPhone does not zoom. */
@media (max-width: 560px) { .sr-msg { font-size: 19px; } }
