/* ── Shared overlay ──────────────────────────────────────────────────────── */

.dd9h1Er0dNI- {
  position: fixed;
  inset: 0;
  background-color: var(--surface-overlay);
  backdrop-filter: blur(6px);
  z-index: 1500;
  animation: bRlH23Vs9rc- 0.15s ease;
}

@keyframes bRlH23Vs9rc- {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* ── Desktop (Radix Dialog) ──────────────────────────────────────────────── */

._32-EkLbjgNM- {
  position: fixed;
  top: 50%;
  left: 50%;
  min-width: 300px;
  max-width: 90vw;
  max-height: 90vh;
  background-color: var(--surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  z-index: 1501;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  /* transform is set inline for drag support */
  outline: none;
}

.wRb0El8sSGA- {
  width: 100%;
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

/* ── Mobile bottom sheet (vaul) ──────────────────────────────────────────── */

.D1rGR1nxBG0- {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  max-height: 90dvh;
  background-color: var(--surface-elevated);
  border-radius: 20px 20px 0 0;
  border: 1px solid var(--border-subtle);
  border-bottom: none;
  z-index: 1501;
  display: flex;
  flex-direction: column;
  outline: none;
  /* vaul adds its own transform for animation */
}

.PAvqglIK4U8- {
  background: var(--surface-1);
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
}

.pQWYkGrNGvU- {
  width: 40px !important;
  height: 4px !important;
  background-color: var(--text-secondary) !important;
  border-radius: 2px !important;
  opacity: 0.4;
  margin: 12px auto 8px;
  flex-shrink: 0;
}

.LX4UQa1yyLg- {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 4px 16px 12px;
  box-sizing: border-box;
  border-bottom: 1px solid var(--table-border);
}

.uv3gr0qlfJY- {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

/* ── Header (desktop) ────────────────────────────────────────────────────── */

._7yI7-AiL0Oc- {
  background: var(--surface-1);
  border-top-left-radius: inherit;
  border-top-right-radius: inherit;
  user-select: none;
  color: var(--dark-blue);
  padding: 14px 16px;
  font-size: var(--font-size-sm);
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  box-sizing: border-box;
  flex-shrink: 0;
}

.v1ROQfzrFCk- {
  cursor: grab;
  touch-action: none;
}

.v1ROQfzrFCk-:active {
  cursor: grabbing;
}

._0yaVy4uA0hs- {
  flex: 1;
  margin: 0;
  font-size: var(--font-size-lg);
  font-weight: 700;
  color: var(--font-color);
}

/* ── Close button ────────────────────────────────────────────────────────── */

._3LpSfpxd49I- {
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--spacing-sm);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dark-blue);
  transition: background-color 0.2s ease;
  flex-shrink: 0;
}

._3LpSfpxd49I-:hover {
  background-color: var(--surface-3);
}

._3LpSfpxd49I- svg {
  width: 16px;
  height: 16px;
}

/* ── Content area ────────────────────────────────────────────────────────── */

.QNpBmfQPmeo- {
  padding: var(--spacing-lg);
  flex: 1;
  overflow-y: auto;
  width: 100%;
  box-sizing: border-box;
}

/* Inside sheet: reduce padding, prevent horizontal overflow, pass height to children */
.D1rGR1nxBG0- .QNpBmfQPmeo- {
  padding: var(--spacing-sm);
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
}
