body.panel-page {
  min-height: 100vh;
  margin: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% -10%, rgba(255, 29, 241, 0.2), transparent 28%),
    radial-gradient(circle at 50% 18%, rgba(184, 37, 240, 0.18), transparent 22%),
    radial-gradient(circle at 50% 100%, rgba(87, 45, 246, 0.14), transparent 30%),
    #000;
  color: #fff;
  font-family: Montserrat, Arial, sans-serif;
}

.panel-shell {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
}

.panel-bg-aura {
  position: absolute;
  border-radius: 999px;
  filter: blur(24px);
  pointer-events: none;
  opacity: .7;
}

.panel-bg-aura.top {
  top: 70px;
  left: 50%;
  transform: translateX(-50%);
  width: 440px;
  height: 220px;
  background: rgba(184, 37, 240, 0.22);
}

.panel-bg-aura.bottom {
  left: 50%;
  bottom: -60px;
  transform: translateX(-50%);
  width: 620px;
  height: 220px;
  background: rgba(135, 42, 240, 0.16);
}

.panel-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(18px);
  background: rgba(0, 0, 0, 0.72);
  border-bottom: 1px solid rgba(255, 29, 241, 0.18);
}

.panel-header-inner {
  width: 100%;
  margin: 0 auto;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.panel-brand {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.panel-tabs {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.panel-tab {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.24);
  padding: 9px 14px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  transition: .25s ease;
}

.panel-tab-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.panel-tab-label {
  line-height: 1;
}

.panel-tab:hover,
.panel-tab.active {
  color: #fff;
  background: linear-gradient(135deg, rgba(255, 29, 241, 0.18), rgba(184, 37, 240, 0.22) 45%, rgba(87, 45, 246, 0.24));
  border-color: rgba(184, 37, 240, 0.4);
  box-shadow: 0 12px 28px rgba(184, 37, 240, 0.14);
}

.panel-profile {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-select {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  border-radius: 999px;
  padding: 10px 12px;
  font-weight: 800;
  font-size: 13px;
  max-width: 240px;
}

.header-select option {
  background: #0b0b12;
  color: #fff;
}

.project-switch {
  position: relative;
}

.project-switch-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.project-switch-avatar {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.35);
  overflow: hidden;
  flex: 0 0 22px;
}

.project-switch-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.project-switch-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: min(320px, 82vw);
  background: rgba(14, 14, 14, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 16px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
  padding: 10px;
  display: none;
  z-index: 80;
}

.project-switch-menu.open {
  display: block;
}

.project-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 10px;
  border-radius: 12px;
  color: rgba(255,255,255,.86);
  cursor: pointer;
  user-select: none;
}

.project-item:hover {
  background: rgba(255,255,255,.06);
}

.project-item.active {
  border: 1px solid rgba(255, 29, 241, 0.42);
  background: rgba(255, 29, 241, 0.08);
}

.project-item-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.project-avatar {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.35);
  overflow: hidden;
  flex: 0 0 26px;
}

.project-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.project-name {
  font-weight: 900;
  font-size: 13px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 220px;
}

.project-gear {
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.28);
  color: #fff;
  border-radius: 12px;
  padding: 8px 10px;
  cursor: pointer;
  font-weight: 900;
}

.project-gear:hover {
  border-color: rgba(255,255,255,.6);
}

/* Shared modal styles (used across user pages) */
.hidden {
  display: none !important;
}

.modal-shade {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 100;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.76);
  backdrop-filter: blur(6px);
}

.modal-shade.open {
  display: flex;
}

.modal-box {
  background: #12121c;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  max-width: min(96vw, 900px);
  max-height: min(86vh, 700px);
  width: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.52);
}

.modal-head {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-weight: 800;
  font-size: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.modal-body {
  padding: 14px 16px;
  overflow-y: auto;
  min-height: 0;
}

.small-inp {
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-size: 14px;
  min-width: 200px;
}

.secondary {
  cursor: pointer;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.24);
  padding: 10px 16px;
  background: transparent;
  color: #fff;
  font-weight: 700;
  font-size: 13px;
}

.toast {
  margin-top: 10px;
  font-size: 12px;
  opacity: .92;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.35);
}

