:root {
  --fcd-issue-bg: #f9f9f9;
  --fcd-issue-surface: #ffffff;
  --fcd-issue-surface-alt: #f9f9f9;
  --fcd-issue-foreground: #191c20;
  --fcd-issue-muted: #757b85;
  --fcd-issue-border: #d7dbe1;
  --fcd-issue-border-strong: #c7ced8;
  --fcd-issue-primary: #0295d4;
  --fcd-issue-primary-soft: rgba(2, 149, 212, 0.12);
  --fcd-issue-warning: #f5c502;
  --fcd-issue-warning-soft: rgba(245, 197, 2, 0.18);
  --fcd-issue-success: #00ae37;
  --fcd-issue-success-soft: rgba(0, 174, 55, 0.14);
  --fcd-issue-pending: #6b7280;
  --fcd-issue-pending-soft: #f1f1f1;
  --fcd-issue-danger: #c93751;
  --fcd-issue-danger-soft: rgba(201, 55, 81, 0.14);
  --fcd-issue-radius-outer: 14px;
  --fcd-issue-radius-surface: 10px;
  --fcd-issue-radius-control: 6px;
  --fcd-issue-radius-inner: 4px;
  --fcd-issue-shadow: 0 1px 2px rgba(15, 23, 42, 0.03), 0 8px 20px rgba(15, 23, 42, 0.03);
}

:root.fcdash-issue-reporter--locked {
  overflow: hidden;
}

.fcdash-issue-reporter,
.fcdash-issue-reporter *,
.fcdash-issue-reporter *::before,
.fcdash-issue-reporter *::after {
  box-sizing: border-box;
}

.fcdash-issue-reporter {
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 14px;
  font-style: normal;
  font-variant: normal;
  line-height: 1.4;
  color: var(--fcd-issue-foreground);
  letter-spacing: normal;
  text-align: left;
  text-decoration: none;
  text-transform: none;
  text-shadow: none;
}

.fcdash-issue-reporter:where(button, input, textarea, select),
.fcdash-issue-reporter :where(button, input, textarea, select) {
  -webkit-appearance: none;
  appearance: none;
  box-sizing: border-box;
  font-family: inherit;
  font-style: normal;
  font-variant: normal;
  letter-spacing: normal;
  line-height: normal;
  text-align: left;
  text-decoration: none;
  text-shadow: none;
  text-transform: none;
}

.fcdash-issue-reporter :where(h1, h2, h3, h4, h5, h6, p, ol, ul, li, label, strong, span) {
  color: inherit;
  font-family: inherit;
  font-style: normal;
  letter-spacing: normal;
  text-decoration: none;
  text-transform: none;
}

.fcdash-issue-reporter :where(img, svg) {
  display: block;
  max-width: 100%;
}

.fcdash-issue-reporter__toolbar-shell {
  position: fixed;
  left: 50%;
  bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  transform: translateX(-50%);
  z-index: 99996;
  pointer-events: none;
}

.fcdash-issue-reporter__toolbar,
.fcdash-issue-reporter__toolbar-action--detached {
  pointer-events: auto;
}

.fcdash-issue-reporter__toolbar {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 6px;
  border: 1px solid var(--fcd-issue-border);
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.1);
}

.fcdash-issue-reporter__toolbar-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--fcd-issue-foreground);
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  padding: 0 12px;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.fcdash-issue-reporter__toolbar-action:hover,
.fcdash-issue-reporter__toolbar-action:focus {
  background: var(--fcd-issue-primary-soft);
  color: var(--fcd-issue-primary);
}

.fcdash-issue-reporter__toolbar-action:disabled {
  opacity: 0.6;
  cursor: wait;
}

.fcdash-issue-reporter__toolbar-action--icon-only {
  width: 46px;
  justify-content: center;
  padding: 0;
}

.fcdash-issue-reporter__toolbar-action--detached {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--fcd-issue-border);
  border-radius: 16px;
  background: #ffffff;
  color: var(--fcd-issue-foreground);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.1);
}

.fcdash-issue-reporter__toolbar-action--detached:hover,
.fcdash-issue-reporter__toolbar-action--detached:focus {
  background: var(--fcd-issue-primary-soft);
  color: var(--fcd-issue-primary);
}

.fcdash-issue-reporter__toolbar-icon {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
}

.fcdash-issue-reporter__toolbar-label {
  white-space: nowrap;
}

.fcdash-issue-reporter__toolbar-divider {
  width: 1px;
  height: 24px;
  margin: 0 4px;
  background: var(--fcd-issue-border);
}

