.wrapper {
  background: var(--color-background, #ffffff);
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 280px;
  min-height: 200px;
  overflow: hidden;
  border: 1px solid var(--color-border-muted, #d1d9e0b3);
  border-radius: var(--radius, 12px);
  background: var(--color-background, #ffffff);
  color: var(--color-foreground, #1f2328);
  font-family: "Mona Sans", var(--font-sans, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);
  box-shadow: var(--shadow-resting, 0 1px 3px rgba(31, 35, 40, 0.08));
}

.header {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 10px;
  font-size: 12px;
  font-weight: 500;
  color: var(--color-foreground-muted, #656d76);
  background: var(--color-background-muted, #f6f8fa);
  border-bottom: 1px solid var(--color-border-muted, #d8dee4);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  user-select: none;
}

.headerIcon {
  display: inline-flex;
  flex-shrink: 0;
  color: var(--color-foreground-muted, #656d76);
}

.headerTitle {
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--color-foreground, #1f2328);
  font-weight: 600;
}

.headerSeparator {
  color: var(--color-foreground-muted, #656d76);
  font-weight: 400;
}

.headerTarget {
  color: var(--color-foreground-muted, #656d76);
  font-weight: 500;
}

.tabs {
  display: flex;
  align-items: center;
  gap: 6px;
  width: 100%;
  min-width: 0;
  overflow-x: auto;
  padding: 7px 8px;
  scrollbar-width: thin;
}

.tab {
  flex: 0 0 auto;
  max-width: 180px;
  overflow: hidden;
  padding: 6px 10px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: var(--color-foreground-muted, #59636e);
  font: inherit;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.1;
  text-overflow: ellipsis;
  white-space: nowrap;
  cursor: pointer;
}

.tab:hover {
  background: var(--color-background-neutral-muted, #818b981f);
  color: var(--color-foreground, #1f2328);
}

.tab:focus-visible {
  outline: 2px solid var(--color-border-accent-emphasis, #0969da);
  outline-offset: 2px;
}

.tabActive {
  border-color: var(--color-border-accent-muted, #54aeff66);
  background: var(--color-background-accent-muted, #ddf4ff);
  color: var(--color-foreground-accent, #0969da);
  box-shadow: inset 0 -2px 0 var(--color-border-accent-emphasis, #0969da);
}

.body {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  background: var(--color-background, #ffffff);
}

.form {
  min-height: 100%;
  padding: 14px;
}

.emptyState {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 22px;
  text-align: center;
  color: var(--color-foreground-muted, #59636e);
  font-size: 13px;
  line-height: 1.45;
}

.emptyState p {
  max-width: 280px;
  margin: 0;
}

.emptyNote {
  padding: 9px 11px;
  border: 1px solid var(--color-border-attention-muted, #d4a72c66);
  border-radius: 10px;
  background: var(--color-background-attention-muted, #fff8c5);
  color: var(--color-foreground-attention, #9a6700);
  font-size: 12px;
}