.token-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px 6px 6px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(0, 0, 0, 0.28);
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
  font-weight: 800;
  font-size: 13px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
}

.token-badge:hover {
  border-color: rgba(184, 37, 240, 0.45);
  background: linear-gradient(135deg, rgba(255, 29, 241, 0.14), rgba(87, 45, 246, 0.18));
  color: #fff;
}

.token-badge-cta {
  height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(184, 37, 240, 0.34);
  background: linear-gradient(135deg, #ff1df1, #b825f0 42%, #572df6);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 12px;
  letter-spacing: 0.02em;
  box-shadow: 0 10px 24px rgba(95, 16, 123, 0.22);
}

.token-badge-value {
  letter-spacing: 0.01em;
}

.profile-trigger {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(184, 37, 240, 0.34);
  background: linear-gradient(135deg, rgba(255, 29, 241, 0.2), rgba(184, 37, 240, 0.26) 48%, rgba(87, 45, 246, 0.22));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(95, 16, 123, 0.28);
  background-size: cover;
  background-position: center;
}

.profile-trigger.has-project-avatar {
  background-color: rgba(0, 0, 0, 0.25);
}

.profile-menu {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  width: 290px;
  background: rgba(14, 14, 14, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 22px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
  padding: 14px;
  display: none;
}

.profile-menu.open {
  display: block;
}

.profile-group + .profile-group {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.profile-item,
.profile-plan-row,
.profile-credit-row,
.profile-signout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 8px;
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  border-radius: 12px;
  font-size: 14px;
}

.profile-item:hover,
.profile-signout:hover {
  background: rgba(255, 255, 255, 0.05);
}

.plan-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 82px;
  height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff1df1, #b825f0 42%, #572df6);
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
}

.credit-value {
  color: #ff7df7;
  font-weight: 700;
}

.panel-main {
  position: relative;
  z-index: 2;
  width: 100%;
  margin: 0 auto;
  padding: 10px;
  min-height: calc(100vh - 64px);
}

.panel-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 455px;
  gap: 10px;
  align-items: stretch;
  height: calc(100vh - 84px);
  min-height: 0;
}

.workspace-card,
.sidebar-card {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at top left, rgba(255, 29, 241, 0.12), transparent 32%),
    radial-gradient(circle at bottom right, rgba(87, 45, 246, 0.12), transparent 34%),
    linear-gradient(135deg, rgba(184, 37, 240, 0.08), rgba(0, 0, 0, 0) 38%, rgba(87, 45, 246, 0.08) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.015)),
    rgba(14, 14, 14, 0.82);
  border-radius: 26px;
  backdrop-filter: blur(16px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.34);
  height: 100%;
}

.workspace-card {
  min-height: 0;
  height: 100%;
  padding: 23px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
}

.sidebar-card {
  display: flex;
  flex-direction: column;
  padding: 20px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 29, 241, 0.42) rgba(255, 255, 255, 0.05);
  background:
    radial-gradient(circle at top center, rgba(255, 29, 241, 0.14), transparent 30%),
    radial-gradient(circle at bottom left, rgba(184, 37, 240, 0.1), transparent 34%),
    linear-gradient(160deg, rgba(255, 29, 241, 0.06), rgba(0, 0, 0, 0) 42%, rgba(87, 45, 246, 0.1) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.015)),
    rgba(14, 14, 14, 0.84);
}

.sidebar-card::-webkit-scrollbar {
  width: 8px;
}

.sidebar-card::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 999px;
}

.sidebar-card::-webkit-scrollbar-thumb {
  background: rgba(255, 29, 241, 0.42);
  border-radius: 999px;
}

.workspace-card {
  background:
    radial-gradient(circle at top center, rgba(184, 37, 240, 0.1), transparent 28%),
    radial-gradient(circle at bottom center, rgba(87, 45, 246, 0.1), transparent 36%),
    linear-gradient(180deg, rgba(255, 29, 241, 0.04), rgba(0, 0, 0, 0) 24%, rgba(87, 45, 246, 0.06) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.015)),
    rgba(14, 14, 14, 0.82);
}