.fcdash-issue-reporter__button {
  position: fixed;
  right: 0;
  top: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  min-height: 188px;
  transform: translateY(-50%);
  z-index: 99996;
  background: linear-gradient(180deg, #ff9300 0%, #ff6a00 100%);
  color: #fff;
  border: 1px solid #ff7a00;
  border-right: 0;
  border-radius: var(--fcd-issue-radius-outer) 0 0 var(--fcd-issue-radius-outer);
  padding: 14px 10px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.01em;
  text-align: center;
  cursor: pointer;
  box-shadow: 0 16px 32px rgba(255, 122, 0, 0.24);
  writing-mode: vertical-rl;
  text-orientation: mixed;
}

.fcdash-issue-reporter__help-button {
  position: fixed;
  right: 10px;
  top: calc(50% - 148px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--fcd-issue-border);
  border-radius: 999px;
  background: #ffffff;
  color: var(--fcd-issue-foreground);
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
  padding: 0;
  text-align: center;
  cursor: pointer;
  z-index: 99996;
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.1);
}

.fcdash-issue-reporter__quick-pin {
  position: fixed;
  right: 0;
  top: calc(50% + 110px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--fcd-issue-border);
  border-right: 0;
  border-radius: var(--fcd-issue-radius-outer) 0 0 var(--fcd-issue-radius-outer);
  background: var(--fcd-issue-surface);
  color: var(--fcd-issue-foreground);
  font-size: 24px;
  font-weight: 500;
  line-height: 1;
  padding: 0;
  text-align: center;
  cursor: pointer;
  z-index: 99996;
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.1);
}

.fcdash-issue-reporter__quick-pin.is-active {
  background: var(--fcd-issue-primary-soft);
  color: var(--fcd-issue-primary);
  border-color: var(--fcd-issue-primary);
}

.fcdash-issue-reporter__quick-action-menu {
  position: fixed;
  right: 56px;
  top: calc(50% + 110px);
  display: none;
  min-width: 170px;
  padding: 8px;
  border: 1px solid var(--fcd-issue-border);
  border-radius: var(--fcd-issue-radius-outer);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
  z-index: 99996;
}

.fcdash-issue-reporter__quick-action-menu.is-active {
  display: grid;
  gap: 6px;
}

.fcdash-issue-reporter__quick-action-item {
  border: 0;
  border-radius: var(--fcd-issue-radius-control);
  background: transparent;
  color: var(--fcd-issue-foreground);
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  text-align: left;
  padding: 10px 12px;
  cursor: pointer;
}

.fcdash-issue-reporter__quick-action-item:hover,
.fcdash-issue-reporter__quick-action-item:focus {
  background: var(--fcd-issue-primary-soft);
  color: var(--fcd-issue-primary);
}

.fcdash-issue-reporter__quick-action-item:disabled {
  opacity: 0.6;
  cursor: wait;
}

.fcdash-issue-reporter__pin-settings {
  position: fixed;
  right: 0;
  top: calc(50% + 170px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--fcd-issue-border);
  border-right: 0;
  border-radius: var(--fcd-issue-radius-outer) 0 0 var(--fcd-issue-radius-outer);
  background: var(--fcd-issue-surface-alt);
  color: var(--fcd-issue-foreground);
  font-size: 20px;
  line-height: 1;
  padding: 0;
  text-align: center;
  cursor: pointer;
  z-index: 99996;
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.08);
}

.fcdash-issue-reporter__pin-settings.is-active {
  background: var(--fcd-issue-primary-soft);
  color: var(--fcd-issue-primary);
  border-color: var(--fcd-issue-primary);
}

.fcdash-issue-reporter__pin-menu {
  position: fixed;
  left: 0;
  top: 0;
  display: none;
  min-width: 148px;
  padding: 8px;
  border: 1px solid var(--fcd-issue-border);
  border-radius: var(--fcd-issue-radius-outer);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
  z-index: 99996;
}

.fcdash-issue-reporter__pin-menu.is-active {
  display: grid;
  gap: 6px;
}

.fcdash-issue-reporter__pin-menu-item {
  border: 0;
  border-radius: var(--fcd-issue-radius-control);
  background: transparent;
  color: var(--fcd-issue-foreground);
  font: inherit;
  font-size: 13px;
  text-align: left;
  padding: 9px 10px;
  cursor: pointer;
}

.fcdash-issue-reporter__pin-menu-item.is-active {
  background: var(--fcd-issue-primary-soft);
  color: var(--fcd-issue-primary);
}

