:root {
  --support-ink: #172033;
  --support-muted: #64748b;
  --support-line: #dbe4ef;
  --support-soft: #f4f7fb;
  --support-blue: #2563eb;
  --support-teal: #0f766e;
}

.pa-support-page {
  color: var(--support-ink);
  margin: 0 auto;
  max-width: 1420px;
}

.pa-support-hero,
.pa-support-detail-hero {
  align-items: center;
  background:
    radial-gradient(circle at 88% 12%, rgb(96 165 250 / 24%), transparent 30%),
    linear-gradient(135deg, #0f172a 0%, #17335f 58%, #1d4ed8 140%);
  border-radius: 28px;
  box-shadow: 0 22px 55px rgb(15 23 42 / 14%);
  color: #fff;
  display: flex;
  gap: 28px;
  justify-content: space-between;
  min-height: 190px;
  overflow: hidden;
  padding: 34px 38px;
  position: relative;
}

.pa-support-hero::after,
.pa-support-detail-hero::after {
  border: 1px solid rgb(255 255 255 / 13%);
  border-radius: 999px;
  content: "";
  height: 210px;
  position: absolute;
  right: -54px;
  top: -92px;
  width: 210px;
}

.pa-support-eyebrow {
  color: inherit;
  display: block;
  font-size: 0.69rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.pa-support-hero h1,
.pa-support-detail-hero h1 {
  font-family: var(--pa-font-display, "Fraunces", serif);
  font-size: clamp(2rem, 4vw, 3.35rem);
  letter-spacing: -0.035em;
  line-height: 1.02;
  margin: 9px 0 10px;
}

.pa-support-hero p,
.pa-support-detail-hero p {
  color: rgb(255 255 255 / 78%);
  font-size: 0.98rem;
  margin: 0;
  max-width: 650px;
}

.pa-support-primary,
.pa-support-secondary {
  align-items: center;
  border: 0;
  border-radius: 15px;
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 800;
  gap: 8px;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  text-decoration: none;
  transition: transform 150ms ease, box-shadow 150ms ease, background 150ms ease;
}

.pa-support-primary {
  background: #2563eb;
  box-shadow: 0 10px 25px rgb(37 99 235 / 22%);
  color: #fff;
}

.pa-support-hero .pa-support-primary {
  background: #fff;
  box-shadow: 0 12px 28px rgb(8 15 31 / 28%);
  color: #172033;
  flex: 0 0 auto;
  min-height: 52px;
  padding-inline: 22px;
  position: relative;
  z-index: 1;
}

.pa-support-primary:hover,
.pa-support-secondary:hover {
  transform: translateY(-1px);
}

.pa-support-primary:focus-visible,
.pa-support-secondary:focus-visible,
.pa-support-page a:focus-visible,
.pa-support-reporter button:focus-visible,
.pa-support-reporter input:focus-visible,
.pa-support-reporter textarea:focus-visible,
.pa-support-page input:focus-visible,
.pa-support-page select:focus-visible,
.pa-support-page textarea:focus-visible {
  outline: 3px solid rgb(59 130 246 / 34%);
  outline-offset: 2px;
}

.pa-support-secondary {
  background: #fff;
  box-shadow: inset 0 0 0 1px #cbd5e1;
  color: #253148;
}

.pa-support-metrics {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 22px 0;
}

.pa-support-metric {
  background: #fff;
  border: 1px solid #e3eaf2;
  border-radius: 20px;
  box-shadow: 0 8px 25px rgb(15 23 42 / 5%);
  min-height: 132px;
  overflow: hidden;
  padding: 19px 20px;
  position: relative;
}

.pa-support-metric::before {
  background: var(--metric-color, #2563eb);
  border-radius: 0 0 999px;
  content: "";
  height: 5px;
  left: 0;
  position: absolute;
  top: 0;
  width: 46%;
}

.pa-support-metric span {
  color: #475569;
  display: block;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
}

.pa-support-metric strong {
  display: block;
  font-size: 2rem;
  line-height: 1;
  margin: 13px 0 7px;
}

.pa-support-metric small {
  color: #94a3b8;
  font-size: 0.77rem;
}

.pa-support-metric-amber { --metric-color: #f59e0b; }
.pa-support-metric-red { --metric-color: #ef4444; }
.pa-support-metric-green { --metric-color: #10b981; }

.pa-support-board {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 24px;
  box-shadow: 0 12px 40px rgb(15 23 42 / 6%);
  padding: 24px;
}

.pa-support-board-head {
  align-items: flex-start;
  display: flex;
  gap: 20px;
  justify-content: space-between;
}

.pa-support-board h2,
.pa-support-panel h2 {
  color: #172033;
  font-size: 1.08rem;
  letter-spacing: -0.015em;
  margin: 0;
}

.pa-support-board-head p,
.pa-support-panel header p {
  color: #64748b;
  font-size: 0.82rem;
  margin: 5px 0 0;
}

.pa-support-scope-switch {
  background: #f1f5f9;
  border-radius: 13px;
  display: flex;
  padding: 4px;
}

.pa-support-scope-switch a {
  border-radius: 10px;
  color: #64748b;
  font-size: 0.78rem;
  font-weight: 800;
  min-height: 38px;
  padding: 10px 14px;
  text-decoration: none;
}

.pa-support-scope-switch a.is-active {
  background: #fff;
  box-shadow: 0 3px 10px rgb(15 23 42 / 8%);
  color: #172033;
}

.pa-support-filters {
  align-items: end;
  border-bottom: 1px solid #e7edf4;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 20px -24px 0;
  padding: 0 24px 18px;
}

.pa-support-filters label,
.pa-support-triage-form label,
.pa-support-field {
  display: grid;
  gap: 6px;
}

.pa-support-filters label > span,
.pa-support-triage-form label > span,
.pa-support-field > span,
.pa-support-reopen label,
.pa-support-reply-form > label {
  color: #64748b;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.pa-support-filters select,
.pa-support-triage-form select,
.pa-support-triage-form input,
.pa-support-triage-form textarea,
.pa-support-reply-form textarea,
.pa-support-reopen textarea {
  background: #fff;
  border: 1px solid #cfd9e6;
  border-radius: 12px;
  color: #1e293b;
  font: inherit;
  font-size: 0.83rem;
  min-height: 44px;
  padding: 9px 12px;
}

.pa-support-filters select {
  min-width: 170px;
}

.pa-support-clear-filter {
  align-items: center;
  color: #2563eb;
  display: inline-flex;
  font-size: 0.78rem;
  font-weight: 800;
  min-height: 44px;
}

.pa-support-report-grid {
  display: grid;
  gap: 13px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 18px;
}

.pa-support-report-card {
  background: #fff;
  border: 1px solid #e1e8f1;
  border-radius: 18px;
  color: inherit;
  display: block;
  min-height: 177px;
  padding: 17px;
  text-decoration: none;
  transition: border 150ms ease, box-shadow 150ms ease, transform 150ms ease;
}

.pa-support-report-card:hover {
  border-color: #b9c9dd;
  box-shadow: 0 14px 30px rgb(15 23 42 / 8%);
  transform: translateY(-2px);
}

.pa-support-report-card[data-priority="blocker"] {
  border-left: 4px solid #ef4444;
}

.pa-support-report-top {
  align-items: flex-start;
  display: flex;
  gap: 11px;
}

.pa-support-kind-icon {
  align-items: center;
  background: #dbeafe;
  border-radius: 12px;
  color: #1d4ed8;
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 0.93rem;
  font-weight: 900;
  height: 38px;
  justify-content: center;
  width: 38px;
}

.pa-support-kind-icon[data-kind="suggestion"] {
  background: #ede9fe;
  color: #6d28d9;
}

.pa-support-report-title {
  min-width: 0;
}

.pa-support-report-title > span {
  color: #64748b;
  display: block;
  font-size: 0.68rem;
  font-weight: 800;
  margin-bottom: 4px;
  text-transform: uppercase;
}

.pa-support-report-title h3 {
  display: -webkit-box;
  font-size: 0.94rem;
  line-height: 1.35;
  margin: 0;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.pa-support-status,
.pa-support-priority {
  border-radius: 999px;
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 0.64rem;
  font-weight: 900;
  justify-content: center;
  letter-spacing: 0.02em;
  margin-left: auto;
  min-height: 25px;
  padding: 6px 9px;
  text-transform: uppercase;
}

.pa-support-status {
  background: #e2e8f0;
  color: #475569;
}

.pa-support-status[data-status="new"] { background: #dbeafe; color: #1d4ed8; }
.pa-support-status[data-status="triaged"] { background: #e0e7ff; color: #4338ca; }
.pa-support-status[data-status="in_progress"] { background: #cffafe; color: #0e7490; }
.pa-support-status[data-status="waiting_reporter"] { background: #fef3c7; color: #a16207; }
.pa-support-status[data-status="resolved"] { background: #d1fae5; color: #047857; }
.pa-support-status[data-status="closed"] { background: #e2e8f0; color: #475569; }

.pa-support-priority { background: #f1f5f9; color: #64748b; }
.pa-support-priority[data-priority="high"] { background: #ffedd5; color: #c2410c; }
.pa-support-priority[data-priority="blocker"] { background: #fee2e2; color: #b91c1c; }

.pa-support-report-meta {
  align-items: center;
  color: #64748b;
  display: flex;
  flex-wrap: wrap;
  font-size: 0.7rem;
  font-weight: 700;
  gap: 7px;
  margin: 16px 0;
}

.pa-support-report-meta > span {
  background: #f5f7fa;
  border-radius: 999px;
  padding: 5px 8px;
}

.pa-support-report-meta .pa-support-blocker {
  background: #fff1f2;
  color: #be123c;
}

.pa-support-report-foot {
  align-items: center;
  border-top: 1px solid #edf1f6;
  color: #94a3b8;
  display: flex;
  font-size: 0.68rem;
  justify-content: space-between;
  padding-top: 11px;
}

.pa-support-open-label {
  color: #2563eb;
  font-weight: 800;
}

.pa-support-empty {
  align-items: center;
  display: flex;
  flex-direction: column;
  padding: 54px 20px 40px;
  text-align: center;
}

.pa-support-empty-icon {
  align-items: center;
  background: #dcfce7;
  border-radius: 18px;
  color: #15803d;
  display: flex;
  font-size: 1.4rem;
  height: 58px;
  justify-content: center;
  margin-bottom: 14px;
  width: 58px;
}

.pa-support-empty h3 { margin: 0; }
.pa-support-empty p { color: #64748b; font-size: 0.84rem; margin: 7px 0 18px; }

.pa-support-detail-nav {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin: 0 2px 14px;
}

.pa-support-back {
  color: #334155;
  font-size: 0.82rem;
  font-weight: 800;
  text-decoration: none;
}

.pa-support-private-label {
  color: #64748b;
  font-size: 0.7rem;
  font-weight: 800;
}

.pa-support-private-label span { color: #10b981; margin-right: 5px; }

.pa-support-alert {
  border-radius: 14px;
  font-size: 0.82rem;
  font-weight: 800;
  margin-bottom: 13px;
  padding: 13px 15px;
}

.pa-support-alert.is-success { background: #ecfdf5; border: 1px solid #a7f3d0; color: #047857; }
.pa-support-alert.is-error { background: #fff1f2; border: 1px solid #fecdd3; color: #be123c; }

.pa-support-detail-hero {
  min-height: 170px;
  padding-block: 28px;
}

.pa-support-detail-kicker {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  font-size: 0.7rem;
  font-weight: 800;
  gap: 8px;
  text-transform: uppercase;
}

.pa-support-detail-kicker .pa-support-kind-icon {
  background: rgb(255 255 255 / 15%);
  color: #fff;
}

.pa-support-detail-hero h1 {
  font-family: var(--pa-font-sans, sans-serif);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  max-width: 900px;
}

.pa-support-resolution-actions {
  background: rgb(255 255 255 / 10%);
  border: 1px solid rgb(255 255 255 / 16%);
  border-radius: 18px;
  flex: 0 0 230px;
  padding: 16px;
  position: relative;
  z-index: 1;
}

.pa-support-resolution-actions p {
  color: #fff;
  font-size: 0.8rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.pa-support-resolution-actions .pa-support-primary {
  background: #fff;
  color: #172033;
  width: 100%;
}

.pa-support-detail-layout {
  align-items: start;
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 1.7fr) minmax(310px, 0.82fr);
  margin-top: 18px;
}

.pa-support-detail-main,
.pa-support-detail-side {
  display: grid;
  gap: 16px;
}

.pa-support-panel {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  box-shadow: 0 8px 25px rgb(15 23 42 / 4%);
  padding: 22px;
}

.pa-support-panel > header {
  align-items: flex-start;
  display: flex;
  gap: 14px;
  justify-content: space-between;
  margin-bottom: 17px;
}

.pa-support-prose {
  color: #334155;
  font-size: 0.9rem;
  line-height: 1.7;
}

.pa-support-expected {
  background: #f3f7fc;
  border-left: 3px solid #60a5fa;
  border-radius: 0 13px 13px 0;
  margin-top: 18px;
  padding: 13px 15px;
}

.pa-support-expected > span {
  color: #1d4ed8;
  display: block;
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.07em;
  margin-bottom: 5px;
  text-transform: uppercase;
}

.pa-support-expected p {
  color: #334155;
  font-size: 0.85rem;
  line-height: 1.55;
  margin: 0;
}

.pa-support-blocking-banner {
  align-items: flex-start;
  background: #fff1f2;
  border: 1px solid #fecdd3;
  border-radius: 13px;
  color: #9f1239;
  display: flex;
  flex-direction: column;
  font-size: 0.78rem;
  margin-top: 16px;
  padding: 12px 14px;
}

.pa-support-attachments {
  display: grid;
  gap: 13px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.pa-support-attachment {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 15px;
  margin: 0;
  overflow: hidden;
}

.pa-support-attachment img,
.pa-support-attachment video {
  aspect-ratio: 16 / 10;
  background: #e2e8f0;
  display: block;
  object-fit: contain;
  width: 100%;
}

.pa-support-attachment figcaption {
  display: flex;
  flex-direction: column;
  font-size: 0.72rem;
  font-weight: 800;
  gap: 2px;
  padding: 10px 12px;
}

.pa-support-attachment figcaption small { color: #64748b; font-weight: 600; }

.pa-support-resolution-card {
  background: linear-gradient(145deg, #ecfdf5, #fff 60%);
  border-color: #a7f3d0;
}

.pa-support-resolution-card .pa-support-eyebrow { color: #047857; }
.pa-support-release { background: #d1fae5; border-radius: 999px; color: #047857; font-size: 0.68rem; font-weight: 900; padding: 7px 10px; }

.pa-support-conversation {
  display: grid;
  gap: 10px;
}

.pa-support-message {
  background: #f4f7fb;
  border-radius: 14px;
  max-width: 92%;
  padding: 13px 14px;
}

.pa-support-message.is-mine {
  background: #eff6ff;
  margin-left: auto;
}

.pa-support-message.is-internal {
  background: #fffbeb;
  border: 1px solid #fde68a;
}

.pa-support-message-head {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  font-size: 0.7rem;
  gap: 7px;
}

.pa-support-message-head > span { background: #fef3c7; border-radius: 999px; color: #92400e; font-weight: 900; padding: 3px 7px; }
.pa-support-message-head time { color: #94a3b8; margin-left: auto; }
.pa-support-message p { color: #334155; font-size: 0.82rem; line-height: 1.55; margin: 7px 0 0; }
.pa-support-conversation-empty { background: #f8fafc; border-radius: 13px; color: #64748b; font-size: 0.8rem; padding: 17px; text-align: center; }

.pa-support-reply-form {
  border-top: 1px solid #e7edf4;
  display: grid;
  gap: 9px;
  margin-top: 18px;
  padding-top: 17px;
}

.pa-support-reply-form textarea,
.pa-support-reopen textarea,
.pa-support-triage-form textarea {
  resize: vertical;
}

.pa-support-reply-actions {
  align-items: center;
  display: flex;
  gap: 14px;
  justify-content: space-between;
}

.pa-support-check {
  align-items: center;
  color: #64748b;
  display: flex;
  font-size: 0.74rem;
  font-weight: 700;
  gap: 8px;
}

.pa-support-check input { height: 18px; width: 18px; }
.pa-support-form-hint { color: #94a3b8; font-size: 0.73rem; }

.pa-support-reopen summary {
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 800;
}

.pa-support-reopen form {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.pa-support-triage-panel { border-top: 4px solid #2563eb; }
.pa-support-triage-panel .pa-support-eyebrow { color: #2563eb; margin-bottom: 5px; }
.pa-support-triage-form { display: grid; gap: 13px; }
.pa-support-triage-form textarea { min-height: 88px; }

.pa-support-context-card dl {
  display: grid;
  gap: 0;
  margin: 0;
}

.pa-support-context-card dl > div {
  border-bottom: 1px solid #edf1f6;
  display: grid;
  gap: 7px;
  grid-template-columns: minmax(90px, 0.7fr) minmax(0, 1.3fr);
  padding: 10px 0;
}

.pa-support-context-card dt { color: #64748b; font-size: 0.69rem; font-weight: 800; }
.pa-support-context-card dd { color: #334155; font-size: 0.72rem; margin: 0; overflow-wrap: anywhere; text-align: right; }
.pa-support-context-card code { background: #f1f5f9; border-radius: 5px; font-size: 0.67rem; padding: 2px 4px; }

.pa-support-tech-details { margin-top: 13px; }
.pa-support-tech-details summary { color: #2563eb; cursor: pointer; font-size: 0.72rem; font-weight: 800; }
.pa-support-tech-details pre { background: #0f172a; border-radius: 11px; color: #dbeafe; font-size: 0.65rem; line-height: 1.45; max-height: 340px; overflow: auto; padding: 12px; white-space: pre-wrap; }

.pa-support-timeline {
  display: grid;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}

.pa-support-timeline li {
  display: grid;
  gap: 10px;
  grid-template-columns: 12px 1fr;
  min-height: 55px;
  position: relative;
}

.pa-support-timeline li:not(:last-child)::before {
  background: #dbe4ef;
  content: "";
  height: 100%;
  left: 5px;
  position: absolute;
  top: 10px;
  width: 1px;
}

.pa-support-timeline-dot {
  background: #60a5fa;
  border: 3px solid #dbeafe;
  border-radius: 99px;
  height: 11px;
  margin-top: 3px;
  position: relative;
  width: 11px;
  z-index: 1;
}

.pa-support-timeline strong { display: block; font-size: 0.73rem; }
.pa-support-timeline small { color: #94a3b8; display: block; font-size: 0.67rem; margin-top: 3px; }

/* Global report composer */
.pa-support-reporter {
  inset: 0;
  opacity: 0;
  pointer-events: none;
  position: fixed;
  transition: opacity 170ms ease;
  z-index: 500;
}

.pa-support-reporter[data-open="true"] {
  opacity: 1;
  pointer-events: auto;
}

.pa-support-reporter-scrim {
  background: rgb(15 23 42 / 54%);
  inset: 0;
  position: absolute;
}

.pa-support-reporter-panel,
.pa-support-editor {
  background: #f3f5f9;
  border: 1px solid rgb(255 255 255 / 50%);
  border-radius: 26px 26px 0 0;
  bottom: 0;
  box-shadow: 0 -28px 75px rgb(15 23 42 / 28%);
  display: flex;
  flex-direction: column;
  left: 50%;
  max-height: min(94dvh, 980px);
  max-width: 820px;
  min-height: 620px;
  overflow: hidden;
  position: absolute;
  transform: translate(-50%, 28px);
  transition: transform 220ms ease;
  width: min(100%, 820px);
}

.pa-support-reporter[data-open="true"] .pa-support-reporter-panel {
  transform: translate(-50%, 0);
}

.pa-support-reporter-head,
.pa-support-editor > header {
  align-items: center;
  background: rgb(248 250 252 / 94%);
  border-bottom: 1px solid #dfe6ef;
  display: grid;
  flex: 0 0 auto;
  gap: 12px;
  grid-template-columns: minmax(80px, 1fr) auto minmax(80px, 1fr);
  padding: 15px 18px;
  text-align: center;
}

.pa-support-reporter-head h2,
.pa-support-editor h2 {
  color: #172033;
  font-size: 1rem;
  margin: 2px 0 0;
}

.pa-support-reporter-head .pa-support-eyebrow,
.pa-support-editor .pa-support-eyebrow { color: #64748b; font-size: 0.56rem; }

.pa-support-modal-cancel,
.pa-support-modal-send {
  background: transparent;
  border: 0;
  border-radius: 12px;
  color: #334155;
  cursor: pointer;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 800;
  justify-self: start;
  min-height: 42px;
  padding: 0 10px;
}

.pa-support-modal-send {
  background: #2563eb;
  color: #fff;
  justify-self: end;
  min-width: 76px;
}

.pa-support-modal-send:disabled {
  background: #d9e1eb;
  color: #94a3b8;
  cursor: default;
}

.pa-support-form { display: flex; flex: 1; min-height: 0; }

.pa-support-form-scroll {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 13px;
  overflow-y: auto;
  padding: 17px;
  -webkit-overflow-scrolling: touch;
}

.pa-support-form-section {
  background: #fff;
  border: 1px solid #e0e7ef;
  border-radius: 19px;
  box-shadow: 0 6px 20px rgb(15 23 42 / 4%);
  padding: 18px;
}

.pa-support-segmented {
  background: #eef2f7;
  border-radius: 14px;
  display: grid;
  gap: 4px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 4px;
}

.pa-support-segmented label { cursor: pointer; position: relative; }
.pa-support-segmented input { inset: 0; opacity: 0; position: absolute; }

.pa-support-segmented label > span {
  border-radius: 11px;
  color: #64748b;
  display: flex;
  flex-direction: column;
  min-height: 60px;
  padding: 11px 13px;
}

.pa-support-segmented input:checked + span {
  background: #fff;
  box-shadow: 0 4px 12px rgb(15 23 42 / 9%);
  color: #172033;
}

.pa-support-segmented strong { font-size: 0.8rem; }
.pa-support-segmented small { font-size: 0.68rem; margin-top: 3px; }

.pa-support-section-heading {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-bottom: 13px;
}

.pa-support-section-heading > div,
.pa-support-diagnostic-card > div {
  align-items: center;
  display: flex;
  gap: 10px;
}

.pa-support-section-heading h3,
.pa-support-diagnostic-card h3 {
  color: #172033;
  font-size: 0.9rem;
  margin: 0;
}

.pa-support-step {
  align-items: center;
  background: #dbeafe;
  border-radius: 10px;
  color: #1d4ed8;
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 0.74rem;
  font-weight: 900;
  height: 30px;
  justify-content: center;
  width: 30px;
}

.pa-support-optional,
.pa-support-required {
  color: #94a3b8;
  font-size: 0.62rem;
  font-weight: 800;
  text-transform: uppercase;
}

.pa-support-required { color: #dc2626; }

.pa-support-capture-card {
  background: #f8fafc;
  border: 1px dashed #cbd5e1;
  border-radius: 16px;
  padding: 12px;
}

.pa-support-capture-preview {
  align-items: center;
  color: #64748b;
  display: flex;
  flex-direction: column;
  min-height: 130px;
  justify-content: center;
  text-align: center;
}

.pa-support-capture-preview > span { color: #60a5fa; font-size: 1.8rem; }
.pa-support-capture-preview strong { color: #334155; font-size: 0.79rem; margin: 7px 0 2px; }
.pa-support-capture-preview small { font-size: 0.69rem; max-width: 340px; }

.pa-support-preview-grid {
  display: grid;
  gap: 9px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 11px;
}

.pa-support-preview-item {
  background: #e2e8f0;
  border-radius: 12px;
  min-height: 105px;
  overflow: hidden;
  position: relative;
}

.pa-support-preview-item img,
.pa-support-preview-item video {
  height: 105px;
  object-fit: cover;
  width: 100%;
}

.pa-support-preview-item > button {
  align-items: center;
  background: rgb(15 23 42 / 78%);
  border: 0;
  border-radius: 999px;
  color: #fff;
  cursor: pointer;
  display: flex;
  height: 30px;
  justify-content: center;
  position: absolute;
  right: 6px;
  top: 6px;
  width: 30px;
}

.pa-support-preview-item .pa-support-preview-edit {
  bottom: 6px;
  font-size: 0.64rem;
  font-weight: 800;
  height: 30px;
  left: 6px;
  padding: 0 9px;
  right: auto;
  top: auto;
  width: auto;
}

.pa-support-preview-redacted {
  background: #dcfce7;
  border-radius: 999px;
  bottom: 7px;
  color: #166534;
  font-size: 0.58rem;
  font-weight: 900;
  padding: 4px 6px;
  position: absolute;
  right: 6px;
  text-transform: uppercase;
}

.pa-support-capture-actions {
  display: grid;
  gap: 9px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.pa-support-file-button { cursor: pointer; }
.pa-support-file-button input { height: 1px; opacity: 0; position: absolute; width: 1px; }

.pa-support-privacy-note {
  align-items: flex-start;
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: 13px;
  color: #92400e;
  display: flex;
  font-size: 0.68rem;
  gap: 9px;
  line-height: 1.45;
  margin-top: 10px;
  padding: 10px 11px;
}

.pa-support-privacy-note > span { flex: 0 0 auto; }
.pa-support-privacy-note p { margin: 0; }

.pa-support-field { margin-top: 12px; position: relative; }

.pa-support-field textarea {
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 14px;
  color: #172033;
  font: inherit;
  font-size: 0.84rem;
  line-height: 1.5;
  min-height: 76px;
  padding: 12px 13px;
  resize: vertical;
}

.pa-support-field textarea[name="what_happened"] { min-height: 128px; }
.pa-support-field > small { bottom: 8px; color: #94a3b8; font-size: 0.6rem; position: absolute; right: 10px; }

.pa-support-blocks-toggle {
  align-items: center;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-radius: 14px;
  display: flex;
  justify-content: space-between;
  margin-top: 13px;
  padding: 12px 13px;
}

.pa-support-blocks-toggle span { display: flex; flex-direction: column; }
.pa-support-blocks-toggle strong { color: #9a3412; font-size: 0.76rem; }
.pa-support-blocks-toggle small { color: #c2410c; font-size: 0.65rem; margin-top: 3px; }

.pa-support-blocks-toggle input {
  accent-color: #ea580c;
  flex: 0 0 auto;
  height: 23px;
  width: 23px;
}

.pa-support-diagnostic-card {
  align-items: center;
  background: #eff6ff;
  border-color: #bfdbfe;
  display: flex;
  gap: 12px;
  justify-content: space-between;
}

.pa-support-diagnostic-card p { color: #64748b; font-size: 0.68rem; margin: 3px 0 0; }

.pa-support-safe-chip {
  background: #dcfce7;
  border-radius: 999px;
  color: #166534;
  flex: 0 0 auto;
  font-size: 0.58rem;
  font-weight: 900;
  padding: 6px 8px;
  text-transform: uppercase;
}

.pa-support-submit-feedback {
  color: #64748b;
  font-size: 0.75rem;
  font-weight: 700;
  min-height: 22px;
  padding: 2px 8px 14px;
  text-align: center;
}

.pa-support-submit-feedback.is-error { color: #be123c; }

/* Image privacy editor */
.pa-support-editor {
  display: none;
  inset: 0;
  left: 50%;
  max-height: none;
  max-width: 920px;
  min-height: 100%;
  transform: translateX(-50%);
  width: min(100%, 920px);
  z-index: 4;
}

.pa-support-editor[data-open="true"] { display: flex; }

.pa-support-editor-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-height: 0;
  overflow: auto;
  padding: 15px;
}

.pa-support-editor-stage {
  align-items: center;
  background:
    linear-gradient(45deg, #e2e8f0 25%, transparent 25%),
    linear-gradient(-45deg, #e2e8f0 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, #e2e8f0 75%),
    linear-gradient(-45deg, transparent 75%, #e2e8f0 75%);
  background-color: #f8fafc;
  background-position: 0 0, 0 8px, 8px -8px, -8px 0;
  background-size: 16px 16px;
  border: 1px solid #cbd5e1;
  border-radius: 16px;
  display: flex;
  flex: 1;
  justify-content: center;
  min-height: 320px;
  overflow: auto;
  padding: 10px;
  position: relative;
}

.pa-support-editor canvas {
  box-shadow: 0 10px 30px rgb(15 23 42 / 20%);
  cursor: crosshair;
  display: block;
  height: auto;
  max-height: 60dvh;
  max-width: 100%;
  touch-action: none;
  width: auto;
}

.pa-support-editor-toolbar {
  display: grid;
  gap: 6px;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  margin-top: 12px;
}

.pa-support-editor-toolbar button {
  align-items: center;
  background: #fff;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  color: #475569;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  font: inherit;
  font-size: 0.61rem;
  font-weight: 800;
  gap: 2px;
  justify-content: center;
  min-height: 52px;
}

.pa-support-editor-toolbar button span { font-size: 1rem; }
.pa-support-editor-toolbar button.is-active { background: #dbeafe; border-color: #93c5fd; color: #1d4ed8; }
.pa-support-editor-help { color: #64748b; font-size: 0.7rem; margin: 10px 2px; text-align: center; }
.pa-support-editor-action { align-self: center; min-width: 180px; }

.pa-support-error-toast {
  align-items: center;
  background: #172033;
  border: 1px solid rgb(255 255 255 / 15%);
  border-radius: 15px;
  bottom: max(18px, env(safe-area-inset-bottom));
  box-shadow: 0 18px 45px rgb(15 23 42 / 28%);
  color: #fff;
  display: flex;
  font-size: 0.75rem;
  gap: 12px;
  left: 50%;
  max-width: calc(100vw - 28px);
  padding: 11px 13px;
  position: fixed;
  transform: translateX(-50%);
  width: max-content;
  z-index: 450;
}

.pa-support-error-toast button {
  background: #fff;
  border: 0;
  border-radius: 10px;
  color: #172033;
  cursor: pointer;
  font: inherit;
  font-size: 0.7rem;
  font-weight: 900;
  min-height: 36px;
  padding: 0 11px;
}

@media (max-width: 1023px) {
  .pa-support-page { padding-bottom: 84px; }
  .pa-support-hero { min-height: 170px; }
  .pa-support-metrics { grid-template-columns: repeat(4, minmax(130px, 1fr)); overflow-x: auto; padding-bottom: 4px; scroll-snap-type: x mandatory; }
  .pa-support-metric { scroll-snap-align: start; }
  .pa-support-detail-layout { grid-template-columns: minmax(0, 1fr); }
  .pa-support-detail-side { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pa-support-triage-panel { grid-column: 1 / -1; }
  .pa-support-timeline-panel { align-self: stretch; }
}

@media (min-width: 768px) {
  .pa-support-reporter-panel {
    border-radius: 26px;
    bottom: 3dvh;
  }
}

@media (max-width: 767px) {
  .pa-support-hero,
  .pa-support-detail-hero {
    align-items: flex-start;
    border-radius: 22px;
    flex-direction: column;
    padding: 26px 22px;
  }

  .pa-support-hero .pa-support-primary { width: 100%; }
  .pa-support-metrics { grid-template-columns: repeat(4, minmax(146px, 1fr)); }
  .pa-support-board { border-radius: 20px; padding: 17px; }
  .pa-support-board-head { flex-direction: column; }
  .pa-support-scope-switch { width: 100%; }
  .pa-support-scope-switch a { flex: 1; text-align: center; }
  .pa-support-filters { margin-inline: -17px; padding-inline: 17px; }
  .pa-support-filters label { flex: 1 1 140px; }
  .pa-support-filters select { min-width: 0; width: 100%; }
  .pa-support-report-grid { grid-template-columns: 1fr; }
  .pa-support-report-card { min-height: 0; }
  .pa-support-report-top { flex-wrap: wrap; }
  .pa-support-status { margin-left: 49px; order: 3; }
  .pa-support-report-title { flex: 1; }
  .pa-support-open-label { display: none; }
  .pa-support-detail-nav { align-items: flex-start; flex-direction: column; gap: 7px; }
  .pa-support-resolution-actions { flex-basis: auto; width: 100%; }
  .pa-support-detail-side { grid-template-columns: 1fr; }
  .pa-support-triage-panel { grid-column: auto; }
  .pa-support-panel { border-radius: 17px; padding: 17px; }
  .pa-support-attachments { grid-template-columns: 1fr; }
  .pa-support-reply-actions { align-items: stretch; flex-direction: column; }
  .pa-support-reply-actions .pa-support-primary { width: 100%; }
  .pa-support-capture-actions { grid-template-columns: 1fr; }
  .pa-support-preview-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pa-support-diagnostic-card { align-items: flex-start; flex-direction: column; }
  .pa-support-editor-toolbar { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pa-support-editor-stage { min-height: 260px; }
}

@media (prefers-reduced-motion: reduce) {
  .pa-support-primary,
  .pa-support-secondary,
  .pa-support-report-card,
  .pa-support-reporter,
  .pa-support-reporter-panel {
    scroll-behavior: auto;
    transition: none;
  }
}