.panel-section-title {
  margin: 0 0 8px !important;
  font-family: Montserrat, Arial, sans-serif !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  line-height: 1.35;
  letter-spacing: 0 !important;
  text-transform: none !important;
  color: #ffffff !important;
  text-shadow: none !important;
  -webkit-text-stroke: 0 !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

.panel-section-subtitle {
  margin: 0 0 18px;
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.72);
}

.placeholder-title {
  margin: 0 0 14px;
  font-family: Audiowide, sans-serif;
  font-size: 40px;
  line-height: 1.15;
}

.placeholder-text {
  max-width: 700px;
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.8;
}

.coming-soon {
  margin-top: 28px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag-chip {
  min-height: 34px;
  padding: 0 10px;
  border-radius: 11px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: transparent;
  color: rgba(255, 255, 255, 0.82);
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  transition: .2s ease;
  cursor: pointer;
}

.tag-chip:hover,
.tag-chip.active {
  background: linear-gradient(135deg, rgba(255, 29, 241, 0.2), rgba(184, 37, 240, 0.24), rgba(87, 45, 246, 0.24));
  border-color: rgba(184, 37, 240, 0.36);
  color: #fff;
}

.tag-chip:disabled {
  opacity: 0.48;
  cursor: not-allowed;
  filter: grayscale(1);
}

.tag-chip:disabled:hover {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.82);
}

.sidebar-group + .sidebar-group {
  margin-top: 20px;
}

.generate-button {
  margin-top: auto;
}

.upload-box {
  border: 1px dashed rgba(184, 37, 240, 0.28);
  border-radius: 20px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.02);
  transition: .2s ease;
  cursor: pointer;
}

.generate-button .generate-sub {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  font-weight: 700;
  opacity: .86;
}

.token-warning {
  margin-top: 8px;
  margin-bottom: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 51, 102, 0.12);
  color: rgba(255, 255, 255, 0.92);
  font-size: 12px;
  font-weight: 800;
}

.upload-box.dragover {
  border-color: rgba(255, 29, 241, 0.48);
  background: rgba(184, 37, 240, 0.08);
}

.upload-box strong {
  display: block;
  margin-bottom: 6px;
}

.upload-box p {
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
  line-height: 1.6;
}

.upload-preview-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.upload-thumb {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.upload-thumb img,
.upload-thumb video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: rgba(0, 0, 0, 0.45);
  display: block;
}

.upload-thumb-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  opacity: 0;
  transition: .2s ease;
  cursor: pointer;
}

.upload-thumb:hover .upload-thumb-overlay {
  opacity: 1;
}

.prompt-wrap {
  position: relative;
}

.prompt-input {
  width: 100%;
  min-height: 100px;
  padding: 14px 48px 14px 14px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  resize: vertical;
  outline: none;
}

.prompt-input::placeholder {
  color: rgba(255, 255, 255, 0.36);
}

.prompt-input:focus {
  border-color: rgba(184, 37, 240, 0.9);
  box-shadow: 0 0 0 4px rgba(184, 37, 240, 0.12);
}

.mic-button {
  position: absolute;
  right: 12px;
  bottom: 12px;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 0;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  cursor: pointer;
}