@media (max-width: 768px) {
  .fcdash-issue-reporter__toolbar-shell {
    left: 12px;
    right: 12px;
    bottom: 12px;
    gap: 10px;
    transform: none;
  }

  .fcdash-issue-reporter__toolbar {
    flex: 1 1 auto;
    min-width: 0;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .fcdash-issue-reporter__toolbar::-webkit-scrollbar {
    display: none;
  }

  .fcdash-issue-reporter__toolbar-action {
    flex: 0 0 auto;
    min-height: 42px;
    padding: 0 12px;
    font-size: 12px;
  }

  .fcdash-issue-reporter__toolbar-action--icon-only,
  .fcdash-issue-reporter__toolbar-action--detached {
    width: 46px;
    height: 46px;
    border-radius: 14px;
  }

  .fcdash-issue-reporter__toolbar-divider {
    height: 22px;
  }

  .fcdash-issue-reporter__button {
    right: 0;
    top: 50%;
    bottom: auto;
    width: 42px;
    min-height: 156px;
    height: auto;
    padding: 12px 8px;
    transform: translateY(-50%);
    border-radius: 12px 0 0 12px;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    display: inline-flex;
    font-size: 11px;
  }

  .fcdash-issue-reporter__help-button {
    right: 8px;
    top: calc(50% - 126px);
    width: 38px;
    height: 38px;
    border-radius: 999px;
    font-size: 20px;
  }

  .fcdash-issue-reporter__quick-pin {
    right: 0;
    top: calc(50% + 100px);
    bottom: auto;
    width: 42px;
    height: 42px;
    border-radius: 12px 0 0 12px;
    font-size: 22px;
  }

  .fcdash-issue-reporter__pin-settings {
    right: 0;
    top: calc(50% + 152px);
    bottom: auto;
    width: 42px;
    height: 42px;
    border-radius: 12px 0 0 12px;
    font-size: 18px;
  }

  .fcdash-issue-reporter__pin-menu {
    right: 50px;
    top: calc(50% + 152px);
    bottom: auto;
  }

  .fcdash-issue-reporter__quick-action-menu {
    right: 50px;
    top: calc(50% + 100px);
    min-width: 156px;
  }
}

.fcdash-issue-reporter__pin-layer {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  pointer-events: none;
  z-index: 99994;
}

.fcdash-issue-reporter__pin {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin: 0;
  margin-left: -14px;
  margin-top: -14px;
  border-radius: 50%;
  border: 2px solid #fff;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  padding: 0;
  text-align: center;
  cursor: pointer;
  pointer-events: auto;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.16);
}

.fcdash-issue-reporter__pin--drag {
  position: fixed;
  z-index: 99997;
  pointer-events: none;
  opacity: 0;
  transform: translate3d(0, 0, 0) scale(1.08);
  transition: opacity 120ms ease;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.28);
}

.fcdash-issue-reporter__pin--drag.is-active {
  opacity: 0.92;
}

.fcdash-issue-reporter__pin-tooltip {
  position: fixed;
  display: none;
  width: min(280px, calc(100vw - 24px));
  padding: 10px 12px;
  border-radius: var(--fcd-issue-radius-control);
  border: 1px solid rgba(25, 28, 32, 0.12);
  background: rgba(25, 28, 32, 0.96);
  color: #fff;
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.24);
  pointer-events: none;
  z-index: 99996;
}

.fcdash-issue-reporter__pin-tooltip.is-active {
  display: block;
}

.fcdash-issue-reporter__pin-tooltip-title {
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
}

.fcdash-issue-reporter__pin-tooltip-body {
  margin-top: 4px;
  font-size: 12px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.88);
}

.fcdash-issue-reporter__loading-toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: min(320px, calc(100vw - 36px));
  padding: 12px 14px;
  border: 1px solid rgba(25, 28, 32, 0.12);
  border-radius: 999px;
  background: rgba(25, 28, 32, 0.96);
  color: #ffffff;
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.24);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 160ms ease, transform 160ms ease;
  z-index: 99996;
}

.fcdash-issue-reporter__loading-toast.is-active {
  opacity: 1;
  transform: translateY(0);
}

.fcdash-issue-reporter__loading-spinner {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  border: 2px solid rgba(255, 255, 255, 0.36);
  border-top-color: #ffffff;
  border-radius: 999px;
  animation: fcdash-issue-loading-spin 760ms linear infinite;
}

.fcdash-issue-reporter__spinner {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  border: 2px solid rgba(2, 149, 212, 0.24);
  border-top-color: var(--fcd-issue-primary);
  border-radius: 999px;
  animation: fcdash-issue-loading-spin 760ms linear infinite;
}

.fcdash-issue-reporter__loading-text {
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
}

@keyframes fcdash-issue-loading-spin {
  to {
    transform: rotate(360deg);
  }
}

.fcdash-issue-reporter__pin.is-todo {
  background: var(--fcd-issue-pending);
}

.fcdash-issue-reporter__pin.is-in-progress {
  background: var(--fcd-issue-primary);
}

.fcdash-issue-reporter__pin.is-review {
  background: var(--fcd-issue-warning);
  color: #191c20;
}

.fcdash-issue-reporter__pin.is-complete {
  background: var(--fcd-issue-success);
}

.fcdash-issue-reporter__hover-outline {
  position: fixed;
  border: 2px solid rgba(2, 149, 212, 0.95);
  background: rgba(2, 149, 212, 0.12);
  pointer-events: none;
  z-index: 99995;
  display: none;
}

.fcdash-issue-reporter__hover-outline.is-active {
  display: block;
}

.fcdash-issue-reporter__picker {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: none;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.98);
  color: var(--fcd-issue-foreground);
  padding: 12px 16px;
  border-radius: 999px;
  z-index: 99998;
  border: 1px solid var(--fcd-issue-border);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
}

.fcdash-issue-reporter__picker.is-active {
  display: inline-flex;
}