.mic-button.listening {
  background: linear-gradient(135deg, #ff1df1, #b825f0 44%, #572df6);
}

.inline-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.text-action {
  color: #ff8ef9;
  font-size: 13px;
  cursor: pointer;
}

.option-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.option-tile {
  min-height: 34px;
  padding: 0 10px;
  border-radius: 11px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: transparent;
  color: rgba(255, 255, 255, 0.82);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  transition: .2s ease;
  cursor: pointer;
}

.option-tile.active {
  color: #fff;
  background: linear-gradient(135deg, rgba(255, 29, 241, 0.2), rgba(184, 37, 240, 0.24), rgba(87, 45, 246, 0.24));
  border-color: rgba(184, 37, 240, 0.38);
}

.checkbox-option {
  margin-top: 12px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.checkbox-option input {
  width: 15px;
  height: 15px;
  accent-color: #ff1df1;
  cursor: pointer;
}

.generate-button {
  width: 100%;
  min-height: 56px;
  border: 0;
  border-radius: 999px;
  margin-top: auto;
  background: linear-gradient(120deg, #b825f0, #ff1df1 30%, #872af0 62%, #572df6);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  box-shadow: 0 18px 44px rgba(131, 31, 150, 0.34);
  cursor: pointer;
}

.generate-button:disabled {
  cursor: not-allowed;
  opacity: .58;
  filter: grayscale(.25);
  box-shadow: none;
}

.workspace-empty {
  min-height: calc(100vh - 214px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.workspace-empty-inner {
  text-align: center;
  max-width: 560px;
}

.workspace-empty-inner h1 {
  margin: 0 0 14px;
  font-family: Audiowide, sans-serif;
  font-size: 42px;
}

.workspace-empty-inner p {
  margin: 0;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.7);
}

.workspace-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  flex: 0 0 auto;
  position: relative;
  z-index: 2;
}

.workspace-title-row {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.grid-tracker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.24);
  color: rgba(255, 255, 255, 0.82);
  font-size: 12px;
  font-weight: 800;
}

.grid-tracker-label {
  color: rgba(255, 255, 255, 0.7);
}

.grid-tracker-range {
  width: 140px;
}

.grid-tracker-value {
  min-width: 18px;
  text-align: right;
  color: #ff8ef9;
}

.workspace-top h1 {
  margin: 0;
  font-family: Audiowide, sans-serif;
  font-size: 24px;
  line-height: 1.2;
}

.ai-thinking-bg {
  position: absolute;
  inset: 58px 16px 16px;
  z-index: 1;
  overflow: hidden;
  border-radius: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
}

.ai-thinking-bg.active {
  opacity: 1;
}

.ai-thinking-bg::before {
  content: "";
  position: absolute;
  inset: -35%;
  background:
    conic-gradient(from 0deg, rgba(255, 29, 241, 0), rgba(255, 29, 241, 0.28), rgba(87, 45, 246, 0.22), rgba(0, 255, 170, 0.18), rgba(255, 29, 241, 0));
  filter: blur(32px);
  animation: aiThinkSpin 7s linear infinite;
}

.ai-thinking-bg span {
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 999px;
  background: rgba(255, 29, 241, 0.22);
  filter: blur(28px);
  animation: aiThinkFloat 4.8s ease-in-out infinite alternate;
}

.ai-thinking-bg span:nth-child(1) {
  top: 8%;
  left: 12%;
}

.ai-thinking-bg span:nth-child(2) {
  right: 10%;
  top: 22%;
  background: rgba(87, 45, 246, 0.22);
  animation-delay: -1.4s;
}

.ai-thinking-bg span:nth-child(3) {
  left: 42%;
  bottom: 8%;
  background: rgba(0, 255, 170, 0.14);
  animation-delay: -2.4s;
}

@keyframes aiThinkSpin {
  to { transform: rotate(360deg); }
}

@keyframes aiThinkFloat {
  from { transform: translate3d(-18px, -12px, 0) scale(.9); }
  to { transform: translate3d(22px, 18px, 0) scale(1.12); }
}

.results-empty {
  flex: 1;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.results-empty p {
  margin: 0;
  max-width: 680px;
  text-align: center;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.7);
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(var(--results-cols, 4), minmax(0, 1fr));
  grid-auto-rows: auto;
  gap: 10px;
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  align-content: start;
  padding-right: 4px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 29, 241, 0.42) rgba(255, 255, 255, 0.05);
  position: relative;
  z-index: 2;
}

.results-grid::-webkit-scrollbar {
  width: 8px;
}

.results-grid::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 999px;
}

.results-grid::-webkit-scrollbar-thumb {
  background: rgba(255, 29, 241, 0.42);
  border-radius: 999px;
}

.result-tile {
  width: 100%;
  height: 0;
  padding-bottom: 100%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.28);
  border-radius: 18px;
  overflow: hidden;
  position: relative;
  display: block;
  box-sizing: border-box;
  aspect-ratio: auto;
  min-height: 0;
  cursor: zoom-in;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  will-change: transform;
}