.fcdash-issue-reporter__picker-cancel {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--fcd-issue-border);
  border-radius: 999px;
  background: var(--fcd-issue-surface);
  color: var(--fcd-issue-foreground);
  padding: 8px 12px;
  text-align: center;
  cursor: pointer;
  font-weight: 600;
}

.fcdash-issue-reporter__overlay {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(15, 23, 42, 0.42);
  z-index: 99997;
}

.fcdash-issue-reporter__overlay.is-active {
  display: flex;
}

.fcdash-issue-reporter__resources-overlay {
  position: fixed;
  inset: 0;
  display: none;
  justify-content: flex-end;
  padding: 18px;
  background: rgba(15, 23, 42, 0.18);
  z-index: 99997;
}

.fcdash-issue-reporter__resources-overlay.is-active {
  display: flex;
}

.fcdash-issue-reporter__resources-panel {
  width: min(420px, 100%);
  height: min(100%, 860px);
  background: var(--fcd-issue-surface);
  color: var(--fcd-issue-foreground);
  border: 1px solid var(--fcd-issue-border);
  border-radius: var(--fcd-issue-radius-outer);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.12);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  overflow: hidden;
}

.fcdash-issue-reporter__resources-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--fcd-issue-border);
  background: var(--fcd-issue-surface);
}

.fcdash-issue-reporter__resources-body {
  min-height: 0;
  overflow: auto;
  padding: 18px;
  display: grid;
  gap: 16px;
  background: var(--fcd-issue-surface-alt);
}

.fcdash-issue-reporter__help-overlay {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(15, 23, 42, 0.42);
  z-index: 99998;
}

.fcdash-issue-reporter__help-overlay.is-active {
  display: flex;
}

.fcdash-issue-reporter__help-modal {
  width: min(560px, 100%);
  max-height: min(80vh, 720px);
  overflow: auto;
  background: var(--fcd-issue-surface);
  color: var(--fcd-issue-foreground);
  border: 1px solid var(--fcd-issue-border);
  border-radius: var(--fcd-issue-radius-outer);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.12);
}

.fcdash-issue-reporter__help-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px 16px;
  border-bottom: 1px solid var(--fcd-issue-border);
}

.fcdash-issue-reporter__help-title {
  margin: 0;
  font-size: 22px;
  line-height: 1.2;
}

.fcdash-issue-reporter__help-body {
  padding: 18px 22px 22px;
}

.fcdash-issue-reporter__help-body p {
  margin: 0 0 14px;
  line-height: 1.55;
}

.fcdash-issue-reporter__help-list {
  margin: 0 0 16px 20px;
  padding: 0;
  display: grid;
  gap: 10px;
  line-height: 1.5;
}

.fcdash-issue-reporter__panel {
  position: relative;
  width: min(1100px, 100%);
  height: min(88vh, 920px);
  max-height: min(88vh, 920px);
  background: var(--fcd-issue-surface);
  color: var(--fcd-issue-foreground);
  border: 1px solid var(--fcd-issue-border);
  border-radius: var(--fcd-issue-radius-outer);
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.12);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
}

.fcdash-issue-reporter__panel-loading {
  position: absolute;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(1px);
  z-index: 20;
}

.fcdash-issue-reporter__panel-loading.is-active {
  display: flex;
}

.fcdash-issue-reporter__panel-loading-card {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  max-width: min(420px, 100%);
  padding: 16px 18px;
  border: 1px solid var(--fcd-issue-border);
  border-radius: var(--fcd-issue-radius-outer);
  background: rgba(255, 255, 255, 0.98);
  color: var(--fcd-issue-foreground);
  box-shadow: 0 18px 46px rgba(15, 23, 42, 0.14);
}

.fcdash-issue-reporter__panel-loading-text {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
}

.fcdash-issue-reporter__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 24px;
  border-bottom: 1px solid var(--fcd-issue-border);
  background: var(--fcd-issue-surface);
}

.fcdash-issue-reporter__title-wrap {
  min-width: 0;
}

.fcdash-issue-reporter__title {
  margin: 0;
  font-size: 24px;
  line-height: 1.1;
}

.fcdash-issue-reporter__subtitle {
  margin-top: 6px;
  color: var(--fcd-issue-muted);
  font-size: 13px;
}

.fcdash-issue-reporter__header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.fcdash-issue-reporter__close,
.fcdash-issue-reporter__primary,
.fcdash-issue-reporter__secondary,
.fcdash-issue-reporter__tertiary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  cursor: pointer;
  font: inherit;
  text-align: center;
}

.fcdash-issue-reporter__close {
  width: 40px;
  height: 40px;
  border-radius: var(--fcd-issue-radius-control);
  background: var(--fcd-issue-surface-alt);
  border-color: var(--fcd-issue-border);
  color: var(--fcd-issue-foreground);
  font-size: 22px;
}

.fcdash-issue-reporter__primary,
.fcdash-issue-reporter__secondary {
  border-radius: var(--fcd-issue-radius-control);
  min-height: 34px;
  padding: 8px 14px;
  font-weight: 600;
}

.fcdash-issue-reporter__primary {
  background: var(--fcd-issue-primary);
  border-color: var(--fcd-issue-primary);
  color: #fff;
}

.fcdash-issue-reporter__secondary {
  background: var(--fcd-issue-surface);
  border-color: var(--fcd-issue-border);
  color: var(--fcd-issue-foreground);
}

.fcdash-issue-reporter__tertiary {
  min-height: 30px;
  padding: 6px 10px;
  border-radius: var(--fcd-issue-radius-control);
  background: transparent;
  border-color: var(--fcd-issue-border);
  color: var(--fcd-issue-muted);
  font-size: 12px;
  font-weight: 700;
}

.fcdash-issue-reporter :where(button, input, textarea, select):disabled {
  cursor: not-allowed;
  opacity: 0.62;
}

.fcdash-issue-reporter__content {
  min-height: 0;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
}

.fcdash-issue-reporter__footer {
  position: sticky;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  padding: 16px 24px 20px;
  border-top: 1px solid var(--fcd-issue-border);
  background: rgba(255, 255, 255, 0.995);
  z-index: 2;
  box-shadow: 0 -8px 20px rgba(15, 23, 42, 0.04);
}

.fcdash-issue-reporter__footer.is-hidden {
  display: none;
}

.fcdash-issue-reporter__list,
.fcdash-issue-reporter__detail {
  min-height: 0;
  overflow: auto;
  padding: 18px 22px 22px;
}

.fcdash-issue-reporter__detail.is-discussion-tab {
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.fcdash-issue-reporter__list {
  background: var(--fcd-issue-surface-alt);
  border-right: 1px solid var(--fcd-issue-border);
  padding: 14px 16px 18px;
}

.fcdash-issue-reporter__issue-card {
  width: 100%;
  text-align: left;
  display: grid;
  gap: 7px;
  padding: 11px 12px;
  border-radius: var(--fcd-issue-radius-surface);
  border: 1px solid var(--fcd-issue-border);
  background: var(--fcd-issue-surface);
  margin-bottom: 8px;
  cursor: pointer;
}

.fcdash-issue-reporter__issue-card.is-active {
  border-color: rgba(2, 149, 212, 0.4);
  box-shadow: 0 0 0 4px rgba(2, 149, 212, 0.08);
}

.fcdash-issue-reporter__issue-card.is-complete {
  opacity: 0.8;
}

.fcdash-issue-reporter__issue-title {
  font-weight: 700;
  line-height: 1.25;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fcdash-issue-reporter__issue-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
  color: var(--fcd-issue-muted);
  font-size: 12px;
}

.fcdash-issue-reporter__issue-reporter,
.fcdash-issue-reporter__issue-date,
.fcdash-issue-reporter__anchor-selector {
  color: var(--fcd-issue-muted);
  font-size: 12px;
  word-break: break-word;
}

.fcdash-issue-reporter__issue-reporter {
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fcdash-issue-reporter__issue-date {
  line-height: 1.25;
}

.fcdash-issue-reporter__person {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  color: var(--fcd-issue-muted);
}

.fcdash-issue-reporter__avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: var(--fcd-issue-primary-soft);
  border: 1px solid rgba(2, 149, 212, 0.22);
  color: var(--fcd-issue-primary);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.fcdash-issue-reporter__person-name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fcdash-issue-reporter__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: max-content;
  min-height: 22px;
  padding: 0 9px;
  border: 1px solid transparent;
  border-radius: var(--fcd-issue-radius-inner);
  font-size: 11px;
  font-weight: 700;
  text-transform: capitalize;
}

.fcdash-issue-reporter__badge.is-todo {
  background: var(--fcd-issue-pending-soft);
  color: var(--fcd-issue-pending);
  border-color: var(--fcd-issue-border-strong);
}

.fcdash-issue-reporter__badge.is-in-progress {
  background: var(--fcd-issue-primary-soft);
  color: var(--fcd-issue-primary);
  border-color: var(--fcd-issue-primary);
}

.fcdash-issue-reporter__badge.is-review {
  background: var(--fcd-issue-warning-soft);
  color: #191c20;
  border-color: var(--fcd-issue-warning);
}

.fcdash-issue-reporter__badge.is-complete {
  background: var(--fcd-issue-success-soft);
  color: var(--fcd-issue-success);
  border-color: var(--fcd-issue-success);
}

.fcdash-issue-reporter__status-select {
  min-width: 148px;
  min-height: 34px;
  padding: 6px 28px 6px 12px;
  border-radius: var(--fcd-issue-radius-control);
  border: 1px solid var(--fcd-issue-border);
  background-color: var(--fcd-issue-surface);
  color: var(--fcd-issue-foreground);
  font: inherit;
  font-weight: 700;
  text-align: center;
  text-align-last: center;
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, currentColor 50%),
    linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position:
    calc(100% - 14px) calc(50% - 1px),
    calc(100% - 9px) calc(50% - 1px);
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}

.fcdash-issue-reporter__status-select:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(2, 149, 212, 0.12);
}