.result-tile:hover {
  transform: translate3d(2px, -2px, 0);
  border-color: rgba(255, 255, 255, 0.78);
  box-shadow:
    0 26px 70px rgba(0, 0, 0, 0.72),
    0 0 0 2px rgba(255, 255, 255, 0.22),
    0 24px 90px rgba(184, 37, 240, 0.28);
}

.result-tile-pending,
.result-tile-pending:hover {
  cursor: progress;
  transform: none;
  border-color: rgba(255, 255, 255, 0.16);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(0, 0, 0, 0.32)),
    rgba(0, 0, 0, 0.28);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.result-media {
  position: absolute;
  inset: 0;
}

.result-tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  background: rgba(0, 0, 0, 0.45);
}

.result-pending-spinner {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 38px;
  height: 38px;
  margin: -19px 0 0 -19px;
  border-radius: 999px;
  border: 4px solid rgba(255, 255, 255, 0.14);
  border-top-color: #ff1df1;
  border-right-color: #00e5ff;
  animation: spin .78s linear infinite;
  box-shadow: 0 0 24px rgba(255, 29, 241, 0.28);
}

.result-tile::after {
  content: none;
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(circle at 50% 0%, rgba(255, 29, 241, 0.08), transparent 45%);
  pointer-events: none;
}

.result-model-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 2;
  max-width: calc(100% - 16px);
  padding: 4px 8px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.62);
  color: rgba(255, 255, 255, 0.92);
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  backdrop-filter: blur(8px);
}

.gallery-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 18px 12px;
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  font-weight: 600;
}

.result-id-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 2;
  padding: 4px 8px;
  border: 1px solid rgba(255, 29, 241, 0.45);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.62);
  color: rgba(255, 255, 255, 0.92);
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.3px;
  white-space: nowrap;
  cursor: text;
  user-select: all;
  -webkit-user-select: all;
  backdrop-filter: blur(8px);
}

.result-actions {
  position: absolute;
  left: 8px;
  bottom: 8px;
  z-index: 3;
  display: inline-flex;
  gap: 6px;
}

.result-action-btn {
  width: 28px;
  height: 28px;
  position: relative;
  border-radius: 999px;
  border: 1px solid #fff;
  background: rgba(18, 22, 34, 0.3);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  line-height: 1;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.result-action-btn svg {
  width: 14px;
  height: 14px;
  display: block;
}

.result-action-btn[data-tip]::after {
  content: attr(data-tip);
  position: absolute;
  left: 50%;
  bottom: calc(100% + 8px);
  transform: translate(-50%, 4px);
  padding: 6px 9px;
  border-radius: 9px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: linear-gradient(135deg, rgba(255, 29, 241, 0.2), rgba(184, 37, 240, 0.25), rgba(87, 45, 246, 0.2)), rgba(8, 9, 17, 0.94);
  color: rgba(255, 255, 255, 0.95);
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  backdrop-filter: blur(10px);
  transition: opacity .08s ease, transform .08s ease;
  z-index: 6;
}

.result-action-btn[data-tip]::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: calc(100% + 3px);
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: rgba(160, 74, 241, 0.95);
  opacity: 0;
  transition: opacity .08s ease;
  pointer-events: none;
  z-index: 6;
}

.result-actions .result-action-btn:first-child[data-tip]::after {
  left: 0;
  transform: translate(0, 4px);
}

.result-actions .result-action-btn:first-child[data-tip]::before {
  left: 14px;
}

.result-action-btn[data-tip]:hover::after,
.result-action-btn[data-tip]:hover::before,
.result-action-btn[data-tip]:focus-visible::after,
.result-action-btn[data-tip]:focus-visible::before {
  opacity: 1;
  transform: translate(-50%, 0);
}

.result-actions .result-action-btn:first-child[data-tip]:hover::after,
.result-actions .result-action-btn:first-child[data-tip]:focus-visible::after {
  transform: translate(0, 0);
}

.result-action-btn:hover {
  border-color: #fff;
  background: rgba(28, 34, 50, 0.45);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.32);
}

.result-action-btn.is-rating.is-active {
  background: rgba(123, 255, 194, 0.28);
  border-color: rgba(123, 255, 194, 0.8);
  color: #dffff1;
}