.fcdash-issue-reporter__status-select.is-todo {
  background-color: var(--fcd-issue-pending-soft);
  color: var(--fcd-issue-pending);
  border-color: var(--fcd-issue-border-strong);
}

.fcdash-issue-reporter__status-select.is-in-progress {
  background-color: var(--fcd-issue-primary-soft);
  color: var(--fcd-issue-primary);
  border-color: var(--fcd-issue-primary);
}

.fcdash-issue-reporter__status-select.is-review {
  background-color: var(--fcd-issue-warning-soft);
  color: #191c20;
  border-color: var(--fcd-issue-warning);
}

.fcdash-issue-reporter__status-select.is-complete {
  background-color: var(--fcd-issue-success-soft);
  color: var(--fcd-issue-success);
  border-color: var(--fcd-issue-success);
}

.fcdash-issue-reporter__tabs {
  display: inline-flex;
  align-self: flex-start;
  width: fit-content;
  max-width: 100%;
  gap: 6px;
  margin: 14px 0 18px;
  padding: 4px;
  border: 1px solid var(--fcd-issue-border);
  border-radius: var(--fcd-issue-radius-control);
  background: var(--fcd-issue-surface-alt);
}

.fcdash-issue-reporter__tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 32px;
  padding: 7px 14px;
  border: 1px solid transparent;
  border-radius: var(--fcd-issue-radius-control);
  background: transparent;
  color: var(--fcd-issue-muted);
  cursor: pointer;
  font-weight: 700;
}

.fcdash-issue-reporter__tab-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--fcd-issue-primary-soft);
  color: var(--fcd-issue-primary);
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
}

.fcdash-issue-reporter__tab.is-active {
  background: var(--fcd-issue-surface);
  border-color: var(--fcd-issue-border);
  color: var(--fcd-issue-foreground);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
}

.fcdash-issue-reporter__tab.is-active .fcdash-issue-reporter__tab-badge {
  background: var(--fcd-issue-primary);
  color: #ffffff;
}

.fcdash-issue-reporter__empty,
.fcdash-issue-reporter__anchor-card,
.fcdash-issue-reporter__thread-item,
.fcdash-issue-reporter__thread-summary,
.fcdash-issue-reporter__screenshot-wrap {
  border-radius: var(--fcd-issue-radius-surface);
  background: var(--fcd-issue-surface);
  border: 1px solid var(--fcd-issue-border);
  padding: 16px;
}

.fcdash-issue-reporter__empty {
  display: grid;
  gap: 12px;
}

.fcdash-issue-reporter__empty.is-compact {
  padding: 12px 14px;
  color: var(--fcd-issue-muted);
}

.fcdash-issue-reporter__inline-loading {
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: var(--fcd-issue-radius-surface);
  background: var(--fcd-issue-surface);
  border: 1px solid var(--fcd-issue-border);
  color: var(--fcd-issue-foreground);
  padding: 16px;
  font-weight: 700;
}

.fcdash-issue-reporter__resources-section {
  display: grid;
  gap: 12px;
  padding: 16px;
  border-radius: var(--fcd-issue-radius-surface);
  border: 1px solid var(--fcd-issue-border);
  background: var(--fcd-issue-surface);
}

.fcdash-issue-reporter__resources-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.fcdash-issue-reporter__resources-section-title {
  margin: 0;
  font-size: 18px;
  line-height: 1.2;
}

.fcdash-issue-reporter__section-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 1px solid var(--fcd-issue-border);
  border-radius: 999px;
  background: var(--fcd-issue-surface-alt);
  color: var(--fcd-issue-foreground);
  font: inherit;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.fcdash-issue-reporter__section-toggle:hover,
.fcdash-issue-reporter__section-toggle:focus {
  border-color: var(--fcd-issue-primary);
  color: var(--fcd-issue-primary);
  background: var(--fcd-issue-primary-soft);
}

.fcdash-issue-reporter__resource-error {
  padding: 10px 12px;
  border-radius: var(--fcd-issue-radius-control);
  border: 1px solid rgba(201, 55, 81, 0.22);
  background: var(--fcd-issue-danger-soft);
  color: var(--fcd-issue-danger);
  font-weight: 700;
}

.fcdash-issue-reporter__resource-form,
.fcdash-issue-reporter__resource-list,
.fcdash-issue-reporter__media-list,
.fcdash-issue-reporter__outline-list {
  display: grid;
  gap: 10px;
}

.fcdash-issue-reporter__resource-card,
.fcdash-issue-reporter__media-card,
.fcdash-issue-reporter__outline-card {
  display: grid;
  gap: 12px;
  padding: 12px;
  border-radius: var(--fcd-issue-radius-surface);
  border: 1px solid var(--fcd-issue-border);
  background: var(--fcd-issue-surface-alt);
}

.fcdash-issue-reporter__resource-card {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
}

.fcdash-issue-reporter__outline-card-header,
.fcdash-issue-reporter__outline-card-actions {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 8px;
}