.result-action-btn.is-rating.is-down.is-active {
  background: rgba(255, 92, 132, 0.28);
  border-color: rgba(255, 92, 132, 0.8);
  color: #ffe2e9;
}

.video-tile .result-action-btn.is-zoom svg {
  width: 13px;
  height: 13px;
}

.result-tile .result-action-btn.is-send svg {
  width: 13px;
  height: 13px;
}

.video-layout {
  grid-template-columns: minmax(0, 1fr) 455px;
}

.video-workspace {
  min-height: 0;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(var(--results-cols, 4), minmax(0, 1fr));
  gap: 10px;
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  align-content: start;
  padding-right: 4px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 29, 241, 0.42) rgba(255, 255, 255, 0.05);
}

.video-grid::-webkit-scrollbar {
  width: 8px;
}
.video-grid::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 999px;
}
.video-grid::-webkit-scrollbar-thumb {
  background: rgba(255, 29, 241, 0.42);
  border-radius: 999px;
}

.video-tile {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 100%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.3);
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  will-change: transform;
}

.video-tile:hover {
  transform: translate3d(2px, -2px, 0);
  border-color: rgba(255, 255, 255, 0.78);
  box-shadow:
    0 26px 70px rgba(0, 0, 0, 0.72),
    0 0 0 2px rgba(255, 255, 255, 0.22),
    0 24px 90px rgba(184, 37, 240, 0.28);
}

.video-tile-pending,
.video-tile-pending:hover {
  cursor: progress;
  transform: none;
  border-color: rgba(255, 255, 255, 0.16);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(0, 0, 0, 0.32)),
    rgba(0, 0, 0, 0.3);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.video-tile video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-models {
  display: grid;
  gap: 10px;
}

.video-model-card {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 10px;
  background: rgba(0, 0, 0, 0.2);
}

.video-model-card.selected {
  border-color: rgba(255, 29, 241, 0.62);
}

.video-model-card.disabled {
  opacity: 0.5;
}

.video-model-card.mode-disabled {
  opacity: 0.4;
  pointer-events: none;
  filter: grayscale(0.6);
}

.video-model-score {
  margin-right: auto;
  padding: 2px 7px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
  color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.08);
}

.video-model-score.is-positive {
  color: #6ee7a8;
  background: rgba(46, 204, 113, 0.16);
}

.video-model-score.is-negative {
  color: #ff8aa6;
  background: rgba(255, 80, 120, 0.16);
}

.result-action-btn.is-like.is-active {
  color: #6ee7a8;
  border-color: rgba(46, 204, 113, 0.6);
  background: rgba(46, 204, 113, 0.16);
}

.result-action-btn.is-dislike.is-active {
  color: #ff8aa6;
  border-color: rgba(255, 80, 120, 0.6);
  background: rgba(255, 80, 120, 0.16);
}

.video-model-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.video-model-name,
.video-model-gear {
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
}

.video-model-settings {
  display: none;
  margin-top: 8px;
}

.video-model-settings.open {
  display: grid;
  gap: 8px;
}

.video-model-settings label {
  display: grid;
  gap: 4px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.85);
}

.video-model-settings.is-disabled {
  opacity: .5;
}

.sidebar-group.is-disabled-group {
  opacity: .4;
}

.sidebar-group.is-disabled-group .panel-section-title {
  color: rgba(255, 255, 255, 0.58) !important;
}

.sidebar-group.is-disabled-group .generate-button,
.sidebar-group.is-disabled-group .video-model-settings {
  pointer-events: none;
}