.fcdash-issue-reporter__outline-card-header {
  justify-content: space-between;
}

.fcdash-issue-reporter__outline-card-title-wrap {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.fcdash-issue-reporter__outline-card-title {
  font-weight: 700;
  line-height: 1.35;
}

.fcdash-issue-reporter__outline-card-meta {
  color: var(--fcd-issue-muted);
  font-size: 12px;
  line-height: 1.4;
}

.fcdash-issue-reporter__outline-card-snippet {
  color: var(--fcd-issue-muted);
  font-size: 13px;
  line-height: 1.5;
  white-space: pre-wrap;
  word-break: break-word;
}

.fcdash-issue-reporter__outline-editor {
  display: grid;
  gap: 10px;
}

.fcdash-issue-reporter__resource-card-body,
.fcdash-issue-reporter__media-meta {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.fcdash-issue-reporter__resource-link {
  color: var(--fcd-issue-primary);
  font-weight: 700;
  text-decoration: none;
  word-break: break-word;
}

.fcdash-issue-reporter__resource-link:hover,
.fcdash-issue-reporter__resource-link:focus {
  text-decoration: underline;
}

.fcdash-issue-reporter__resource-url {
  color: var(--fcd-issue-muted);
  font-size: 12px;
  line-height: 1.4;
  word-break: break-word;
}

.fcdash-issue-reporter__issue-overview-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.fcdash-issue-reporter__issue-overview-card {
  display: grid;
  gap: 4px;
  padding: 12px;
  border-radius: var(--fcd-issue-radius-surface);
  border: 1px solid var(--fcd-issue-border);
  background: var(--fcd-issue-surface-alt);
}

.fcdash-issue-reporter__issue-overview-card.is-todo {
  border-color: var(--fcd-issue-border-strong);
}

.fcdash-issue-reporter__issue-overview-card.is-in-progress {
  border-color: rgba(2, 149, 212, 0.3);
  background: rgba(2, 149, 212, 0.07);
}

.fcdash-issue-reporter__issue-overview-card.is-review {
  border-color: rgba(245, 197, 2, 0.34);
  background: rgba(245, 197, 2, 0.1);
}

.fcdash-issue-reporter__issue-overview-card.is-complete {
  border-color: rgba(0, 174, 55, 0.26);
  background: rgba(0, 174, 55, 0.08);
}

.fcdash-issue-reporter__issue-overview-count {
  font-size: 24px;
  font-weight: 800;
  line-height: 1;
}

.fcdash-issue-reporter__issue-overview-label {
  color: var(--fcd-issue-muted);
  font-size: 12px;
  font-weight: 700;
}

.fcdash-issue-reporter__media-card {
  grid-template-columns: 84px minmax(0, 1fr) auto;
  align-items: start;
}

.fcdash-issue-reporter__media-thumb {
  width: 84px;
  height: 84px;
  object-fit: cover;
  border-radius: var(--fcd-issue-radius-control);
  border: 1px solid var(--fcd-issue-border);
  background: var(--fcd-issue-surface);
}

.fcdash-issue-reporter__media-actions {
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
}

.fcdash-issue-reporter__overview-card {
  display: grid;
  gap: 14px;
  border-radius: var(--fcd-issue-radius-surface);
  background: var(--fcd-issue-surface);
  border: 1px solid var(--fcd-issue-border);
  padding: 18px 20px;
}

.fcdash-issue-reporter__overview-description {
  color: var(--fcd-issue-foreground);
  font-size: 15px;
  line-height: 1.55;
  white-space: pre-wrap;
  word-break: break-word;
}

.fcdash-issue-reporter__overview-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
  color: var(--fcd-issue-muted);
  font-size: 12px;
}

.fcdash-issue-reporter__overview-date {
  color: var(--fcd-issue-muted);
  font-size: 12px;
  line-height: 1.3;
}

.fcdash-issue-reporter__overview-element {
  display: grid;
  gap: 6px;
  padding-top: 12px;
  border-top: 1px solid var(--fcd-issue-border);
}

.fcdash-issue-reporter__info-value {
  color: var(--fcd-issue-foreground);
  font-size: 14px;
  line-height: 1.5;
  white-space: pre-wrap;
  word-break: break-word;
}

.fcdash-issue-reporter__section-heading {
  font-size: 18px;
  font-weight: 700;
}

.fcdash-issue-reporter__helper,
.fcdash-issue-reporter__anchor-title,
.fcdash-issue-reporter__anchor-value,
.fcdash-issue-reporter__thread-body {
  color: var(--fcd-issue-foreground);
  line-height: 1.5;
}

.fcdash-issue-reporter__helper {
  margin: 12px 0 16px;
}

.fcdash-issue-reporter__anchor-title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}

.fcdash-issue-reporter__anchor-value {
  font-weight: 600;
}

.fcdash-issue-reporter__field {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
}