.video-model-settings .checkbox-option {
  margin-top: 2px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.duration-range-field > span {
  display: inline-block;
}

.duration-range-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.video-duration-range {
  flex: 1;
}

.video-duration-value {
  min-width: 28px;
  text-align: right;
  color: #ff8ef9;
  font-weight: 800;
}

.video-model-settings input,
.video-model-settings select {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  border-radius: 8px;
  padding: 6px 8px;
}

/* Make native select dropdown menus readable in dark UI */
.video-model-settings select {
  color-scheme: dark;
}

.video-model-settings select option {
  background: #0b0b12;
  color: #fff;
}

.video-model-settings select optgroup {
  background: #0b0b12;
  color: rgba(255, 255, 255, 0.92);
}

.video-modal-panel video {
  width: min(86vw, 980px);
  max-height: calc(100vh - 140px);
  display: block;
  border-radius: 16px;
}

.frame-layout {
  display: grid;
  grid-template-columns: 455px minmax(0, 1fr) 455px;
  gap: 10px;
  height: calc(100vh - 84px);
  min-height: calc(100vh - 84px);
}

.frame-left,
.frame-right,
.frame-center {
  min-height: 0;
}

.frame-center {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.frame-right {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  overflow-y: hidden !important;
}

.frame-results-grid {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 29, 241, 0.42) rgba(255, 255, 255, 0.05);
}

.frame-results-grid::-webkit-scrollbar {
  width: 8px;
}

.frame-results-grid::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 999px;
}

.frame-results-grid::-webkit-scrollbar-thumb {
  background: rgba(255, 29, 241, 0.42);
  border-radius: 999px;
}

#fpFramesLoading {
  margin-bottom: 10px;
}

#fpPreviewCanvas {
  width: 100%;
  height: auto;
  max-height: calc(100vh - 180px);
  object-fit: contain;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.2);
  cursor: crosshair;
}

.frame-check {
  position: absolute;
  left: 8px;
  top: 8px;
  z-index: 4;
}

.frame-inactive .result-media {
  filter: brightness(.45);
}

.readonly-metric {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 2px 0 4px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 12px;
  font-weight: 700;
}

.readonly-metric strong {
  color: #ff8ef9;
  font-size: 13px;
}

.image-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 52px 24px 24px;
}

.image-modal.open {
  display: flex;
}

.image-modal-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(10px);
  cursor: zoom-out;
}

.image-modal-panel {
  position: relative;
  z-index: 1;
  width: fit-content;
  max-width: min(92vw, 980px);
  max-height: calc(100vh - 86px);
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 24px;
  background: rgba(10, 10, 10, 0.94);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.62);
}

.image-modal-panel img {
  display: block;
  max-width: min(calc(92vw - 24px), 956px);
  max-height: calc(100vh - 110px);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 16px;
}

.image-modal-close {
  position: fixed;
  top: 18px;
  left: 18px;
  z-index: 2;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background: linear-gradient(135deg, #ff1df1, #872af0);
  color: #fff;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.image-modal-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 12px;
  line-height: 1.5;
}

.image-modal-download {
  flex: 0 0 auto;
  padding: 8px 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff1df1, #872af0);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}

.result-error-label {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  text-align: center;
  background: rgba(0, 0, 0, 0.42);
}

.results-loading {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.26);
  color: rgba(255, 255, 255, 0.8);
  font-size: 13px;
}

.results-error {
  border: 1px solid rgba(255, 29, 241, 0.28);
  background: linear-gradient(135deg, rgba(255, 29, 241, 0.08), rgba(0, 0, 0, 0.22));
  color: rgba(255, 255, 255, 0.9);
  border-radius: 18px;
  padding: 12px 14px;
  margin-bottom: 12px;
  flex: 0 0 auto;
}

.results-error-title {
  font-weight: 800;
  margin-bottom: 6px;
}

.results-error pre {
  margin: 0;
  white-space: pre-wrap;
  word-break: break-word;
  font-size: 12px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.82);
}

.spinner {
  width: 14px;
  height: 14px;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-top-color: rgba(255, 29, 241, 0.9);
  animation: spin .9s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.mobile-tabs-toggle {
  display: none;
}

@media (max-width: 1200px) {
  .panel-layout {
    grid-template-columns: minmax(0, 1fr) 425px;
  }
}

@media (max-width: 991px) {
  body.panel-page {
    overflow: auto;
  }

  .panel-shell {
    overflow: visible;
  }

  /* Keep header on one line (avoid profile dropping). */
  .panel-header-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .panel-brand {
    width: auto;
    flex: 1;
    min-width: 0;
  }

  .panel-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
  }

  .panel-profile {
    width: auto;
    flex: 0 0 auto;
    display: flex;
    justify-content: flex-end;
  }

  .panel-layout {
    grid-template-columns: 1fr;
    height: auto;
    min-height: auto;
  }

  .sidebar-card {
    order: -1;
    overflow: visible;
  }

  .workspace-card,
  .sidebar-card {
    height: auto;
  }

  .workspace-card {
    min-height: 420px;
  }
}