.fcdash-issue-reporter__label {
  font-size: 12px;
  font-weight: 700;
  color: var(--fcd-issue-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.fcdash-issue-reporter__input,
.fcdash-issue-reporter__textarea {
  width: 100%;
  border-radius: var(--fcd-issue-radius-control);
  border: 1px solid var(--fcd-issue-border);
  background: rgba(255, 255, 255, 0.98);
  color: var(--fcd-issue-foreground);
  padding: 10px 12px;
  font: inherit;
}

.fcdash-issue-reporter__input:focus,
.fcdash-issue-reporter__textarea:focus {
  outline: none;
  border-color: var(--fcd-issue-primary);
  box-shadow: 0 0 0 3px rgba(2, 149, 212, 0.12);
}

.fcdash-issue-reporter__textarea {
  min-height: 110px;
  resize: vertical;
}

.fcdash-issue-reporter__textarea--compact {
  min-height: 78px;
}

.fcdash-issue-reporter__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.fcdash-issue-reporter__preview {
  margin-top: 10px;
  display: block;
  width: 100%;
  max-height: 240px;
  object-fit: contain;
  border-radius: var(--fcd-issue-radius-surface);
  border: 1px solid var(--fcd-issue-border);
  background: var(--fcd-issue-surface-alt);
}

.fcdash-issue-reporter__detail-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.fcdash-issue-reporter__detail-title {
  margin: 0;
  font-size: 22px;
}

.fcdash-issue-reporter__thread {
  display: grid;
  gap: 12px;
}

.fcdash-issue-reporter__discussion {
  min-height: 0;
  flex: 1;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 14px;
}

.fcdash-issue-reporter__thread-shell {
  min-height: 180px;
  max-height: none;
  overflow-y: auto;
  padding-right: 6px;
}

.fcdash-issue-reporter__discussion-composer {
  display: grid;
  gap: 10px;
  padding-top: 12px;
  border-top: 1px solid var(--fcd-issue-border);
  background: var(--fcd-issue-surface);
}

.fcdash-issue-reporter__discussion-composer .fcdash-issue-reporter__field {
  margin-bottom: 0;
}

.fcdash-issue-reporter__discussion-identity {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.fcdash-issue-reporter__discussion-composer .fcdash-issue-reporter__textarea {
  min-height: 88px;
}

.fcdash-issue-reporter__discussion-composer .fcdash-issue-reporter__primary {
  justify-self: end;
}

.fcdash-issue-reporter__thread-summary {
  display: grid;
  gap: 8px;
  margin: 18px 0 10px;
  background: linear-gradient(180deg, rgba(2, 149, 212, 0.06), rgba(2, 149, 212, 0.02));
}

.fcdash-issue-reporter__thread-empty {
  border-radius: var(--fcd-issue-radius-surface);
  border: 1px dashed var(--fcd-issue-border);
  padding: 18px;
  color: var(--fcd-issue-muted);
  background: var(--fcd-issue-surface-alt);
}

.fcdash-issue-reporter__thread-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  color: var(--fcd-issue-muted);
  font-size: 12px;
}

@media (max-width: 900px) {
  .fcdash-issue-reporter__overlay {
    padding: 12px;
  }

  .fcdash-issue-reporter__resources-overlay {
    padding: 12px;
  }

  .fcdash-issue-reporter__panel {
    height: 92vh;
    max-height: 92vh;
  }

  .fcdash-issue-reporter__resources-panel {
    width: min(460px, 100%);
    height: 92vh;
  }

  .fcdash-issue-reporter__content {
    grid-template-columns: 1fr;
  }

  .fcdash-issue-reporter__list {
    border-right: 0;
    border-bottom: 1px solid var(--fcd-issue-border);
    max-height: 220px;
  }
}

@media (max-width: 640px) {
  .fcdash-issue-reporter__header {
    padding: 18px 16px;
  }

  .fcdash-issue-reporter__resources-panel {
    width: 100%;
    height: 100%;
    border-radius: 16px;
  }

  .fcdash-issue-reporter__resources-header,
  .fcdash-issue-reporter__resources-body {
    padding-left: 16px;
    padding-right: 16px;
  }

  .fcdash-issue-reporter__footer {
    padding: 14px 16px 16px;
    flex-direction: column-reverse;
    align-items: stretch;
  }

  .fcdash-issue-reporter__list,
  .fcdash-issue-reporter__detail {
    padding: 16px;
  }

  .fcdash-issue-reporter__header-actions {
    gap: 8px;
  }

  .fcdash-issue-reporter__primary,
  .fcdash-issue-reporter__secondary {
    width: 100%;
    justify-content: center;
  }

  .fcdash-issue-reporter__actions {
    display: grid;
  }

  .fcdash-issue-reporter__issue-overview-grid {
    grid-template-columns: 1fr;
  }

  .fcdash-issue-reporter__media-card,
  .fcdash-issue-reporter__resource-card {
    grid-template-columns: 1fr;
  }

  .fcdash-issue-reporter__discussion-identity {
    grid-template-columns: 1fr;
  }

  .fcdash-issue-reporter__discussion-composer .fcdash-issue-reporter__primary {
    justify-self: stretch;
  }
}