/* Switch panel tabs to icon-only earlier (header has more controls now). */
@media (max-width: 1185px) {
  .panel-tabs {
    width: auto;
    flex-wrap: nowrap;
    overflow: visible;
    gap: 8px;
    padding-bottom: 0;
  }

  .panel-tab {
    width: 44px;
    height: 44px;
    min-width: 44px;
    padding: 0;
    border-radius: 14px;
  }

  .panel-tab-label {
    display: none;
  }

  .panel-tab-icon {
    width: 20px;
    height: 20px;
    flex-basis: 20px;
  }
}

@media (max-width: 990px) {
  .panel-main,
  .panel-header-inner {
    padding-left: 16px;
    padding-right: 16px;
  }

  .panel-header-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
  }

  .panel-brand {
    width: auto;
    flex: 1;
    justify-content: space-between;
    gap: 12px;
  }

  .panel-profile {
    width: auto;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .panel-tabs {
    width: auto;
    flex-wrap: nowrap;
    overflow: visible;
    gap: 8px;
    padding-bottom: 0;
  }

  .logo-project {
    width: 98px;
    height: auto;
  }

  .profile-menu {
    width: min(290px, calc(100vw - 32px));
  }

  .workspace-card,
  .sidebar-card {
    border-radius: 22px;
  }

  .workspace-card {
    padding: 20px;
  }

  .option-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .results-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.help-center-modal {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
}

.help-center-modal.open {
  display: flex;
}

.help-center-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(0, 0, 0, .72);
  backdrop-filter: blur(8px);
  cursor: pointer;
}

.help-center-panel {
  position: relative;
  z-index: 1;
  width: min(94vw, 560px);
  max-height: min(760px, calc(100vh - 36px));
  overflow-y: auto;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(18, 18, 28, .98), rgba(8, 9, 15, .98));
  box-shadow: 0 28px 90px rgba(0, 0, 0, .62);
  padding: 22px;
  color: #fff;
}

.help-center-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.help-center-head h2 {
  margin: 0;
  font-size: 24px;
  line-height: 1.2;
}

.help-center-close {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 10px;
  background: rgba(255, 255, 255, .06);
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.help-center-field {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
  color: rgba(255, 255, 255, .84);
  font-size: 13px;
  font-weight: 600;
}

.help-center-field input,
.help-center-field textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 12px;
  background: rgba(255, 255, 255, .08);
  color: #fff;
  padding: 12px 13px;
  font: inherit;
  outline: none;
}

.help-center-field textarea {
  resize: vertical;
  min-height: 150px;
}

.help-center-field input:focus,
.help-center-field textarea:focus {
  border-color: rgba(116, 67, 255, .8);
  box-shadow: 0 0 0 3px rgba(116, 67, 255, .18);
}

.help-center-file {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 12px;
  background: rgba(255, 255, 255, .08);
  padding: 10px 12px;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.help-center-file input {
  max-width: 230px;
  font-size: 12px;
}

.help-center-file-name {
  margin-top: 8px;
  color: rgba(255, 255, 255, .62);
  font-size: 12px;
}

.help-center-status {
  min-height: 20px;
  margin-top: 14px;
  font-size: 13px;
  line-height: 1.45;
}

.help-center-status.success {
  color: #86efac;
}

.help-center-status.error {
  color: #fca5a5;
}

.help-center-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 16px;
}

.help-center-secondary,
.help-center-submit {
  min-height: 42px;
  border-radius: 12px;
  padding: 0 16px;
  font-weight: 800;
  cursor: pointer;
}

.help-center-secondary {
  border: 1px solid rgba(255, 255, 255, .16);
  background: rgba(255, 255, 255, .06);
  color: #fff;
}

.help-center-submit {
  border: 0;
  background: linear-gradient(135deg, #7c3cff, #27d4ff);
  color: #fff;
}

.help-center-submit:disabled {
  opacity: .65;
  cursor: wait;
}
